Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 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-ssh67195895359617791.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-ssh4632150784801697176.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-ssh14892118174124592781.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-ssh7318944170046915907.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-ssh13981957342651289838.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20790 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef (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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 Commit message: "test(snap): add CI workflow (#172)" > git rev-list --no-walk d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T09:07:20.798Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T09:07:20.842Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T09:07:20.859Z] ========================================================= [2022-04-13T09:07:20.859Z] EdgeX Global Pipelines Version Info [2022-04-13T09:07:20.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:07:21.620Z] ------------------- [2022-04-13T09:07:21.621Z] stable info: [2022-04-13T09:07:21.621Z] ------------------- [2022-04-13T09:07:21.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T09:07:21.621Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:07:21.621Z] Message: update stable to v1.0.221 [2022-04-13T09:07:22.194Z] ------------------- [2022-04-13T09:07:22.194Z] experimental info: [2022-04-13T09:07:22.194Z] ------------------- [2022-04-13T09:07:22.194Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T09:07:22.194Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:07:22.194Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T09:07:22.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-13T09:07:22.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-13T09:07:22.321Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T09:07:22.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T09:07:22.338Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T09:07:22.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T09:07:22.355Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T09:07:22.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T09:07:22.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T09:07:22.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T09:07:22.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T09:07:22.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-13T09:07:22.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T09:07:22.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T09:07:22.423Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:07:22.431Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:07:22.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:07:22.448Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:07:22.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T09:07:22.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T09:07:22.473Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T09:07:22.482Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T09:07:22.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T09:07:22.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T09:07:22.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T09:07:22.515Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T09:07:22.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-13T09:07:22.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-13T09:07:22.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-13T09:07:22.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo [2022-04-13T09:07:22.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 238d080 [Pipeline] echo [2022-04-13T09:07:22.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:07:22.612Z] provisioning config files... [2022-04-13T09:07:22.627Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3998818481667782189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:07:22.952Z] ---> docker-login.sh [2022-04-13T09:07:22.952Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:07:23.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:23.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:23.213Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:23.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:23.213Z] [2022-04-13T09:07:23.213Z] Login Succeeded [2022-04-13T09:07:23.213Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:07:23.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:23.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:23.474Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:23.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:23.474Z] [2022-04-13T09:07:23.474Z] Login Succeeded [2022-04-13T09:07:23.474Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:07:23.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:23.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:23.474Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:23.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:23.474Z] [2022-04-13T09:07:23.474Z] Login Succeeded [2022-04-13T09:07:23.474Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:07:23.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:23.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:23.735Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:23.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:23.735Z] [2022-04-13T09:07:23.735Z] Login Succeeded [2022-04-13T09:07:23.735Z] docker.io [2022-04-13T09:07:23.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:24.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:24.314Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:24.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:24.314Z] [2022-04-13T09:07:24.314Z] Login Succeeded [2022-04-13T09:07:24.314Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:07:24.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T09:07:24.683Z] + git rev-list -1 --merges 238d080d640a7e3d9ba0ccf186e4988c74ba76ef~1..238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo [2022-04-13T09:07:24.806Z] -----------> git rev-list -1 --merges 238d080d640a7e3d9ba0ccf186e4988c74ba76ef~1..238d080d640a7e3d9ba0ccf186e4988c74ba76ef 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [false] [Pipeline] sh [2022-04-13T09:07:25.101Z] + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo [2022-04-13T09:07:25.116Z] ========================================================= [2022-04-13T09:07:25.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T09:07:25.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:07:25.446Z] + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo [2022-04-13T09:07:25.460Z] [semverPrep] GIT_COMMIT: 238d080d640a7e3d9ba0ccf186e4988c74ba76ef, Commit Message: test(snap): add CI workflow (#172) [Pipeline] echo [2022-04-13T09:07:25.468Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T09:07:25.910Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:07:25.910Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T09:07:25.910Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T09:07:25.910Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T09:07:25.910Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T09:07:25.910Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T09:07:25.910Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:07:26.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:07:26.320Z] [2022-04-13T09:07:26.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:07:26.627Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:07:26.627Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T09:07:26.627Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T09:07:26.627Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T09:07:26.627Z] 4c7163046ea9: Pulling fs layer [2022-04-13T09:07:26.627Z] 0c2d73faf560: Pulling fs layer [2022-04-13T09:07:26.627Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T09:07:26.627Z] 3e5f54012d9b: Download complete [2022-04-13T09:07:26.627Z] a0d0a0d46f8b: Download complete [2022-04-13T09:07:26.627Z] 0c2d73faf560: Verifying Checksum [2022-04-13T09:07:26.627Z] 0c2d73faf560: Download complete [2022-04-13T09:07:26.627Z] 4c7163046ea9: Verifying Checksum [2022-04-13T09:07:26.627Z] 4c7163046ea9: Download complete [2022-04-13T09:07:26.888Z] a0d0a0d46f8b: Pull complete [2022-04-13T09:07:26.888Z] 3e5f54012d9b: Pull complete [2022-04-13T09:07:27.147Z] 4c7163046ea9: Pull complete [2022-04-13T09:07:27.410Z] 0c2d73faf560: Pull complete [2022-04-13T09:07:27.410Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T09:07:27.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:07:27.410Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T09:07:27.485Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:07:27.527Z] $ 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-13T09:07:28.190Z] $ docker top 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:07:28.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:07:28.292Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:07:28.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:07:28.428Z] $ docker exec 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent [2022-04-13T09:07:28.549Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXciFMcF/agent.14 [2022-04-13T09:07:28.549Z] SSH_AGENT_PID=20 [2022-04-13T09:07:28.563Z] Running ssh-add (command line suppressed) [2022-04-13T09:07:28.686Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5657906327208676969.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5657906327208676969.key) [2022-04-13T09:07:28.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:07:28.996Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T09:07:29.013Z] $ docker exec --env ******** --env ******** 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent -k [2022-04-13T09:07:29.130Z] unset SSH_AUTH_SOCK; [2022-04-13T09:07:29.130Z] unset SSH_AGENT_PID; [2022-04-13T09:07:29.130Z] echo Agent pid 20 killed; [2022-04-13T09:07:29.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T09:07:29.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:07:29.160Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:07:29.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:07:29.311Z] $ docker exec 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent [2022-04-13T09:07:29.423Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLecCbp/agent.53 [2022-04-13T09:07:29.423Z] SSH_AGENT_PID=60 [2022-04-13T09:07:29.430Z] Running ssh-add (command line suppressed) [2022-04-13T09:07:29.550Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4162791765684445966.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4162791765684445966.key) [2022-04-13T09:07:29.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:07:29.851Z] + git semver init [2022-04-13T09:07:29.851Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:07:29.851Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-13T09:07:29.851Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:07:29.851Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:07:29.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:07:29.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:07:29.851Z] # $SEMVER_BRANCH = main [2022-04-13T09:07:29.851Z] # $SEMVER_TEMP = /tmp/semver-056252028 [2022-04-13T09:07:29.851Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-13T09:07:31.238Z] # '/tmp/semver-056252028' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-04-13T09:07:31.238Z] # -> Force: false [2022-04-13T09:07:31.238Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-13T09:07:31.251Z] $ docker exec --env ******** --env ******** 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent -k [2022-04-13T09:07:31.362Z] unset SSH_AUTH_SOCK; [2022-04-13T09:07:31.363Z] unset SSH_AGENT_PID; [2022-04-13T09:07:31.363Z] echo Agent pid 60 killed; [2022-04-13T09:07:31.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:07:31.675Z] + git semver [Pipeline] } [2022-04-13T09:07:31.692Z] $ docker stop --time=1 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d [2022-04-13T09:07:33.054Z] $ docker rm -f 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:07:33.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T09:07:33.655Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T09:07:33.659Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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-13T09:07:33.769Z] provisioning config files... [2022-04-13T09:07:33.779Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5665416356067704881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:07:34.078Z] ---> docker-login.sh [2022-04-13T09:07:34.079Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:07:34.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:34.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:34.079Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:34.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:34.079Z] [2022-04-13T09:07:34.079Z] Login Succeeded [2022-04-13T09:07:34.079Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:07:34.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:34.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:34.339Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:34.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:34.339Z] [2022-04-13T09:07:34.339Z] Login Succeeded [2022-04-13T09:07:34.339Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:07:34.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:34.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:34.339Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:34.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:34.339Z] [2022-04-13T09:07:34.339Z] Login Succeeded [2022-04-13T09:07:34.339Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:07:34.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:34.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:34.599Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:34.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:34.599Z] [2022-04-13T09:07:34.599Z] Login Succeeded [2022-04-13T09:07:34.599Z] docker.io [2022-04-13T09:07:34.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:07:34.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:07:34.861Z] Configure a credential helper to remove this warning. See [2022-04-13T09:07:34.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:07:34.861Z] [2022-04-13T09:07:34.861Z] Login Succeeded [2022-04-13T09:07:34.861Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:07:34.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:07:34.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:07:34.936Z] ========================================================= [2022-04-13T09:07:34.936Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T09:07:34.936Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:07:35.238Z] + 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-13T09:07:35.238Z] Sending build context to Docker daemon 10.57MB [2022-04-13T09:07:35.238Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:07:35.238Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T09:07:35.238Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T09:07:35.238Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T09:07:35.238Z] 666ba61612fd: Pulling fs layer [2022-04-13T09:07:35.238Z] 8ed8ca486205: Pulling fs layer [2022-04-13T09:07:35.238Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T09:07:35.238Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T09:07:35.238Z] 640e595b4fbd: Pulling fs layer [2022-04-13T09:07:35.238Z] 763cafe07f6e: Pulling fs layer [2022-04-13T09:07:35.238Z] 0c0b528cf693: Pulling fs layer [2022-04-13T09:07:35.238Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T09:07:35.238Z] 4fe6c5a15a65: Waiting [2022-04-13T09:07:35.238Z] 22a0e8bec74d: Waiting [2022-04-13T09:07:35.238Z] 640e595b4fbd: Waiting [2022-04-13T09:07:35.238Z] 0c0b528cf693: Waiting [2022-04-13T09:07:35.238Z] 763cafe07f6e: Waiting [2022-04-13T09:07:35.238Z] 10935f4eaf8b: Waiting [2022-04-13T09:07:35.238Z] 8ed8ca486205: Download complete [2022-04-13T09:07:35.238Z] 666ba61612fd: Verifying Checksum [2022-04-13T09:07:35.238Z] 666ba61612fd: Download complete [2022-04-13T09:07:35.500Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T09:07:35.500Z] 22a0e8bec74d: Download complete [2022-04-13T09:07:35.500Z] 640e595b4fbd: Verifying Checksum [2022-04-13T09:07:35.500Z] 640e595b4fbd: Download complete [2022-04-13T09:07:35.500Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T09:07:35.500Z] 59bf1c3509f3: Download complete [2022-04-13T09:07:35.500Z] 763cafe07f6e: Download complete [2022-04-13T09:07:35.500Z] 0c0b528cf693: Verifying Checksum [2022-04-13T09:07:35.500Z] 0c0b528cf693: Download complete [2022-04-13T09:07:35.500Z] 59bf1c3509f3: Pull complete [2022-04-13T09:07:35.761Z] 666ba61612fd: Pull complete [2022-04-13T09:07:35.761Z] 8ed8ca486205: Pull complete [2022-04-13T09:07:36.021Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T09:07:36.021Z] 10935f4eaf8b: Download complete [2022-04-13T09:07:36.281Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T09:07:36.281Z] 4fe6c5a15a65: Download complete [2022-04-13T09:07:40.471Z] 4fe6c5a15a65: Pull complete [2022-04-13T09:07:40.471Z] 22a0e8bec74d: Pull complete [2022-04-13T09:07:40.471Z] 640e595b4fbd: Pull complete [2022-04-13T09:07:40.471Z] 763cafe07f6e: Pull complete [2022-04-13T09:07:40.471Z] 0c0b528cf693: Pull complete [2022-04-13T09:07:43.014Z] 10935f4eaf8b: Pull complete [2022-04-13T09:07:43.014Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T09:07:43.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T09:07:43.014Z] ---> 99d49a6021b9 [2022-04-13T09:07:43.014Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T09:07:44.399Z] ---> Running in 4c2b3ced62f7 [2022-04-13T09:07:44.399Z] Removing intermediate container 4c2b3ced62f7 [2022-04-13T09:07:44.399Z] ---> 3ffaab31472a [2022-04-13T09:07:44.399Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:07:44.399Z] ---> Running in 89868801c8a5 [2022-04-13T09:07:44.399Z] Removing intermediate container 89868801c8a5 [2022-04-13T09:07:44.399Z] ---> 021659bb42c6 [2022-04-13T09:07:44.399Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:07:44.399Z] ---> Running in 47b9ca9bc137 [2022-04-13T09:07:44.399Z] Removing intermediate container 47b9ca9bc137 [2022-04-13T09:07:44.399Z] ---> 3dfecc1da9b9 [2022-04-13T09:07:44.399Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:07:44.399Z] ---> Running in af996a6e0e70 [2022-04-13T09:07:45.344Z] Removing intermediate container af996a6e0e70 [2022-04-13T09:07:45.344Z] ---> 6c4348373c4c [2022-04-13T09:07:45.344Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:07:45.344Z] ---> Running in 49a74f37344a [2022-04-13T09:07:45.344Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:07:46.733Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:07:46.733Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:07:46.997Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T09:07:46.997Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:07:47.258Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:07:47.258Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:07:47.258Z] OK: 224 MiB in 56 packages [2022-04-13T09:07:47.828Z] Removing intermediate container 49a74f37344a [2022-04-13T09:07:47.828Z] ---> 83dbfcde6611 [2022-04-13T09:07:47.828Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-13T09:07:47.828Z] ---> Running in dc2ccd517acd [2022-04-13T09:07:47.828Z] Removing intermediate container dc2ccd517acd [2022-04-13T09:07:47.828Z] ---> 60078423c34b [2022-04-13T09:07:47.828Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T09:07:47.828Z] ---> ce407fbdd5da [2022-04-13T09:07:47.828Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:07:48.089Z] ---> Running in b8fa16488a63 [2022-04-13T09:07:48.734Z] Still waiting to schedule task [2022-04-13T09:07:48.734Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-13T09:08:06.217Z] Removing intermediate container b8fa16488a63 [2022-04-13T09:08:06.217Z] ---> 1ded582a9b69 [2022-04-13T09:08:06.217Z] Step 11/12 : COPY . . [2022-04-13T09:08:06.217Z] ---> b0f4abdb63af [2022-04-13T09:08:06.217Z] Step 12/12 : RUN $MAKE [2022-04-13T09:08:06.217Z] ---> Running in b6f5d3be2e2a [2022-04-13T09:08:06.217Z] noop [2022-04-13T09:08:06.217Z] Removing intermediate container b6f5d3be2e2a [2022-04-13T09:08:06.217Z] ---> 7b16ce222ef3 [2022-04-13T09:08:06.217Z] Successfully built 7b16ce222ef3 [2022-04-13T09:08:06.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:08:06.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:08:06.529Z] . [Pipeline] withDockerContainer [2022-04-13T09:08:06.620Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:08:06.679Z] $ 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-13T09:08:07.062Z] $ docker top e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:08:07.440Z] + go version [2022-04-13T09:08:07.440Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T09:08:07.454Z] $ docker stop --time=1 e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 [2022-04-13T09:08:08.749Z] $ docker rm -f e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:08:09.147Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:08:09.147Z] . [Pipeline] withDockerContainer [2022-04-13T09:08:09.218Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:08:09.253Z] $ 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-13T09:08:09.615Z] $ docker top 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:08:09.979Z] + make test [2022-04-13T09:08:09.979Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-13T09:08:10.237Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-13T09:08:20.230Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-13T09:08:20.230Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-04-13T09:08:26.891Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:08:31.091Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:08:31.091Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:08:31.091Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:08:31.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:08:31.382Z] $ docker stop --time=1 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 [2022-04-13T09:08:33.163Z] $ docker rm -f 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:08:33.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:08:33.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T09:08:34.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:08:34.930Z] + ls -al . [2022-04-13T09:08:34.930Z] total 172 [2022-04-13T09:08:34.930Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:08 . [2022-04-13T09:08:34.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:07 .. [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 09:07 .dockerignore [2022-04-13T09:08:34.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:07 .git [2022-04-13T09:08:34.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 .github [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 09:07 .gitignore [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:07 .golangci.yml [2022-04-13T09:08:34.930Z] drwx------ 3 jenkins jenkins 4096 Apr 13 09:07 .semver [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 13 09:07 Attribution.txt [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 13 09:07 CHANGELOG.md [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 13 09:07 Dockerfile [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:07 GOVERNANCE.md [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:07 Jenkinsfile [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:07 LICENSE [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 13 09:07 Makefile [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:07 OWNERS.md [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 13 09:07 README.md [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:07 VERSION [2022-04-13T09:08:34.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:07 bin [2022-04-13T09:08:34.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 cmd [2022-04-13T09:08:34.930Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 13 09:08 coverage.out [2022-04-13T09:08:34.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:07 driver [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 13 09:07 go.mod [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 13 09:07 go.sum [2022-04-13T09:08:34.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 snap [2022-04-13T09:08:34.930Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 09:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:08:35.229Z] + 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef --label arch=amd64 --label version=2.2.0-dev.11 . [2022-04-13T09:08:35.229Z] Sending build context to Docker daemon 10.58MB [2022-04-13T09:08:35.229Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:08:35.229Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T09:08:35.229Z] ---> 7b16ce222ef3 [2022-04-13T09:08:35.229Z] Step 3/25 : ARG MAKE='make build' [2022-04-13T09:08:35.229Z] ---> Running in 2c500a48e83a [2022-04-13T09:08:35.490Z] Removing intermediate container 2c500a48e83a [2022-04-13T09:08:35.490Z] ---> 2cdd69738575 [2022-04-13T09:08:35.490Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:08:35.490Z] ---> Running in 0750adb988c7 [2022-04-13T09:08:35.490Z] Removing intermediate container 0750adb988c7 [2022-04-13T09:08:35.490Z] ---> 30980d45af78 [2022-04-13T09:08:35.490Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:08:35.490Z] ---> Running in 017d18a2c3d7 [2022-04-13T09:08:35.751Z] Removing intermediate container 017d18a2c3d7 [2022-04-13T09:08:35.751Z] ---> cefd7bcb5136 [2022-04-13T09:08:35.751Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:08:35.751Z] ---> Running in 5877e95db6ad [2022-04-13T09:08:36.319Z] Removing intermediate container 5877e95db6ad [2022-04-13T09:08:36.320Z] ---> 05168d26f669 [2022-04-13T09:08:36.320Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:08:36.320Z] ---> Running in 3fee8349421e [2022-04-13T09:08:36.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:08:37.521Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:08:37.782Z] OK: 224 MiB in 56 packages [2022-04-13T09:08:38.352Z] Removing intermediate container 3fee8349421e [2022-04-13T09:08:38.352Z] ---> 3fcf312b31cd [2022-04-13T09:08:38.352Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-13T09:08:38.352Z] ---> Running in f5eee330a86f [2022-04-13T09:08:38.352Z] Removing intermediate container f5eee330a86f [2022-04-13T09:08:38.352Z] ---> 615150c6921e [2022-04-13T09:08:38.352Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-13T09:08:38.611Z] ---> 3998807d9965 [2022-04-13T09:08:38.611Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:08:38.611Z] ---> Running in 85611e7e4924 [2022-04-13T09:08:39.181Z] Removing intermediate container 85611e7e4924 [2022-04-13T09:08:39.181Z] ---> 24792815ab63 [2022-04-13T09:08:39.181Z] Step 11/25 : COPY . . [2022-04-13T09:08:39.441Z] ---> e5dada72c1c9 [2022-04-13T09:08:39.441Z] Step 12/25 : RUN $MAKE [2022-04-13T09:08:39.441Z] ---> Running in 346652e8839e [2022-04-13T09:08:39.700Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-13T09:09:01.658Z] Removing intermediate container 346652e8839e [2022-04-13T09:09:01.658Z] ---> d777621e3e21 [2022-04-13T09:09:01.658Z] Step 13/25 : FROM alpine:3.14 [2022-04-13T09:09:01.658Z] 3.14: Pulling from library/alpine [2022-04-13T09:09:01.658Z] 8663204ce13b: Pulling fs layer [2022-04-13T09:09:01.658Z] 8663204ce13b: Verifying Checksum [2022-04-13T09:09:01.658Z] 8663204ce13b: Download complete [2022-04-13T09:09:01.658Z] 8663204ce13b: Pull complete [2022-04-13T09:09:01.658Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:09:01.658Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:09:01.658Z] ---> e04c818066af [2022-04-13T09:09:01.658Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-13T09:09:01.658Z] ---> Running in 88af276c2dfe [2022-04-13T09:09:01.658Z] Removing intermediate container 88af276c2dfe [2022-04-13T09:09:01.658Z] ---> 0b335c94332f [2022-04-13T09:09:01.658Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-13T09:09:01.658Z] ---> Running in 69d8923e7f62 [2022-04-13T09:09:01.658Z] Removing intermediate container 69d8923e7f62 [2022-04-13T09:09:01.658Z] ---> 6467d3649c87 [2022-04-13T09:09:01.658Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:09:01.658Z] ---> Running in 63185710a48c [2022-04-13T09:09:01.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:09:01.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:09:01.658Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:09:01.658Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:09:01.658Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:09:01.658Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:09:01.658Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:09:01.658Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:09:01.658Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:09:01.658Z] OK: 8 MiB in 20 packages [2022-04-13T09:09:01.918Z] Removing intermediate container 63185710a48c [2022-04-13T09:09:01.918Z] ---> 2f931c158d3f [2022-04-13T09:09:01.918Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-13T09:09:02.490Z] ---> 2d2534b2a59f [2022-04-13T09:09:02.490Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-13T09:09:02.490Z] ---> 411fde73a292 [2022-04-13T09:09:02.490Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-13T09:09:02.750Z] ---> de036519c2c4 [2022-04-13T09:09:02.750Z] Step 20/25 : EXPOSE 59986 [2022-04-13T09:09:02.750Z] ---> Running in de6f7ab89d5b [2022-04-13T09:09:02.750Z] Removing intermediate container de6f7ab89d5b [2022-04-13T09:09:02.750Z] ---> ae0d002a83c2 [2022-04-13T09:09:02.750Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-13T09:09:02.750Z] ---> Running in dd0c73b61f12 [2022-04-13T09:09:02.750Z] Removing intermediate container dd0c73b61f12 [2022-04-13T09:09:02.750Z] ---> 727b51ba0c5a [2022-04-13T09:09:02.750Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T09:09:03.012Z] ---> Running in 50c0bbc49ddd [2022-04-13T09:09:03.012Z] Removing intermediate container 50c0bbc49ddd [2022-04-13T09:09:03.012Z] ---> 705dccf08eb0 [2022-04-13T09:09:03.012Z] Step 23/25 : LABEL arch=amd64 [2022-04-13T09:09:03.012Z] ---> Running in d30f00c51a7d [2022-04-13T09:09:03.012Z] Removing intermediate container d30f00c51a7d [2022-04-13T09:09:03.012Z] ---> 0bf552bc0d19 [2022-04-13T09:09:03.012Z] Step 24/25 : LABEL git_sha=238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:09:03.012Z] ---> Running in 92f5e1039e29 [2022-04-13T09:09:03.273Z] Removing intermediate container 92f5e1039e29 [2022-04-13T09:09:03.273Z] ---> 5388de9566a5 [2022-04-13T09:09:03.273Z] Step 25/25 : LABEL version=2.2.0-dev.11 [2022-04-13T09:09:03.273Z] ---> Running in a03f542cef44 [2022-04-13T09:09:03.273Z] Removing intermediate container a03f542cef44 [2022-04-13T09:09:03.273Z] ---> 22eacdf735c6 [2022-04-13T09:09:03.273Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:09:03.273Z] Successfully built 22eacdf735c6 [2022-04-13T09:09:03.273Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:09:03.351Z] provisioning config files... [2022-04-13T09:09:03.359Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8577350704684674455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:09:03.658Z] ---> docker-login.sh [2022-04-13T09:09:03.658Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:09:03.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:03.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:03.658Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:03.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:03.658Z] [2022-04-13T09:09:03.658Z] Login Succeeded [2022-04-13T09:09:03.658Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:09:03.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:03.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:03.920Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:03.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:03.920Z] [2022-04-13T09:09:03.920Z] Login Succeeded [2022-04-13T09:09:03.920Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:09:03.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:03.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:03.920Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:03.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:03.920Z] [2022-04-13T09:09:03.920Z] Login Succeeded [2022-04-13T09:09:03.920Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:09:03.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:04.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:04.180Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:04.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:04.180Z] [2022-04-13T09:09:04.180Z] Login Succeeded [2022-04-13T09:09:04.180Z] docker.io [2022-04-13T09:09:04.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:04.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:04.441Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:04.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:04.441Z] [2022-04-13T09:09:04.441Z] Login Succeeded [2022-04-13T09:09:04.441Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:09:04.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:09:04.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:09:04.501Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-04-13T09:09:04.501Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:09:04.501Z] latest [2022-04-13T09:09:04.501Z] 2.2.0-dev.11 [2022-04-13T09:09:04.501Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:09:04.501Z] main [2022-04-13T09:09:04.501Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:04.818Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:05.110Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:09:05.110Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-13T09:09:05.110Z] 67873dbe6361: Preparing [2022-04-13T09:09:05.110Z] e30381841243: Preparing [2022-04-13T09:09:05.110Z] 35fae86a5c4b: Preparing [2022-04-13T09:09:05.110Z] 861c41aa581c: Preparing [2022-04-13T09:09:05.110Z] b541d28bf3b4: Preparing [2022-04-13T09:09:05.110Z] b541d28bf3b4: Layer already exists [2022-04-13T09:09:05.110Z] e30381841243: Pushed [2022-04-13T09:09:05.110Z] 67873dbe6361: Pushed [2022-04-13T09:09:05.369Z] 861c41aa581c: Pushed [2022-04-13T09:09:08.667Z] 35fae86a5c4b: Pushed [2022-04-13T09:09:08.667Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:08.967Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:09.258Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-13T09:09:09.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-13T09:09:09.258Z] 67873dbe6361: Preparing [2022-04-13T09:09:09.259Z] e30381841243: Preparing [2022-04-13T09:09:09.259Z] 35fae86a5c4b: Preparing [2022-04-13T09:09:09.259Z] 861c41aa581c: Preparing [2022-04-13T09:09:09.259Z] b541d28bf3b4: Preparing [2022-04-13T09:09:09.259Z] b541d28bf3b4: Layer already exists [2022-04-13T09:09:09.259Z] 67873dbe6361: Layer already exists [2022-04-13T09:09:09.259Z] 35fae86a5c4b: Layer already exists [2022-04-13T09:09:09.259Z] 861c41aa581c: Layer already exists [2022-04-13T09:09:09.259Z] e30381841243: Layer already exists [2022-04-13T09:09:09.259Z] latest: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:09.557Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:09.849Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 [2022-04-13T09:09:09.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-13T09:09:09.849Z] 67873dbe6361: Preparing [2022-04-13T09:09:09.849Z] e30381841243: Preparing [2022-04-13T09:09:09.849Z] 35fae86a5c4b: Preparing [2022-04-13T09:09:09.849Z] 861c41aa581c: Preparing [2022-04-13T09:09:09.849Z] b541d28bf3b4: Preparing [2022-04-13T09:09:09.849Z] b541d28bf3b4: Layer already exists [2022-04-13T09:09:09.849Z] 35fae86a5c4b: Layer already exists [2022-04-13T09:09:09.849Z] e30381841243: Layer already exists [2022-04-13T09:09:09.849Z] 67873dbe6361: Layer already exists [2022-04-13T09:09:09.849Z] 861c41aa581c: Layer already exists [2022-04-13T09:09:09.849Z] 2.2.0-dev.11: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:10.154Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:10.447Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:09:10.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-13T09:09:10.447Z] 67873dbe6361: Preparing [2022-04-13T09:09:10.447Z] e30381841243: Preparing [2022-04-13T09:09:10.447Z] 35fae86a5c4b: Preparing [2022-04-13T09:09:10.447Z] 861c41aa581c: Preparing [2022-04-13T09:09:10.447Z] b541d28bf3b4: Preparing [2022-04-13T09:09:10.447Z] e30381841243: Layer already exists [2022-04-13T09:09:10.447Z] 67873dbe6361: Layer already exists [2022-04-13T09:09:10.447Z] 861c41aa581c: Layer already exists [2022-04-13T09:09:10.447Z] b541d28bf3b4: Layer already exists [2022-04-13T09:09:10.447Z] 35fae86a5c4b: Layer already exists [2022-04-13T09:09:10.447Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:10.747Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:11.046Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-04-13T09:09:11.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-13T09:09:11.046Z] 67873dbe6361: Preparing [2022-04-13T09:09:11.046Z] e30381841243: Preparing [2022-04-13T09:09:11.046Z] 35fae86a5c4b: Preparing [2022-04-13T09:09:11.046Z] 861c41aa581c: Preparing [2022-04-13T09:09:11.046Z] b541d28bf3b4: Preparing [2022-04-13T09:09:11.046Z] 35fae86a5c4b: Layer already exists [2022-04-13T09:09:11.046Z] 861c41aa581c: Layer already exists [2022-04-13T09:09:11.046Z] 67873dbe6361: Layer already exists [2022-04-13T09:09:11.046Z] e30381841243: Layer already exists [2022-04-13T09:09:11.046Z] b541d28bf3b4: Layer already exists [2022-04-13T09:09:11.046Z] main: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:09:11.088Z] ===================================================== [Pipeline] echo [2022-04-13T09:09:11.097Z] taggedImages: [2022-04-13T09:09:11.097Z] - nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:09:11.097Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-13T09:09:11.098Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 [2022-04-13T09:09:11.098Z] - nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:09:11.098Z] - 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-13T09:09:11.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:09:11.480Z] [2022-04-13T09:09:11.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:11.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:09:11.786Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T09:09:11.786Z] 5eb5b503b376: Pulling fs layer [2022-04-13T09:09:11.786Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T09:09:11.786Z] ec43610c2a17: Pulling fs layer [2022-04-13T09:09:11.786Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T09:09:11.786Z] 33b1e0a273af: Pulling fs layer [2022-04-13T09:09:11.786Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T09:09:11.786Z] 2f39f015ded8: Pulling fs layer [2022-04-13T09:09:11.786Z] 33b1e0a273af: Waiting [2022-04-13T09:09:11.786Z] 5d3b04190fa2: Waiting [2022-04-13T09:09:11.786Z] 2f39f015ded8: Waiting [2022-04-13T09:09:11.786Z] 3a2ae6a8a46f: Waiting [2022-04-13T09:09:11.786Z] 5c69ac0246d0: Download complete [2022-04-13T09:09:11.786Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T09:09:11.786Z] 3a2ae6a8a46f: Download complete [2022-04-13T09:09:11.786Z] 33b1e0a273af: Verifying Checksum [2022-04-13T09:09:11.786Z] 33b1e0a273af: Download complete [2022-04-13T09:09:11.786Z] ec43610c2a17: Verifying Checksum [2022-04-13T09:09:11.786Z] ec43610c2a17: Download complete [2022-04-13T09:09:11.786Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T09:09:11.786Z] 5d3b04190fa2: Download complete [2022-04-13T09:09:12.046Z] 5eb5b503b376: Verifying Checksum [2022-04-13T09:09:12.046Z] 5eb5b503b376: Download complete [2022-04-13T09:09:12.617Z] 2f39f015ded8: Download complete [2022-04-13T09:09:13.560Z] 5eb5b503b376: Pull complete [2022-04-13T09:09:13.560Z] 5c69ac0246d0: Pull complete [2022-04-13T09:09:14.130Z] ec43610c2a17: Pull complete [2022-04-13T09:09:14.130Z] 3a2ae6a8a46f: Pull complete [2022-04-13T09:09:14.389Z] 33b1e0a273af: Pull complete [2022-04-13T09:09:14.389Z] 5d3b04190fa2: Pull complete [2022-04-13T09:09:19.669Z] 2f39f015ded8: Pull complete [2022-04-13T09:09:19.669Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T09:09:19.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:09:19.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T09:09:19.734Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:09:19.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/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-13T09:09:21.213Z] $ docker top 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:09:21.641Z] ---> job-cost.sh [2022-04-13T09:09:21.641Z] lf-activate-venv: SKIPPING [2022-04-13T09:09:21.641Z] INFO: No Stack... [2022-04-13T09:09:21.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:09:22.502Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:09:22.922Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-04-13T09:09:22.922Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T09:09:22.945Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [2022-04-13T09:09:22.952Z] Resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] did not exist. Created. [2022-04-13T09:09:22.952Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:09:23.252Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T09:09:23.274Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:09:23.281Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:09:23.302Z] $ docker stop --time=1 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 [2022-04-13T09:09:24.460Z] $ docker rm -f 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T09:09:29.365Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20791 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-04-13T09:09:29.379Z] Running in /w/workspace/device-rest-go/32 [Pipeline] { [Pipeline] checkout [2022-04-13T09:09:29.642Z] The recommended git tool is: git [2022-04-13T09:09:37.214Z] using credential edgex-jenkins-ssh [2022-04-13T09:09:37.237Z] Cloning the remote Git repository [2022-04-13T09:09:37.315Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-13T09:09:37.417Z] > git init /w/workspace/device-rest-go/32 # timeout=10 [2022-04-13T09:09:37.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-13T09:09:37.596Z] > git --version # timeout=10 [2022-04-13T09:09:37.631Z] > git --version # 'git version 2.25.1' [2022-04-13T09:09:37.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T09:09:37.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:09:40.202Z] Avoid second fetch [2022-04-13T09:09:40.202Z] Checking out Revision 238d080d640a7e3d9ba0ccf186e4988c74ba76ef (main) [2022-04-13T09:09:40.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-13T09:09:40.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:09:40.235Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T09:09:40.281Z] > git checkout -f 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 [2022-04-13T09:09:44.686Z] Commit message: "test(snap): add CI workflow (#172)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:09:45.515Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T09:09:45.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:09:45.515Z] Dload Upload Total Spent Left Speed [2022-04-13T09:09:45.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh [2022-04-13T09:09:46.053Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T09:09:46.398Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T09:09:46.398Z] + sudo tee /etc/docker/daemon.new [2022-04-13T09:09:46.398Z] { [2022-04-13T09:09:46.398Z] "registry-mirrors": [ [2022-04-13T09:09:46.398Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T09:09:46.398Z] ], [2022-04-13T09:09:46.398Z] "bip": "10.250.0.254/24", [2022-04-13T09:09:46.398Z] "hosts": [ [2022-04-13T09:09:46.398Z] "tcp://0.0.0.0:5555", [2022-04-13T09:09:46.398Z] "unix:///var/run/docker.sock" [2022-04-13T09:09:46.398Z] ], [2022-04-13T09:09:46.398Z] "mtu": 1458, [2022-04-13T09:09:46.398Z] "selinux-enabled": true, [2022-04-13T09:09:46.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T09:09:46.398Z] } [Pipeline] sh [2022-04-13T09:09:46.746Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T09:09:47.090Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:10:05.431Z] provisioning config files... [2022-04-13T09:10:05.455Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/32@tmp/config5693923287916535500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:10:05.867Z] ---> docker-login.sh [2022-04-13T09:10:05.867Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:10:06.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:06.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:06.748Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:06.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:06.748Z] [2022-04-13T09:10:06.748Z] Login Succeeded [2022-04-13T09:10:06.748Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:10:07.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:07.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:07.297Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:07.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:07.297Z] [2022-04-13T09:10:07.297Z] Login Succeeded [2022-04-13T09:10:07.297Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:10:07.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:07.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:07.854Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:07.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:07.854Z] [2022-04-13T09:10:07.854Z] Login Succeeded [2022-04-13T09:10:07.854Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:10:08.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:08.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:08.129Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:08.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:08.129Z] [2022-04-13T09:10:08.129Z] Login Succeeded [2022-04-13T09:10:08.129Z] docker.io [2022-04-13T09:10:08.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:10:08.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:10:08.998Z] Configure a credential helper to remove this warning. See [2022-04-13T09:10:08.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:10:08.998Z] [2022-04-13T09:10:08.998Z] Login Succeeded [2022-04-13T09:10:08.998Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:10:09.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:10:09.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:10:09.495Z] ========================================================= [2022-04-13T09:10:09.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T09:10:09.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:09.866Z] + 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-13T09:10:09.866Z] Sending build context to Docker daemon 129.5kB [2022-04-13T09:10:10.140Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:10:10.140Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T09:10:10.416Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T09:10:10.416Z] 9b3977197b4f: Pulling fs layer [2022-04-13T09:10:10.416Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T09:10:10.416Z] 94645a83ff95: Pulling fs layer [2022-04-13T09:10:10.416Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T09:10:10.416Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T09:10:10.416Z] f7c0051592d6: Pulling fs layer [2022-04-13T09:10:10.416Z] a227ed2f7395: Pulling fs layer [2022-04-13T09:10:10.416Z] 7b1c46037f91: Pulling fs layer [2022-04-13T09:10:10.416Z] f7c0051592d6: Waiting [2022-04-13T09:10:10.416Z] 3f3a8bcf1eab: Waiting [2022-04-13T09:10:10.416Z] 0c92f367c5e7: Waiting [2022-04-13T09:10:10.416Z] a227ed2f7395: Waiting [2022-04-13T09:10:10.416Z] 7b1c46037f91: Waiting [2022-04-13T09:10:10.416Z] 94645a83ff95: Verifying Checksum [2022-04-13T09:10:10.416Z] 94645a83ff95: Download complete [2022-04-13T09:10:10.416Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T09:10:10.416Z] 1a89e8eeedd5: Download complete [2022-04-13T09:10:10.416Z] 0c92f367c5e7: Download complete [2022-04-13T09:10:10.416Z] f7c0051592d6: Verifying Checksum [2022-04-13T09:10:10.416Z] f7c0051592d6: Download complete [2022-04-13T09:10:10.416Z] 9b3977197b4f: Download complete [2022-04-13T09:10:10.416Z] a227ed2f7395: Verifying Checksum [2022-04-13T09:10:10.416Z] a227ed2f7395: Download complete [2022-04-13T09:10:11.408Z] 9b3977197b4f: Pull complete [2022-04-13T09:10:11.690Z] 1a89e8eeedd5: Pull complete [2022-04-13T09:10:11.968Z] 94645a83ff95: Pull complete [2022-04-13T09:10:12.566Z] 7b1c46037f91: Download complete [2022-04-13T09:10:13.175Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T09:10:13.175Z] 3f3a8bcf1eab: Download complete [2022-04-13T09:10:25.588Z] 3f3a8bcf1eab: Pull complete [2022-04-13T09:10:25.588Z] 0c92f367c5e7: Pull complete [2022-04-13T09:10:25.588Z] f7c0051592d6: Pull complete [2022-04-13T09:10:25.588Z] a227ed2f7395: Pull complete [2022-04-13T09:10:32.321Z] 7b1c46037f91: Pull complete [2022-04-13T09:10:32.321Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T09:10:32.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T09:10:32.321Z] ---> f79e39bc4007 [2022-04-13T09:10:32.321Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T09:10:33.330Z] ---> Running in 8b15c537dc22 [2022-04-13T09:10:33.330Z] Removing intermediate container 8b15c537dc22 [2022-04-13T09:10:33.330Z] ---> e8acabedd4a9 [2022-04-13T09:10:33.330Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:10:33.622Z] ---> Running in e486aab23b3d [2022-04-13T09:10:33.897Z] Removing intermediate container e486aab23b3d [2022-04-13T09:10:33.897Z] ---> b1733391db2b [2022-04-13T09:10:33.897Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:10:33.897Z] ---> Running in a9cf980b5457 [2022-04-13T09:10:34.172Z] Removing intermediate container a9cf980b5457 [2022-04-13T09:10:34.172Z] ---> 8fe4fe1ee43a [2022-04-13T09:10:34.172Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:10:34.172Z] ---> Running in 91ad2f5ba8a8 [2022-04-13T09:10:36.168Z] Removing intermediate container 91ad2f5ba8a8 [2022-04-13T09:10:36.168Z] ---> c5c9854e584d [2022-04-13T09:10:36.168Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:10:36.168Z] ---> Running in 13baea7ee222 [2022-04-13T09:10:37.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:10:38.159Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:10:38.757Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:10:39.031Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T09:10:39.031Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:10:39.308Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:10:39.308Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:10:39.308Z] OK: 224 MiB in 56 packages [2022-04-13T09:10:40.294Z] Removing intermediate container 13baea7ee222 [2022-04-13T09:10:40.294Z] ---> c5a76db287e6 [2022-04-13T09:10:40.294Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-13T09:10:40.294Z] ---> Running in 61f703e82612 [2022-04-13T09:10:40.569Z] Removing intermediate container 61f703e82612 [2022-04-13T09:10:40.569Z] ---> bce0276a5d65 [2022-04-13T09:10:40.569Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T09:10:41.168Z] ---> 40d5cf9dcfdf [2022-04-13T09:10:41.168Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:10:41.168Z] ---> Running in 7400eaf8efab [2022-04-13T09:11:28.227Z] Removing intermediate container 7400eaf8efab [2022-04-13T09:11:28.227Z] ---> 6bec88b088fc [2022-04-13T09:11:28.227Z] Step 11/12 : COPY . . [2022-04-13T09:11:28.227Z] ---> 18eac9dd065a [2022-04-13T09:11:28.227Z] Step 12/12 : RUN $MAKE [2022-04-13T09:11:28.227Z] ---> Running in 10663cfd929e [2022-04-13T09:11:28.826Z] noop [2022-04-13T09:11:29.425Z] Removing intermediate container 10663cfd929e [2022-04-13T09:11:29.425Z] ---> 657bf5c2b173 [2022-04-13T09:11:29.425Z] Successfully built 657bf5c2b173 [2022-04-13T09:11:29.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:29.782Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:11:29.782Z] . [Pipeline] withDockerContainer [2022-04-13T09:11:30.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container [2022-04-13T09:11:30.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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-13T09:11:31.461Z] $ docker top aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:11:32.377Z] + go version [2022-04-13T09:11:32.377Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T09:11:32.409Z] $ docker stop --time=1 aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 [2022-04-13T09:11:34.060Z] $ docker rm -f aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:34.698Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:11:34.698Z] . [Pipeline] withDockerContainer [2022-04-13T09:11:34.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container [2022-04-13T09:11:35.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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-13T09:11:36.334Z] $ docker top f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:11:37.265Z] + make test [2022-04-13T09:11:37.265Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-13T09:11:38.707Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-13T09:13:15.640Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-13T09:13:15.640Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-04-13T09:13:15.640Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T09:13:15.640Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:13:37.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:13:37.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:13:37.910Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:13:37.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:13:37.960Z] $ docker stop --time=1 f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec [2022-04-13T09:13:39.820Z] $ docker rm -f f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:13:40.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:13:40.834Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T09:13:41.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:13:41.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:13:42.085Z] + ls -al . [2022-04-13T09:13:42.085Z] total 168 [2022-04-13T09:13:42.085Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:13 . [2022-04-13T09:13:42.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 .. [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 09:09 .dockerignore [2022-04-13T09:13:42.085Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:09 .git [2022-04-13T09:13:42.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 .github [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 09:09 .gitignore [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:09 .golangci.yml [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 13 09:09 Attribution.txt [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 13 09:09 CHANGELOG.md [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 13 09:09 Dockerfile [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:09 GOVERNANCE.md [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:09 Jenkinsfile [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:09 LICENSE [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 13 09:09 Makefile [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:09 OWNERS.md [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 13 09:09 README.md [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:07 VERSION [2022-04-13T09:13:42.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 bin [2022-04-13T09:13:42.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 cmd [2022-04-13T09:13:42.085Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 13 09:13 coverage.out [2022-04-13T09:13:42.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 driver [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 13 09:09 go.mod [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 13 09:09 go.sum [2022-04-13T09:13:42.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 snap [2022-04-13T09:13:42.085Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 09:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:13:42.436Z] + 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef --label arch=arm64 --label version=2.2.0-dev.11 . [2022-04-13T09:13:42.436Z] Sending build context to Docker daemon 139.8kB [2022-04-13T09:13:42.710Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:13:42.710Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T09:13:42.710Z] ---> 657bf5c2b173 [2022-04-13T09:13:42.710Z] Step 3/25 : ARG MAKE='make build' [2022-04-13T09:13:42.984Z] ---> Running in 8f92414ecf9a [2022-04-13T09:13:43.264Z] Removing intermediate container 8f92414ecf9a [2022-04-13T09:13:43.264Z] ---> 9a07bf754287 [2022-04-13T09:13:43.264Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:13:43.264Z] ---> Running in 3c4777f8b1c2 [2022-04-13T09:13:43.553Z] Removing intermediate container 3c4777f8b1c2 [2022-04-13T09:13:43.553Z] ---> b647a0db96af [2022-04-13T09:13:43.553Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:13:43.832Z] ---> Running in 21491d292d8b [2022-04-13T09:13:44.111Z] Removing intermediate container 21491d292d8b [2022-04-13T09:13:44.111Z] ---> fb49f99f0403 [2022-04-13T09:13:44.111Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:13:44.111Z] ---> Running in 5befe9d9a10b [2022-04-13T09:13:46.086Z] Removing intermediate container 5befe9d9a10b [2022-04-13T09:13:46.086Z] ---> ddbc64f6589c [2022-04-13T09:13:46.086Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:13:46.086Z] ---> Running in 78ff21773b3f [2022-04-13T09:13:47.067Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:13:48.043Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:13:49.024Z] OK: 224 MiB in 56 packages [2022-04-13T09:13:49.621Z] Removing intermediate container 78ff21773b3f [2022-04-13T09:13:49.621Z] ---> 3189e8230dc7 [2022-04-13T09:13:49.621Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-13T09:13:49.621Z] ---> Running in 856d961e258b [2022-04-13T09:13:49.893Z] Removing intermediate container 856d961e258b [2022-04-13T09:13:49.893Z] ---> 03448699f407 [2022-04-13T09:13:49.893Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-13T09:13:50.490Z] ---> 96fc5e570fc4 [2022-04-13T09:13:50.490Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:13:50.771Z] ---> Running in d841328d035f [2022-04-13T09:13:52.753Z] Removing intermediate container d841328d035f [2022-04-13T09:13:52.753Z] ---> 6261667659fa [2022-04-13T09:13:52.753Z] Step 11/25 : COPY . . [2022-04-13T09:13:53.030Z] ---> d521ee92e85b [2022-04-13T09:13:53.030Z] Step 12/25 : RUN $MAKE [2022-04-13T09:13:53.317Z] ---> Running in bd3daff8deb3 [2022-04-13T09:13:54.299Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-13T09:16:16.197Z] Removing intermediate container bd3daff8deb3 [2022-04-13T09:16:16.197Z] ---> e7d170a00948 [2022-04-13T09:16:16.197Z] Step 13/25 : FROM alpine:3.14 [2022-04-13T09:16:16.197Z] 3.14: Pulling from library/alpine [2022-04-13T09:16:16.197Z] 455c02918c45: Pulling fs layer [2022-04-13T09:16:16.197Z] 455c02918c45: Verifying Checksum [2022-04-13T09:16:16.197Z] 455c02918c45: Download complete [2022-04-13T09:16:16.197Z] 455c02918c45: Pull complete [2022-04-13T09:16:16.197Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:16:16.197Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:16:16.197Z] ---> ac73e934f311 [2022-04-13T09:16:16.197Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-13T09:16:16.197Z] ---> Running in 23179798532d [2022-04-13T09:16:16.197Z] Removing intermediate container 23179798532d [2022-04-13T09:16:16.197Z] ---> 5e14df6c0073 [2022-04-13T09:16:16.197Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-13T09:16:16.197Z] ---> Running in 5226a407168e [2022-04-13T09:16:16.197Z] Removing intermediate container 5226a407168e [2022-04-13T09:16:16.197Z] ---> bbb256d343db [2022-04-13T09:16:16.197Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:16:16.197Z] ---> Running in aea7ce70b38b [2022-04-13T09:16:16.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:16:16.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:16:16.197Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:16:16.197Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:16:16.197Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:16:16.197Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:16:16.197Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:16:16.197Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:16:16.197Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:16:16.197Z] OK: 8 MiB in 20 packages [2022-04-13T09:16:16.197Z] Removing intermediate container aea7ce70b38b [2022-04-13T09:16:16.197Z] ---> 13742605aba0 [2022-04-13T09:16:16.197Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-13T09:16:16.197Z] ---> c75b92a6b094 [2022-04-13T09:16:16.197Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-13T09:16:16.197Z] ---> e8bddf0b1bb9 [2022-04-13T09:16:16.197Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-13T09:16:16.197Z] ---> c010ef385847 [2022-04-13T09:16:16.197Z] Step 20/25 : EXPOSE 59986 [2022-04-13T09:16:16.197Z] ---> Running in bc8259cb9800 [2022-04-13T09:16:16.197Z] Removing intermediate container bc8259cb9800 [2022-04-13T09:16:16.197Z] ---> 956f7b55678e [2022-04-13T09:16:16.197Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-13T09:16:16.197Z] ---> Running in 652c2f97553f [2022-04-13T09:16:16.197Z] Removing intermediate container 652c2f97553f [2022-04-13T09:16:16.197Z] ---> 24272d5b6c33 [2022-04-13T09:16:16.197Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T09:16:16.197Z] ---> Running in a097ac11c355 [2022-04-13T09:16:16.197Z] Removing intermediate container a097ac11c355 [2022-04-13T09:16:16.197Z] ---> 7b9778c1bf61 [2022-04-13T09:16:16.197Z] Step 23/25 : LABEL arch=arm64 [2022-04-13T09:16:16.197Z] ---> Running in 7e6b667041df [2022-04-13T09:16:16.477Z] Removing intermediate container 7e6b667041df [2022-04-13T09:16:16.477Z] ---> f32568b11c15 [2022-04-13T09:16:16.477Z] Step 24/25 : LABEL git_sha=238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:16:16.759Z] ---> Running in 6b0fe98b20a9 [2022-04-13T09:16:17.035Z] Removing intermediate container 6b0fe98b20a9 [2022-04-13T09:16:17.035Z] ---> 11d25fac1042 [2022-04-13T09:16:17.035Z] Step 25/25 : LABEL version=2.2.0-dev.11 [2022-04-13T09:16:17.035Z] ---> Running in 638180faf4d1 [2022-04-13T09:16:17.318Z] Removing intermediate container 638180faf4d1 [2022-04-13T09:16:17.318Z] ---> 43dffaf4194a [2022-04-13T09:16:17.318Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:16:17.318Z] Successfully built 43dffaf4194a [2022-04-13T09:16:17.318Z] 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-13T09:16:17.443Z] provisioning config files... [2022-04-13T09:16:17.466Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/32@tmp/config3508079441777229872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:16:17.832Z] ---> docker-login.sh [2022-04-13T09:16:17.832Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:16:18.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:16:18.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:16:18.111Z] Configure a credential helper to remove this warning. See [2022-04-13T09:16:18.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:16:18.111Z] [2022-04-13T09:16:18.111Z] Login Succeeded [2022-04-13T09:16:18.111Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:16:18.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:16:18.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:16:18.711Z] Configure a credential helper to remove this warning. See [2022-04-13T09:16:18.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:16:18.711Z] [2022-04-13T09:16:18.711Z] Login Succeeded [2022-04-13T09:16:18.711Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:16:18.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:16:19.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:16:19.260Z] Configure a credential helper to remove this warning. See [2022-04-13T09:16:19.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:16:19.260Z] [2022-04-13T09:16:19.260Z] Login Succeeded [2022-04-13T09:16:19.260Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:16:19.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:16:19.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:16:19.808Z] Configure a credential helper to remove this warning. See [2022-04-13T09:16:19.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:16:19.808Z] [2022-04-13T09:16:19.808Z] Login Succeeded [2022-04-13T09:16:19.808Z] docker.io [2022-04-13T09:16:20.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:16:20.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:16:20.680Z] Configure a credential helper to remove this warning. See [2022-04-13T09:16:20.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:16:20.680Z] [2022-04-13T09:16:20.680Z] Login Succeeded [2022-04-13T09:16:20.680Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:16:20.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:16:20.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:16:20.762Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-04-13T09:16:20.762Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:16:20.762Z] latest [2022-04-13T09:16:20.762Z] 2.2.0-dev.11 [2022-04-13T09:16:20.762Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:16:20.762Z] main [2022-04-13T09:16:20.762Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:21.118Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:21.490Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:16:21.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-13T09:16:21.490Z] 07156915b033: Preparing [2022-04-13T09:16:21.490Z] fe6e183a43ad: Preparing [2022-04-13T09:16:21.490Z] 531abde51137: Preparing [2022-04-13T09:16:21.490Z] 579cd78a6ac7: Preparing [2022-04-13T09:16:21.490Z] f73e7dbfee58: Preparing [2022-04-13T09:16:21.775Z] f73e7dbfee58: Layer already exists [2022-04-13T09:16:21.775Z] fe6e183a43ad: Pushed [2022-04-13T09:16:21.775Z] 07156915b033: Pushed [2022-04-13T09:16:22.379Z] 579cd78a6ac7: Pushed [2022-04-13T09:16:29.099Z] 531abde51137: Pushed [2022-04-13T09:16:29.099Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:29.460Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:29.819Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-13T09:16:29.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-13T09:16:29.819Z] 07156915b033: Preparing [2022-04-13T09:16:29.819Z] fe6e183a43ad: Preparing [2022-04-13T09:16:29.819Z] 531abde51137: Preparing [2022-04-13T09:16:29.819Z] 579cd78a6ac7: Preparing [2022-04-13T09:16:29.819Z] f73e7dbfee58: Preparing [2022-04-13T09:16:29.819Z] f73e7dbfee58: Layer already exists [2022-04-13T09:16:29.819Z] 579cd78a6ac7: Layer already exists [2022-04-13T09:16:29.819Z] 531abde51137: Layer already exists [2022-04-13T09:16:29.819Z] fe6e183a43ad: Layer already exists [2022-04-13T09:16:29.819Z] 07156915b033: Layer already exists [2022-04-13T09:16:30.093Z] latest: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:30.455Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:30.809Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 [2022-04-13T09:16:30.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-13T09:16:30.809Z] 07156915b033: Preparing [2022-04-13T09:16:30.809Z] fe6e183a43ad: Preparing [2022-04-13T09:16:30.809Z] 531abde51137: Preparing [2022-04-13T09:16:30.809Z] 579cd78a6ac7: Preparing [2022-04-13T09:16:30.809Z] f73e7dbfee58: Preparing [2022-04-13T09:16:30.809Z] 579cd78a6ac7: Layer already exists [2022-04-13T09:16:30.809Z] fe6e183a43ad: Layer already exists [2022-04-13T09:16:30.809Z] 07156915b033: Layer already exists [2022-04-13T09:16:30.809Z] 531abde51137: Layer already exists [2022-04-13T09:16:30.809Z] f73e7dbfee58: Layer already exists [2022-04-13T09:16:31.087Z] 2.2.0-dev.11: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:31.446Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:31.802Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:16:31.802Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-13T09:16:31.802Z] 07156915b033: Preparing [2022-04-13T09:16:31.802Z] fe6e183a43ad: Preparing [2022-04-13T09:16:31.802Z] 531abde51137: Preparing [2022-04-13T09:16:31.802Z] 579cd78a6ac7: Preparing [2022-04-13T09:16:31.802Z] f73e7dbfee58: Preparing [2022-04-13T09:16:31.802Z] f73e7dbfee58: Layer already exists [2022-04-13T09:16:31.802Z] 579cd78a6ac7: Layer already exists [2022-04-13T09:16:31.802Z] fe6e183a43ad: Layer already exists [2022-04-13T09:16:31.802Z] 531abde51137: Layer already exists [2022-04-13T09:16:31.802Z] 07156915b033: Layer already exists [2022-04-13T09:16:32.077Z] 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:32.439Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:32.789Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-04-13T09:16:32.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-13T09:16:32.789Z] 07156915b033: Preparing [2022-04-13T09:16:32.789Z] fe6e183a43ad: Preparing [2022-04-13T09:16:32.789Z] 531abde51137: Preparing [2022-04-13T09:16:32.789Z] 579cd78a6ac7: Preparing [2022-04-13T09:16:32.789Z] f73e7dbfee58: Preparing [2022-04-13T09:16:32.789Z] f73e7dbfee58: Layer already exists [2022-04-13T09:16:32.789Z] fe6e183a43ad: Layer already exists [2022-04-13T09:16:32.789Z] 579cd78a6ac7: Layer already exists [2022-04-13T09:16:32.789Z] 07156915b033: Layer already exists [2022-04-13T09:16:32.789Z] 531abde51137: Layer already exists [2022-04-13T09:16:33.068Z] main: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:16:33.120Z] ===================================================== [Pipeline] echo [2022-04-13T09:16:33.131Z] taggedImages: [2022-04-13T09:16:33.131Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [2022-04-13T09:16:33.131Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-13T09:16:33.131Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 [2022-04-13T09:16:33.131Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [2022-04-13T09:16:33.131Z] - 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-13T09:16:33.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:16:33.510Z] [2022-04-13T09:16:33.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:33.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:16:34.148Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T09:16:34.148Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T09:16:34.148Z] 04944245beec: Pulling fs layer [2022-04-13T09:16:34.148Z] 699f458cf7ca: Pulling fs layer [2022-04-13T09:16:34.148Z] 765212b225bb: Pulling fs layer [2022-04-13T09:16:34.148Z] f23df028b6ca: Pulling fs layer [2022-04-13T09:16:34.148Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T09:16:34.148Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T09:16:34.148Z] 765212b225bb: Waiting [2022-04-13T09:16:34.148Z] f23df028b6ca: Waiting [2022-04-13T09:16:34.148Z] 2437ff75d9bd: Waiting [2022-04-13T09:16:34.148Z] d65c8cfc05b1: Waiting [2022-04-13T09:16:34.148Z] 04944245beec: Verifying Checksum [2022-04-13T09:16:34.148Z] 04944245beec: Download complete [2022-04-13T09:16:34.148Z] 765212b225bb: Verifying Checksum [2022-04-13T09:16:34.148Z] 765212b225bb: Download complete [2022-04-13T09:16:34.148Z] f23df028b6ca: Download complete [2022-04-13T09:16:34.428Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T09:16:34.428Z] d65c8cfc05b1: Download complete [2022-04-13T09:16:34.428Z] 699f458cf7ca: Verifying Checksum [2022-04-13T09:16:34.428Z] 699f458cf7ca: Download complete [2022-04-13T09:16:34.705Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T09:16:34.705Z] 8998bd30e6a1: Download complete [2022-04-13T09:16:37.330Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T09:16:37.330Z] 2437ff75d9bd: Download complete [2022-04-13T09:16:39.310Z] 8998bd30e6a1: Pull complete [2022-04-13T09:16:39.909Z] 04944245beec: Pull complete [2022-04-13T09:16:41.350Z] 699f458cf7ca: Pull complete [2022-04-13T09:16:41.625Z] 765212b225bb: Pull complete [2022-04-13T09:16:42.226Z] f23df028b6ca: Pull complete [2022-04-13T09:16:42.502Z] d65c8cfc05b1: Pull complete [2022-04-13T09:16:57.601Z] 2437ff75d9bd: Pull complete [2022-04-13T09:16:57.601Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T09:16:57.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:16:57.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T09:16:57.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container [2022-04-13T09:16:57.949Z] $ 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/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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-13T09:17:00.837Z] $ docker top e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:01.769Z] ---> job-cost.sh [2022-04-13T09:17:01.769Z] lf-activate-venv: SKIPPING [2022-04-13T09:17:01.769Z] INFO: No Stack... [2022-04-13T09:17:02.746Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T09:17:03.340Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:17:04.024Z] + cat /w/workspace/device-rest-go/32/archives/cost.csv [2022-04-13T09:17:04.024Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T09:17:04.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [2022-04-13T09:17:04.100Z] Resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] did not exist. Created. [2022-04-13T09:17:04.100Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:17:04.797Z] /w/workspace/device-rest-go/32@tmp/durable-64c8797a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T09:17:05.488Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T09:17:05.508Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T09:17:05.563Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:17:05.569Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:17:05.603Z] $ docker stop --time=1 e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 [2022-04-13T09:17:07.090Z] $ docker rm -f e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 [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-13T09:17:07.516Z] provisioning config files... [2022-04-13T09:17:07.526Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8728413886458859970tmp [Pipeline] { [Pipeline] sh [2022-04-13T09:17:07.823Z] + set +x [2022-04-13T09:17:07.823Z] + curl -s https://codecov.io/bash [2022-04-13T09:17:07.823Z] + bash -s -- [2022-04-13T09:17:07.823Z] [2022-04-13T09:17:07.823Z] _____ _ [2022-04-13T09:17:07.823Z] / ____| | | [2022-04-13T09:17:07.823Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T09:17:07.823Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T09:17:07.823Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T09:17:07.823Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T09:17:07.823Z] Bash-1.0.6 [2022-04-13T09:17:07.823Z] [2022-04-13T09:17:07.823Z] [2022-04-13T09:17:07.823Z] ==> git version 2.25.1 found [2022-04-13T09:17:07.823Z] ==> 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-13T09:17:07.823Z] Release-Date: 2020-01-08 [2022-04-13T09:17:07.823Z] 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-13T09:17:07.823Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T09:17:07.823Z] ==> Jenkins CI detected. [2022-04-13T09:17:07.823Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:17:07.823Z] project root: . [2022-04-13T09:17:07.823Z] --> token set from env [2022-04-13T09:17:07.823Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T09:17:07.823Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T09:17:07.823Z] ==> Python coveragepy not found [2022-04-13T09:17:07.823Z] ==> Searching for coverage reports in: [2022-04-13T09:17:07.823Z] + . [2022-04-13T09:17:07.823Z] -> Found 1 reports [2022-04-13T09:17:07.823Z] ==> Detecting git/mercurial file structure [2022-04-13T09:17:07.823Z] ==> Reading reports [2022-04-13T09:17:07.823Z] + ./coverage.out bytes=9355 [2022-04-13T09:17:07.823Z] ==> Appending adjustments [2022-04-13T09:17:07.823Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T09:17:07.823Z] + Found adjustments [2022-04-13T09:17:08.084Z] ==> Gzipping contents [2022-04-13T09:17:08.084Z] 4.0K /tmp/codecov.em7C5v.gz [2022-04-13T09:17:08.084Z] ==> Uploading reports [2022-04-13T09:17:08.084Z] url: https://codecov.io [2022-04-13T09:17:08.084Z] query: branch=main&commit=238d080d640a7e3d9ba0ccf186e4988c74ba76ef&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:17:08.084Z] -> Pinging Codecov [2022-04-13T09:17:08.084Z] 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:17:08.343Z] -> Uploading to [2022-04-13T09:17:08.343Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/4E5D53B4F1F92C436F7061BF334D961C/238d080d640a7e3d9ba0ccf186e4988c74ba76ef/35047b63-4aa5-4ba4-9353-5d6f53854492.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T091708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13b88530070449899a9a74572d0ad6136a15ed12e1d582d6ad3e1e6a70e775f7 [2022-04-13T09:17:08.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:17:08.343Z] Dload Upload Total Spent Left Speed [2022-04-13T09:17:08.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 8411 --:--:-- --:--:-- --:--:-- 8411 [2022-04-13T09:17:08.604Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] } [2022-04-13T09:17:08.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-13T09:17:08.744Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-13T09:17:08.754Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:09.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:17:09.048Z] [2022-04-13T09:17:09.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:09.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:17:09.352Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-13T09:17:09.352Z] 188c0c94c7c5: Pulling fs layer [2022-04-13T09:17:09.352Z] 0ef7d3d256c8: Pulling fs layer [2022-04-13T09:17:09.352Z] de9db76c5a1d: Pulling fs layer [2022-04-13T09:17:09.352Z] 0eba1c9be4d2: Pulling fs layer [2022-04-13T09:17:09.352Z] 0d57e429df01: Pulling fs layer [2022-04-13T09:17:09.352Z] 4e4be7b47b0d: Pulling fs layer [2022-04-13T09:17:09.352Z] e1f770b5df2f: Pulling fs layer [2022-04-13T09:17:09.352Z] 85a0685a4137: Pulling fs layer [2022-04-13T09:17:09.352Z] 0d57e429df01: Waiting [2022-04-13T09:17:09.352Z] 4e4be7b47b0d: Waiting [2022-04-13T09:17:09.352Z] e1f770b5df2f: Waiting [2022-04-13T09:17:09.352Z] 85a0685a4137: Waiting [2022-04-13T09:17:09.352Z] 0eba1c9be4d2: Waiting [2022-04-13T09:17:09.352Z] de9db76c5a1d: Verifying Checksum [2022-04-13T09:17:09.352Z] de9db76c5a1d: Download complete [2022-04-13T09:17:09.352Z] 0ef7d3d256c8: Verifying Checksum [2022-04-13T09:17:09.352Z] 0ef7d3d256c8: Download complete [2022-04-13T09:17:09.352Z] 0d57e429df01: Download complete [2022-04-13T09:17:09.352Z] 4e4be7b47b0d: Download complete [2022-04-13T09:17:09.352Z] 188c0c94c7c5: Download complete [2022-04-13T09:17:09.613Z] 188c0c94c7c5: Pull complete [2022-04-13T09:17:09.613Z] e1f770b5df2f: Verifying Checksum [2022-04-13T09:17:09.613Z] e1f770b5df2f: Download complete [2022-04-13T09:17:09.613Z] 0ef7d3d256c8: Pull complete [2022-04-13T09:17:09.613Z] de9db76c5a1d: Pull complete [2022-04-13T09:17:10.183Z] 0eba1c9be4d2: Verifying Checksum [2022-04-13T09:17:10.183Z] 0eba1c9be4d2: Download complete [2022-04-13T09:17:10.183Z] 85a0685a4137: Verifying Checksum [2022-04-13T09:17:10.183Z] 85a0685a4137: Download complete [2022-04-13T09:17:14.378Z] 0eba1c9be4d2: Pull complete [2022-04-13T09:17:14.378Z] 0d57e429df01: Pull complete [2022-04-13T09:17:14.378Z] 4e4be7b47b0d: Pull complete [2022-04-13T09:17:14.378Z] e1f770b5df2f: Pull complete [2022-04-13T09:17:17.669Z] 85a0685a4137: Pull complete [2022-04-13T09:17:17.669Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-13T09:17:17.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:17:17.669Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-13T09:17:17.738Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:17:17.773Z] $ 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-13T09:17:19.582Z] $ docker top 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-13T09:17:19.671Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-13T09:17:19.951Z] + set -o pipefail [2022-04-13T09:17:19.951Z] + snyk monitor '--org=edgex-jenkins' [2022-04-13T09:17:25.233Z] [2022-04-13T09:17:25.233Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-04-13T09:17:25.233Z] [2022-04-13T09:17:25.233Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b66f7da2-b19b-40d7-adc2-6730c9d8eabc [2022-04-13T09:17:25.233Z] [2022-04-13T09:17:25.233Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-13T09:17:25.233Z] [2022-04-13T09:17:25.233Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-13T09:17:25.233Z] [2022-04-13T09:17:25.233Z] [Pipeline] } [2022-04-13T09:17:25.248Z] $ docker stop --time=1 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa [2022-04-13T09:17:27.196Z] $ docker rm -f 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa [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-13T09:17:27.957Z] + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] sh [2022-04-13T09:17:28.251Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:17:28.251Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:28.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:17:28.546Z] . [Pipeline] withDockerContainer [2022-04-13T09:17:28.614Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:17:28.649Z] $ 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-13T09:17:29.050Z] $ docker top 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:17:29.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:17:29.143Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:17:29.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:17:29.273Z] $ docker exec 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c ssh-agent [2022-04-13T09:17:29.397Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdpChFa/agent.13 [2022-04-13T09:17:29.397Z] SSH_AGENT_PID=20 [2022-04-13T09:17:29.403Z] Running ssh-add (command line suppressed) [2022-04-13T09:17:29.519Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3845571916934321103.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3845571916934321103.key) [2022-04-13T09:17:29.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:17:29.824Z] + git semver tag [2022-04-13T09:17:29.824Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:17:29.824Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-13T09:17:29.824Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:17:29.824Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:17:29.824Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:17:29.824Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:17:29.824Z] # $SEMVER_BRANCH = main [2022-04-13T09:17:29.824Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-13T09:17:29.824Z] # 238d080d640a7e3d9ba0ccf186e4988c74ba76ef HEAD [2022-04-13T09:17:29.824Z] # -> Force: false [2022-04-13T09:17:29.824Z] # eb271af128a0d62d9b78a7eeb8dde68d449be347 refs/tags/v2.2.0-dev.11 [Pipeline] } [2022-04-13T09:17:29.837Z] $ docker exec --env ******** --env ******** 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c ssh-agent -k [2022-04-13T09:17:29.943Z] unset SSH_AUTH_SOCK; [2022-04-13T09:17:29.943Z] unset SSH_AGENT_PID; [2022-04-13T09:17:29.944Z] echo Agent pid 20 killed; [2022-04-13T09:17:29.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:17:30.271Z] + git semver [Pipeline] } [2022-04-13T09:17:30.287Z] $ docker stop --time=1 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c [2022-04-13T09:17:31.586Z] $ docker rm -f 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:32.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:17:32.070Z] [2022-04-13T09:17:32.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:32.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:17:32.376Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-13T09:17:32.376Z] ab5ef0e58194: Pulling fs layer [2022-04-13T09:17:32.376Z] 9712f1f96733: Pulling fs layer [2022-04-13T09:17:32.376Z] 63f879dbbcfc: Pulling fs layer [2022-04-13T09:17:32.376Z] 0d9ebad4ef96: Pulling fs layer [2022-04-13T09:17:32.376Z] e9a5061849ea: Pulling fs layer [2022-04-13T09:17:32.376Z] d747dcd14b5f: Pulling fs layer [2022-04-13T09:17:32.376Z] 2de7ff778b66: Pulling fs layer [2022-04-13T09:17:32.376Z] 0d9ebad4ef96: Waiting [2022-04-13T09:17:32.376Z] e9a5061849ea: Waiting [2022-04-13T09:17:32.376Z] d747dcd14b5f: Waiting [2022-04-13T09:17:32.376Z] 9712f1f96733: Download complete [2022-04-13T09:17:32.636Z] 63f879dbbcfc: Verifying Checksum [2022-04-13T09:17:32.636Z] 63f879dbbcfc: Download complete [2022-04-13T09:17:32.896Z] e9a5061849ea: Verifying Checksum [2022-04-13T09:17:32.896Z] e9a5061849ea: Download complete [2022-04-13T09:17:32.896Z] 0d9ebad4ef96: Verifying Checksum [2022-04-13T09:17:32.896Z] 0d9ebad4ef96: Download complete [2022-04-13T09:17:32.896Z] d747dcd14b5f: Verifying Checksum [2022-04-13T09:17:32.896Z] d747dcd14b5f: Download complete [2022-04-13T09:17:32.896Z] ab5ef0e58194: Verifying Checksum [2022-04-13T09:17:32.896Z] ab5ef0e58194: Download complete [2022-04-13T09:17:32.896Z] 2de7ff778b66: Verifying Checksum [2022-04-13T09:17:32.896Z] 2de7ff778b66: Download complete [2022-04-13T09:17:36.195Z] ab5ef0e58194: Pull complete [2022-04-13T09:17:36.195Z] 9712f1f96733: Pull complete [2022-04-13T09:17:36.763Z] 63f879dbbcfc: Pull complete [2022-04-13T09:17:40.959Z] 0d9ebad4ef96: Pull complete [2022-04-13T09:17:41.220Z] e9a5061849ea: Pull complete [2022-04-13T09:17:41.220Z] d747dcd14b5f: Pull complete [2022-04-13T09:17:42.610Z] 2de7ff778b66: Pull complete [2022-04-13T09:17:42.610Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-13T09:17:42.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:17:42.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-13T09:17:42.679Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:17:42.718Z] $ 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-13T09:17:44.513Z] $ docker top 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:17:44.602Z] provisioning config files... [2022-04-13T09:17:44.609Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config895056948279899380tmp [2022-04-13T09:17:44.621Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6898846444555528074tmp [2022-04-13T09:17:44.632Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4933660328684088499tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:17:44.647Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:44.931Z] ---> sigul-configuration.sh [2022-04-13T09:17:44.931Z] gpg: directory `/root/.gnupg' created [2022-04-13T09:17:44.931Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-13T09:17:44.931Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-13T09:17:44.931Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-13T09:17:44.931Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-13T09:17:44.931Z] gpg: CAST5 encrypted data [2022-04-13T09:17:44.931Z] gpg: encrypted with 1 passphrase [2022-04-13T09:17:44.931Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-13T09:17:45.223Z] + mkdir /home/jenkins [2022-04-13T09:17:45.223Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-13T09:17:45.516Z] + 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-13T09:17:45.527Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:45.816Z] ---> sigul-install.sh [2022-04-13T09:17:45.816Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-13T09:17:46.108Z] + git tag --list [2022-04-13T09:17:46.108Z] v1.0.0 [2022-04-13T09:17:46.108Z] v1.1.0 [2022-04-13T09:17:46.108Z] v1.1.1 [2022-04-13T09:17:46.108Z] v1.1.2 [2022-04-13T09:17:46.108Z] v1.2.0 [2022-04-13T09:17:46.108Z] v1.2.1 [2022-04-13T09:17:46.108Z] v2.0.0 [2022-04-13T09:17:46.108Z] v2.0.1-dev.1 [2022-04-13T09:17:46.108Z] v2.0.1-dev.10 [2022-04-13T09:17:46.108Z] v2.0.1-dev.11 [2022-04-13T09:17:46.108Z] v2.0.1-dev.12 [2022-04-13T09:17:46.108Z] v2.0.1-dev.13 [2022-04-13T09:17:46.108Z] v2.0.1-dev.14 [2022-04-13T09:17:46.108Z] v2.0.1-dev.2 [2022-04-13T09:17:46.108Z] v2.0.1-dev.3 [2022-04-13T09:17:46.108Z] v2.0.1-dev.4 [2022-04-13T09:17:46.108Z] v2.0.1-dev.5 [2022-04-13T09:17:46.108Z] v2.0.1-dev.6 [2022-04-13T09:17:46.108Z] v2.0.1-dev.7 [2022-04-13T09:17:46.108Z] v2.0.1-dev.8 [2022-04-13T09:17:46.108Z] v2.0.1-dev.9 [2022-04-13T09:17:46.108Z] v2.1.0 [2022-04-13T09:17:46.108Z] v2.2.0-dev.1 [2022-04-13T09:17:46.108Z] v2.2.0-dev.10 [2022-04-13T09:17:46.108Z] v2.2.0-dev.11 [2022-04-13T09:17:46.108Z] v2.2.0-dev.2 [2022-04-13T09:17:46.108Z] v2.2.0-dev.3 [2022-04-13T09:17:46.108Z] v2.2.0-dev.4 [2022-04-13T09:17:46.108Z] v2.2.0-dev.5 [2022-04-13T09:17:46.108Z] v2.2.0-dev.6 [2022-04-13T09:17:46.108Z] v2.2.0-dev.7 [2022-04-13T09:17:46.108Z] v2.2.0-dev.8 [2022-04-13T09:17:46.108Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-13T09:17:46.400Z] + lftools sign git-tag v2.2.0-dev.11 [2022-04-13T09:17:46.970Z] Signing Git tag with Sigul... [2022-04-13T09:17:46.970Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-04-13T09:17:47.552Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:47.836Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-13T09:17:47.844Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-13T09:17:47.864Z] $ docker stop --time=1 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 [2022-04-13T09:17:49.201Z] $ docker rm -f 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-13T09:17:49.606Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:17:49.606Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:49.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:17:49.904Z] . [Pipeline] withDockerContainer [2022-04-13T09:17:49.986Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:17:50.024Z] $ 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-13T09:17:50.402Z] $ docker top cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:17:50.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:17:50.512Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:17:50.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:17:50.663Z] $ docker exec cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 ssh-agent [2022-04-13T09:17:50.790Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEiNHdn/agent.14 [2022-04-13T09:17:50.790Z] SSH_AGENT_PID=20 [2022-04-13T09:17:50.795Z] Running ssh-add (command line suppressed) [2022-04-13T09:17:50.944Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6460949873644053776.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6460949873644053776.key) [2022-04-13T09:17:50.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:17:51.262Z] + git semver bump pre [2022-04-13T09:17:51.263Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:17:51.263Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-13T09:17:51.263Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:17:51.263Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:17:51.263Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:17:51.263Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:17:51.263Z] # $SEMVER_BRANCH = main [2022-04-13T09:17:51.263Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-13T09:17:51.263Z] 2.2.0-dev.12 [Pipeline] } [2022-04-13T09:17:51.275Z] $ docker exec --env ******** --env ******** cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 ssh-agent -k [2022-04-13T09:17:51.400Z] unset SSH_AUTH_SOCK; [2022-04-13T09:17:51.401Z] unset SSH_AGENT_PID; [2022-04-13T09:17:51.401Z] echo Agent pid 20 killed; [2022-04-13T09:17:51.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:17:51.725Z] + git semver [Pipeline] } [2022-04-13T09:17:51.740Z] $ docker stop --time=1 cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 [2022-04-13T09:17:53.031Z] $ docker rm -f cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:17:53.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:17:53.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:17:53.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:17:53.697Z] . [Pipeline] withDockerContainer [2022-04-13T09:17:53.770Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:17:53.805Z] $ 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-13T09:17:54.144Z] $ docker top 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:17:54.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:17:54.232Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:17:54.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:17:54.360Z] $ docker exec 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 ssh-agent [2022-04-13T09:17:54.503Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBJfFa/agent.15 [2022-04-13T09:17:54.503Z] SSH_AGENT_PID=22 [2022-04-13T09:17:54.509Z] Running ssh-add (command line suppressed) [2022-04-13T09:17:54.631Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6705985538696601752.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6705985538696601752.key) [2022-04-13T09:17:54.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:17:54.938Z] + git semver push [2022-04-13T09:17:54.939Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:17:54.939Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-13T09:17:54.939Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:17:54.939Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:17:54.939Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:17:54.939Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:17:54.939Z] # $SEMVER_BRANCH = main [2022-04-13T09:17:54.939Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-13T09:17:56.336Z] $ docker exec --env ******** --env ******** 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 ssh-agent -k [2022-04-13T09:17:56.463Z] unset SSH_AUTH_SOCK; [2022-04-13T09:17:56.463Z] unset SSH_AGENT_PID; [2022-04-13T09:17:56.463Z] echo Agent pid 22 killed; [2022-04-13T09:17:56.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:17:56.784Z] + git semver [Pipeline] } [2022-04-13T09:17:56.799Z] $ docker stop --time=1 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 [2022-04-13T09:17:58.082Z] $ docker rm -f 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 [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-13T09:17:58.618Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-04-13T09:17:58.618Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-13T09:17:58.618Z] total 16 [2022-04-13T09:17:58.618Z] drwxr-xr-x 3 root root 4096 Apr 13 09:09 . [2022-04-13T09:17:58.618Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:17 .. [2022-04-13T09:17:58.618Z] drwxr-xr-x 2 root root 4096 Apr 13 09:09 cost [2022-04-13T09:17:58.618Z] -rw-r--r-- 1 root root 84 Apr 13 09:09 cost.csv [2022-04-13T09:17:58.618Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-13T09:17:58.618Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-13T09:17:58.618Z] total 16 [2022-04-13T09:17:58.618Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:09 . [2022-04-13T09:17:58.618Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:17 .. [2022-04-13T09:17:58.618Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:09 cost [2022-04-13T09:17:58.618Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 13 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:58.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:17:59.878Z] ---> package-listing.sh [2022-04-13T09:17:59.878Z] ++ facter osfamily [2022-04-13T09:17:59.878Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T09:18:00.139Z] + OS_FAMILY=debian [2022-04-13T09:18:00.139Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-04-13T09:18:00.139Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T09:18:00.139Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T09:18:00.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T09:18:00.139Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T09:18:00.139Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-13T09:18:00.139Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T09:18:00.139Z] + case "${OS_FAMILY}" in [2022-04-13T09:18:00.139Z] + dpkg -l [2022-04-13T09:18:00.139Z] + grep '^ii' [2022-04-13T09:18:00.139Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T09:18:00.139Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T09:18:00.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T09:18:00.139Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-13T09:18:00.139Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-04-13T09:18:00.139Z] + 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-13T09:18:00.151Z] 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-13T09:18:00.432Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:18:00.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:18:00.989Z] . [Pipeline] withDockerContainer [2022-04-13T09:18:01.057Z] prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container [2022-04-13T09:18:01.089Z] $ 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-13T09:18:01.303Z] $ docker top 0edb1bb6c51c265b7c37e2d130506213964b13ce88d853605d796c0ada54b44f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:18:01.658Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T09:18:01.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T09:18:02.234Z] + ls /var/log/sa-host [2022-04-13T09:18:02.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:18:02.322Z] provisioning config files... [2022-04-13T09:18:02.332Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3077457244369031509tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:18:02.349Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:18:02.632Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T09:18:02.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:18:02.976Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T09:18:02.987Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:18:03.273Z] ---> sudo-logs.sh [2022-04-13T09:18:03.274Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T09:18:03.301Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:18:03.583Z] ---> job-cost.sh [2022-04-13T09:18:03.584Z] lf-activate-venv: SKIPPING [2022-04-13T09:18:03.584Z] DEBUG: total: 0.2199999988079071 [2022-04-13T09:18:03.584Z] INFO: Retrieving Stack Cost... [2022-04-13T09:18:04.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:18:04.725Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T09:18:04.739Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:18:05.029Z] ---> logs-deploy.sh [2022-04-13T09:18:05.029Z] lf-activate-venv: SKIPPING [2022-04-13T09:18:05.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/32 [2022-04-13T09:18:05.029Z] INFO: archiving workspace using pattern(s): [2022-04-13T09:18:05.972Z] Archives upload complete. [2022-04-13T09:18:06.233Z] INFO: archiving logs to Nexus [2022-04-13T09:18:06.805Z] ---> uname -a: [2022-04-13T09:18:06.805Z] Linux prd-ubuntu20-04-docker-8c-8g-20790 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] ---> lscpu: [2022-04-13T09:18:06.805Z] Architecture: x86_64 [2022-04-13T09:18:06.805Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-13T09:18:06.805Z] Byte Order: Little Endian [2022-04-13T09:18:06.805Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-13T09:18:06.805Z] CPU(s): 8 [2022-04-13T09:18:06.805Z] On-line CPU(s) list: 0-7 [2022-04-13T09:18:06.805Z] Thread(s) per core: 1 [2022-04-13T09:18:06.805Z] Core(s) per socket: 1 [2022-04-13T09:18:06.805Z] Socket(s): 8 [2022-04-13T09:18:06.805Z] NUMA node(s): 1 [2022-04-13T09:18:06.805Z] Vendor ID: AuthenticAMD [2022-04-13T09:18:06.805Z] CPU family: 23 [2022-04-13T09:18:06.805Z] Model: 49 [2022-04-13T09:18:06.805Z] Model name: AMD EPYC-Rome Processor [2022-04-13T09:18:06.805Z] Stepping: 0 [2022-04-13T09:18:06.805Z] CPU MHz: 2799.976 [2022-04-13T09:18:06.805Z] BogoMIPS: 5599.95 [2022-04-13T09:18:06.805Z] Virtualization: AMD-V [2022-04-13T09:18:06.805Z] Hypervisor vendor: KVM [2022-04-13T09:18:06.805Z] Virtualization type: full [2022-04-13T09:18:06.805Z] L1d cache: 256 KiB [2022-04-13T09:18:06.805Z] L1i cache: 256 KiB [2022-04-13T09:18:06.805Z] L2 cache: 4 MiB [2022-04-13T09:18:06.805Z] L3 cache: 128 MiB [2022-04-13T09:18:06.805Z] NUMA node0 CPU(s): 0-7 [2022-04-13T09:18:06.805Z] Vulnerability Itlb multihit: Not affected [2022-04-13T09:18:06.805Z] Vulnerability L1tf: Not affected [2022-04-13T09:18:06.805Z] Vulnerability Mds: Not affected [2022-04-13T09:18:06.805Z] Vulnerability Meltdown: Not affected [2022-04-13T09:18:06.805Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-13T09:18:06.805Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-13T09:18:06.805Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-13T09:18:06.805Z] Vulnerability Srbds: Not affected [2022-04-13T09:18:06.805Z] Vulnerability Tsx async abort: Not affected [2022-04-13T09:18:06.805Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] ---> nproc: [2022-04-13T09:18:06.805Z] 8 [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] [2022-04-13T09:18:06.805Z] ---> df -h: [2022-04-13T09:18:06.805Z] Filesystem Size Used Avail Use% Mounted on [2022-04-13T09:18:06.805Z] overlay 155G 12G 144G 8% / [2022-04-13T09:18:06.805Z] tmpfs 64M 0 64M 0% /dev [2022-04-13T09:18:06.805Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-13T09:18:06.805Z] shm 64M 0 64M 0% /dev/shm [2022-04-13T09:18:06.805Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-04-13T09:18:06.806Z] [2022-04-13T09:18:06.806Z]