Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f746f51e1ef244c01c4206344cb741c614a79d6 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-ssh18183847766603508752.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2066893477997998977.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7182072639699509398.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh12634579303104355014.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17887246677877065153.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [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-6172 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 7f746f51e1ef244c01c4206344cb741c614a79d6 (main) Commit message: "refactor!: Replace internal topics from config with new constants (#254)" > 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 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 > git rev-list --no-walk 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:40:23.381Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:40:23.424Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:40:23.436Z] ========================================================= [2023-02-15T18:40:23.436Z] EdgeX Global Pipelines Version Info [2023-02-15T18:40:23.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:40:24.175Z] ------------------- [2023-02-15T18:40:24.175Z] stable info: [2023-02-15T18:40:24.175Z] ------------------- [2023-02-15T18:40:24.175Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:40:24.175Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:40:24.175Z] Message: update stable to v1.0.244 [2023-02-15T18:40:24.743Z] ------------------- [2023-02-15T18:40:24.743Z] experimental info: [2023-02-15T18:40:24.743Z] ------------------- [2023-02-15T18:40:24.743Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:40:24.743Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:40:24.743Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:40:24.899Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T18:40:24.907Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T18:40:24.915Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:40:24.923Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:40:24.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:40:24.950Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:40:24.963Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:40:24.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:40:24.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:40:24.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:40:24.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:40:25.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T18:40:25.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:40:25.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:40:25.032Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:40:25.040Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:40:25.050Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:40:25.061Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:40:25.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:40:25.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:40:25.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:40:25.103Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:40:25.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:40:25.119Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:40:25.127Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:40:25.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:40:25.151Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:40:25.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-15T18:40:25.168Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-15T18:40:25.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-15T18:40:25.196Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo [2023-02-15T18:40:25.207Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f746f5 [Pipeline] echo [2023-02-15T18:40:25.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:40:25.259Z] provisioning config files... [2023-02-15T18:40:25.271Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1773598504639394076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:40:25.570Z] ---> docker-login.sh [2023-02-15T18:40:25.570Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:40:25.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:26.089Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:26.089Z] [2023-02-15T18:40:26.089Z] Login Succeeded [2023-02-15T18:40:26.089Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:40:26.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:26.089Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:26.089Z] [2023-02-15T18:40:26.089Z] Login Succeeded [2023-02-15T18:40:26.089Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:40:26.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:26.089Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:26.089Z] [2023-02-15T18:40:26.089Z] Login Succeeded [2023-02-15T18:40:26.089Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:40:26.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:26.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:26.348Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:26.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:26.348Z] [2023-02-15T18:40:26.348Z] Login Succeeded [2023-02-15T18:40:26.348Z] docker.io [2023-02-15T18:40:26.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:26.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:26.607Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:26.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:26.607Z] [2023-02-15T18:40:26.607Z] Login Succeeded [2023-02-15T18:40:26.607Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:40:26.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:40:26.958Z] + git rev-list -1 --merges 7f746f51e1ef244c01c4206344cb741c614a79d6~1..7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo [2023-02-15T18:40:27.004Z] -----------> git rev-list -1 --merges 7f746f51e1ef244c01c4206344cb741c614a79d6~1..7f746f51e1ef244c01c4206344cb741c614a79d6 7f746f51e1ef244c01c4206344cb741c614a79d6 [false] [Pipeline] sh [2023-02-15T18:40:27.288Z] + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo [2023-02-15T18:40:27.303Z] ========================================================= [2023-02-15T18:40:27.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:40:27.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:40:27.628Z] + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo [2023-02-15T18:40:27.639Z] [semverPrep] GIT_COMMIT: 7f746f51e1ef244c01c4206344cb741c614a79d6, Commit Message: refactor!: Replace internal topics from config with new constants (#254) [Pipeline] echo [2023-02-15T18:40:27.648Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:40:28.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:40:28.017Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:40:28.017Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:40:28.017Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:40:28.017Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:40:28.017Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:40:28.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:40:28.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:40:28.423Z] [2023-02-15T18:40:28.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:40:28.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:40:28.728Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:40:28.728Z] b85a868b505f: Pulling fs layer [2023-02-15T18:40:28.728Z] e2be974225ed: Pulling fs layer [2023-02-15T18:40:28.728Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:40:28.728Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:40:28.728Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:40:28.728Z] eaf3925da568: Pulling fs layer [2023-02-15T18:40:28.728Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:40:28.728Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:40:28.728Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:40:28.728Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:40:28.728Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:40:28.728Z] 988bab9f4d93: Waiting [2023-02-15T18:40:28.728Z] eaf3925da568: Waiting [2023-02-15T18:40:28.728Z] 1469e6f7b9e6: Waiting [2023-02-15T18:40:28.728Z] bab4dde63d76: Waiting [2023-02-15T18:40:28.728Z] bde34c3a00c8: Waiting [2023-02-15T18:40:28.728Z] b352a97aabf1: Waiting [2023-02-15T18:40:28.728Z] 4872d77fe225: Waiting [2023-02-15T18:40:28.728Z] 5851b861e8e6: Waiting [2023-02-15T18:40:28.728Z] e2be974225ed: Verifying Checksum [2023-02-15T18:40:28.728Z] e2be974225ed: Download complete [2023-02-15T18:40:28.728Z] 988bab9f4d93: Verifying Checksum [2023-02-15T18:40:28.728Z] 988bab9f4d93: Download complete [2023-02-15T18:40:28.995Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:40:28.995Z] 1469e6f7b9e6: Download complete [2023-02-15T18:40:28.995Z] eaf3925da568: Download complete [2023-02-15T18:40:28.995Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:40:28.995Z] 339a4e72a1f5: Download complete [2023-02-15T18:40:29.261Z] bde34c3a00c8: Download complete [2023-02-15T18:40:29.261Z] b352a97aabf1: Verifying Checksum [2023-02-15T18:40:29.261Z] b352a97aabf1: Download complete [2023-02-15T18:40:29.261Z] 4872d77fe225: Verifying Checksum [2023-02-15T18:40:29.261Z] 4872d77fe225: Download complete [2023-02-15T18:40:29.261Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:40:29.261Z] 5851b861e8e6: Download complete [2023-02-15T18:40:29.261Z] b85a868b505f: Verifying Checksum [2023-02-15T18:40:29.261Z] b85a868b505f: Download complete [2023-02-15T18:40:29.847Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:40:29.847Z] bab4dde63d76: Download complete [2023-02-15T18:40:30.415Z] b85a868b505f: Pull complete [2023-02-15T18:40:30.415Z] e2be974225ed: Pull complete [2023-02-15T18:40:30.980Z] 339a4e72a1f5: Pull complete [2023-02-15T18:40:30.980Z] 988bab9f4d93: Pull complete [2023-02-15T18:40:31.239Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:40:31.239Z] eaf3925da568: Pull complete [2023-02-15T18:40:33.142Z] bab4dde63d76: Pull complete [2023-02-15T18:40:33.142Z] bde34c3a00c8: Pull complete [2023-02-15T18:40:33.142Z] b352a97aabf1: Pull complete [2023-02-15T18:40:33.401Z] 4872d77fe225: Pull complete [2023-02-15T18:40:33.401Z] 5851b861e8e6: Pull complete [2023-02-15T18:40:33.401Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:40:33.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:40:33.401Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:40:33.486Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:40:33.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:40:36.730Z] $ docker top 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 -eo pid,comm [2023-02-15T18:40:36.772Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:40:36.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:40:36.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:40:36.810Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:40:36.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:40:36.922Z] $ docker exec 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent [2023-02-15T18:40:37.088Z] SSH_AUTH_SOCK=/tmp/ssh-oMBfRM1yjFYI/agent.14 [2023-02-15T18:40:37.088Z] SSH_AGENT_PID=20 [2023-02-15T18:40:37.093Z] Running ssh-add (command line suppressed) [2023-02-15T18:40:37.201Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5468536939606133994.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5468536939606133994.key) [2023-02-15T18:40:37.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:40:37.498Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:40:37.515Z] $ docker exec --env ******** --env ******** 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent -k [2023-02-15T18:40:37.620Z] unset SSH_AUTH_SOCK; [2023-02-15T18:40:37.621Z] unset SSH_AGENT_PID; [2023-02-15T18:40:37.621Z] echo Agent pid 20 killed; [2023-02-15T18:40:37.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:40:37.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:40:37.650Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:40:37.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:40:37.768Z] $ docker exec 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent [2023-02-15T18:40:37.868Z] SSH_AUTH_SOCK=/tmp/ssh-ftodc8JEwdrd/agent.52 [2023-02-15T18:40:37.868Z] SSH_AGENT_PID=58 [2023-02-15T18:40:37.873Z] Running ssh-add (command line suppressed) [2023-02-15T18:40:37.967Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12274974251954903919.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12274974251954903919.key) [2023-02-15T18:40:37.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:40:38.283Z] + git semver init [2023-02-15T18:40:38.542Z] 2023-02-15 18:40:38,490 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:40:38.542Z] 2023-02-15 18:40:38,490 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-15T18:40:38.542Z] 2023-02-15 18:40:38,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-15T18:40:38.542Z] 2023-02-15 18:40:38,491 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:40:40.446Z] 2023-02-15 18:40:39,995 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-02-15T18:40:40.446Z] 2023-02-15 18:40:39,996 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-02-15T18:40:40.446Z] 2023-02-15 18:40:39,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:40:40.446Z] 2023-02-15 18:40:39,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:40:40.446Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T18:40:40.461Z] $ docker exec --env ******** --env ******** 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent -k [2023-02-15T18:40:40.550Z] unset SSH_AUTH_SOCK; [2023-02-15T18:40:40.550Z] unset SSH_AGENT_PID; [2023-02-15T18:40:40.550Z] echo Agent pid 58 killed; [2023-02-15T18:40:40.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:40:40.859Z] + git semver [Pipeline] } [2023-02-15T18:40:41.136Z] $ docker stop --time=1 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 [2023-02-15T18:40:42.430Z] $ docker rm -f --volumes 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:40:42.758Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:40:42.959Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:40:42.963Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:40:43.084Z] provisioning config files... [2023-02-15T18:40:43.093Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10628660533388510053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:40:43.384Z] ---> docker-login.sh [2023-02-15T18:40:43.384Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:40:43.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:43.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:43.384Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:43.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:43.384Z] [2023-02-15T18:40:43.384Z] Login Succeeded [2023-02-15T18:40:43.384Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:40:43.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:43.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:43.384Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:43.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:43.384Z] [2023-02-15T18:40:43.384Z] Login Succeeded [2023-02-15T18:40:43.384Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:40:43.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:43.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:43.643Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:43.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:43.643Z] [2023-02-15T18:40:43.643Z] Login Succeeded [2023-02-15T18:40:43.643Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:40:43.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:43.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:43.643Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:43.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:43.643Z] [2023-02-15T18:40:43.643Z] Login Succeeded [2023-02-15T18:40:43.643Z] docker.io [2023-02-15T18:40:43.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:43.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:43.903Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:43.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:43.903Z] [2023-02-15T18:40:43.903Z] Login Succeeded [2023-02-15T18:40:43.903Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:40:43.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:40:43.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:40:43.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:40:43.987Z] ========================================================= [2023-02-15T18:40:43.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:40:43.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:40:44.304Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:40:44.304Z] Sending build context to Docker daemon 10.81MB [2023-02-15T18:40:44.304Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:40:44.304Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:40:44.304Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:40:44.304Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:40:44.304Z] 4583459ba037: Pulling fs layer [2023-02-15T18:40:44.304Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:40:44.304Z] 53926ce57604: Pulling fs layer [2023-02-15T18:40:44.304Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:40:44.304Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:40:44.304Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:40:44.304Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:40:44.304Z] a7acece74701: Pulling fs layer [2023-02-15T18:40:44.304Z] 12d6caf4c0d1: Waiting [2023-02-15T18:40:44.304Z] 22ff95d597cd: Waiting [2023-02-15T18:40:44.304Z] 96b7cbca73a9: Waiting [2023-02-15T18:40:44.304Z] 53926ce57604: Waiting [2023-02-15T18:40:44.304Z] a7acece74701: Waiting [2023-02-15T18:40:44.304Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T18:40:44.304Z] 93c1e223e6f2: Download complete [2023-02-15T18:40:44.304Z] 4583459ba037: Verifying Checksum [2023-02-15T18:40:44.304Z] 4583459ba037: Download complete [2023-02-15T18:40:44.304Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:40:44.565Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:40:44.565Z] 22ff95d597cd: Download complete [2023-02-15T18:40:44.565Z] 213ec9aee27d: Verifying Checksum [2023-02-15T18:40:44.565Z] 213ec9aee27d: Download complete [2023-02-15T18:40:44.565Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:40:44.565Z] 12d6caf4c0d1: Download complete [2023-02-15T18:40:44.565Z] 213ec9aee27d: Pull complete [2023-02-15T18:40:44.836Z] 4583459ba037: Pull complete [2023-02-15T18:40:45.117Z] 93c1e223e6f2: Pull complete [2023-02-15T18:40:45.392Z] a7acece74701: Verifying Checksum [2023-02-15T18:40:45.392Z] a7acece74701: Download complete [2023-02-15T18:40:45.653Z] 53926ce57604: Verifying Checksum [2023-02-15T18:40:45.653Z] 53926ce57604: Download complete [2023-02-15T18:40:45.911Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T18:40:45.911Z] 96b7cbca73a9: Download complete [2023-02-15T18:40:49.199Z] 53926ce57604: Pull complete [2023-02-15T18:40:49.456Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:40:49.456Z] 22ff95d597cd: Pull complete [2023-02-15T18:40:49.456Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:40:51.983Z] 96b7cbca73a9: Pull complete [2023-02-15T18:40:52.243Z] a7acece74701: Pull complete [2023-02-15T18:40:52.243Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:40:52.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:40:52.243Z] ---> db6d94c90886 [2023-02-15T18:40:52.243Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:40:57.529Z] ---> Running in e765afd12f77 [2023-02-15T18:40:57.529Z] Removing intermediate container e765afd12f77 [2023-02-15T18:40:57.529Z] ---> 6d4c561ad3fe [2023-02-15T18:40:57.529Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:40:57.529Z] ---> Running in 3944757975f0 [2023-02-15T18:40:57.529Z] Removing intermediate container 3944757975f0 [2023-02-15T18:40:57.529Z] ---> 387cd25e6346 [2023-02-15T18:40:57.529Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:40:57.529Z] ---> Running in 586907a7c737 [2023-02-15T18:40:57.529Z] Removing intermediate container 586907a7c737 [2023-02-15T18:40:57.529Z] ---> 2c551e7dfb85 [2023-02-15T18:40:57.529Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:40:57.529Z] ---> Running in fb08f5397ec1 [2023-02-15T18:40:57.788Z] Removing intermediate container fb08f5397ec1 [2023-02-15T18:40:57.788Z] ---> fcd7f47e6fa5 [2023-02-15T18:40:57.788Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:40:57.788Z] ---> Running in 70b0f28225fa [2023-02-15T18:40:58.039Z] Still waiting to schedule task [2023-02-15T18:40:58.039Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-15T18:40:58.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:40:58.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:40:58.565Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:40:58.565Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:40:58.565Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:40:58.565Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:40:58.565Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:40:58.565Z] OK: 216 MiB in 55 packages [2023-02-15T18:40:59.136Z] Removing intermediate container 70b0f28225fa [2023-02-15T18:40:59.136Z] ---> 8114494b3153 [2023-02-15T18:40:59.136Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:40:59.136Z] ---> Running in 5fe4f4a33972 [2023-02-15T18:40:59.136Z] Removing intermediate container 5fe4f4a33972 [2023-02-15T18:40:59.136Z] ---> 8fd87c4c029d [2023-02-15T18:40:59.136Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:40:59.398Z] ---> d438e55c3498 [2023-02-15T18:40:59.398Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:40:59.398Z] ---> Running in 2f0307bb00b5 [2023-02-15T18:41:38.141Z] Removing intermediate container 2f0307bb00b5 [2023-02-15T18:41:38.141Z] ---> 0a29040545b5 [2023-02-15T18:41:38.141Z] Step 11/12 : COPY . . [2023-02-15T18:41:38.141Z] ---> b081db4adda5 [2023-02-15T18:41:38.141Z] Step 12/12 : RUN $MAKE [2023-02-15T18:41:38.141Z] ---> Running in cc85a20c43a8 [2023-02-15T18:41:38.141Z] noop [2023-02-15T18:41:38.400Z] Removing intermediate container cc85a20c43a8 [2023-02-15T18:41:38.400Z] ---> 442e53e31f28 [2023-02-15T18:41:38.400Z] Successfully built 442e53e31f28 [2023-02-15T18:41:38.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:41:38.716Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:41:38.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:41:38.799Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:41:38.835Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:41:39.151Z] $ docker top c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:41:39.488Z] + go version [2023-02-15T18:41:39.488Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:41:39.502Z] $ docker stop --time=1 c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f [2023-02-15T18:41:40.788Z] $ docker rm -f --volumes c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:41:41.183Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:41:41.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:41:41.256Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:41:41.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:41:41.627Z] $ docker top e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:41:41.966Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:41:42.261Z] + make test [2023-02-15T18:41:42.261Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:41:42.519Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:41:50.621Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T18:41:51.186Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements [2023-02-15T18:41:57.734Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T18:41:57.734Z] go vet ./... [2023-02-15T18:42:00.262Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:42:00.262Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:42:00.262Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:42:00.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:42:00.547Z] $ docker stop --time=1 e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 [2023-02-15T18:42:03.159Z] $ docker rm -f --volumes e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:42:03.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:42:03.628Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T18:42:04.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:42:04.439Z] + ls -al . [2023-02-15T18:42:04.439Z] total 188 [2023-02-15T18:42:04.439Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:41 . [2023-02-15T18:42:04.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 .. [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:40 .dockerignore [2023-02-15T18:42:04.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:41 .git [2023-02-15T18:42:04.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 .github [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:40 .gitignore [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:40 .golangci.yml [2023-02-15T18:42:04.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:40 .semver [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:40 Attribution.txt [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:40 CHANGELOG.md [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:40 Dockerfile [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:40 GOVERNANCE.md [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:40 Jenkinsfile [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:40 LICENSE [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:40 Makefile [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:40 OWNERS.md [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:40 README.md [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:40 VERSION [2023-02-15T18:42:04.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:40 bin [2023-02-15T18:42:04.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 cmd [2023-02-15T18:42:04.439Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:41 coverage.out [2023-02-15T18:42:04.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:40 driver [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:40 go.mod [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:40 go.sum [2023-02-15T18:42:04.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 snap [2023-02-15T18:42:04.439Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:04.766Z] + 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=7f746f51e1ef244c01c4206344cb741c614a79d6 --label arch=amd64 --label version=3.0.0-dev.10 . [2023-02-15T18:42:04.766Z] Sending build context to Docker daemon 10.83MB [2023-02-15T18:42:04.766Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:42:04.766Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:42:04.766Z] ---> 442e53e31f28 [2023-02-15T18:42:04.766Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:42:05.024Z] ---> Running in eca28e385883 [2023-02-15T18:42:05.024Z] Removing intermediate container eca28e385883 [2023-02-15T18:42:05.024Z] ---> c2a7a73f7827 [2023-02-15T18:42:05.024Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:42:05.024Z] ---> Running in 23505fa23459 [2023-02-15T18:42:05.024Z] Removing intermediate container 23505fa23459 [2023-02-15T18:42:05.024Z] ---> b7b05f4b9dfc [2023-02-15T18:42:05.024Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:42:05.024Z] ---> Running in bff885ad2de9 [2023-02-15T18:42:05.282Z] Removing intermediate container bff885ad2de9 [2023-02-15T18:42:05.282Z] ---> cf3f768d5064 [2023-02-15T18:42:05.282Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:42:05.282Z] ---> Running in dc0c8e370386 [2023-02-15T18:42:05.282Z] Removing intermediate container dc0c8e370386 [2023-02-15T18:42:05.282Z] ---> 7903dacebb3e [2023-02-15T18:42:05.282Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:42:05.282Z] ---> Running in b0f977ce6d4e [2023-02-15T18:42:05.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:06.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:07.179Z] OK: 216 MiB in 55 packages [2023-02-15T18:42:07.438Z] Removing intermediate container b0f977ce6d4e [2023-02-15T18:42:07.438Z] ---> 2a33471db901 [2023-02-15T18:42:07.438Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T18:42:07.438Z] ---> Running in cd2f033ed839 [2023-02-15T18:42:07.438Z] Removing intermediate container cd2f033ed839 [2023-02-15T18:42:07.438Z] ---> 0523707a5064 [2023-02-15T18:42:07.438Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T18:42:07.438Z] ---> 0009bc21c6dd [2023-02-15T18:42:07.438Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:42:07.438Z] ---> Running in 63fe28b3bd3f [2023-02-15T18:42:08.382Z] Removing intermediate container 63fe28b3bd3f [2023-02-15T18:42:08.382Z] ---> e932af4d2a2a [2023-02-15T18:42:08.382Z] Step 11/25 : COPY . . [2023-02-15T18:42:08.949Z] ---> 997efab56dad [2023-02-15T18:42:08.949Z] Step 12/25 : RUN $MAKE [2023-02-15T18:42:08.949Z] ---> Running in b1bdc66266a2 [2023-02-15T18:42:09.206Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T18:42:31.315Z] Removing intermediate container b1bdc66266a2 [2023-02-15T18:42:31.315Z] ---> 8a662d80a3f2 [2023-02-15T18:42:31.315Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:42:31.315Z] 3.16: Pulling from library/alpine [2023-02-15T18:42:31.315Z] ef5531b6e74e: Pulling fs layer [2023-02-15T18:42:31.315Z] ef5531b6e74e: Download complete [2023-02-15T18:42:31.315Z] ef5531b6e74e: Pull complete [2023-02-15T18:42:31.315Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:42:31.315Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:42:31.315Z] ---> dfd21b5a31f5 [2023-02-15T18:42:31.315Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:42:31.315Z] ---> Running in 008a29e38303 [2023-02-15T18:42:31.315Z] Removing intermediate container 008a29e38303 [2023-02-15T18:42:31.315Z] ---> 5df406834af9 [2023-02-15T18:42:31.315Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T18:42:31.315Z] ---> Running in ab258f7f2397 [2023-02-15T18:42:31.316Z] Removing intermediate container ab258f7f2397 [2023-02-15T18:42:31.316Z] ---> 2e988df38004 [2023-02-15T18:42:31.316Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:42:31.316Z] ---> Running in 38b962d8eb58 [2023-02-15T18:42:31.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:31.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:31.316Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:42:31.316Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:42:31.316Z] OK: 6 MiB in 15 packages [2023-02-15T18:42:31.574Z] Removing intermediate container 38b962d8eb58 [2023-02-15T18:42:31.574Z] ---> 7dee3bad95eb [2023-02-15T18:42:31.574Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T18:42:32.583Z] ---> 511dcc81c209 [2023-02-15T18:42:32.583Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T18:42:32.583Z] ---> cfd4abb30ceb [2023-02-15T18:42:32.583Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T18:42:32.841Z] ---> 11bcb552f5d2 [2023-02-15T18:42:32.841Z] Step 20/25 : EXPOSE 59986 [2023-02-15T18:42:32.841Z] ---> Running in a55d7ebef332 [2023-02-15T18:42:32.841Z] Removing intermediate container a55d7ebef332 [2023-02-15T18:42:32.841Z] ---> f67eecee1c3d [2023-02-15T18:42:32.841Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T18:42:32.841Z] ---> Running in 6e33efb13dfd [2023-02-15T18:42:32.841Z] Removing intermediate container 6e33efb13dfd [2023-02-15T18:42:32.841Z] ---> 5c93181ffe7e [2023-02-15T18:42:32.841Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T18:42:32.841Z] ---> Running in c65a1799481f [2023-02-15T18:42:33.102Z] Removing intermediate container c65a1799481f [2023-02-15T18:42:33.102Z] ---> 1fe725983720 [2023-02-15T18:42:33.102Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T18:42:33.102Z] ---> Running in 867388e36222 [2023-02-15T18:42:33.102Z] Removing intermediate container 867388e36222 [2023-02-15T18:42:33.102Z] ---> 2ba5edb6669d [2023-02-15T18:42:33.102Z] Step 24/25 : LABEL git_sha=7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:42:33.102Z] ---> Running in 3f505b09f264 [2023-02-15T18:42:33.102Z] Removing intermediate container 3f505b09f264 [2023-02-15T18:42:33.102Z] ---> 7d62a24d7624 [2023-02-15T18:42:33.102Z] Step 25/25 : LABEL version=3.0.0-dev.10 [2023-02-15T18:42:33.102Z] ---> Running in 4fc571f8efda [2023-02-15T18:42:33.361Z] Removing intermediate container 4fc571f8efda [2023-02-15T18:42:33.361Z] ---> ebae8d906a5c [2023-02-15T18:42:33.361Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:42:33.361Z] Successfully built ebae8d906a5c [2023-02-15T18:42:33.361Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:42:33.461Z] provisioning config files... [2023-02-15T18:42:33.469Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9095690873557469831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:42:33.767Z] ---> docker-login.sh [2023-02-15T18:42:33.767Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:42:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:33.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:33.767Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:33.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:33.767Z] [2023-02-15T18:42:33.767Z] Login Succeeded [2023-02-15T18:42:33.767Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:42:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:33.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:33.767Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:33.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:33.767Z] [2023-02-15T18:42:33.767Z] Login Succeeded [2023-02-15T18:42:33.767Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:42:34.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:34.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:34.025Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:34.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:34.025Z] [2023-02-15T18:42:34.025Z] Login Succeeded [2023-02-15T18:42:34.025Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:42:34.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:34.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:34.025Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:34.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:34.025Z] [2023-02-15T18:42:34.025Z] Login Succeeded [2023-02-15T18:42:34.025Z] docker.io [2023-02-15T18:42:34.135Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6177 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-02-15T18:42:34.148Z] Running in /w/workspace/device-rest-go/82 [Pipeline] { [Pipeline] checkout [2023-02-15T18:42:34.185Z] The recommended git tool is: git [2023-02-15T18:42:34.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:34.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:34.542Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:34.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:34.542Z] [2023-02-15T18:42:34.542Z] Login Succeeded [2023-02-15T18:42:34.542Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:42:34.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:42:34.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:42:34.604Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-02-15T18:42:34.604Z] 7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:42:34.604Z] latest [2023-02-15T18:42:34.604Z] 3.0.0-dev.10 [2023-02-15T18:42:34.604Z] 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:42:34.604Z] main [2023-02-15T18:42:34.604Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:34.927Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:35.227Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:42:35.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T18:42:36.161Z] be260c6691df: Preparing [2023-02-15T18:42:36.161Z] 43e9a7e390d0: Preparing [2023-02-15T18:42:36.161Z] 4ea87960ef75: Preparing [2023-02-15T18:42:36.161Z] f63f60195cef: Preparing [2023-02-15T18:42:36.161Z] aa5968d388b8: Preparing [2023-02-15T18:42:36.161Z] aa5968d388b8: Layer already exists [2023-02-15T18:42:36.161Z] f63f60195cef: Pushed [2023-02-15T18:42:36.161Z] 43e9a7e390d0: Pushed [2023-02-15T18:42:36.161Z] be260c6691df: Pushed [2023-02-15T18:42:38.691Z] 4ea87960ef75: Pushed [2023-02-15T18:42:38.691Z] 7f746f51e1ef244c01c4206344cb741c614a79d6: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:39.002Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:39.305Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-15T18:42:39.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T18:42:39.305Z] be260c6691df: Preparing [2023-02-15T18:42:39.305Z] 43e9a7e390d0: Preparing [2023-02-15T18:42:39.305Z] 4ea87960ef75: Preparing [2023-02-15T18:42:39.305Z] f63f60195cef: Preparing [2023-02-15T18:42:39.305Z] aa5968d388b8: Preparing [2023-02-15T18:42:39.305Z] 43e9a7e390d0: Layer already exists [2023-02-15T18:42:39.305Z] aa5968d388b8: Layer already exists [2023-02-15T18:42:39.305Z] f63f60195cef: Layer already exists [2023-02-15T18:42:39.305Z] 4ea87960ef75: Layer already exists [2023-02-15T18:42:39.305Z] be260c6691df: Layer already exists [2023-02-15T18:42:39.305Z] latest: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:39.443Z] using credential edgex-jenkins-ssh [2023-02-15T18:42:39.469Z] Cloning the remote Git repository [2023-02-15T18:42:39.616Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:39.926Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 [2023-02-15T18:42:39.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T18:42:39.926Z] be260c6691df: Preparing [2023-02-15T18:42:39.926Z] 43e9a7e390d0: Preparing [2023-02-15T18:42:39.926Z] 4ea87960ef75: Preparing [2023-02-15T18:42:39.926Z] f63f60195cef: Preparing [2023-02-15T18:42:39.926Z] aa5968d388b8: Preparing [2023-02-15T18:42:39.926Z] be260c6691df: Layer already exists [2023-02-15T18:42:39.926Z] 43e9a7e390d0: Layer already exists [2023-02-15T18:42:39.926Z] 4ea87960ef75: Layer already exists [2023-02-15T18:42:39.926Z] aa5968d388b8: Layer already exists [2023-02-15T18:42:39.926Z] f63f60195cef: Layer already exists [2023-02-15T18:42:39.926Z] 3.0.0-dev.10: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:40.236Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:39.514Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:42:39.583Z] > git init /w/workspace/device-rest-go/82 # timeout=10 [2023-02-15T18:42:39.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:42:39.732Z] > git --version # timeout=10 [2023-02-15T18:42:39.752Z] > git --version # 'git version 2.25.1' [2023-02-15T18:42:39.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:42:39.819Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:42:40.547Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:42:40.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T18:42:40.547Z] be260c6691df: Preparing [2023-02-15T18:42:40.547Z] 43e9a7e390d0: Preparing [2023-02-15T18:42:40.547Z] 4ea87960ef75: Preparing [2023-02-15T18:42:40.547Z] f63f60195cef: Preparing [2023-02-15T18:42:40.547Z] aa5968d388b8: Preparing [2023-02-15T18:42:40.547Z] f63f60195cef: Layer already exists [2023-02-15T18:42:40.547Z] 43e9a7e390d0: Layer already exists [2023-02-15T18:42:40.547Z] 4ea87960ef75: Layer already exists [2023-02-15T18:42:40.547Z] aa5968d388b8: Layer already exists [2023-02-15T18:42:40.547Z] be260c6691df: Layer already exists [2023-02-15T18:42:40.547Z] 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:40.861Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:41.163Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-02-15T18:42:41.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T18:42:41.163Z] be260c6691df: Preparing [2023-02-15T18:42:41.163Z] 43e9a7e390d0: Preparing [2023-02-15T18:42:41.163Z] 4ea87960ef75: Preparing [2023-02-15T18:42:41.163Z] f63f60195cef: Preparing [2023-02-15T18:42:41.163Z] aa5968d388b8: Preparing [2023-02-15T18:42:41.163Z] 43e9a7e390d0: Layer already exists [2023-02-15T18:42:41.163Z] f63f60195cef: Layer already exists [2023-02-15T18:42:41.163Z] be260c6691df: Layer already exists [2023-02-15T18:42:41.163Z] 4ea87960ef75: Layer already exists [2023-02-15T18:42:41.163Z] aa5968d388b8: Layer already exists [2023-02-15T18:42:42.800Z] Avoid second fetch [2023-02-15T18:42:42.801Z] Checking out Revision 7f746f51e1ef244c01c4206344cb741c614a79d6 (main) [2023-02-15T18:42:41.822Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T18:42:41.847Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:42:42.821Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:42:42.845Z] > git checkout -f 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 [2023-02-15T18:42:43.365Z] Commit message: "refactor!: Replace internal topics from config with new constants (#254)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:42:44.189Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:42:44.189Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:42:44.189Z] Dload Upload Total Spent Left Speed [2023-02-15T18:42:44.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64075 0 --:--:-- --:--:-- --:--:-- 64075 [Pipeline] sh [2023-02-15T18:42:44.798Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:42:45.123Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:42:45.123Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:42:45.123Z] { [2023-02-15T18:42:45.123Z] "registry-mirrors": [ [2023-02-15T18:42:45.123Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:42:45.123Z] ], [2023-02-15T18:42:45.123Z] "bip": "10.250.0.254/24", [2023-02-15T18:42:45.123Z] "hosts": [ [2023-02-15T18:42:45.123Z] "tcp://0.0.0.0:5555", [2023-02-15T18:42:45.123Z] "unix:///var/run/docker.sock" [2023-02-15T18:42:45.123Z] ], [2023-02-15T18:42:45.123Z] "mtu": 1458, [2023-02-15T18:42:45.123Z] "selinux-enabled": true, [2023-02-15T18:42:45.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:42:45.123Z] } [Pipeline] sh [2023-02-15T18:42:45.463Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:42:45.812Z] + sudo service docker restart [2023-02-15T18:42:53.374Z] main: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:42:53.414Z] ===================================================== [Pipeline] echo [2023-02-15T18:42:53.420Z] taggedImages: [2023-02-15T18:42:53.420Z] - nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:42:53.420Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-15T18:42:53.420Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 [2023-02-15T18:42:53.420Z] - nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:42:53.420Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:53.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:42:53.802Z] [2023-02-15T18:42:53.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:54.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:42:54.101Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:42:54.101Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:42:54.101Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:42:54.101Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:42:54.101Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:42:54.101Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:42:54.101Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:42:54.101Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:42:54.101Z] 33b1e0a273af: Waiting [2023-02-15T18:42:54.101Z] 2f39f015ded8: Waiting [2023-02-15T18:42:54.101Z] 5d3b04190fa2: Waiting [2023-02-15T18:42:54.101Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:42:54.101Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T18:42:54.101Z] 5c69ac0246d0: Download complete [2023-02-15T18:42:54.101Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:42:54.101Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:42:54.367Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:42:54.367Z] 33b1e0a273af: Download complete [2023-02-15T18:42:54.367Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T18:42:54.367Z] 5d3b04190fa2: Download complete [2023-02-15T18:42:54.367Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:42:54.367Z] ec43610c2a17: Download complete [2023-02-15T18:42:54.630Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:42:54.630Z] 5eb5b503b376: Download complete [2023-02-15T18:42:55.205Z] 2f39f015ded8: Verifying Checksum [2023-02-15T18:42:55.205Z] 2f39f015ded8: Download complete [2023-02-15T18:42:55.773Z] 5eb5b503b376: Pull complete [2023-02-15T18:42:55.773Z] 5c69ac0246d0: Pull complete [2023-02-15T18:42:56.341Z] ec43610c2a17: Pull complete [2023-02-15T18:42:56.341Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:42:56.341Z] 33b1e0a273af: Pull complete [2023-02-15T18:42:56.599Z] 5d3b04190fa2: Pull complete [2023-02-15T18:43:00.782Z] 2f39f015ded8: Pull complete [2023-02-15T18:43:00.782Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:43:00.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:00.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:00.855Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:43:00.887Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:43:07.077Z] $ docker top 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-02-15T18:43:07.236Z] provisioning config files... [2023-02-15T18:43:07.273Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/82@tmp/config218906688667645009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:43:07.487Z] ---> job-cost.sh [2023-02-15T18:43:07.488Z] lf-activate-venv: SKIPPING [2023-02-15T18:43:07.488Z] INFO: No Stack... [2023-02-15T18:43:07.643Z] ---> docker-login.sh [2023-02-15T18:43:07.643Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:43:07.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:43:08.032Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:43:08.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:08.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:08.235Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:08.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:08.235Z] [2023-02-15T18:43:08.235Z] Login Succeeded [2023-02-15T18:43:08.235Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:43:08.325Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-02-15T18:43:08.325Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:43:08.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [2023-02-15T18:43:08.347Z] Resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] did not exist. Created. [2023-02-15T18:43:08.347Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:43:08.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:08.650Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:43:08.681Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:43:08.690Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:43:08.708Z] $ docker stop --time=1 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 [2023-02-15T18:43:08.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:08.777Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:08.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:08.777Z] [2023-02-15T18:43:08.777Z] Login Succeeded [2023-02-15T18:43:08.777Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:43:09.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:09.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:09.056Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:09.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:09.056Z] [2023-02-15T18:43:09.056Z] Login Succeeded [2023-02-15T18:43:09.056Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:43:09.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:09.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:09.329Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:09.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:09.329Z] [2023-02-15T18:43:09.329Z] Login Succeeded [2023-02-15T18:43:09.329Z] docker.io [2023-02-15T18:43:09.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:09.849Z] $ docker rm -f --volumes 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:43:10.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:10.193Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:10.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:10.193Z] [2023-02-15T18:43:10.193Z] Login Succeeded [2023-02-15T18:43:10.193Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:43:10.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:43:10.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:43:10.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:43:10.569Z] ========================================================= [2023-02-15T18:43:10.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:43:10.569Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:10.937Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:43:10.937Z] Sending build context to Docker daemon 139.8kB [2023-02-15T18:43:11.210Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:43:11.210Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:43:11.486Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:43:11.486Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:43:11.486Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:43:11.486Z] e16973657156: Pulling fs layer [2023-02-15T18:43:11.486Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:43:11.486Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:43:11.486Z] dda99020689f: Pulling fs layer [2023-02-15T18:43:11.486Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:43:11.486Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:43:11.486Z] fc693d55d65f: Waiting [2023-02-15T18:43:11.486Z] 7e9fc2657dce: Waiting [2023-02-15T18:43:11.486Z] dda99020689f: Waiting [2023-02-15T18:43:11.486Z] db1c61fa0a46: Waiting [2023-02-15T18:43:11.486Z] 891c053d2c06: Waiting [2023-02-15T18:43:11.486Z] e16973657156: Download complete [2023-02-15T18:43:11.486Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:43:11.486Z] 9b18e9b68314: Download complete [2023-02-15T18:43:11.770Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:43:11.770Z] 7e9fc2657dce: Download complete [2023-02-15T18:43:11.770Z] dda99020689f: Verifying Checksum [2023-02-15T18:43:11.770Z] dda99020689f: Download complete [2023-02-15T18:43:11.770Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:43:11.770Z] 35d82f9e3411: Download complete [2023-02-15T18:43:12.755Z] 9b18e9b68314: Pull complete [2023-02-15T18:43:13.349Z] 35d82f9e3411: Pull complete [2023-02-15T18:43:13.349Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:43:13.349Z] 891c053d2c06: Download complete [2023-02-15T18:43:13.958Z] e16973657156: Pull complete [2023-02-15T18:43:14.562Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:43:14.562Z] db1c61fa0a46: Download complete [2023-02-15T18:43:15.151Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:43:15.151Z] fc693d55d65f: Download complete [2023-02-15T18:43:27.487Z] fc693d55d65f: Pull complete [2023-02-15T18:43:27.487Z] 7e9fc2657dce: Pull complete [2023-02-15T18:43:27.758Z] dda99020689f: Pull complete [2023-02-15T18:43:36.036Z] db1c61fa0a46: Pull complete [2023-02-15T18:43:37.457Z] 891c053d2c06: Pull complete [2023-02-15T18:43:37.457Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:43:37.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:43:37.457Z] ---> f96f9c87975a [2023-02-15T18:43:37.457Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:43:38.876Z] ---> Running in 5c4fb9034a01 [2023-02-15T18:43:38.876Z] Removing intermediate container 5c4fb9034a01 [2023-02-15T18:43:38.876Z] ---> a18e7cbfa2fb [2023-02-15T18:43:38.876Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:43:39.145Z] ---> Running in d42ab5c66fc4 [2023-02-15T18:43:39.413Z] Removing intermediate container d42ab5c66fc4 [2023-02-15T18:43:39.413Z] ---> bb31f4364237 [2023-02-15T18:43:39.413Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:43:39.413Z] ---> Running in 0573515ffbea [2023-02-15T18:43:39.681Z] Removing intermediate container 0573515ffbea [2023-02-15T18:43:39.681Z] ---> def66a91154d [2023-02-15T18:43:39.681Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:43:39.948Z] ---> Running in c9998c633055 [2023-02-15T18:43:40.220Z] Removing intermediate container c9998c633055 [2023-02-15T18:43:40.220Z] ---> b25c1f94f5bc [2023-02-15T18:43:40.220Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:43:40.220Z] ---> Running in dff9d1f6f9ab [2023-02-15T18:43:41.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:43:41.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:43:43.051Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:43:43.051Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:43:43.051Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:43:43.051Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:43:43.051Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:43:43.051Z] OK: 226 MiB in 55 packages [2023-02-15T18:43:44.081Z] Removing intermediate container dff9d1f6f9ab [2023-02-15T18:43:44.081Z] ---> 1585e3729eac [2023-02-15T18:43:44.081Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:43:44.374Z] ---> Running in 35bbbf3165b1 [2023-02-15T18:43:44.656Z] Removing intermediate container 35bbbf3165b1 [2023-02-15T18:43:44.656Z] ---> 9e79c632a049 [2023-02-15T18:43:44.656Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:43:45.245Z] ---> 15a72b1ca845 [2023-02-15T18:43:45.245Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:43:45.245Z] ---> Running in 4e47713507e8 [2023-02-15T18:45:06.947Z] Removing intermediate container 4e47713507e8 [2023-02-15T18:45:06.947Z] ---> bc7e451ba926 [2023-02-15T18:45:06.947Z] Step 11/12 : COPY . . [2023-02-15T18:45:06.947Z] ---> 255362fd430a [2023-02-15T18:45:06.947Z] Step 12/12 : RUN $MAKE [2023-02-15T18:45:06.947Z] ---> Running in 0ecc6eaa1422 [2023-02-15T18:45:06.947Z] noop [2023-02-15T18:45:06.947Z] Removing intermediate container 0ecc6eaa1422 [2023-02-15T18:45:06.947Z] ---> 537576df2c99 [2023-02-15T18:45:06.947Z] Successfully built 537576df2c99 [2023-02-15T18:45:06.947Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:07.299Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:45:07.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:45:07.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container [2023-02-15T18:45:07.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@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 ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:45:08.745Z] $ docker top 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:45:09.567Z] + go version [2023-02-15T18:45:09.567Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:45:09.594Z] $ docker stop --time=1 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 [2023-02-15T18:45:11.320Z] $ docker rm -f --volumes 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:11.947Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:45:11.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:45:12.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container [2023-02-15T18:45:12.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@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 ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:45:13.798Z] $ docker top ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:45:14.712Z] + git config --global --add safe.directory /w/workspace/device-rest-go/82 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:45:15.404Z] + make test [2023-02-15T18:45:15.404Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:45:17.361Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:46:54.125Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T18:46:55.583Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 33.9% of statements [2023-02-15T18:46:56.185Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:46:56.185Z] go vet ./... [2023-02-15T18:47:35.184Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:47:35.184Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:47:35.184Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:47:35.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:47:35.225Z] $ docker stop --time=1 ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 [2023-02-15T18:47:37.253Z] $ docker rm -f --volumes ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:47:38.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:47:38.422Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:47:39.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:47:39.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:47:39.765Z] + ls -al . [2023-02-15T18:47:39.765Z] total 184 [2023-02-15T18:47:39.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:45 . [2023-02-15T18:47:39.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:42 .. [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:42 .dockerignore [2023-02-15T18:47:39.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:42 .git [2023-02-15T18:47:39.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:42 .github [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:42 .gitignore [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:42 .golangci.yml [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:42 Attribution.txt [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:42 CHANGELOG.md [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:42 Dockerfile [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:42 GOVERNANCE.md [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:42 Jenkinsfile [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:42 LICENSE [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:42 Makefile [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:42 OWNERS.md [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:42 README.md [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:40 VERSION [2023-02-15T18:47:39.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:42 bin [2023-02-15T18:47:39.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:42 cmd [2023-02-15T18:47:39.765Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:46 coverage.out [2023-02-15T18:47:39.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:42 driver [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:42 go.mod [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:42 go.sum [2023-02-15T18:47:39.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:42 snap [2023-02-15T18:47:39.765Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:47:40.115Z] + 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=7f746f51e1ef244c01c4206344cb741c614a79d6 --label arch=arm64 --label version=3.0.0-dev.10 . [2023-02-15T18:47:40.115Z] Sending build context to Docker daemon 154.1kB [2023-02-15T18:47:40.385Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:47:40.385Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:47:40.385Z] ---> 537576df2c99 [2023-02-15T18:47:40.385Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:47:40.655Z] ---> Running in 52bbc5999f23 [2023-02-15T18:47:40.925Z] Removing intermediate container 52bbc5999f23 [2023-02-15T18:47:40.925Z] ---> cfcf4fa2e9aa [2023-02-15T18:47:40.925Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:47:40.925Z] ---> Running in 9b6d3670a532 [2023-02-15T18:47:41.199Z] Removing intermediate container 9b6d3670a532 [2023-02-15T18:47:41.199Z] ---> 9109d6c7e612 [2023-02-15T18:47:41.199Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:47:41.474Z] ---> Running in dc4bbfcab083 [2023-02-15T18:47:41.744Z] Removing intermediate container dc4bbfcab083 [2023-02-15T18:47:41.744Z] ---> 97a1f0da4f71 [2023-02-15T18:47:41.744Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:47:41.744Z] ---> Running in 7cc78aafd1bc [2023-02-15T18:47:42.335Z] Removing intermediate container 7cc78aafd1bc [2023-02-15T18:47:42.335Z] ---> 0c9b554cc0fb [2023-02-15T18:47:42.335Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:47:42.335Z] ---> Running in cdfdfc101635 [2023-02-15T18:47:43.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:47:43.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:47:45.330Z] OK: 226 MiB in 55 packages [2023-02-15T18:47:46.304Z] Removing intermediate container cdfdfc101635 [2023-02-15T18:47:46.304Z] ---> 5d568c2886ee [2023-02-15T18:47:46.304Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T18:47:46.304Z] ---> Running in b3eb5aff611a [2023-02-15T18:47:46.576Z] Removing intermediate container b3eb5aff611a [2023-02-15T18:47:46.576Z] ---> 535583853a1f [2023-02-15T18:47:46.576Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T18:47:47.167Z] ---> 73237301bd90 [2023-02-15T18:47:47.167Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:47:47.167Z] ---> Running in ed9fccfac1d7 [2023-02-15T18:47:50.531Z] Removing intermediate container ed9fccfac1d7 [2023-02-15T18:47:50.531Z] ---> 99cf375c8699 [2023-02-15T18:47:50.531Z] Step 11/25 : COPY . . [2023-02-15T18:47:50.804Z] ---> ad221eb6bb90 [2023-02-15T18:47:50.804Z] Step 12/25 : RUN $MAKE [2023-02-15T18:47:50.804Z] ---> Running in 1078fefa2654 [2023-02-15T18:47:52.234Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T18:50:44.117Z] Removing intermediate container 1078fefa2654 [2023-02-15T18:50:44.117Z] ---> 3c6b8bcfe50c [2023-02-15T18:50:44.117Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:50:44.117Z] 3.16: Pulling from library/alpine [2023-02-15T18:50:44.117Z] 3760b48202b3: Pulling fs layer [2023-02-15T18:50:44.117Z] 3760b48202b3: Verifying Checksum [2023-02-15T18:50:44.117Z] 3760b48202b3: Download complete [2023-02-15T18:50:44.117Z] 3760b48202b3: Pull complete [2023-02-15T18:50:44.117Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:50:44.117Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:50:44.117Z] ---> 4c81e5bf8899 [2023-02-15T18:50:44.117Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:50:44.117Z] ---> Running in f70ee920ea0d [2023-02-15T18:50:44.117Z] Removing intermediate container f70ee920ea0d [2023-02-15T18:50:44.117Z] ---> 6cdbfa1c8617 [2023-02-15T18:50:44.117Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T18:50:44.117Z] ---> Running in b13f2fb9ae42 [2023-02-15T18:50:44.117Z] Removing intermediate container b13f2fb9ae42 [2023-02-15T18:50:44.117Z] ---> b1bfee61befc [2023-02-15T18:50:44.117Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:50:44.117Z] ---> Running in 85a1c9035a1a [2023-02-15T18:50:44.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:50:44.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:50:44.117Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:50:44.117Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:50:44.117Z] OK: 5 MiB in 15 packages [2023-02-15T18:50:44.117Z] Removing intermediate container 85a1c9035a1a [2023-02-15T18:50:44.117Z] ---> fb23f9de1c0f [2023-02-15T18:50:44.117Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T18:50:44.117Z] ---> 6eb5c10418fd [2023-02-15T18:50:44.117Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T18:50:44.117Z] ---> 97b618ef8df5 [2023-02-15T18:50:44.117Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T18:50:44.117Z] ---> 529d599a32ae [2023-02-15T18:50:44.117Z] Step 20/25 : EXPOSE 59986 [2023-02-15T18:50:44.117Z] ---> Running in a548546e3bab [2023-02-15T18:50:44.117Z] Removing intermediate container a548546e3bab [2023-02-15T18:50:44.117Z] ---> ddae9863ab20 [2023-02-15T18:50:44.117Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T18:50:44.117Z] ---> Running in 4a7d85e4811b [2023-02-15T18:50:44.117Z] Removing intermediate container 4a7d85e4811b [2023-02-15T18:50:44.117Z] ---> bf70b8e5c3fb [2023-02-15T18:50:44.117Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T18:50:44.117Z] ---> Running in 3d5655279fc1 [2023-02-15T18:50:44.117Z] Removing intermediate container 3d5655279fc1 [2023-02-15T18:50:44.117Z] ---> 0bbb50667bb4 [2023-02-15T18:50:44.117Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T18:50:44.117Z] ---> Running in 199b5ecceaf7 [2023-02-15T18:50:44.117Z] Removing intermediate container 199b5ecceaf7 [2023-02-15T18:50:44.117Z] ---> 7b001a209367 [2023-02-15T18:50:44.117Z] Step 24/25 : LABEL git_sha=7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:50:44.117Z] ---> Running in 5549bbd75623 [2023-02-15T18:50:44.117Z] Removing intermediate container 5549bbd75623 [2023-02-15T18:50:44.117Z] ---> 1e3c754ca3eb [2023-02-15T18:50:44.117Z] Step 25/25 : LABEL version=3.0.0-dev.10 [2023-02-15T18:50:44.117Z] ---> Running in 6bd56d1a5869 [2023-02-15T18:50:44.117Z] Removing intermediate container 6bd56d1a5869 [2023-02-15T18:50:44.117Z] ---> 71566aade1b1 [2023-02-15T18:50:44.117Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:50:44.117Z] Successfully built 71566aade1b1 [2023-02-15T18:50:44.117Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:50:44.231Z] provisioning config files... [2023-02-15T18:50:44.250Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/82@tmp/config12490246523236708711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:44.600Z] ---> docker-login.sh [2023-02-15T18:50:44.600Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:50:44.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:50:44.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:50:44.870Z] Configure a credential helper to remove this warning. See [2023-02-15T18:50:44.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:50:44.870Z] [2023-02-15T18:50:44.870Z] Login Succeeded [2023-02-15T18:50:44.870Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:50:45.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:50:45.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:50:45.428Z] Configure a credential helper to remove this warning. See [2023-02-15T18:50:45.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:50:45.428Z] [2023-02-15T18:50:45.428Z] Login Succeeded [2023-02-15T18:50:45.428Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:50:45.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:50:45.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:50:45.966Z] Configure a credential helper to remove this warning. See [2023-02-15T18:50:45.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:50:45.966Z] [2023-02-15T18:50:45.966Z] Login Succeeded [2023-02-15T18:50:45.966Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:50:46.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:50:46.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:50:46.239Z] Configure a credential helper to remove this warning. See [2023-02-15T18:50:46.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:50:46.239Z] [2023-02-15T18:50:46.239Z] Login Succeeded [2023-02-15T18:50:46.239Z] docker.io [2023-02-15T18:50:46.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:50:46.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:50:46.828Z] Configure a credential helper to remove this warning. See [2023-02-15T18:50:46.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:50:46.828Z] [2023-02-15T18:50:46.828Z] Login Succeeded [2023-02-15T18:50:47.098Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:50:47.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:50:47.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:50:47.157Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-02-15T18:50:47.157Z] 7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:50:47.157Z] latest [2023-02-15T18:50:47.157Z] 3.0.0-dev.10 [2023-02-15T18:50:47.157Z] 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:50:47.157Z] main [2023-02-15T18:50:47.157Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:47.512Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:47.876Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:50:47.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T18:50:47.876Z] 2c3ae247e406: Preparing [2023-02-15T18:50:47.876Z] eccafac04d98: Preparing [2023-02-15T18:50:47.876Z] dbb659d2fb90: Preparing [2023-02-15T18:50:47.876Z] 4a97aa476a0f: Preparing [2023-02-15T18:50:47.876Z] f70ee36035b9: Preparing [2023-02-15T18:50:47.876Z] f70ee36035b9: Layer already exists [2023-02-15T18:50:48.158Z] eccafac04d98: Pushed [2023-02-15T18:50:48.158Z] 4a97aa476a0f: Pushed [2023-02-15T18:50:48.158Z] 2c3ae247e406: Pushed [2023-02-15T18:50:54.836Z] dbb659d2fb90: Pushed [2023-02-15T18:50:54.836Z] 7f746f51e1ef244c01c4206344cb741c614a79d6: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:55.212Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:55.576Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-15T18:50:55.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T18:50:55.576Z] 2c3ae247e406: Preparing [2023-02-15T18:50:55.576Z] eccafac04d98: Preparing [2023-02-15T18:50:55.576Z] dbb659d2fb90: Preparing [2023-02-15T18:50:55.576Z] 4a97aa476a0f: Preparing [2023-02-15T18:50:55.576Z] f70ee36035b9: Preparing [2023-02-15T18:50:55.576Z] 2c3ae247e406: Layer already exists [2023-02-15T18:50:55.576Z] f70ee36035b9: Layer already exists [2023-02-15T18:50:55.576Z] 4a97aa476a0f: Layer already exists [2023-02-15T18:50:55.576Z] dbb659d2fb90: Layer already exists [2023-02-15T18:50:55.576Z] eccafac04d98: Layer already exists [2023-02-15T18:50:55.846Z] latest: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:56.211Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:56.583Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 [2023-02-15T18:50:56.583Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T18:50:56.583Z] 2c3ae247e406: Preparing [2023-02-15T18:50:56.583Z] eccafac04d98: Preparing [2023-02-15T18:50:56.583Z] dbb659d2fb90: Preparing [2023-02-15T18:50:56.583Z] 4a97aa476a0f: Preparing [2023-02-15T18:50:56.583Z] f70ee36035b9: Preparing [2023-02-15T18:50:56.583Z] f70ee36035b9: Layer already exists [2023-02-15T18:50:56.583Z] eccafac04d98: Layer already exists [2023-02-15T18:50:56.583Z] 4a97aa476a0f: Layer already exists [2023-02-15T18:50:56.583Z] dbb659d2fb90: Layer already exists [2023-02-15T18:50:56.583Z] 2c3ae247e406: Layer already exists [2023-02-15T18:50:56.854Z] 3.0.0-dev.10: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:57.229Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:57.583Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:50:57.583Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T18:50:57.583Z] 2c3ae247e406: Preparing [2023-02-15T18:50:57.583Z] eccafac04d98: Preparing [2023-02-15T18:50:57.583Z] dbb659d2fb90: Preparing [2023-02-15T18:50:57.583Z] 4a97aa476a0f: Preparing [2023-02-15T18:50:57.583Z] f70ee36035b9: Preparing [2023-02-15T18:50:57.583Z] eccafac04d98: Layer already exists [2023-02-15T18:50:57.583Z] 2c3ae247e406: Layer already exists [2023-02-15T18:50:57.583Z] 4a97aa476a0f: Layer already exists [2023-02-15T18:50:57.583Z] dbb659d2fb90: Layer already exists [2023-02-15T18:50:57.583Z] f70ee36035b9: Layer already exists [2023-02-15T18:50:57.853Z] 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:58.255Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:58.650Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-02-15T18:50:58.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T18:50:58.650Z] 2c3ae247e406: Preparing [2023-02-15T18:50:58.650Z] eccafac04d98: Preparing [2023-02-15T18:50:58.650Z] dbb659d2fb90: Preparing [2023-02-15T18:50:58.650Z] 4a97aa476a0f: Preparing [2023-02-15T18:50:58.650Z] f70ee36035b9: Preparing [2023-02-15T18:50:58.650Z] 4a97aa476a0f: Layer already exists [2023-02-15T18:50:58.650Z] dbb659d2fb90: Layer already exists [2023-02-15T18:50:58.650Z] eccafac04d98: Layer already exists [2023-02-15T18:50:58.650Z] 2c3ae247e406: Layer already exists [2023-02-15T18:50:58.650Z] f70ee36035b9: Layer already exists [2023-02-15T18:50:58.933Z] main: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:50:58.978Z] ===================================================== [Pipeline] echo [2023-02-15T18:50:58.984Z] taggedImages: [2023-02-15T18:50:58.984Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 [2023-02-15T18:50:58.984Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-15T18:50:58.984Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 [2023-02-15T18:50:58.984Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [2023-02-15T18:50:58.984Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:59.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:50:59.383Z] [2023-02-15T18:50:59.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:59.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:51:00.049Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:51:00.049Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:51:00.049Z] 04944245beec: Pulling fs layer [2023-02-15T18:51:00.049Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:51:00.049Z] 765212b225bb: Pulling fs layer [2023-02-15T18:51:00.049Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:51:00.049Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:51:00.049Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:51:00.049Z] 765212b225bb: Waiting [2023-02-15T18:51:00.049Z] f23df028b6ca: Waiting [2023-02-15T18:51:00.049Z] d65c8cfc05b1: Waiting [2023-02-15T18:51:00.049Z] 2437ff75d9bd: Waiting [2023-02-15T18:51:00.049Z] 04944245beec: Verifying Checksum [2023-02-15T18:51:00.049Z] 04944245beec: Download complete [2023-02-15T18:51:00.049Z] 765212b225bb: Verifying Checksum [2023-02-15T18:51:00.049Z] 765212b225bb: Download complete [2023-02-15T18:51:00.330Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:51:00.330Z] f23df028b6ca: Download complete [2023-02-15T18:51:00.330Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:51:00.330Z] d65c8cfc05b1: Download complete [2023-02-15T18:51:00.330Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:51:00.330Z] 699f458cf7ca: Download complete [2023-02-15T18:51:00.927Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:51:00.927Z] 8998bd30e6a1: Download complete [2023-02-15T18:51:03.530Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:51:03.530Z] 2437ff75d9bd: Download complete [2023-02-15T18:51:05.493Z] 8998bd30e6a1: Pull complete [2023-02-15T18:51:05.769Z] 04944245beec: Pull complete [2023-02-15T18:51:07.183Z] 699f458cf7ca: Pull complete [2023-02-15T18:51:07.455Z] 765212b225bb: Pull complete [2023-02-15T18:51:08.419Z] f23df028b6ca: Pull complete [2023-02-15T18:51:08.419Z] d65c8cfc05b1: Pull complete [2023-02-15T18:51:26.682Z] 2437ff75d9bd: Pull complete [2023-02-15T18:51:26.682Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:51:26.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:51:26.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:51:26.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container [2023-02-15T18:51:27.018Z] $ 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/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:51:30.909Z] $ docker top 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:51:31.844Z] ---> job-cost.sh [2023-02-15T18:51:31.844Z] lf-activate-venv: SKIPPING [2023-02-15T18:51:31.844Z] INFO: No Stack... [2023-02-15T18:51:32.436Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:51:33.025Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:51:33.941Z] + cat /w/workspace/device-rest-go/82/archives/cost.csv [2023-02-15T18:51:33.941Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:51:34.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [2023-02-15T18:51:34.031Z] Resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] did not exist. Created. [2023-02-15T18:51:34.031Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:51:34.704Z] /w/workspace/device-rest-go/82@tmp/durable-4787dc1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:51:35.394Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:51:35.419Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:51:35.475Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:51:35.481Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:51:35.501Z] $ docker stop --time=1 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 [2023-02-15T18:51:37.097Z] $ docker rm -f --volumes 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 [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 [2023-02-15T18:51:37.513Z] provisioning config files... [2023-02-15T18:51:37.519Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17362554042701607554tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:51:37.809Z] + set +x [2023-02-15T18:51:37.809Z] + curl -s https://codecov.io/bash [2023-02-15T18:51:37.809Z] + bash -s -- [2023-02-15T18:51:37.809Z] [2023-02-15T18:51:37.809Z] _____ _ [2023-02-15T18:51:37.809Z] / ____| | | [2023-02-15T18:51:37.809Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:51:37.809Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:51:37.809Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:51:37.809Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:51:37.809Z] Bash-1.0.6 [2023-02-15T18:51:37.809Z] [2023-02-15T18:51:37.809Z] [2023-02-15T18:51:37.809Z] ==> git version 2.25.1 found [2023-02-15T18:51:37.809Z] ==> 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 [2023-02-15T18:51:37.809Z] Release-Date: 2020-01-08 [2023-02-15T18:51:37.809Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T18:51:37.809Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:51:37.809Z] ==> Jenkins CI detected. [2023-02-15T18:51:37.809Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-02-15T18:51:37.809Z] project root: . [2023-02-15T18:51:37.809Z] --> token set from env [2023-02-15T18:51:37.809Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:51:37.809Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:51:37.809Z] ==> Python coveragepy not found [2023-02-15T18:51:37.809Z] ==> Searching for coverage reports in: [2023-02-15T18:51:37.809Z] + . [2023-02-15T18:51:37.809Z] -> Found 1 reports [2023-02-15T18:51:37.809Z] ==> Detecting git/mercurial file structure [2023-02-15T18:51:37.809Z] ==> Reading reports [2023-02-15T18:51:37.809Z] + ./coverage.out bytes=13744 [2023-02-15T18:51:37.809Z] ==> Appending adjustments [2023-02-15T18:51:37.809Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:51:38.069Z] + Found adjustments [2023-02-15T18:51:38.069Z] ==> Gzipping contents [2023-02-15T18:51:38.069Z] 4.0K /tmp/codecov.Ikuer4.gz [2023-02-15T18:51:38.069Z] ==> Uploading reports [2023-02-15T18:51:38.069Z] url: https://codecov.io [2023-02-15T18:51:38.069Z] query: branch=main&commit=7f746f51e1ef244c01c4206344cb741c614a79d6&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T18:51:38.069Z] -> Pinging Codecov [2023-02-15T18:51:38.069Z] 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=7f746f51e1ef244c01c4206344cb741c614a79d6&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T18:51:38.069Z] -> Uploading to [2023-02-15T18:51:38.069Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/7f746f51e1ef244c01c4206344cb741c614a79d6/5d495c00-0dd2-44d4-9346-81b153f937aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84f070df441fbd7eba42ba383f5ada6fdc327fc3e8e552e9890bc6080195cda0 [2023-02-15T18:51:38.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:51:38.069Z] Dload Upload Total Spent Left Speed [2023-02-15T18:51:38.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8453 --:--:-- --:--:-- --:--:-- 8453 [2023-02-15T18:51:38.637Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } [2023-02-15T18:51:38.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-15T18:51:38.833Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-15T18:51:38.842Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:51:39.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:51:39.134Z] [2023-02-15T18:51:39.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:51:39.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:51:39.435Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-15T18:51:39.435Z] df9b9388f04a: Pulling fs layer [2023-02-15T18:51:39.435Z] 52dc419b0ee2: Pulling fs layer [2023-02-15T18:51:39.435Z] 25bc292e5bac: Pulling fs layer [2023-02-15T18:51:39.435Z] 114826534d7a: Pulling fs layer [2023-02-15T18:51:39.435Z] 4657fd5d0bcf: Pulling fs layer [2023-02-15T18:51:39.435Z] 6ad1cebc031e: Pulling fs layer [2023-02-15T18:51:39.435Z] 8a3aa393b2d8: Pulling fs layer [2023-02-15T18:51:39.435Z] 4657fd5d0bcf: Waiting [2023-02-15T18:51:39.435Z] 6ad1cebc031e: Waiting [2023-02-15T18:51:39.435Z] 8a3aa393b2d8: Waiting [2023-02-15T18:51:39.435Z] 114826534d7a: Waiting [2023-02-15T18:51:39.435Z] 25bc292e5bac: Download complete [2023-02-15T18:51:39.435Z] 52dc419b0ee2: Verifying Checksum [2023-02-15T18:51:39.435Z] 52dc419b0ee2: Download complete [2023-02-15T18:51:39.435Z] 4657fd5d0bcf: Verifying Checksum [2023-02-15T18:51:39.435Z] 4657fd5d0bcf: Download complete [2023-02-15T18:51:39.435Z] df9b9388f04a: Verifying Checksum [2023-02-15T18:51:39.435Z] df9b9388f04a: Download complete [2023-02-15T18:51:39.700Z] df9b9388f04a: Pull complete [2023-02-15T18:51:39.700Z] 52dc419b0ee2: Pull complete [2023-02-15T18:51:39.968Z] 25bc292e5bac: Pull complete [2023-02-15T18:51:39.968Z] 6ad1cebc031e: Verifying Checksum [2023-02-15T18:51:39.968Z] 6ad1cebc031e: Download complete [2023-02-15T18:51:40.561Z] 114826534d7a: Verifying Checksum [2023-02-15T18:51:40.561Z] 114826534d7a: Download complete [2023-02-15T18:51:41.124Z] 8a3aa393b2d8: Download complete [2023-02-15T18:51:44.405Z] 114826534d7a: Pull complete [2023-02-15T18:51:44.405Z] 4657fd5d0bcf: Pull complete [2023-02-15T18:51:44.405Z] 6ad1cebc031e: Pull complete [2023-02-15T18:51:46.934Z] 8a3aa393b2d8: Pull complete [2023-02-15T18:51:46.934Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-15T18:51:46.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:51:46.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:51:47.020Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:51:47.054Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-15T18:51:51.499Z] $ docker top 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-15T18:51:51.559Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-02-15T18:51:51.837Z] + set -o pipefail [2023-02-15T18:51:51.837Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-02-15T18:51:56.023Z] [2023-02-15T18:51:56.023Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-02-15T18:51:56.023Z] [2023-02-15T18:51:56.023Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/3bfb56e8-0f79-4969-bd63-91a9ce519075 [2023-02-15T18:51:56.023Z] [2023-02-15T18:51:56.023Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-15T18:51:56.023Z] [2023-02-15T18:51:56.024Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-15T18:51:56.024Z] [2023-02-15T18:51:56.283Z] [2023-02-15T18:51:56.283Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-15T18:51:56.283Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-15T18:51:56.283Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-15T18:51:56.296Z] $ docker stop --time=1 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 [2023-02-15T18:51:59.900Z] $ docker rm -f --volumes 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 [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 [2023-02-15T18:52:00.546Z] + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] sh [2023-02-15T18:52:00.835Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:52:00.835Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:01.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:52:01.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:52:01.198Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:52:01.230Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:52:01.656Z] $ docker top bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 -eo pid,comm [2023-02-15T18:52:01.711Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:52:01.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:52:01.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:52:01.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:52:01.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:52:01.856Z] $ docker exec bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 ssh-agent [2023-02-15T18:52:01.958Z] SSH_AUTH_SOCK=/tmp/ssh-9AcEyd1ruQk5/agent.33 [2023-02-15T18:52:01.958Z] SSH_AGENT_PID=39 [2023-02-15T18:52:01.962Z] Running ssh-add (command line suppressed) [2023-02-15T18:52:02.086Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8160087321059753769.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8160087321059753769.key) [2023-02-15T18:52:02.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:52:02.384Z] + git semver tag [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,560 [run_tag] DEBUG tag force:False [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,560 [check_head_tag] DEBUG check head tag [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,561 [execute] INFO git cat-file --batch-check [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,565 [execute] INFO git cat-file --batch [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,582 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,582 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:52:02.643Z] 2023-02-15 18:52:02,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:02.643Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T18:52:02.653Z] $ docker exec --env ******** --env ******** bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 ssh-agent -k [2023-02-15T18:52:02.757Z] unset SSH_AUTH_SOCK; [2023-02-15T18:52:02.757Z] unset SSH_AGENT_PID; [2023-02-15T18:52:02.758Z] echo Agent pid 39 killed; [2023-02-15T18:52:02.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:52:03.070Z] + git semver [Pipeline] } [2023-02-15T18:52:03.343Z] $ docker stop --time=1 bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 [2023-02-15T18:52:04.623Z] $ docker rm -f --volumes bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:04.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:52:04.990Z] [2023-02-15T18:52:04.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:05.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:52:05.288Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-15T18:52:05.288Z] ab5ef0e58194: Pulling fs layer [2023-02-15T18:52:05.288Z] 9712f1f96733: Pulling fs layer [2023-02-15T18:52:05.288Z] 63f879dbbcfc: Pulling fs layer [2023-02-15T18:52:05.288Z] 0d9ebad4ef96: Pulling fs layer [2023-02-15T18:52:05.288Z] e9a5061849ea: Pulling fs layer [2023-02-15T18:52:05.289Z] d747dcd14b5f: Pulling fs layer [2023-02-15T18:52:05.289Z] 2de7ff778b66: Pulling fs layer [2023-02-15T18:52:05.289Z] e9a5061849ea: Waiting [2023-02-15T18:52:05.289Z] d747dcd14b5f: Waiting [2023-02-15T18:52:05.289Z] 2de7ff778b66: Waiting [2023-02-15T18:52:05.289Z] 0d9ebad4ef96: Waiting [2023-02-15T18:52:05.289Z] 9712f1f96733: Download complete [2023-02-15T18:52:06.286Z] 63f879dbbcfc: Verifying Checksum [2023-02-15T18:52:06.286Z] 63f879dbbcfc: Download complete [2023-02-15T18:52:06.557Z] ab5ef0e58194: Verifying Checksum [2023-02-15T18:52:06.557Z] ab5ef0e58194: Download complete [2023-02-15T18:52:06.557Z] d747dcd14b5f: Verifying Checksum [2023-02-15T18:52:06.557Z] d747dcd14b5f: Download complete [2023-02-15T18:52:06.557Z] e9a5061849ea: Verifying Checksum [2023-02-15T18:52:06.557Z] e9a5061849ea: Download complete [2023-02-15T18:52:06.557Z] 0d9ebad4ef96: Verifying Checksum [2023-02-15T18:52:06.557Z] 0d9ebad4ef96: Download complete [2023-02-15T18:52:06.818Z] 2de7ff778b66: Verifying Checksum [2023-02-15T18:52:06.818Z] 2de7ff778b66: Download complete [2023-02-15T18:52:09.345Z] ab5ef0e58194: Pull complete [2023-02-15T18:52:09.345Z] 9712f1f96733: Pull complete [2023-02-15T18:52:09.604Z] 63f879dbbcfc: Pull complete [2023-02-15T18:52:12.885Z] 0d9ebad4ef96: Pull complete [2023-02-15T18:52:13.144Z] e9a5061849ea: Pull complete [2023-02-15T18:52:13.401Z] d747dcd14b5f: Pull complete [2023-02-15T18:52:14.333Z] 2de7ff778b66: Pull complete [2023-02-15T18:52:14.333Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-15T18:52:14.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:52:14.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:52:14.405Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:52:14.437Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-15T18:52:20.018Z] $ docker top 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:52:20.082Z] provisioning config files... [2023-02-15T18:52:20.088Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15279910881845775166tmp [2023-02-15T18:52:20.096Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18004488460770312616tmp [2023-02-15T18:52:20.104Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6882978146066426006tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:52:20.118Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:20.400Z] ---> sigul-configuration.sh [2023-02-15T18:52:20.400Z] gpg: directory `/root/.gnupg' created [2023-02-15T18:52:20.400Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-15T18:52:20.400Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-15T18:52:20.400Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-15T18:52:20.400Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-15T18:52:20.400Z] gpg: CAST5 encrypted data [2023-02-15T18:52:20.400Z] gpg: encrypted with 1 passphrase [2023-02-15T18:52:20.400Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-15T18:52:20.686Z] + mkdir /home/jenkins [2023-02-15T18:52:20.686Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-15T18:52:20.970Z] + 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 [2023-02-15T18:52:20.978Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:21.259Z] ---> sigul-install.sh [2023-02-15T18:52:21.259Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-15T18:52:21.544Z] + git tag --list [2023-02-15T18:52:21.544Z] v1.0.0 [2023-02-15T18:52:21.544Z] v1.1.0 [2023-02-15T18:52:21.544Z] v1.1.1 [2023-02-15T18:52:21.544Z] v1.1.2 [2023-02-15T18:52:21.544Z] v1.2.0 [2023-02-15T18:52:21.544Z] v1.2.1 [2023-02-15T18:52:21.544Z] v2.0.0 [2023-02-15T18:52:21.544Z] v2.1.0 [2023-02-15T18:52:21.544Z] v2.1.1 [2023-02-15T18:52:21.544Z] v2.1.1-dev.1 [2023-02-15T18:52:21.544Z] v2.1.1-dev.2 [2023-02-15T18:52:21.544Z] v2.1.1-dev.3 [2023-02-15T18:52:21.544Z] v2.2.0 [2023-02-15T18:52:21.544Z] v2.2.1-dev.1 [2023-02-15T18:52:21.544Z] v2.2.1-dev.2 [2023-02-15T18:52:21.544Z] v2.2.1-dev.3 [2023-02-15T18:52:21.544Z] v2.2.1-dev.4 [2023-02-15T18:52:21.544Z] v2.2.1-dev.5 [2023-02-15T18:52:21.544Z] v2.2.1-dev.6 [2023-02-15T18:52:21.544Z] v2.2.1-dev.7 [2023-02-15T18:52:21.544Z] v2.2.1-dev.8 [2023-02-15T18:52:21.544Z] v2.2.1-dev.9 [2023-02-15T18:52:21.544Z] v2.3.0 [2023-02-15T18:52:21.544Z] v2.3.0-dev.10 [2023-02-15T18:52:21.544Z] v2.3.0-dev.11 [2023-02-15T18:52:21.544Z] v2.3.0-dev.12 [2023-02-15T18:52:21.544Z] v2.3.0-dev.13 [2023-02-15T18:52:21.544Z] v2.3.0-dev.14 [2023-02-15T18:52:21.544Z] v2.3.0-dev.15 [2023-02-15T18:52:21.544Z] v2.3.0-dev.16 [2023-02-15T18:52:21.544Z] v2.3.0-dev.17 [2023-02-15T18:52:21.544Z] v2.3.0-dev.18 [2023-02-15T18:52:21.544Z] v2.3.0-dev.19 [2023-02-15T18:52:21.544Z] v2.3.0-dev.20 [2023-02-15T18:52:21.544Z] v2.3.0-dev.21 [2023-02-15T18:52:21.544Z] v2.3.0-dev.22 [2023-02-15T18:52:21.544Z] v2.3.0-dev.23 [2023-02-15T18:52:21.544Z] v2.3.0-dev.24 [2023-02-15T18:52:21.544Z] v2.3.0-dev.25 [2023-02-15T18:52:21.544Z] v2.3.0-dev.9 [2023-02-15T18:52:21.544Z] v3.0.0-dev.1 [2023-02-15T18:52:21.544Z] v3.0.0-dev.10 [2023-02-15T18:52:21.544Z] v3.0.0-dev.2 [2023-02-15T18:52:21.544Z] v3.0.0-dev.3 [2023-02-15T18:52:21.544Z] v3.0.0-dev.4 [2023-02-15T18:52:21.544Z] v3.0.0-dev.5 [2023-02-15T18:52:21.544Z] v3.0.0-dev.6 [2023-02-15T18:52:21.544Z] v3.0.0-dev.7 [2023-02-15T18:52:21.544Z] v3.0.0-dev.8 [2023-02-15T18:52:21.544Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-15T18:52:21.830Z] + lftools sign git-tag v3.0.0-dev.10 [2023-02-15T18:52:22.398Z] Signing Git tag with Sigul... [2023-02-15T18:52:22.398Z] Signing v3.0.0-dev.10 [Pipeline] echo [2023-02-15T18:52:22.667Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:22.950Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-15T18:52:22.956Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-15T18:52:22.979Z] $ docker stop --time=1 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a [2023-02-15T18:52:24.286Z] $ docker rm -f --volumes 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-15T18:52:24.692Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:52:24.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:24.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:52:24.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:52:25.065Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:52:25.093Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:52:25.450Z] $ docker top 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 -eo pid,comm [2023-02-15T18:52:25.496Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:52:25.496Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:52:25.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:52:25.538Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:52:25.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:52:25.660Z] $ docker exec 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 ssh-agent [2023-02-15T18:52:25.750Z] SSH_AUTH_SOCK=/tmp/ssh-h8CRU0Rb9Q2y/agent.31 [2023-02-15T18:52:25.750Z] SSH_AGENT_PID=38 [2023-02-15T18:52:25.756Z] Running ssh-add (command line suppressed) [2023-02-15T18:52:25.869Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5944244456717455566.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5944244456717455566.key) [2023-02-15T18:52:25.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:52:26.166Z] + git semver bump pre [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,342 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,342 [bump_version] DEBUG bumped version:3.0.0-dev.11 [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,342 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,342 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,344 [execute] INFO git cat-file --batch-check [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,350 [execute] INFO git cat-file --batch [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:52:26.425Z] 2023-02-15 18:52:26,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:26.425Z] 3.0.0-dev.11 [Pipeline] } [2023-02-15T18:52:26.435Z] $ docker exec --env ******** --env ******** 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 ssh-agent -k [2023-02-15T18:52:26.532Z] unset SSH_AUTH_SOCK; [2023-02-15T18:52:26.532Z] unset SSH_AGENT_PID; [2023-02-15T18:52:26.532Z] echo Agent pid 38 killed; [2023-02-15T18:52:26.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:52:26.844Z] + git semver [Pipeline] } [2023-02-15T18:52:27.115Z] $ docker stop --time=1 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 [2023-02-15T18:52:28.409Z] $ docker rm -f --volumes 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:52:28.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:52:28.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:29.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:52:29.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:52:29.165Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:52:29.205Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:52:29.566Z] $ docker top 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 -eo pid,comm [2023-02-15T18:52:29.609Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:52:29.609Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:52:29.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:52:29.647Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:52:29.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:52:29.756Z] $ docker exec 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 ssh-agent [2023-02-15T18:52:29.860Z] SSH_AUTH_SOCK=/tmp/ssh-39RSpB74JFMr/agent.32 [2023-02-15T18:52:29.860Z] SSH_AGENT_PID=38 [2023-02-15T18:52:29.865Z] Running ssh-add (command line suppressed) [2023-02-15T18:52:29.961Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5699031827406940982.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5699031827406940982.key) [2023-02-15T18:52:29.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:52:30.255Z] + git semver push [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,414 [run_push] DEBUG push [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,415 [execute] INFO git cat-file --batch-check [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,418 [execute] INFO git rev-list 154df09e813890ef9be20d77f4b65eff1ca02dad -- [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,419 [execute] DEBUG Popen(['git', 'rev-list', '154df09e813890ef9be20d77f4b65eff1ca02dad', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,426 [execute] INFO git fetch -v origin [2023-02-15T18:52:30.513Z] 2023-02-15 18:52:30,426 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-15T18:52:31.081Z] 2023-02-15 18:52:31,006 [run_push] DEBUG no remote changes detected [2023-02-15T18:52:31.081Z] 2023-02-15 18:52:31,006 [execute] INFO git push origin semver [2023-02-15T18:52:31.081Z] 2023-02-15 18:52:31,007 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:52:32.016Z] 2023-02-15 18:52:31,816 [run_push] DEBUG push all version tags [2023-02-15T18:52:32.016Z] 2023-02-15 18:52:31,816 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-15T18:52:32.016Z] 2023-02-15 18:52:31,817 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:52:32.950Z] 2023-02-15 18:52:32,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T18:52:32.950Z] 3.0.0-dev.11 [Pipeline] } [2023-02-15T18:52:32.962Z] $ docker exec --env ******** --env ******** 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 ssh-agent -k [2023-02-15T18:52:33.053Z] unset SSH_AUTH_SOCK; [2023-02-15T18:52:33.053Z] unset SSH_AGENT_PID; [2023-02-15T18:52:33.053Z] echo Agent pid 38 killed; [2023-02-15T18:52:33.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:52:33.358Z] + git semver [Pipeline] } [2023-02-15T18:52:33.628Z] $ docker stop --time=1 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 [2023-02-15T18:52:34.918Z] $ docker rm -f --volumes 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 [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 [2023-02-15T18:52:35.435Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-02-15T18:52:35.435Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T18:52:35.435Z] total 16 [2023-02-15T18:52:35.435Z] drwxr-xr-x 3 root root 4096 Feb 15 18:43 . [2023-02-15T18:52:35.435Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:52 .. [2023-02-15T18:52:35.435Z] drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost [2023-02-15T18:52:35.435Z] -rw-r--r-- 1 root root 85 Feb 15 18:43 cost.csv [2023-02-15T18:52:35.435Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T18:52:35.435Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T18:52:35.435Z] total 16 [2023-02-15T18:52:35.435Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . [2023-02-15T18:52:35.435Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:52 .. [2023-02-15T18:52:35.435Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost [2023-02-15T18:52:35.435Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:35.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:36.580Z] ---> package-listing.sh [2023-02-15T18:52:36.580Z] ++ facter osfamily [2023-02-15T18:52:36.580Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:52:36.838Z] + OS_FAMILY=debian [2023-02-15T18:52:36.838Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-02-15T18:52:36.838Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:52:36.838Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:52:36.838Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:52:36.838Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:52:36.838Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-15T18:52:36.838Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:52:36.838Z] + case "${OS_FAMILY}" in [2023-02-15T18:52:36.838Z] + dpkg -l [2023-02-15T18:52:36.838Z] + grep '^ii' [2023-02-15T18:52:36.838Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:52:36.838Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:52:36.838Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:52:36.838Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-15T18:52:36.838Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-02-15T18:52:36.838Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-02-15T18:52:36.849Z] 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 [2023-02-15T18:52:37.129Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:52:37.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:52:37.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:52:37.766Z] prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container [2023-02-15T18:52:37.883Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:52:38.114Z] $ docker top c1286f3b877116ca0a45c3349d0c3f1609fb04b8dca3fb264c2e14949efdda43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:52:38.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:52:38.787Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:52:39.068Z] + ls /var/log/sa-host [2023-02-15T18:52:39.068Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:52:39.137Z] provisioning config files... [2023-02-15T18:52:39.145Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15691799107100356251tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:52:39.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:39.440Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:52:39.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:39.760Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:52:39.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:40.049Z] ---> sudo-logs.sh [2023-02-15T18:52:40.049Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:52:40.072Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:40.354Z] ---> job-cost.sh [2023-02-15T18:52:40.354Z] lf-activate-venv: SKIPPING [2023-02-15T18:52:40.354Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:52:40.354Z] INFO: Retrieving Stack Cost... [2023-02-15T18:52:40.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:52:41.181Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:52:41.196Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:52:41.480Z] ---> logs-deploy.sh [2023-02-15T18:52:41.480Z] lf-activate-venv: SKIPPING [2023-02-15T18:52:41.480Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/82 [2023-02-15T18:52:41.480Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:52:42.416Z] Archives upload complete. [2023-02-15T18:52:42.416Z] INFO: archiving logs to Nexus