Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2dd5877ffea6850c3b0cb999012b17b1a99601c 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-ssh16022501541158905348.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9708510533685872617.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13236133877483444925.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8229977394761409398.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-ssh17045332038360060705.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19481’ Running on prd-ubuntu20.04-docker-8c-8g-19485 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 d2dd5877ffea6850c3b0cb999012b17b1a99601c (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 d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 Commit message: "Merge pull request #170 from farshidtz/snap-appstream" > git rev-list --no-walk 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T11:02:25.561Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T11:02:25.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T11:02:25.652Z] ========================================================= [2022-04-11T11:02:25.652Z] EdgeX Global Pipelines Version Info [2022-04-11T11:02:25.652Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:02:26.440Z] ------------------- [2022-04-11T11:02:26.440Z] stable info: [2022-04-11T11:02:26.440Z] ------------------- [2022-04-11T11:02:26.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T11:02:26.440Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T11:02:26.440Z] Message: update stable to v1.0.221 [2022-04-11T11:02:27.012Z] ------------------- [2022-04-11T11:02:27.012Z] experimental info: [2022-04-11T11:02:27.012Z] ------------------- [2022-04-11T11:02:27.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T11:02:27.012Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T11:02:27.012Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T11:02:27.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-11T11:02:27.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-11T11:02:27.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T11:02:27.200Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T11:02:27.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T11:02:27.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T11:02:27.249Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T11:02:27.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T11:02:27.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T11:02:27.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T11:02:27.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T11:02:27.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-11T11:02:27.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T11:02:27.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T11:02:27.386Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T11:02:27.407Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T11:02:27.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T11:02:27.445Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T11:02:27.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T11:02:27.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T11:02:27.491Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T11:02:27.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T11:02:27.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T11:02:27.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T11:02:27.559Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T11:02:27.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T11:02:27.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-11T11:02:27.612Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-11T11:02:27.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-11T11:02:27.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo [2022-04-11T11:02:27.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2dd587 [Pipeline] echo [2022-04-11T11:02:27.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:02:27.740Z] provisioning config files... [2022-04-11T11:02:27.758Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6302826934363020988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:02:28.063Z] ---> docker-login.sh [2022-04-11T11:02:28.063Z] nexus3.edgexfoundry.org:10001 [2022-04-11T11:02:28.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:28.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:28.324Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:28.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:28.324Z] [2022-04-11T11:02:28.324Z] Login Succeeded [2022-04-11T11:02:28.324Z] nexus3.edgexfoundry.org:10002 [2022-04-11T11:02:28.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:28.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:28.586Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:28.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:28.586Z] [2022-04-11T11:02:28.586Z] Login Succeeded [2022-04-11T11:02:28.586Z] nexus3.edgexfoundry.org:10003 [2022-04-11T11:02:28.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:28.851Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:28.851Z] [2022-04-11T11:02:28.851Z] Login Succeeded [2022-04-11T11:02:28.851Z] nexus3.edgexfoundry.org:10004 [2022-04-11T11:02:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:28.851Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:28.851Z] [2022-04-11T11:02:28.851Z] Login Succeeded [2022-04-11T11:02:28.851Z] docker.io [2022-04-11T11:02:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:29.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:29.426Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:29.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:29.426Z] [2022-04-11T11:02:29.426Z] Login Succeeded [2022-04-11T11:02:29.426Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T11:02:29.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T11:02:29.836Z] + git rev-list -1 --merges d2dd5877ffea6850c3b0cb999012b17b1a99601c~1..d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo [2022-04-11T11:02:29.949Z] -----------> git rev-list -1 --merges d2dd5877ffea6850c3b0cb999012b17b1a99601c~1..d2dd5877ffea6850c3b0cb999012b17b1a99601c d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:02:29.949Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c [false] [Pipeline] sh [2022-04-11T11:02:30.249Z] + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo [2022-04-11T11:02:30.267Z] ========================================================= [2022-04-11T11:02:30.267Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T11:02:30.267Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T11:02:30.611Z] + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo [2022-04-11T11:02:30.625Z] [semverPrep] GIT_COMMIT: d2dd5877ffea6850c3b0cb999012b17b1a99601c, Commit Message: Merge pull request #170 from farshidtz/snap-appstream [Pipeline] echo [2022-04-11T11:02:30.643Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T11:02:31.076Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T11:02:31.076Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T11:02:31.076Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T11:02:31.076Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T11:02:31.076Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T11:02:31.076Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T11:02:31.076Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:02:31.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:02:31.425Z] [2022-04-11T11:02:31.425Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:02:31.733Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:02:31.733Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T11:02:31.733Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T11:02:31.733Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T11:02:31.733Z] 4c7163046ea9: Pulling fs layer [2022-04-11T11:02:31.733Z] 0c2d73faf560: Pulling fs layer [2022-04-11T11:02:31.733Z] 0c2d73faf560: Waiting [2022-04-11T11:02:31.733Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T11:02:31.733Z] 3e5f54012d9b: Download complete [2022-04-11T11:02:31.733Z] a0d0a0d46f8b: Download complete [2022-04-11T11:02:31.733Z] 0c2d73faf560: Verifying Checksum [2022-04-11T11:02:31.733Z] 0c2d73faf560: Download complete [2022-04-11T11:02:31.733Z] 4c7163046ea9: Verifying Checksum [2022-04-11T11:02:31.733Z] 4c7163046ea9: Download complete [2022-04-11T11:02:31.998Z] a0d0a0d46f8b: Pull complete [2022-04-11T11:02:31.998Z] 3e5f54012d9b: Pull complete [2022-04-11T11:02:32.260Z] 4c7163046ea9: Pull complete [2022-04-11T11:02:32.523Z] 0c2d73faf560: Pull complete [2022-04-11T11:02:32.523Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T11:02:32.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:02:32.523Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T11:02:32.607Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:02:32.648Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T11:02:33.358Z] $ docker top 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T11:02:33.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T11:02:33.468Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T11:02:33.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T11:02:33.601Z] $ docker exec 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent [2022-04-11T11:02:33.730Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHcjNOg/agent.13 [2022-04-11T11:02:33.730Z] SSH_AGENT_PID=19 [2022-04-11T11:02:33.738Z] Running ssh-add (command line suppressed) [2022-04-11T11:02:33.850Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1481525081921027448.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1481525081921027448.key) [2022-04-11T11:02:33.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T11:02:34.159Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T11:02:34.180Z] $ docker exec --env ******** --env ******** 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent -k [2022-04-11T11:02:34.290Z] unset SSH_AUTH_SOCK; [2022-04-11T11:02:34.290Z] unset SSH_AGENT_PID; [2022-04-11T11:02:34.291Z] echo Agent pid 19 killed; [2022-04-11T11:02:34.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T11:02:34.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T11:02:34.329Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T11:02:34.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T11:02:34.481Z] $ docker exec 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent [2022-04-11T11:02:34.610Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkhDPeI/agent.52 [2022-04-11T11:02:34.610Z] SSH_AGENT_PID=58 [2022-04-11T11:02:34.616Z] Running ssh-add (command line suppressed) [2022-04-11T11:02:34.725Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5128261653109168665.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5128261653109168665.key) [2022-04-11T11:02:34.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T11:02:35.032Z] + git semver init [2022-04-11T11:02:35.032Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T11:02:35.032Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-11T11:02:35.032Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:02:35.032Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T11:02:35.032Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T11:02:35.032Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T11:02:35.032Z] # $SEMVER_BRANCH = main [2022-04-11T11:02:35.032Z] # $SEMVER_TEMP = /tmp/semver-696769210 [2022-04-11T11:02:35.032Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-11T11:02:36.422Z] # '/tmp/semver-696769210' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-04-11T11:02:36.423Z] # -> Force: false [2022-04-11T11:02:36.423Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-11T11:02:36.437Z] $ docker exec --env ******** --env ******** 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent -k [2022-04-11T11:02:36.549Z] unset SSH_AUTH_SOCK; [2022-04-11T11:02:36.550Z] unset SSH_AGENT_PID; [2022-04-11T11:02:36.550Z] echo Agent pid 58 killed; [2022-04-11T11:02:36.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T11:02:36.874Z] + git semver [Pipeline] } [2022-04-11T11:02:36.889Z] $ docker stop --time=1 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a [2022-04-11T11:02:38.320Z] $ docker rm -f 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T11:02:38.691Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T11:02:38.960Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T11:02:38.964Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:02:39.124Z] provisioning config files... [2022-04-11T11:02:39.137Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4072600339711254812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:02:39.445Z] ---> docker-login.sh [2022-04-11T11:02:39.445Z] nexus3.edgexfoundry.org:10001 [2022-04-11T11:02:39.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:39.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:39.445Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:39.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:39.445Z] [2022-04-11T11:02:39.445Z] Login Succeeded [2022-04-11T11:02:39.445Z] nexus3.edgexfoundry.org:10002 [2022-04-11T11:02:39.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:39.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:39.707Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:39.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:39.707Z] [2022-04-11T11:02:39.707Z] Login Succeeded [2022-04-11T11:02:39.707Z] nexus3.edgexfoundry.org:10003 [2022-04-11T11:02:39.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:39.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:39.707Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:39.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:39.707Z] [2022-04-11T11:02:39.707Z] Login Succeeded [2022-04-11T11:02:39.707Z] nexus3.edgexfoundry.org:10004 [2022-04-11T11:02:39.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:39.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:39.970Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:39.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:39.970Z] [2022-04-11T11:02:39.970Z] Login Succeeded [2022-04-11T11:02:39.970Z] docker.io [2022-04-11T11:02:39.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:02:40.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:02:40.232Z] Configure a credential helper to remove this warning. See [2022-04-11T11:02:40.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:02:40.232Z] [2022-04-11T11:02:40.232Z] Login Succeeded [2022-04-11T11:02:40.232Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T11:02:40.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T11:02:40.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T11:02:40.334Z] ========================================================= [2022-04-11T11:02:40.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T11:02:40.334Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:02:40.654Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-11T11:02:40.655Z] Sending build context to Docker daemon 10.56MB [2022-04-11T11:02:40.655Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T11:02:40.655Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T11:02:40.655Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T11:02:40.655Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T11:02:40.655Z] 666ba61612fd: Pulling fs layer [2022-04-11T11:02:40.655Z] 8ed8ca486205: Pulling fs layer [2022-04-11T11:02:40.655Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T11:02:40.655Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T11:02:40.655Z] 640e595b4fbd: Pulling fs layer [2022-04-11T11:02:40.655Z] 763cafe07f6e: Pulling fs layer [2022-04-11T11:02:40.655Z] 4fe6c5a15a65: Waiting [2022-04-11T11:02:40.655Z] 22a0e8bec74d: Waiting [2022-04-11T11:02:40.655Z] 640e595b4fbd: Waiting [2022-04-11T11:02:40.655Z] 0c0b528cf693: Pulling fs layer [2022-04-11T11:02:40.655Z] 763cafe07f6e: Waiting [2022-04-11T11:02:40.655Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T11:02:40.655Z] 8ed8ca486205: Download complete [2022-04-11T11:02:40.919Z] 666ba61612fd: Download complete [2022-04-11T11:02:40.919Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T11:02:40.919Z] 22a0e8bec74d: Download complete [2022-04-11T11:02:40.919Z] 640e595b4fbd: Verifying Checksum [2022-04-11T11:02:40.919Z] 640e595b4fbd: Download complete [2022-04-11T11:02:40.919Z] 763cafe07f6e: Verifying Checksum [2022-04-11T11:02:40.919Z] 763cafe07f6e: Download complete [2022-04-11T11:02:40.919Z] 0c0b528cf693: Verifying Checksum [2022-04-11T11:02:40.919Z] 0c0b528cf693: Download complete [2022-04-11T11:02:40.919Z] 59bf1c3509f3: Pull complete [2022-04-11T11:02:41.184Z] 666ba61612fd: Pull complete [2022-04-11T11:02:41.184Z] 8ed8ca486205: Pull complete [2022-04-11T11:02:41.444Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T11:02:41.444Z] 4fe6c5a15a65: Download complete [2022-04-11T11:02:41.444Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T11:02:41.444Z] 10935f4eaf8b: Download complete [2022-04-11T11:02:45.651Z] 4fe6c5a15a65: Pull complete [2022-04-11T11:02:45.911Z] 22a0e8bec74d: Pull complete [2022-04-11T11:02:45.911Z] 640e595b4fbd: Pull complete [2022-04-11T11:02:45.911Z] 763cafe07f6e: Pull complete [2022-04-11T11:02:46.178Z] 0c0b528cf693: Pull complete [2022-04-11T11:02:48.730Z] 10935f4eaf8b: Pull complete [2022-04-11T11:02:48.730Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T11:02:48.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T11:02:48.730Z] ---> 99d49a6021b9 [2022-04-11T11:02:48.730Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T11:02:49.673Z] ---> Running in 159d4d2a2dfc [2022-04-11T11:02:49.673Z] Removing intermediate container 159d4d2a2dfc [2022-04-11T11:02:49.673Z] ---> f1b0fcb540a4 [2022-04-11T11:02:49.673Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T11:02:49.673Z] ---> Running in a8e8881ceaba [2022-04-11T11:02:49.934Z] Removing intermediate container a8e8881ceaba [2022-04-11T11:02:49.935Z] ---> e1494787559e [2022-04-11T11:02:49.935Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T11:02:49.935Z] ---> Running in b1c4ef32b9c4 [2022-04-11T11:02:49.935Z] Removing intermediate container b1c4ef32b9c4 [2022-04-11T11:02:49.935Z] ---> db513c803b49 [2022-04-11T11:02:49.935Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T11:02:49.935Z] ---> Running in 67f8dded58ee [2022-04-11T11:02:50.507Z] Removing intermediate container 67f8dded58ee [2022-04-11T11:02:50.508Z] ---> c3c272983842 [2022-04-11T11:02:50.508Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T11:02:50.508Z] ---> Running in f5dc6b6a0c79 [2022-04-11T11:02:51.078Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T11:02:51.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T11:02:51.917Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T11:02:52.177Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T11:02:52.177Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T11:02:52.438Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T11:02:52.438Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T11:02:52.438Z] OK: 224 MiB in 56 packages [2022-04-11T11:02:53.012Z] Removing intermediate container f5dc6b6a0c79 [2022-04-11T11:02:53.012Z] ---> 0d7bc2b79bdd [2022-04-11T11:02:53.012Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-11T11:02:53.012Z] ---> Running in 68809bb0d18b [2022-04-11T11:02:53.012Z] Removing intermediate container 68809bb0d18b [2022-04-11T11:02:53.012Z] ---> 403a1d5d6ed1 [2022-04-11T11:02:53.012Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T11:02:53.012Z] ---> f8d08935e4b5 [2022-04-11T11:02:53.012Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T11:02:53.012Z] ---> Running in 0fcc50f70b25 [2022-04-11T11:02:54.087Z] Still waiting to schedule task [2022-04-11T11:02:54.088Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19482’ [2022-04-11T11:03:07.928Z] Removing intermediate container 0fcc50f70b25 [2022-04-11T11:03:07.928Z] ---> e052e33a91ca [2022-04-11T11:03:07.928Z] Step 11/12 : COPY . . [2022-04-11T11:03:07.928Z] ---> ad6c0c956d5b [2022-04-11T11:03:07.928Z] Step 12/12 : RUN $MAKE [2022-04-11T11:03:07.928Z] ---> Running in 5a1032c3796d [2022-04-11T11:03:07.928Z] noop [2022-04-11T11:03:07.928Z] Removing intermediate container 5a1032c3796d [2022-04-11T11:03:07.928Z] ---> d729974912c7 [2022-04-11T11:03:07.928Z] Successfully built d729974912c7 [2022-04-11T11:03:07.928Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:03:08.248Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T11:03:08.248Z] . [Pipeline] withDockerContainer [2022-04-11T11:03:08.324Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:03:08.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T11:03:10.187Z] $ docker top 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T11:03:10.572Z] + go version [2022-04-11T11:03:10.572Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T11:03:10.589Z] $ docker stop --time=1 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd [2022-04-11T11:03:11.906Z] $ docker rm -f 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:03:12.348Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T11:03:12.348Z] . [Pipeline] withDockerContainer [2022-04-11T11:03:12.447Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:03:12.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T11:03:12.944Z] $ docker top 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T11:03:13.323Z] + make test [2022-04-11T11:03:13.323Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-11T11:03:13.585Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-11T11:03:23.671Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-11T11:03:23.671Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-04-11T11:03:29.130Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T11:03:32.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T11:03:32.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T11:03:32.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T11:03:32.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T11:03:32.715Z] $ docker stop --time=1 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a [2022-04-11T11:03:34.694Z] $ docker rm -f 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T11:03:35.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T11:03:35.174Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T11:03:36.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T11:03:36.525Z] + ls -al . [2022-04-11T11:03:36.525Z] total 172 [2022-04-11T11:03:36.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 11:03 . [2022-04-11T11:03:36.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:02 .. [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 11:02 .dockerignore [2022-04-11T11:03:36.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:02 .git [2022-04-11T11:03:36.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 .github [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 11:02 .gitignore [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:02 .golangci.yml [2022-04-11T11:03:36.525Z] drwx------ 3 jenkins jenkins 4096 Apr 11 11:02 .semver [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 11:02 Attribution.txt [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 11:02 CHANGELOG.md [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 11:02 Dockerfile [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:02 GOVERNANCE.md [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 11:02 Jenkinsfile [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:02 LICENSE [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 11:02 Makefile [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 11:02 OWNERS.md [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 11:02 README.md [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 11:02 VERSION [2022-04-11T11:03:36.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 bin [2022-04-11T11:03:36.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:02 cmd [2022-04-11T11:03:36.525Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 11:03 coverage.out [2022-04-11T11:03:36.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 driver [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 11:02 go.mod [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 11:02 go.sum [2022-04-11T11:03:36.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:02 snap [2022-04-11T11:03:36.525Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 11:02 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:03:36.824Z] + 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=d2dd5877ffea6850c3b0cb999012b17b1a99601c --label arch=amd64 --label version=2.2.0-dev.10 . [2022-04-11T11:03:36.824Z] Sending build context to Docker daemon 10.57MB [2022-04-11T11:03:36.824Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T11:03:36.824Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T11:03:36.824Z] ---> d729974912c7 [2022-04-11T11:03:36.824Z] Step 3/25 : ARG MAKE='make build' [2022-04-11T11:03:37.087Z] ---> Running in 6b776cb71810 [2022-04-11T11:03:37.087Z] Removing intermediate container 6b776cb71810 [2022-04-11T11:03:37.087Z] ---> ba07e51ecf75 [2022-04-11T11:03:37.087Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T11:03:37.087Z] ---> Running in 366f2bb88e15 [2022-04-11T11:03:37.087Z] Removing intermediate container 366f2bb88e15 [2022-04-11T11:03:37.087Z] ---> f06233bec8b9 [2022-04-11T11:03:37.087Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T11:03:37.087Z] ---> Running in 264b338c5d34 [2022-04-11T11:03:37.347Z] Removing intermediate container 264b338c5d34 [2022-04-11T11:03:37.347Z] ---> 94e3c595b782 [2022-04-11T11:03:37.347Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T11:03:37.348Z] ---> Running in 5748b0fdbc5e [2022-04-11T11:03:37.919Z] Removing intermediate container 5748b0fdbc5e [2022-04-11T11:03:37.919Z] ---> 865d2668e1b2 [2022-04-11T11:03:37.919Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T11:03:37.919Z] ---> Running in 23db90b88473 [2022-04-11T11:03:38.492Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T11:03:39.063Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T11:03:39.635Z] OK: 224 MiB in 56 packages [2022-04-11T11:03:43.847Z] Removing intermediate container 23db90b88473 [2022-04-11T11:03:43.847Z] ---> d8d886976055 [2022-04-11T11:03:43.847Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-11T11:03:44.108Z] ---> Running in a415f5d5aeac [2022-04-11T11:03:44.108Z] Removing intermediate container a415f5d5aeac [2022-04-11T11:03:44.108Z] ---> f143e82bcb97 [2022-04-11T11:03:44.108Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-11T11:03:44.108Z] ---> 05606fbe4bfc [2022-04-11T11:03:44.108Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T11:03:44.368Z] ---> Running in 405dc8dcb9b1 [2022-04-11T11:03:44.938Z] Removing intermediate container 405dc8dcb9b1 [2022-04-11T11:03:44.938Z] ---> d08420d007b3 [2022-04-11T11:03:44.938Z] Step 11/25 : COPY . . [2022-04-11T11:03:45.198Z] ---> 2b5940f38a01 [2022-04-11T11:03:45.198Z] Step 12/25 : RUN $MAKE [2022-04-11T11:03:45.198Z] ---> Running in cb99cd74e42e [2022-04-11T11:03:45.457Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-11T11:04:07.400Z] Removing intermediate container cb99cd74e42e [2022-04-11T11:04:07.400Z] ---> b2e853367a2f [2022-04-11T11:04:07.400Z] Step 13/25 : FROM alpine:3.14 [2022-04-11T11:04:07.400Z] 3.14: Pulling from library/alpine [2022-04-11T11:04:07.400Z] 8663204ce13b: Pulling fs layer [2022-04-11T11:04:07.400Z] 8663204ce13b: Verifying Checksum [2022-04-11T11:04:07.400Z] 8663204ce13b: Download complete [2022-04-11T11:04:07.400Z] 8663204ce13b: Pull complete [2022-04-11T11:04:07.400Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T11:04:07.400Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T11:04:07.400Z] ---> e04c818066af [2022-04-11T11:04:07.400Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-11T11:04:07.400Z] ---> Running in 0d062d7057fc [2022-04-11T11:04:07.400Z] Removing intermediate container 0d062d7057fc [2022-04-11T11:04:07.400Z] ---> fe08922fa7dd [2022-04-11T11:04:07.400Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-11T11:04:07.400Z] ---> Running in b237579c25cb [2022-04-11T11:04:07.400Z] Removing intermediate container b237579c25cb [2022-04-11T11:04:07.400Z] ---> 074ebcc0c745 [2022-04-11T11:04:07.400Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T11:04:07.400Z] ---> Running in 78fe3dcd593b [2022-04-11T11:04:07.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T11:04:07.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T11:04:07.400Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T11:04:07.400Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T11:04:07.400Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T11:04:07.400Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T11:04:07.401Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T11:04:07.401Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T11:04:07.401Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T11:04:07.401Z] OK: 8 MiB in 20 packages [2022-04-11T11:04:07.401Z] Removing intermediate container 78fe3dcd593b [2022-04-11T11:04:07.401Z] ---> 86622b7bf48b [2022-04-11T11:04:07.401Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-11T11:04:07.975Z] ---> 96b836ddb955 [2022-04-11T11:04:07.975Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-11T11:04:07.975Z] ---> d4b1b7af4d56 [2022-04-11T11:04:07.975Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-11T11:04:08.236Z] ---> 039d19ade41a [2022-04-11T11:04:08.236Z] Step 20/25 : EXPOSE 59986 [2022-04-11T11:04:08.236Z] ---> Running in 46e6a9312ccf [2022-04-11T11:04:08.236Z] Removing intermediate container 46e6a9312ccf [2022-04-11T11:04:08.236Z] ---> b970943491f6 [2022-04-11T11:04:08.236Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-11T11:04:08.236Z] ---> Running in 81067a99a8cb [2022-04-11T11:04:08.497Z] Removing intermediate container 81067a99a8cb [2022-04-11T11:04:08.497Z] ---> 5cdef619f12e [2022-04-11T11:04:08.497Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T11:04:08.497Z] ---> Running in 76333e3b428f [2022-04-11T11:04:08.497Z] Removing intermediate container 76333e3b428f [2022-04-11T11:04:08.497Z] ---> 86a23bae6fb8 [2022-04-11T11:04:08.497Z] Step 23/25 : LABEL arch=amd64 [2022-04-11T11:04:08.497Z] ---> Running in 191ee19f0d1b [2022-04-11T11:04:08.759Z] Removing intermediate container 191ee19f0d1b [2022-04-11T11:04:08.759Z] ---> c17a64f882a4 [2022-04-11T11:04:08.759Z] Step 24/25 : LABEL git_sha=d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:04:08.759Z] ---> Running in a6dffd70b2af [2022-04-11T11:04:08.759Z] Removing intermediate container a6dffd70b2af [2022-04-11T11:04:08.759Z] ---> 96a3d390ff53 [2022-04-11T11:04:08.759Z] Step 25/25 : LABEL version=2.2.0-dev.10 [2022-04-11T11:04:09.019Z] ---> Running in 654ffb96205f [2022-04-11T11:04:09.019Z] Removing intermediate container 654ffb96205f [2022-04-11T11:04:09.019Z] ---> 73b59395015c [2022-04-11T11:04:09.019Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T11:04:09.019Z] Successfully built 73b59395015c [2022-04-11T11:04:09.019Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:04:09.138Z] provisioning config files... [2022-04-11T11:04:09.147Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3121086578923543121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:04:09.449Z] ---> docker-login.sh [2022-04-11T11:04:09.450Z] nexus3.edgexfoundry.org:10001 [2022-04-11T11:04:09.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:04:09.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:04:09.450Z] Configure a credential helper to remove this warning. See [2022-04-11T11:04:09.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:04:09.450Z] [2022-04-11T11:04:09.450Z] Login Succeeded [2022-04-11T11:04:09.450Z] nexus3.edgexfoundry.org:10002 [2022-04-11T11:04:09.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:04:09.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:04:09.710Z] Configure a credential helper to remove this warning. See [2022-04-11T11:04:09.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:04:09.710Z] [2022-04-11T11:04:09.710Z] Login Succeeded [2022-04-11T11:04:09.710Z] nexus3.edgexfoundry.org:10003 [2022-04-11T11:04:09.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:04:09.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:04:09.710Z] Configure a credential helper to remove this warning. See [2022-04-11T11:04:09.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:04:09.710Z] [2022-04-11T11:04:09.710Z] Login Succeeded [2022-04-11T11:04:09.710Z] nexus3.edgexfoundry.org:10004 [2022-04-11T11:04:09.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:04:09.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:04:09.970Z] Configure a credential helper to remove this warning. See [2022-04-11T11:04:09.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:04:09.970Z] [2022-04-11T11:04:09.970Z] Login Succeeded [2022-04-11T11:04:09.970Z] docker.io [2022-04-11T11:04:09.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:04:10.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:04:10.230Z] Configure a credential helper to remove this warning. See [2022-04-11T11:04:10.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:04:10.230Z] [2022-04-11T11:04:10.230Z] Login Succeeded [2022-04-11T11:04:10.230Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T11:04:10.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T11:04:10.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T11:04:10.309Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-04-11T11:04:10.309Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:04:10.309Z] latest [2022-04-11T11:04:10.309Z] 2.2.0-dev.10 [2022-04-11T11:04:10.309Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:04:10.309Z] main [2022-04-11T11:04:10.309Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:10.637Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:10.925Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:04:10.925Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-11T11:04:10.925Z] ec5c67d2a0ba: Preparing [2022-04-11T11:04:10.925Z] 22b7ce87e49f: Preparing [2022-04-11T11:04:10.925Z] 36cd9f5bda4e: Preparing [2022-04-11T11:04:10.925Z] a80e8be3cef2: Preparing [2022-04-11T11:04:10.925Z] b541d28bf3b4: Preparing [2022-04-11T11:04:10.925Z] b541d28bf3b4: Layer already exists [2022-04-11T11:04:10.925Z] ec5c67d2a0ba: Pushed [2022-04-11T11:04:10.925Z] 22b7ce87e49f: Pushed [2022-04-11T11:04:11.182Z] a80e8be3cef2: Pushed [2022-04-11T11:04:13.718Z] 36cd9f5bda4e: Pushed [2022-04-11T11:04:13.718Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:14.020Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:14.321Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-11T11:04:14.321Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-11T11:04:14.321Z] ec5c67d2a0ba: Preparing [2022-04-11T11:04:14.321Z] 22b7ce87e49f: Preparing [2022-04-11T11:04:14.321Z] 36cd9f5bda4e: Preparing [2022-04-11T11:04:14.321Z] a80e8be3cef2: Preparing [2022-04-11T11:04:14.321Z] b541d28bf3b4: Preparing [2022-04-11T11:04:14.321Z] ec5c67d2a0ba: Layer already exists [2022-04-11T11:04:14.321Z] b541d28bf3b4: Layer already exists [2022-04-11T11:04:14.321Z] a80e8be3cef2: Layer already exists [2022-04-11T11:04:14.321Z] 36cd9f5bda4e: Layer already exists [2022-04-11T11:04:14.321Z] 22b7ce87e49f: Layer already exists [2022-04-11T11:04:14.321Z] latest: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:14.622Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:14.913Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 [2022-04-11T11:04:14.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-11T11:04:14.913Z] ec5c67d2a0ba: Preparing [2022-04-11T11:04:14.913Z] 22b7ce87e49f: Preparing [2022-04-11T11:04:14.913Z] 36cd9f5bda4e: Preparing [2022-04-11T11:04:14.913Z] a80e8be3cef2: Preparing [2022-04-11T11:04:14.913Z] b541d28bf3b4: Preparing [2022-04-11T11:04:14.913Z] b541d28bf3b4: Layer already exists [2022-04-11T11:04:14.913Z] ec5c67d2a0ba: Layer already exists [2022-04-11T11:04:14.913Z] 22b7ce87e49f: Layer already exists [2022-04-11T11:04:14.913Z] a80e8be3cef2: Layer already exists [2022-04-11T11:04:14.913Z] 36cd9f5bda4e: Layer already exists [2022-04-11T11:04:14.913Z] 2.2.0-dev.10: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:15.217Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:15.511Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:04:15.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-11T11:04:15.511Z] ec5c67d2a0ba: Preparing [2022-04-11T11:04:15.511Z] 22b7ce87e49f: Preparing [2022-04-11T11:04:15.511Z] 36cd9f5bda4e: Preparing [2022-04-11T11:04:15.511Z] a80e8be3cef2: Preparing [2022-04-11T11:04:15.511Z] b541d28bf3b4: Preparing [2022-04-11T11:04:15.511Z] b541d28bf3b4: Layer already exists [2022-04-11T11:04:15.511Z] a80e8be3cef2: Layer already exists [2022-04-11T11:04:15.511Z] 36cd9f5bda4e: Layer already exists [2022-04-11T11:04:15.511Z] 22b7ce87e49f: Layer already exists [2022-04-11T11:04:15.511Z] ec5c67d2a0ba: Layer already exists [2022-04-11T11:04:15.511Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:15.810Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:16.100Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-04-11T11:04:16.100Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-11T11:04:16.100Z] ec5c67d2a0ba: Preparing [2022-04-11T11:04:16.100Z] 22b7ce87e49f: Preparing [2022-04-11T11:04:16.100Z] 36cd9f5bda4e: Preparing [2022-04-11T11:04:16.100Z] a80e8be3cef2: Preparing [2022-04-11T11:04:16.100Z] b541d28bf3b4: Preparing [2022-04-11T11:04:16.100Z] ec5c67d2a0ba: Layer already exists [2022-04-11T11:04:16.100Z] b541d28bf3b4: Layer already exists [2022-04-11T11:04:16.100Z] 22b7ce87e49f: Layer already exists [2022-04-11T11:04:16.100Z] 36cd9f5bda4e: Layer already exists [2022-04-11T11:04:16.100Z] a80e8be3cef2: Layer already exists [2022-04-11T11:04:16.100Z] main: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T11:04:16.143Z] ===================================================== [Pipeline] echo [2022-04-11T11:04:16.158Z] taggedImages: [2022-04-11T11:04:16.158Z] - nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:04:16.158Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-11T11:04:16.158Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 [2022-04-11T11:04:16.158Z] - nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:04:16.158Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:16.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T11:04:16.534Z] [2022-04-11T11:04:16.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:04:16.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T11:04:16.849Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T11:04:16.849Z] 5eb5b503b376: Pulling fs layer [2022-04-11T11:04:16.849Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T11:04:16.849Z] ec43610c2a17: Pulling fs layer [2022-04-11T11:04:16.849Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T11:04:16.849Z] 33b1e0a273af: Pulling fs layer [2022-04-11T11:04:16.849Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T11:04:16.849Z] 2f39f015ded8: Pulling fs layer [2022-04-11T11:04:16.849Z] 3a2ae6a8a46f: Waiting [2022-04-11T11:04:16.849Z] 33b1e0a273af: Waiting [2022-04-11T11:04:16.849Z] 5d3b04190fa2: Waiting [2022-04-11T11:04:16.849Z] 2f39f015ded8: Waiting [2022-04-11T11:04:16.849Z] 5c69ac0246d0: Download complete [2022-04-11T11:04:16.849Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T11:04:16.849Z] 3a2ae6a8a46f: Download complete [2022-04-11T11:04:16.849Z] 33b1e0a273af: Verifying Checksum [2022-04-11T11:04:16.849Z] 33b1e0a273af: Download complete [2022-04-11T11:04:16.849Z] ec43610c2a17: Verifying Checksum [2022-04-11T11:04:16.849Z] ec43610c2a17: Download complete [2022-04-11T11:04:16.849Z] 5d3b04190fa2: Download complete [2022-04-11T11:04:17.108Z] 5eb5b503b376: Verifying Checksum [2022-04-11T11:04:17.108Z] 5eb5b503b376: Download complete [2022-04-11T11:04:17.678Z] 2f39f015ded8: Download complete [2022-04-11T11:04:18.247Z] 5eb5b503b376: Pull complete [2022-04-11T11:04:18.507Z] 5c69ac0246d0: Pull complete [2022-04-11T11:04:19.074Z] ec43610c2a17: Pull complete [2022-04-11T11:04:19.074Z] 3a2ae6a8a46f: Pull complete [2022-04-11T11:04:19.333Z] 33b1e0a273af: Pull complete [2022-04-11T11:04:19.333Z] 5d3b04190fa2: Pull complete [2022-04-11T11:04:23.523Z] 2f39f015ded8: Pull complete [2022-04-11T11:04:23.523Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T11:04:23.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T11:04:23.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T11:04:23.588Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:04:23.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T11:04:25.532Z] $ docker top bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:04:25.968Z] ---> job-cost.sh [2022-04-11T11:04:25.968Z] lf-activate-venv: SKIPPING [2022-04-11T11:04:25.968Z] INFO: No Stack... [2022-04-11T11:04:26.541Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T11:04:26.803Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T11:04:27.093Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-04-11T11:04:27.093Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T11:04:27.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [2022-04-11T11:04:27.113Z] Resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] did not exist. Created. [2022-04-11T11:04:27.113Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T11:04:27.443Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T11:04:27.493Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T11:04:27.499Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T11:04:27.516Z] $ docker stop --time=1 bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 [2022-04-11T11:04:28.686Z] $ docker rm -f bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T11:06:35.947Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19487 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-04-11T11:06:35.959Z] Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout [2022-04-11T11:06:36.434Z] The recommended git tool is: git [2022-04-11T11:06:44.374Z] using credential edgex-jenkins-ssh [2022-04-11T11:06:44.393Z] Cloning the remote Git repository [2022-04-11T11:06:44.457Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-11T11:06:44.573Z] > git init /w/workspace/device-rest-go/31 # timeout=10 [2022-04-11T11:06:44.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-11T11:06:44.663Z] > git --version # timeout=10 [2022-04-11T11:06:44.689Z] > git --version # 'git version 2.25.1' [2022-04-11T11:06:44.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T11:06:44.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T11:06:46.767Z] Avoid second fetch [2022-04-11T11:06:46.768Z] Checking out Revision d2dd5877ffea6850c3b0cb999012b17b1a99601c (main) [2022-04-11T11:06:46.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-11T11:06:46.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T11:06:46.795Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T11:06:46.817Z] > git checkout -f d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 [2022-04-11T11:06:51.573Z] Commit message: "Merge pull request #170 from farshidtz/snap-appstream" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T11:06:52.471Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T11:06:52.471Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T11:06:52.471Z] Dload Upload Total Spent Left Speed [2022-04-11T11:06:52.471Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51942 0 --:--:-- --:--:-- --:--:-- 52171 [Pipeline] sh [2022-04-11T11:06:52.992Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T11:06:53.341Z] + sudo tee /etc/docker/daemon.new [2022-04-11T11:06:53.341Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T11:06:53.341Z] { [2022-04-11T11:06:53.341Z] "registry-mirrors": [ [2022-04-11T11:06:53.341Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T11:06:53.341Z] ], [2022-04-11T11:06:53.341Z] "bip": "10.250.0.254/24", [2022-04-11T11:06:53.341Z] "hosts": [ [2022-04-11T11:06:53.341Z] "tcp://0.0.0.0:5555", [2022-04-11T11:06:53.341Z] "unix:///var/run/docker.sock" [2022-04-11T11:06:53.341Z] ], [2022-04-11T11:06:53.341Z] "mtu": 1458, [2022-04-11T11:06:53.341Z] "selinux-enabled": true, [2022-04-11T11:06:53.341Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T11:06:53.341Z] } [Pipeline] sh [2022-04-11T11:06:53.693Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T11:06:54.038Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:07:12.380Z] provisioning config files... [2022-04-11T11:07:12.405Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config6890162900459467592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:07:12.766Z] ---> docker-login.sh [2022-04-11T11:07:12.766Z] nexus3.edgexfoundry.org:10001 [2022-04-11T11:07:13.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:07:13.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:07:13.639Z] Configure a credential helper to remove this warning. See [2022-04-11T11:07:13.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:07:13.639Z] [2022-04-11T11:07:13.639Z] Login Succeeded [2022-04-11T11:07:13.639Z] nexus3.edgexfoundry.org:10002 [2022-04-11T11:07:13.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:07:14.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:07:14.187Z] Configure a credential helper to remove this warning. See [2022-04-11T11:07:14.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:07:14.187Z] [2022-04-11T11:07:14.187Z] Login Succeeded [2022-04-11T11:07:14.187Z] nexus3.edgexfoundry.org:10003 [2022-04-11T11:07:14.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:07:14.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:07:14.462Z] Configure a credential helper to remove this warning. See [2022-04-11T11:07:14.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:07:14.462Z] [2022-04-11T11:07:14.462Z] Login Succeeded [2022-04-11T11:07:14.462Z] nexus3.edgexfoundry.org:10004 [2022-04-11T11:07:15.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:07:15.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:07:15.062Z] Configure a credential helper to remove this warning. See [2022-04-11T11:07:15.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:07:15.062Z] [2022-04-11T11:07:15.062Z] Login Succeeded [2022-04-11T11:07:15.062Z] docker.io [2022-04-11T11:07:15.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:07:15.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:07:15.938Z] Configure a credential helper to remove this warning. See [2022-04-11T11:07:15.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:07:15.938Z] [2022-04-11T11:07:15.938Z] Login Succeeded [2022-04-11T11:07:15.938Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T11:07:15.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T11:07:16.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T11:07:16.606Z] ========================================================= [2022-04-11T11:07:16.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T11:07:16.606Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:07:16.987Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-11T11:07:16.987Z] Sending build context to Docker daemon 127.5kB [2022-04-11T11:07:17.266Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T11:07:17.266Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T11:07:17.539Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T11:07:17.539Z] 9b3977197b4f: Pulling fs layer [2022-04-11T11:07:17.539Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T11:07:17.539Z] 94645a83ff95: Pulling fs layer [2022-04-11T11:07:17.539Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T11:07:17.539Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T11:07:17.539Z] f7c0051592d6: Pulling fs layer [2022-04-11T11:07:17.539Z] a227ed2f7395: Pulling fs layer [2022-04-11T11:07:17.539Z] 7b1c46037f91: Pulling fs layer [2022-04-11T11:07:17.539Z] f7c0051592d6: Waiting [2022-04-11T11:07:17.539Z] a227ed2f7395: Waiting [2022-04-11T11:07:17.539Z] 7b1c46037f91: Waiting [2022-04-11T11:07:17.539Z] 0c92f367c5e7: Waiting [2022-04-11T11:07:17.539Z] 3f3a8bcf1eab: Waiting [2022-04-11T11:07:17.539Z] 94645a83ff95: Download complete [2022-04-11T11:07:17.539Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T11:07:17.539Z] 1a89e8eeedd5: Download complete [2022-04-11T11:07:17.539Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T11:07:17.539Z] 0c92f367c5e7: Download complete [2022-04-11T11:07:17.539Z] f7c0051592d6: Verifying Checksum [2022-04-11T11:07:17.539Z] f7c0051592d6: Download complete [2022-04-11T11:07:17.540Z] 9b3977197b4f: Download complete [2022-04-11T11:07:17.540Z] a227ed2f7395: Verifying Checksum [2022-04-11T11:07:17.540Z] a227ed2f7395: Download complete [2022-04-11T11:07:18.537Z] 9b3977197b4f: Pull complete [2022-04-11T11:07:19.140Z] 1a89e8eeedd5: Pull complete [2022-04-11T11:07:19.416Z] 94645a83ff95: Pull complete [2022-04-11T11:07:19.690Z] 7b1c46037f91: Verifying Checksum [2022-04-11T11:07:19.690Z] 7b1c46037f91: Download complete [2022-04-11T11:07:19.962Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T11:07:19.962Z] 3f3a8bcf1eab: Download complete [2022-04-11T11:07:32.365Z] 3f3a8bcf1eab: Pull complete [2022-04-11T11:07:32.365Z] 0c92f367c5e7: Pull complete [2022-04-11T11:07:32.365Z] f7c0051592d6: Pull complete [2022-04-11T11:07:32.365Z] a227ed2f7395: Pull complete [2022-04-11T11:07:39.100Z] 7b1c46037f91: Pull complete [2022-04-11T11:07:39.100Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T11:07:39.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T11:07:39.100Z] ---> f79e39bc4007 [2022-04-11T11:07:39.100Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T11:07:39.722Z] ---> Running in 964d305e0143 [2022-04-11T11:07:39.722Z] Removing intermediate container 964d305e0143 [2022-04-11T11:07:39.722Z] ---> c526deac5020 [2022-04-11T11:07:39.722Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T11:07:40.003Z] ---> Running in aaca0c5b9f9b [2022-04-11T11:07:40.279Z] Removing intermediate container aaca0c5b9f9b [2022-04-11T11:07:40.279Z] ---> 9d1d9faec0f9 [2022-04-11T11:07:40.279Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T11:07:40.279Z] ---> Running in c5486919b27a [2022-04-11T11:07:40.560Z] Removing intermediate container c5486919b27a [2022-04-11T11:07:40.560Z] ---> 9861b207cbf3 [2022-04-11T11:07:40.560Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T11:07:40.834Z] ---> Running in 8df77bc3c7e2 [2022-04-11T11:07:42.814Z] Removing intermediate container 8df77bc3c7e2 [2022-04-11T11:07:42.815Z] ---> 6c9b1d470b13 [2022-04-11T11:07:42.815Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T11:07:42.815Z] ---> Running in bdd88ae18d07 [2022-04-11T11:07:43.798Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T11:07:44.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T11:07:45.374Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T11:07:45.374Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T11:07:45.647Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T11:07:45.647Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T11:07:45.921Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T11:07:45.921Z] OK: 224 MiB in 56 packages [2022-04-11T11:07:46.909Z] Removing intermediate container bdd88ae18d07 [2022-04-11T11:07:46.909Z] ---> f8c1310eb028 [2022-04-11T11:07:46.909Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-11T11:07:46.909Z] ---> Running in c0c8226a81f1 [2022-04-11T11:07:47.184Z] Removing intermediate container c0c8226a81f1 [2022-04-11T11:07:47.184Z] ---> 14c23465df7f [2022-04-11T11:07:47.184Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T11:07:47.794Z] ---> c7e978fd40a4 [2022-04-11T11:07:47.794Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T11:07:47.794Z] ---> Running in 1392794d5829 [2022-04-11T11:08:44.428Z] Removing intermediate container 1392794d5829 [2022-04-11T11:08:44.428Z] ---> dfa31efe80e1 [2022-04-11T11:08:44.428Z] Step 11/12 : COPY . . [2022-04-11T11:08:44.428Z] ---> 94e65f494de3 [2022-04-11T11:08:44.428Z] Step 12/12 : RUN $MAKE [2022-04-11T11:08:44.428Z] ---> Running in 037fc8aff74c [2022-04-11T11:08:44.428Z] noop [2022-04-11T11:08:44.428Z] Removing intermediate container 037fc8aff74c [2022-04-11T11:08:44.428Z] ---> c30744af96d4 [2022-04-11T11:08:44.428Z] Successfully built c30744af96d4 [2022-04-11T11:08:44.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:08:44.788Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T11:08:44.788Z] . [Pipeline] withDockerContainer [2022-04-11T11:08:45.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container [2022-04-11T11:08:45.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T11:08:46.604Z] $ docker top 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T11:08:47.574Z] + go version [2022-04-11T11:08:47.574Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T11:08:47.608Z] $ docker stop --time=1 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 [2022-04-11T11:08:49.324Z] $ docker rm -f 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:08:49.980Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T11:08:49.981Z] . [Pipeline] withDockerContainer [2022-04-11T11:08:50.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container [2022-04-11T11:08:50.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T11:08:51.783Z] $ docker top da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T11:08:52.764Z] + make test [2022-04-11T11:08:52.764Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-11T11:08:54.770Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-11T11:10:31.741Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-11T11:10:31.741Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-04-11T11:10:31.741Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T11:10:31.741Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T11:10:58.598Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T11:10:58.598Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T11:10:58.598Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T11:10:58.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T11:10:58.649Z] $ docker stop --time=1 da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 [2022-04-11T11:11:00.574Z] $ docker rm -f da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T11:11:01.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T11:11:01.704Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T11:11:02.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T11:11:02.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T11:11:03.336Z] + ls -al . [2022-04-11T11:11:03.336Z] total 168 [2022-04-11T11:11:03.336Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:10 . [2022-04-11T11:11:03.336Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:06 .. [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 11:06 .dockerignore [2022-04-11T11:11:03.336Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:06 .git [2022-04-11T11:11:03.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 .github [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 11:06 .gitignore [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:06 .golangci.yml [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 11:06 Attribution.txt [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 11:06 CHANGELOG.md [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 11:06 Dockerfile [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:06 GOVERNANCE.md [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 11:06 Jenkinsfile [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:06 LICENSE [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 11:06 Makefile [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 11:06 OWNERS.md [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 11:06 README.md [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 11:02 VERSION [2022-04-11T11:11:03.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 bin [2022-04-11T11:11:03.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 cmd [2022-04-11T11:11:03.336Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 11:10 coverage.out [2022-04-11T11:11:03.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 driver [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 11:06 go.mod [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 11:06 go.sum [2022-04-11T11:11:03.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 snap [2022-04-11T11:11:03.336Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 11:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:11:03.716Z] + 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=d2dd5877ffea6850c3b0cb999012b17b1a99601c --label arch=arm64 --label version=2.2.0-dev.10 . [2022-04-11T11:11:03.716Z] Sending build context to Docker daemon 137.7kB [2022-04-11T11:11:03.999Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T11:11:03.999Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T11:11:03.999Z] ---> c30744af96d4 [2022-04-11T11:11:03.999Z] Step 3/25 : ARG MAKE='make build' [2022-04-11T11:11:04.285Z] ---> Running in 582025100c36 [2022-04-11T11:11:04.588Z] Removing intermediate container 582025100c36 [2022-04-11T11:11:04.588Z] ---> 4bd2885eda00 [2022-04-11T11:11:04.588Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T11:11:04.588Z] ---> Running in b66ba53dbbb2 [2022-04-11T11:11:05.221Z] Removing intermediate container b66ba53dbbb2 [2022-04-11T11:11:05.221Z] ---> 83c14e0f6730 [2022-04-11T11:11:05.221Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T11:11:05.221Z] ---> Running in 1a091261b108 [2022-04-11T11:11:05.497Z] Removing intermediate container 1a091261b108 [2022-04-11T11:11:05.497Z] ---> 6eadbfc630b9 [2022-04-11T11:11:05.497Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T11:11:05.497Z] ---> Running in 9c16fe7bdbbf [2022-04-11T11:11:07.480Z] Removing intermediate container 9c16fe7bdbbf [2022-04-11T11:11:07.480Z] ---> 67e6bcc3302f [2022-04-11T11:11:07.480Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T11:11:07.480Z] ---> Running in 50a0035da5c3 [2022-04-11T11:11:08.463Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T11:11:09.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T11:11:10.424Z] OK: 224 MiB in 56 packages [2022-04-11T11:11:11.409Z] Removing intermediate container 50a0035da5c3 [2022-04-11T11:11:11.409Z] ---> 94550d106f47 [2022-04-11T11:11:11.409Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-11T11:11:11.409Z] ---> Running in d1d6ed01a5f1 [2022-04-11T11:11:11.684Z] Removing intermediate container d1d6ed01a5f1 [2022-04-11T11:11:11.684Z] ---> 54e243d6110a [2022-04-11T11:11:11.684Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-11T11:11:12.286Z] ---> 3c7b7f7b0866 [2022-04-11T11:11:12.286Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T11:11:12.286Z] ---> Running in afb148659ab6 [2022-04-11T11:11:14.271Z] Removing intermediate container afb148659ab6 [2022-04-11T11:11:14.271Z] ---> 52ca098ee88d [2022-04-11T11:11:14.271Z] Step 11/25 : COPY . . [2022-04-11T11:11:14.878Z] ---> bdaf33bdf135 [2022-04-11T11:11:14.878Z] Step 12/25 : RUN $MAKE [2022-04-11T11:11:15.155Z] ---> Running in 370d5676219a [2022-04-11T11:11:16.151Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-11T11:13:38.046Z] Removing intermediate container 370d5676219a [2022-04-11T11:13:38.046Z] ---> 3631825753b1 [2022-04-11T11:13:38.046Z] Step 13/25 : FROM alpine:3.14 [2022-04-11T11:13:38.046Z] 3.14: Pulling from library/alpine [2022-04-11T11:13:38.046Z] 455c02918c45: Pulling fs layer [2022-04-11T11:13:38.046Z] 455c02918c45: Download complete [2022-04-11T11:13:38.046Z] 455c02918c45: Pull complete [2022-04-11T11:13:38.046Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T11:13:38.046Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T11:13:38.046Z] ---> ac73e934f311 [2022-04-11T11:13:38.046Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-11T11:13:38.046Z] ---> Running in b809712073a2 [2022-04-11T11:13:38.046Z] Removing intermediate container b809712073a2 [2022-04-11T11:13:38.046Z] ---> 5e5e7fbdafb9 [2022-04-11T11:13:38.046Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-11T11:13:38.046Z] ---> Running in b2bc42f02792 [2022-04-11T11:13:38.046Z] Removing intermediate container b2bc42f02792 [2022-04-11T11:13:38.046Z] ---> 8cb644e452df [2022-04-11T11:13:38.046Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T11:13:38.046Z] ---> Running in e380a367656a [2022-04-11T11:13:38.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T11:13:38.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T11:13:38.046Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T11:13:38.046Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T11:13:38.046Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T11:13:38.046Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T11:13:38.046Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T11:13:38.046Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T11:13:38.046Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T11:13:38.046Z] OK: 8 MiB in 20 packages [2022-04-11T11:13:38.046Z] Removing intermediate container e380a367656a [2022-04-11T11:13:38.046Z] ---> 561cc7289074 [2022-04-11T11:13:38.046Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-11T11:13:38.046Z] ---> 52a7b641fc14 [2022-04-11T11:13:38.046Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-11T11:13:38.046Z] ---> 2846b195292c [2022-04-11T11:13:38.046Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-11T11:13:38.046Z] ---> 3a5beed64b12 [2022-04-11T11:13:38.046Z] Step 20/25 : EXPOSE 59986 [2022-04-11T11:13:38.046Z] ---> Running in b79f510903d0 [2022-04-11T11:13:38.046Z] Removing intermediate container b79f510903d0 [2022-04-11T11:13:38.046Z] ---> fcb83effe01f [2022-04-11T11:13:38.046Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-11T11:13:38.046Z] ---> Running in 4b76428cc1ed [2022-04-11T11:13:38.046Z] Removing intermediate container 4b76428cc1ed [2022-04-11T11:13:38.046Z] ---> 1b25842a872c [2022-04-11T11:13:38.046Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T11:13:38.046Z] ---> Running in 7228eff2bb54 [2022-04-11T11:13:38.046Z] Removing intermediate container 7228eff2bb54 [2022-04-11T11:13:38.046Z] ---> 9942474ea980 [2022-04-11T11:13:38.046Z] Step 23/25 : LABEL arch=arm64 [2022-04-11T11:13:38.046Z] ---> Running in e4d6254fa42e [2022-04-11T11:13:38.046Z] Removing intermediate container e4d6254fa42e [2022-04-11T11:13:38.046Z] ---> 90b4111d3c85 [2022-04-11T11:13:38.046Z] Step 24/25 : LABEL git_sha=d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:13:38.046Z] ---> Running in adabf5a94a45 [2022-04-11T11:13:38.046Z] Removing intermediate container adabf5a94a45 [2022-04-11T11:13:38.046Z] ---> 11554bb139ee [2022-04-11T11:13:38.046Z] Step 25/25 : LABEL version=2.2.0-dev.10 [2022-04-11T11:13:38.046Z] ---> Running in f330d38e505f [2022-04-11T11:13:38.046Z] Removing intermediate container f330d38e505f [2022-04-11T11:13:38.046Z] ---> bdb639e4558b [2022-04-11T11:13:38.046Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T11:13:38.046Z] Successfully built bdb639e4558b [2022-04-11T11:13:38.046Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:13:38.158Z] provisioning config files... [2022-04-11T11:13:38.181Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config8242560195869038394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:13:38.549Z] ---> docker-login.sh [2022-04-11T11:13:38.549Z] nexus3.edgexfoundry.org:10001 [2022-04-11T11:13:38.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:13:39.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:13:39.097Z] Configure a credential helper to remove this warning. See [2022-04-11T11:13:39.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:13:39.097Z] [2022-04-11T11:13:39.097Z] Login Succeeded [2022-04-11T11:13:39.097Z] nexus3.edgexfoundry.org:10002 [2022-04-11T11:13:39.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:13:39.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:13:39.644Z] Configure a credential helper to remove this warning. See [2022-04-11T11:13:39.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:13:39.644Z] [2022-04-11T11:13:39.644Z] Login Succeeded [2022-04-11T11:13:39.644Z] nexus3.edgexfoundry.org:10003 [2022-04-11T11:13:39.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:13:39.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:13:39.917Z] Configure a credential helper to remove this warning. See [2022-04-11T11:13:39.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:13:39.917Z] [2022-04-11T11:13:39.917Z] Login Succeeded [2022-04-11T11:13:40.193Z] nexus3.edgexfoundry.org:10004 [2022-04-11T11:13:40.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:13:40.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:13:40.743Z] Configure a credential helper to remove this warning. See [2022-04-11T11:13:40.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:13:40.743Z] [2022-04-11T11:13:40.743Z] Login Succeeded [2022-04-11T11:13:40.743Z] docker.io [2022-04-11T11:13:41.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T11:13:41.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T11:13:41.623Z] Configure a credential helper to remove this warning. See [2022-04-11T11:13:41.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T11:13:41.623Z] [2022-04-11T11:13:41.623Z] Login Succeeded [2022-04-11T11:13:41.623Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T11:13:41.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T11:13:41.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T11:13:41.699Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-04-11T11:13:41.699Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:13:41.699Z] latest [2022-04-11T11:13:41.699Z] 2.2.0-dev.10 [2022-04-11T11:13:41.699Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:13:41.699Z] main [2022-04-11T11:13:41.699Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:42.069Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:42.429Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:13:42.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-11T11:13:42.429Z] 2d350acea7d3: Preparing [2022-04-11T11:13:42.429Z] 57365ad1b588: Preparing [2022-04-11T11:13:42.429Z] 351c38077bda: Preparing [2022-04-11T11:13:42.429Z] 1ff70119f03e: Preparing [2022-04-11T11:13:42.429Z] f73e7dbfee58: Preparing [2022-04-11T11:13:42.710Z] f73e7dbfee58: Layer already exists [2022-04-11T11:13:42.710Z] 57365ad1b588: Pushed [2022-04-11T11:13:42.710Z] 2d350acea7d3: Pushed [2022-04-11T11:13:43.311Z] 1ff70119f03e: Pushed [2022-04-11T11:13:48.711Z] 351c38077bda: Pushed [2022-04-11T11:13:48.984Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:49.331Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:49.670Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-11T11:13:49.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-11T11:13:49.670Z] 2d350acea7d3: Preparing [2022-04-11T11:13:49.670Z] 57365ad1b588: Preparing [2022-04-11T11:13:49.670Z] 351c38077bda: Preparing [2022-04-11T11:13:49.670Z] 1ff70119f03e: Preparing [2022-04-11T11:13:49.670Z] f73e7dbfee58: Preparing [2022-04-11T11:13:49.670Z] 2d350acea7d3: Layer already exists [2022-04-11T11:13:49.670Z] 1ff70119f03e: Layer already exists [2022-04-11T11:13:49.670Z] 351c38077bda: Layer already exists [2022-04-11T11:13:49.670Z] 57365ad1b588: Layer already exists [2022-04-11T11:13:49.670Z] f73e7dbfee58: Layer already exists [2022-04-11T11:13:49.943Z] latest: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:50.296Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:50.641Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 [2022-04-11T11:13:50.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-11T11:13:50.641Z] 2d350acea7d3: Preparing [2022-04-11T11:13:50.641Z] 57365ad1b588: Preparing [2022-04-11T11:13:50.641Z] 351c38077bda: Preparing [2022-04-11T11:13:50.641Z] 1ff70119f03e: Preparing [2022-04-11T11:13:50.641Z] f73e7dbfee58: Preparing [2022-04-11T11:13:50.641Z] 57365ad1b588: Layer already exists [2022-04-11T11:13:50.641Z] 351c38077bda: Layer already exists [2022-04-11T11:13:50.641Z] 1ff70119f03e: Layer already exists [2022-04-11T11:13:50.641Z] f73e7dbfee58: Layer already exists [2022-04-11T11:13:50.641Z] 2d350acea7d3: Layer already exists [2022-04-11T11:13:50.914Z] 2.2.0-dev.10: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:51.267Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:51.609Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:13:51.609Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-11T11:13:51.609Z] 2d350acea7d3: Preparing [2022-04-11T11:13:51.609Z] 57365ad1b588: Preparing [2022-04-11T11:13:51.609Z] 351c38077bda: Preparing [2022-04-11T11:13:51.609Z] 1ff70119f03e: Preparing [2022-04-11T11:13:51.609Z] f73e7dbfee58: Preparing [2022-04-11T11:13:51.609Z] 2d350acea7d3: Layer already exists [2022-04-11T11:13:51.609Z] f73e7dbfee58: Layer already exists [2022-04-11T11:13:51.609Z] 57365ad1b588: Layer already exists [2022-04-11T11:13:51.609Z] 1ff70119f03e: Layer already exists [2022-04-11T11:13:51.609Z] 351c38077bda: Layer already exists [2022-04-11T11:13:51.881Z] d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:52.224Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:52.561Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-04-11T11:13:52.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-11T11:13:52.561Z] 2d350acea7d3: Preparing [2022-04-11T11:13:52.561Z] 57365ad1b588: Preparing [2022-04-11T11:13:52.561Z] 351c38077bda: Preparing [2022-04-11T11:13:52.561Z] 1ff70119f03e: Preparing [2022-04-11T11:13:52.561Z] f73e7dbfee58: Preparing [2022-04-11T11:13:52.561Z] f73e7dbfee58: Layer already exists [2022-04-11T11:13:52.561Z] 57365ad1b588: Layer already exists [2022-04-11T11:13:52.561Z] 351c38077bda: Layer already exists [2022-04-11T11:13:52.561Z] 2d350acea7d3: Layer already exists [2022-04-11T11:13:52.835Z] 1ff70119f03e: Layer already exists [2022-04-11T11:13:52.835Z] main: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T11:13:52.878Z] ===================================================== [Pipeline] echo [2022-04-11T11:13:52.886Z] taggedImages: [2022-04-11T11:13:52.886Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c [2022-04-11T11:13:52.886Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-11T11:13:52.886Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 [2022-04-11T11:13:52.886Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [2022-04-11T11:13:52.886Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:53.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T11:13:53.244Z] [2022-04-11T11:13:53.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:13:53.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T11:13:53.877Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T11:13:53.877Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T11:13:53.877Z] 04944245beec: Pulling fs layer [2022-04-11T11:13:53.877Z] 699f458cf7ca: Pulling fs layer [2022-04-11T11:13:53.877Z] 765212b225bb: Pulling fs layer [2022-04-11T11:13:53.877Z] f23df028b6ca: Pulling fs layer [2022-04-11T11:13:53.877Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T11:13:53.877Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T11:13:53.877Z] f23df028b6ca: Waiting [2022-04-11T11:13:53.877Z] 2437ff75d9bd: Waiting [2022-04-11T11:13:53.877Z] d65c8cfc05b1: Waiting [2022-04-11T11:13:53.877Z] 765212b225bb: Waiting [2022-04-11T11:13:53.877Z] 04944245beec: Download complete [2022-04-11T11:13:53.877Z] 765212b225bb: Verifying Checksum [2022-04-11T11:13:53.877Z] 765212b225bb: Download complete [2022-04-11T11:13:53.877Z] f23df028b6ca: Download complete [2022-04-11T11:13:54.155Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T11:13:54.155Z] d65c8cfc05b1: Download complete [2022-04-11T11:13:54.155Z] 699f458cf7ca: Verifying Checksum [2022-04-11T11:13:54.155Z] 699f458cf7ca: Download complete [2022-04-11T11:13:54.432Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T11:13:54.432Z] 8998bd30e6a1: Download complete [2022-04-11T11:13:57.060Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T11:13:57.060Z] 2437ff75d9bd: Download complete [2022-04-11T11:13:59.039Z] 8998bd30e6a1: Pull complete [2022-04-11T11:13:59.635Z] 04944245beec: Pull complete [2022-04-11T11:14:01.072Z] 699f458cf7ca: Pull complete [2022-04-11T11:14:01.348Z] 765212b225bb: Pull complete [2022-04-11T11:14:02.331Z] f23df028b6ca: Pull complete [2022-04-11T11:14:02.331Z] d65c8cfc05b1: Pull complete [2022-04-11T11:14:17.434Z] 2437ff75d9bd: Pull complete [2022-04-11T11:14:17.434Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T11:14:17.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T11:14:17.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T11:14:17.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container [2022-04-11T11:14:17.769Z] $ 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/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T11:14:20.610Z] $ docker top 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:14:21.562Z] ---> job-cost.sh [2022-04-11T11:14:21.563Z] lf-activate-venv: SKIPPING [2022-04-11T11:14:21.563Z] INFO: No Stack... [2022-04-11T11:14:22.163Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T11:14:23.138Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T11:14:23.818Z] + cut -d, -f6 [2022-04-11T11:14:23.818Z] + cat /w/workspace/device-rest-go/31/archives/cost.csv [Pipeline] lock [2022-04-11T11:14:23.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [2022-04-11T11:14:23.903Z] Resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] did not exist. Created. [2022-04-11T11:14:23.903Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T11:14:24.598Z] /w/workspace/device-rest-go/31@tmp/durable-d0445322/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T11:14:25.275Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T11:14:25.298Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T11:14:25.346Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T11:14:25.352Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T11:14:25.379Z] $ docker stop --time=1 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 [2022-04-11T11:14:26.926Z] $ docker rm -f 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-11T11:14:27.430Z] provisioning config files... [2022-04-11T11:14:27.440Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4981033877382350490tmp [Pipeline] { [Pipeline] sh [2022-04-11T11:14:27.735Z] + set +x [2022-04-11T11:14:27.736Z] + curl -s https://codecov.io/bash [2022-04-11T11:14:27.736Z] + bash -s -- [2022-04-11T11:14:27.736Z] [2022-04-11T11:14:27.736Z] _____ _ [2022-04-11T11:14:27.736Z] / ____| | | [2022-04-11T11:14:27.736Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T11:14:27.736Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T11:14:27.736Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T11:14:27.736Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T11:14:27.736Z] Bash-1.0.6 [2022-04-11T11:14:27.736Z] [2022-04-11T11:14:27.736Z] [2022-04-11T11:14:27.736Z] ==> git version 2.25.1 found [2022-04-11T11:14:27.736Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-11T11:14:27.736Z] Release-Date: 2020-01-08 [2022-04-11T11:14:27.736Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-11T11:14:27.736Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T11:14:27.736Z] ==> Jenkins CI detected. [2022-04-11T11:14:27.736Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:14:27.736Z] project root: . [2022-04-11T11:14:27.736Z] --> token set from env [2022-04-11T11:14:27.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T11:14:27.736Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T11:14:27.736Z] ==> Python coveragepy not found [2022-04-11T11:14:27.736Z] ==> Searching for coverage reports in: [2022-04-11T11:14:27.736Z] + . [2022-04-11T11:14:27.736Z] -> Found 1 reports [2022-04-11T11:14:27.736Z] ==> Detecting git/mercurial file structure [2022-04-11T11:14:27.736Z] ==> Reading reports [2022-04-11T11:14:27.736Z] + ./coverage.out bytes=9355 [2022-04-11T11:14:27.736Z] ==> Appending adjustments [2022-04-11T11:14:27.736Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T11:14:27.996Z] + Found adjustments [2022-04-11T11:14:27.996Z] ==> Gzipping contents [2022-04-11T11:14:27.996Z] 4.0K /tmp/codecov.by71ad.gz [2022-04-11T11:14:27.996Z] ==> Uploading reports [2022-04-11T11:14:27.996Z] url: https://codecov.io [2022-04-11T11:14:27.996Z] query: branch=main&commit=d2dd5877ffea6850c3b0cb999012b17b1a99601c&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T11:14:27.996Z] -> Pinging Codecov [2022-04-11T11:14:27.996Z] 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=d2dd5877ffea6850c3b0cb999012b17b1a99601c&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T11:14:28.257Z] -> Uploading to [2022-04-11T11:14:28.257Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/4E5D53B4F1F92C436F7061BF334D961C/d2dd5877ffea6850c3b0cb999012b17b1a99601c/f47c4cb4-30f8-4f0b-8bd6-1cbd84a4baf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T111428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=060a8e3c83d9a670c02c5cf2926fa64841d28241ba6887d967770848e6558bb2 [2022-04-11T11:14:28.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T11:14:28.257Z] Dload Upload Total Spent Left Speed [2022-04-11T11:14:28.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7826 --:--:-- --:--:-- --:--:-- 7826 [2022-04-11T11:14:28.518Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] } [2022-04-11T11:14:28.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-11T11:14:28.789Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-11T11:14:28.799Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:14:29.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T11:14:29.092Z] [2022-04-11T11:14:29.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:14:29.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T11:14:29.392Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-11T11:14:29.392Z] 188c0c94c7c5: Pulling fs layer [2022-04-11T11:14:29.392Z] 0ef7d3d256c8: Pulling fs layer [2022-04-11T11:14:29.392Z] de9db76c5a1d: Pulling fs layer [2022-04-11T11:14:29.392Z] 0eba1c9be4d2: Pulling fs layer [2022-04-11T11:14:29.392Z] 0d57e429df01: Pulling fs layer [2022-04-11T11:14:29.392Z] 4e4be7b47b0d: Pulling fs layer [2022-04-11T11:14:29.392Z] e1f770b5df2f: Pulling fs layer [2022-04-11T11:14:29.392Z] 85a0685a4137: Pulling fs layer [2022-04-11T11:14:29.392Z] 0eba1c9be4d2: Waiting [2022-04-11T11:14:29.392Z] 4e4be7b47b0d: Waiting [2022-04-11T11:14:29.392Z] e1f770b5df2f: Waiting [2022-04-11T11:14:29.392Z] 85a0685a4137: Waiting [2022-04-11T11:14:29.392Z] 0d57e429df01: Waiting [2022-04-11T11:14:29.392Z] de9db76c5a1d: Download complete [2022-04-11T11:14:29.392Z] 0ef7d3d256c8: Download complete [2022-04-11T11:14:29.392Z] 0d57e429df01: Verifying Checksum [2022-04-11T11:14:29.392Z] 0d57e429df01: Download complete [2022-04-11T11:14:29.392Z] 4e4be7b47b0d: Verifying Checksum [2022-04-11T11:14:29.392Z] 4e4be7b47b0d: Download complete [2022-04-11T11:14:29.392Z] 188c0c94c7c5: Verifying Checksum [2022-04-11T11:14:29.392Z] 188c0c94c7c5: Download complete [2022-04-11T11:14:29.652Z] 188c0c94c7c5: Pull complete [2022-04-11T11:14:29.652Z] e1f770b5df2f: Verifying Checksum [2022-04-11T11:14:29.652Z] 0ef7d3d256c8: Pull complete [2022-04-11T11:14:29.652Z] de9db76c5a1d: Pull complete [2022-04-11T11:14:30.220Z] 0eba1c9be4d2: Verifying Checksum [2022-04-11T11:14:30.220Z] 0eba1c9be4d2: Download complete [2022-04-11T11:14:30.220Z] 85a0685a4137: Verifying Checksum [2022-04-11T11:14:30.220Z] 85a0685a4137: Download complete [2022-04-11T11:14:33.515Z] 0eba1c9be4d2: Pull complete [2022-04-11T11:14:33.515Z] 0d57e429df01: Pull complete [2022-04-11T11:14:33.515Z] 4e4be7b47b0d: Pull complete [2022-04-11T11:14:34.117Z] e1f770b5df2f: Pull complete [2022-04-11T11:14:37.480Z] 85a0685a4137: Pull complete [2022-04-11T11:14:37.480Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-11T11:14:37.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T11:14:37.480Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-11T11:14:37.556Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:14:37.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-11T11:14:39.837Z] $ docker top 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-11T11:14:39.920Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-11T11:14:40.202Z] + set -o pipefail [2022-04-11T11:14:40.202Z] + snyk monitor '--org=edgex-jenkins' [2022-04-11T11:14:45.495Z] [2022-04-11T11:14:45.495Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-04-11T11:14:45.495Z] [2022-04-11T11:14:45.495Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/7264f339-5ac0-4fff-a6c4-55bd9e671713 [2022-04-11T11:14:45.495Z] [2022-04-11T11:14:45.495Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-11T11:14:45.495Z] [2022-04-11T11:14:45.495Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-11T11:14:45.495Z] [2022-04-11T11:14:45.758Z] [Pipeline] } [2022-04-11T11:14:45.774Z] $ docker stop --time=1 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b [2022-04-11T11:14:47.940Z] $ docker rm -f 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T11:14:48.722Z] + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] sh [2022-04-11T11:14:49.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T11:14:49.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:14:49.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:14:49.310Z] . [Pipeline] withDockerContainer [2022-04-11T11:14:49.374Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:14:49.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T11:14:49.803Z] $ docker top cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T11:14:49.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T11:14:49.901Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T11:14:50.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T11:14:50.023Z] $ docker exec cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 ssh-agent [2022-04-11T11:14:50.124Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPkoPGa/agent.13 [2022-04-11T11:14:50.124Z] SSH_AGENT_PID=19 [2022-04-11T11:14:50.129Z] Running ssh-add (command line suppressed) [2022-04-11T11:14:50.258Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7960266819311051431.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7960266819311051431.key) [2022-04-11T11:14:50.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T11:14:50.566Z] + git semver tag [2022-04-11T11:14:50.566Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T11:14:50.566Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-11T11:14:50.566Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:14:50.566Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T11:14:50.566Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T11:14:50.566Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T11:14:50.566Z] # $SEMVER_BRANCH = main [2022-04-11T11:14:50.566Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-11T11:14:50.566Z] # d2dd5877ffea6850c3b0cb999012b17b1a99601c HEAD [2022-04-11T11:14:50.566Z] # -> Force: false [2022-04-11T11:14:50.566Z] # 831ac522958fceca6d513e1b2213325f2fa58a05 refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-04-11T11:14:50.590Z] $ docker exec --env ******** --env ******** cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 ssh-agent -k [2022-04-11T11:14:50.687Z] unset SSH_AUTH_SOCK; [2022-04-11T11:14:50.688Z] unset SSH_AGENT_PID; [2022-04-11T11:14:50.688Z] echo Agent pid 19 killed; [2022-04-11T11:14:50.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T11:14:51.011Z] + git semver [Pipeline] } [2022-04-11T11:14:51.027Z] $ docker stop --time=1 cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 [2022-04-11T11:14:52.303Z] $ docker rm -f cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:14:52.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T11:14:52.706Z] [2022-04-11T11:14:52.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:14:53.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T11:14:53.001Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-11T11:14:53.001Z] ab5ef0e58194: Pulling fs layer [2022-04-11T11:14:53.001Z] 9712f1f96733: Pulling fs layer [2022-04-11T11:14:53.001Z] 63f879dbbcfc: Pulling fs layer [2022-04-11T11:14:53.001Z] 0d9ebad4ef96: Pulling fs layer [2022-04-11T11:14:53.001Z] e9a5061849ea: Pulling fs layer [2022-04-11T11:14:53.001Z] d747dcd14b5f: Pulling fs layer [2022-04-11T11:14:53.001Z] 2de7ff778b66: Pulling fs layer [2022-04-11T11:14:53.001Z] 0d9ebad4ef96: Waiting [2022-04-11T11:14:53.001Z] e9a5061849ea: Waiting [2022-04-11T11:14:53.001Z] d747dcd14b5f: Waiting [2022-04-11T11:14:53.001Z] 2de7ff778b66: Waiting [2022-04-11T11:14:53.001Z] 9712f1f96733: Verifying Checksum [2022-04-11T11:14:53.001Z] 9712f1f96733: Download complete [2022-04-11T11:14:53.279Z] 63f879dbbcfc: Verifying Checksum [2022-04-11T11:14:53.279Z] 63f879dbbcfc: Download complete [2022-04-11T11:14:53.279Z] e9a5061849ea: Verifying Checksum [2022-04-11T11:14:53.279Z] e9a5061849ea: Download complete [2022-04-11T11:14:53.538Z] d747dcd14b5f: Verifying Checksum [2022-04-11T11:14:53.538Z] d747dcd14b5f: Download complete [2022-04-11T11:14:53.538Z] 0d9ebad4ef96: Verifying Checksum [2022-04-11T11:14:53.538Z] 0d9ebad4ef96: Download complete [2022-04-11T11:14:53.538Z] 2de7ff778b66: Verifying Checksum [2022-04-11T11:14:53.538Z] ab5ef0e58194: Verifying Checksum [2022-04-11T11:14:53.538Z] ab5ef0e58194: Download complete [2022-04-11T11:14:56.830Z] ab5ef0e58194: Pull complete [2022-04-11T11:14:56.830Z] 9712f1f96733: Pull complete [2022-04-11T11:14:57.397Z] 63f879dbbcfc: Pull complete [2022-04-11T11:15:01.592Z] 0d9ebad4ef96: Pull complete [2022-04-11T11:15:01.852Z] e9a5061849ea: Pull complete [2022-04-11T11:15:01.852Z] d747dcd14b5f: Pull complete [2022-04-11T11:15:03.231Z] 2de7ff778b66: Pull complete [2022-04-11T11:15:03.231Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-11T11:15:03.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T11:15:03.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-11T11:15:03.295Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:15:03.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-11T11:15:05.690Z] $ docker top ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:15:05.773Z] provisioning config files... [2022-04-11T11:15:05.779Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2972158802271560620tmp [2022-04-11T11:15:05.787Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8529686436519369747tmp [2022-04-11T11:15:05.795Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2121745771318414681tmp [Pipeline] { [Pipeline] echo [2022-04-11T11:15:05.810Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:06.093Z] ---> sigul-configuration.sh [2022-04-11T11:15:06.093Z] gpg: directory `/root/.gnupg' created [2022-04-11T11:15:06.093Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-11T11:15:06.093Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-11T11:15:06.093Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-11T11:15:06.093Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-11T11:15:06.093Z] gpg: CAST5 encrypted data [2022-04-11T11:15:06.093Z] gpg: encrypted with 1 passphrase [2022-04-11T11:15:06.093Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-11T11:15:06.382Z] + mkdir /home/jenkins [2022-04-11T11:15:06.383Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-11T11:15:06.671Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-11T11:15:06.682Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:06.968Z] ---> sigul-install.sh [2022-04-11T11:15:06.968Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-11T11:15:07.256Z] + git tag --list [2022-04-11T11:15:07.256Z] v1.0.0 [2022-04-11T11:15:07.256Z] v1.1.0 [2022-04-11T11:15:07.256Z] v1.1.1 [2022-04-11T11:15:07.256Z] v1.1.2 [2022-04-11T11:15:07.256Z] v1.2.0 [2022-04-11T11:15:07.256Z] v1.2.1 [2022-04-11T11:15:07.256Z] v2.0.0 [2022-04-11T11:15:07.256Z] v2.0.1-dev.1 [2022-04-11T11:15:07.256Z] v2.0.1-dev.10 [2022-04-11T11:15:07.256Z] v2.0.1-dev.11 [2022-04-11T11:15:07.256Z] v2.0.1-dev.12 [2022-04-11T11:15:07.256Z] v2.0.1-dev.13 [2022-04-11T11:15:07.256Z] v2.0.1-dev.14 [2022-04-11T11:15:07.256Z] v2.0.1-dev.2 [2022-04-11T11:15:07.256Z] v2.0.1-dev.3 [2022-04-11T11:15:07.256Z] v2.0.1-dev.4 [2022-04-11T11:15:07.256Z] v2.0.1-dev.5 [2022-04-11T11:15:07.256Z] v2.0.1-dev.6 [2022-04-11T11:15:07.256Z] v2.0.1-dev.7 [2022-04-11T11:15:07.256Z] v2.0.1-dev.8 [2022-04-11T11:15:07.256Z] v2.0.1-dev.9 [2022-04-11T11:15:07.256Z] v2.1.0 [2022-04-11T11:15:07.256Z] v2.2.0-dev.1 [2022-04-11T11:15:07.256Z] v2.2.0-dev.10 [2022-04-11T11:15:07.256Z] v2.2.0-dev.2 [2022-04-11T11:15:07.256Z] v2.2.0-dev.3 [2022-04-11T11:15:07.256Z] v2.2.0-dev.4 [2022-04-11T11:15:07.256Z] v2.2.0-dev.5 [2022-04-11T11:15:07.256Z] v2.2.0-dev.6 [2022-04-11T11:15:07.256Z] v2.2.0-dev.7 [2022-04-11T11:15:07.256Z] v2.2.0-dev.8 [2022-04-11T11:15:07.256Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-11T11:15:07.550Z] + lftools sign git-tag v2.2.0-dev.10 [2022-04-11T11:15:08.121Z] Signing Git tag with Sigul... [2022-04-11T11:15:08.121Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-04-11T11:15:08.391Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:08.786Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-11T11:15:08.792Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-11T11:15:08.813Z] $ docker stop --time=1 ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c [2022-04-11T11:15:10.167Z] $ docker rm -f ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-11T11:15:10.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T11:15:10.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:15:10.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:15:10.887Z] . [Pipeline] withDockerContainer [2022-04-11T11:15:10.954Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:15:10.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T11:15:11.365Z] $ docker top 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T11:15:11.526Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T11:15:11.526Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T11:15:11.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T11:15:11.668Z] $ docker exec 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 ssh-agent [2022-04-11T11:15:11.790Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFcKDjI/agent.14 [2022-04-11T11:15:11.790Z] SSH_AGENT_PID=20 [2022-04-11T11:15:11.795Z] Running ssh-add (command line suppressed) [2022-04-11T11:15:11.919Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999004671789218480.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999004671789218480.key) [2022-04-11T11:15:11.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T11:15:12.232Z] + git semver bump pre [2022-04-11T11:15:12.232Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T11:15:12.232Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-11T11:15:12.232Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:15:12.232Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T11:15:12.232Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T11:15:12.232Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T11:15:12.232Z] # $SEMVER_BRANCH = main [2022-04-11T11:15:12.232Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-11T11:15:12.232Z] 2.2.0-dev.11 [Pipeline] } [2022-04-11T11:15:12.244Z] $ docker exec --env ******** --env ******** 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 ssh-agent -k [2022-04-11T11:15:12.370Z] unset SSH_AUTH_SOCK; [2022-04-11T11:15:12.371Z] unset SSH_AGENT_PID; [2022-04-11T11:15:12.371Z] echo Agent pid 20 killed; [2022-04-11T11:15:12.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T11:15:12.693Z] + git semver [Pipeline] } [2022-04-11T11:15:12.709Z] $ docker stop --time=1 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 [2022-04-11T11:15:14.214Z] $ docker rm -f 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T11:15:14.576Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T11:15:14.576Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:15:14.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T11:15:14.880Z] . [Pipeline] withDockerContainer [2022-04-11T11:15:14.957Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:15:14.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T11:15:15.379Z] $ docker top 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T11:15:15.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T11:15:15.466Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T11:15:15.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T11:15:15.591Z] $ docker exec 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 ssh-agent [2022-04-11T11:15:15.706Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFmAbcN/agent.14 [2022-04-11T11:15:15.706Z] SSH_AGENT_PID=20 [2022-04-11T11:15:15.712Z] Running ssh-add (command line suppressed) [2022-04-11T11:15:15.835Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6109467993939882909.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6109467993939882909.key) [2022-04-11T11:15:15.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T11:15:16.139Z] + git semver push [2022-04-11T11:15:16.139Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T11:15:16.139Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-11T11:15:16.139Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:15:16.139Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T11:15:16.139Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T11:15:16.139Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T11:15:16.139Z] # $SEMVER_BRANCH = main [2022-04-11T11:15:16.139Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-11T11:15:17.538Z] $ docker exec --env ******** --env ******** 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 ssh-agent -k [2022-04-11T11:15:17.644Z] unset SSH_AUTH_SOCK; [2022-04-11T11:15:17.644Z] unset SSH_AGENT_PID; [2022-04-11T11:15:17.644Z] echo Agent pid 20 killed; [2022-04-11T11:15:17.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T11:15:17.967Z] + git semver [Pipeline] } [2022-04-11T11:15:17.985Z] $ docker stop --time=1 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 [2022-04-11T11:15:19.292Z] $ docker rm -f 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-11T11:15:19.924Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-04-11T11:15:19.924Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-11T11:15:19.924Z] total 16 [2022-04-11T11:15:19.924Z] drwxr-xr-x 3 root root 4096 Apr 11 11:04 . [2022-04-11T11:15:19.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 11:15 .. [2022-04-11T11:15:19.924Z] drwxr-xr-x 2 root root 4096 Apr 11 11:04 cost [2022-04-11T11:15:19.924Z] -rw-r--r-- 1 root root 84 Apr 11 11:04 cost.csv [2022-04-11T11:15:19.924Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-11T11:15:19.924Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-11T11:15:19.924Z] total 16 [2022-04-11T11:15:19.924Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 11:04 . [2022-04-11T11:15:19.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 11:15 .. [2022-04-11T11:15:19.924Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 11:04 cost [2022-04-11T11:15:19.924Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 11 11:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:20.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:21.094Z] ---> package-listing.sh [2022-04-11T11:15:21.094Z] ++ facter osfamily [2022-04-11T11:15:21.094Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T11:15:21.354Z] + OS_FAMILY=debian [2022-04-11T11:15:21.354Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-04-11T11:15:21.354Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T11:15:21.354Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T11:15:21.354Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T11:15:21.354Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T11:15:21.354Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-11T11:15:21.354Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T11:15:21.354Z] + case "${OS_FAMILY}" in [2022-04-11T11:15:21.354Z] + dpkg -l [2022-04-11T11:15:21.354Z] + grep '^ii' [2022-04-11T11:15:21.354Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T11:15:21.354Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T11:15:21.354Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T11:15:21.354Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-11T11:15:21.354Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-04-11T11:15:21.354Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-04-11T11:15:21.365Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-11T11:15:21.648Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T11:15:22.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T11:15:22.205Z] . [Pipeline] withDockerContainer [2022-04-11T11:15:22.271Z] prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container [2022-04-11T11:15:22.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T11:15:22.538Z] $ docker top 4bce37b521f3adccee6543103e52c46fc479e0ba9858c42185e1f0858b4a14f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T11:15:22.886Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T11:15:23.173Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T11:15:23.460Z] + ls /var/log/sa-host [2022-04-11T11:15:23.460Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T11:15:23.686Z] provisioning config files... [2022-04-11T11:15:23.694Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4904442191254882755tmp [Pipeline] { [Pipeline] echo [2022-04-11T11:15:23.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:23.994Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T11:15:24.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:24.344Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T11:15:24.355Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:24.707Z] ---> sudo-logs.sh [2022-04-11T11:15:24.707Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T11:15:24.737Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:25.030Z] ---> job-cost.sh [2022-04-11T11:15:25.030Z] lf-activate-venv: SKIPPING [2022-04-11T11:15:25.030Z] DEBUG: total: 0.2199999988079071 [2022-04-11T11:15:25.030Z] INFO: Retrieving Stack Cost... [2022-04-11T11:15:25.291Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T11:15:25.868Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T11:15:25.884Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T11:15:26.170Z] ---> logs-deploy.sh [2022-04-11T11:15:26.170Z] lf-activate-venv: SKIPPING [2022-04-11T11:15:26.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/31 [2022-04-11T11:15:26.170Z] INFO: archiving workspace using pattern(s): [2022-04-11T11:15:27.111Z] Archives upload complete. [2022-04-11T11:15:27.111Z] INFO: archiving logs to Nexus