Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47318dce372b4a1f6fa2293d118d34d1e168baa0 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-ssh17585831917010245312.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh1267842812944191647.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh11117463950584589381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh7009693918011119427.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-ssh8784644798684665500.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.21 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-16291 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 > 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 Avoid second fetch Checking out Revision 47318dce372b4a1f6fa2293d118d34d1e168baa0 (main) Commit message: "docs: [Device REST] Add Swagger file (#360)" > git config core.sparsecheckout # timeout=10 > git checkout -f 47318dce372b4a1f6fa2293d118d34d1e168baa0 # timeout=10 > git rev-list --no-walk 2a4052b0b2f1e637c9c652109488342642a86f02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T21:42:25.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T21:42:25.702Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T21:42:25.723Z] ========================================================= [2023-11-01T21:42:25.723Z] EdgeX Global Pipelines Version Info [2023-11-01T21:42:25.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:42:26.475Z] ------------------- [2023-11-01T21:42:26.475Z] stable info: [2023-11-01T21:42:26.475Z] ------------------- [2023-11-01T21:42:26.475Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T21:42:26.475Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T21:42:26.475Z] Message: update stable to v1.0.255 [2023-11-01T21:42:27.046Z] ------------------- [2023-11-01T21:42:27.046Z] experimental info: [2023-11-01T21:42:27.046Z] ------------------- [2023-11-01T21:42:27.046Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T21:42:27.046Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T21:42:27.046Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T21:42:27.280Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-01T21:42:27.299Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-01T21:42:27.317Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T21:42:27.339Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T21:42:27.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T21:42:27.370Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T21:42:27.386Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T21:42:27.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-01T21:42:27.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T21:42:27.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T21:42:27.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T21:42:27.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-01T21:42:27.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T21:42:27.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T21:42:27.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T21:42:27.548Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T21:42:27.566Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T21:42:27.582Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T21:42:27.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T21:42:27.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T21:42:27.638Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-01T21:42:27.654Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-01T21:42:27.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T21:42:27.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T21:42:27.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T21:42:27.723Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T21:42:27.742Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T21:42:27.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-01T21:42:27.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-01T21:42:27.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-01T21:42:27.818Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] echo [2023-11-01T21:42:27.835Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47318dc [Pipeline] echo [2023-11-01T21:42:27.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:42:27.920Z] provisioning config files... [2023-11-01T21:42:27.933Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6274280128353177010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:42:28.229Z] ---> docker-login.sh [2023-11-01T21:42:28.230Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:42:28.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:28.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:28.490Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:28.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:28.490Z] [2023-11-01T21:42:28.490Z] Login Succeeded [2023-11-01T21:42:28.490Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:42:28.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:28.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:28.750Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:28.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:28.750Z] [2023-11-01T21:42:28.750Z] Login Succeeded [2023-11-01T21:42:28.750Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:42:28.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:28.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:28.751Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:28.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:28.751Z] [2023-11-01T21:42:28.751Z] Login Succeeded [2023-11-01T21:42:28.751Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:42:28.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:29.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:29.013Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:29.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:29.013Z] [2023-11-01T21:42:29.013Z] Login Succeeded [2023-11-01T21:42:29.013Z] docker.io [2023-11-01T21:42:29.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:29.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:29.275Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:29.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:29.275Z] [2023-11-01T21:42:29.275Z] Login Succeeded [2023-11-01T21:42:29.275Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:42:29.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T21:42:29.669Z] + git rev-list -1 --merges 47318dce372b4a1f6fa2293d118d34d1e168baa0~1..47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] echo [2023-11-01T21:42:29.764Z] -----------> git rev-list -1 --merges 47318dce372b4a1f6fa2293d118d34d1e168baa0~1..47318dce372b4a1f6fa2293d118d34d1e168baa0 47318dce372b4a1f6fa2293d118d34d1e168baa0 [false] [Pipeline] sh [2023-11-01T21:42:30.056Z] + git log --format=format:%s -1 47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] echo [2023-11-01T21:42:30.072Z] ========================================================= [2023-11-01T21:42:30.072Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T21:42:30.072Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:42:30.437Z] + git log --format=format:%s -1 47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] echo [2023-11-01T21:42:30.447Z] [semverPrep] GIT_COMMIT: 47318dce372b4a1f6fa2293d118d34d1e168baa0, Commit Message: docs: [Device REST] Add Swagger file (#360) [Pipeline] echo [2023-11-01T21:42:30.463Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T21:42:30.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T21:42:30.863Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T21:42:30.863Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T21:42:30.863Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T21:42:30.863Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T21:42:30.863Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T21:42:30.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:42:31.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:42:31.337Z] [2023-11-01T21:42:31.337Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:42:31.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:42:31.638Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T21:42:31.638Z] b85a868b505f: Pulling fs layer [2023-11-01T21:42:31.638Z] e2be974225ed: Pulling fs layer [2023-11-01T21:42:31.638Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T21:42:31.638Z] 988bab9f4d93: Pulling fs layer [2023-11-01T21:42:31.638Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T21:42:31.638Z] eaf3925da568: Pulling fs layer [2023-11-01T21:42:31.638Z] bab4dde63d76: Pulling fs layer [2023-11-01T21:42:31.638Z] bde34c3a00c8: Pulling fs layer [2023-11-01T21:42:31.638Z] b352a97aabf1: Pulling fs layer [2023-11-01T21:42:31.638Z] 4872d77fe225: Pulling fs layer [2023-11-01T21:42:31.638Z] 5851b861e8e6: Pulling fs layer [2023-11-01T21:42:31.638Z] 988bab9f4d93: Waiting [2023-11-01T21:42:31.638Z] bde34c3a00c8: Waiting [2023-11-01T21:42:31.638Z] b352a97aabf1: Waiting [2023-11-01T21:42:31.638Z] 1469e6f7b9e6: Waiting [2023-11-01T21:42:31.638Z] eaf3925da568: Waiting [2023-11-01T21:42:31.638Z] bab4dde63d76: Waiting [2023-11-01T21:42:31.638Z] 5851b861e8e6: Waiting [2023-11-01T21:42:31.638Z] 4872d77fe225: Waiting [2023-11-01T21:42:31.638Z] e2be974225ed: Verifying Checksum [2023-11-01T21:42:31.638Z] e2be974225ed: Download complete [2023-11-01T21:42:31.638Z] 988bab9f4d93: Verifying Checksum [2023-11-01T21:42:31.638Z] 988bab9f4d93: Download complete [2023-11-01T21:42:31.898Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T21:42:31.898Z] 339a4e72a1f5: Download complete [2023-11-01T21:42:31.898Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T21:42:31.898Z] 1469e6f7b9e6: Download complete [2023-11-01T21:42:31.898Z] eaf3925da568: Verifying Checksum [2023-11-01T21:42:31.898Z] eaf3925da568: Download complete [2023-11-01T21:42:31.898Z] bde34c3a00c8: Download complete [2023-11-01T21:42:31.898Z] b352a97aabf1: Verifying Checksum [2023-11-01T21:42:31.898Z] b352a97aabf1: Download complete [2023-11-01T21:42:31.898Z] 4872d77fe225: Download complete [2023-11-01T21:42:31.898Z] b85a868b505f: Verifying Checksum [2023-11-01T21:42:31.898Z] b85a868b505f: Download complete [2023-11-01T21:42:31.898Z] 5851b861e8e6: Verifying Checksum [2023-11-01T21:42:31.898Z] 5851b861e8e6: Download complete [2023-11-01T21:42:32.467Z] bab4dde63d76: Verifying Checksum [2023-11-01T21:42:32.467Z] bab4dde63d76: Download complete [2023-11-01T21:42:33.408Z] b85a868b505f: Pull complete [2023-11-01T21:42:33.408Z] e2be974225ed: Pull complete [2023-11-01T21:42:33.983Z] 339a4e72a1f5: Pull complete [2023-11-01T21:42:33.983Z] 988bab9f4d93: Pull complete [2023-11-01T21:42:34.255Z] 1469e6f7b9e6: Pull complete [2023-11-01T21:42:34.255Z] eaf3925da568: Pull complete [2023-11-01T21:42:35.631Z] bab4dde63d76: Pull complete [2023-11-01T21:42:35.890Z] bde34c3a00c8: Pull complete [2023-11-01T21:42:35.890Z] b352a97aabf1: Pull complete [2023-11-01T21:42:36.151Z] 4872d77fe225: Pull complete [2023-11-01T21:42:36.151Z] 5851b861e8e6: Pull complete [2023-11-01T21:42:36.151Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T21:42:36.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:42:36.151Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:42:36.257Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:42:36.295Z] $ 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-11-01T21:42:38.573Z] $ docker top 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a -eo pid,comm [2023-11-01T21:42:38.628Z] 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-11-01T21:42:38.628Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T21:42:38.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:42:38.673Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:42:38.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:42:38.788Z] $ docker exec 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a ssh-agent [2023-11-01T21:42:38.885Z] SSH_AUTH_SOCK=/tmp/ssh-SrOUCnwioayd/agent.32 [2023-11-01T21:42:38.885Z] SSH_AGENT_PID=38 [2023-11-01T21:42:38.893Z] Running ssh-add (command line suppressed) [2023-11-01T21:42:39.003Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18117025120953112923.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18117025120953112923.key) [2023-11-01T21:42:39.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:42:39.300Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T21:42:39.317Z] $ docker exec --env ******** --env ******** 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a ssh-agent -k [2023-11-01T21:42:39.414Z] unset SSH_AUTH_SOCK; [2023-11-01T21:42:39.414Z] unset SSH_AGENT_PID; [2023-11-01T21:42:39.414Z] echo Agent pid 38 killed; [2023-11-01T21:42:39.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T21:42:39.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:42:39.479Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:42:39.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:42:39.599Z] $ docker exec 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a ssh-agent [2023-11-01T21:42:39.687Z] SSH_AUTH_SOCK=/tmp/ssh-RluJ2aros136/agent.70 [2023-11-01T21:42:39.687Z] SSH_AGENT_PID=76 [2023-11-01T21:42:39.709Z] Running ssh-add (command line suppressed) [2023-11-01T21:42:39.802Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8359966326756326306.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8359966326756326306.key) [2023-11-01T21:42:39.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:42:40.105Z] + git semver init [2023-11-01T21:42:40.380Z] 2023-11-01 21:42:40,271 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T21:42:40.380Z] 2023-11-01 21:42:40,272 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-01T21:42:40.380Z] 2023-11-01 21:42:40,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-01T21:42:40.380Z] 2023-11-01 21:42:40,273 [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-11-01T21:42:41.765Z] 2023-11-01 21:42:41,454 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-01T21:42:41.765Z] 2023-11-01 21:42:41,455 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-01T21:42:41.765Z] 2023-11-01 21:42:41,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:42:41.765Z] 2023-11-01 21:42:41,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:42:41.765Z] 3.1.0-dev.28 [Pipeline] } [2023-11-01T21:42:41.780Z] $ docker exec --env ******** --env ******** 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a ssh-agent -k [2023-11-01T21:42:41.880Z] unset SSH_AUTH_SOCK; [2023-11-01T21:42:41.880Z] unset SSH_AGENT_PID; [2023-11-01T21:42:41.880Z] echo Agent pid 76 killed; [2023-11-01T21:42:41.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T21:42:42.196Z] + git semver [Pipeline] } [2023-11-01T21:42:42.479Z] $ docker stop --time=1 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a [2023-11-01T21:42:43.782Z] $ docker rm -f --volumes 68d35d6f32072c5806900458b91116396bf96fe6d687db0e5387be721d725f9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:42:44.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T21:42:44.335Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T21:42:44.338Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.28 [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-11-01T21:42:44.492Z] provisioning config files... [2023-11-01T21:42:44.501Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15705214746218255360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:42:44.801Z] ---> docker-login.sh [2023-11-01T21:42:44.801Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:42:44.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:44.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:44.801Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:44.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:44.801Z] [2023-11-01T21:42:44.801Z] Login Succeeded [2023-11-01T21:42:44.801Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:42:44.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:44.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:44.801Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:44.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:44.801Z] [2023-11-01T21:42:44.801Z] Login Succeeded [2023-11-01T21:42:44.801Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:42:45.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:45.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:45.061Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:45.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:45.061Z] [2023-11-01T21:42:45.061Z] Login Succeeded [2023-11-01T21:42:45.061Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:42:45.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:45.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:45.061Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:45.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:45.061Z] [2023-11-01T21:42:45.061Z] Login Succeeded [2023-11-01T21:42:45.061Z] docker.io [2023-11-01T21:42:45.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:42:45.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:42:45.320Z] Configure a credential helper to remove this warning. See [2023-11-01T21:42:45.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:42:45.320Z] [2023-11-01T21:42:45.320Z] Login Succeeded [2023-11-01T21:42:45.320Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:42:45.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T21:42:45.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:42:45.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:42:45.421Z] ========================================================= [2023-11-01T21:42:45.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T21:42:45.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:42:45.761Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T21:42:45.761Z] Sending build context to Docker daemon 10.92MB [2023-11-01T21:42:45.761Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:42:45.761Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T21:42:45.761Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T21:42:45.761Z] 7264a8db6415: Pulling fs layer [2023-11-01T21:42:45.761Z] c4d48a809fc2: Pulling fs layer [2023-11-01T21:42:45.761Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T21:42:45.761Z] ad3a456e5733: Pulling fs layer [2023-11-01T21:42:45.761Z] 33e27b845d1e: Pulling fs layer [2023-11-01T21:42:45.761Z] c68163c4e522: Pulling fs layer [2023-11-01T21:42:45.761Z] 50da416c3ac9: Pulling fs layer [2023-11-01T21:42:45.761Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T21:42:45.761Z] 50da416c3ac9: Waiting [2023-11-01T21:42:45.761Z] c68163c4e522: Waiting [2023-11-01T21:42:45.761Z] 23d2d4c4bb30: Waiting [2023-11-01T21:42:45.761Z] ad3a456e5733: Waiting [2023-11-01T21:42:45.761Z] 33e27b845d1e: Waiting [2023-11-01T21:42:45.761Z] c4d48a809fc2: Verifying Checksum [2023-11-01T21:42:45.761Z] c4d48a809fc2: Download complete [2023-11-01T21:42:46.022Z] ad3a456e5733: Download complete [2023-11-01T21:42:46.022Z] 33e27b845d1e: Verifying Checksum [2023-11-01T21:42:46.022Z] 7264a8db6415: Verifying Checksum [2023-11-01T21:42:46.022Z] 7264a8db6415: Download complete [2023-11-01T21:42:46.022Z] c68163c4e522: Verifying Checksum [2023-11-01T21:42:46.022Z] c68163c4e522: Download complete [2023-11-01T21:42:46.282Z] 7264a8db6415: Pull complete [2023-11-01T21:42:46.282Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T21:42:46.282Z] 23d2d4c4bb30: Download complete [2023-11-01T21:42:46.282Z] c4d48a809fc2: Pull complete [2023-11-01T21:42:46.540Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T21:42:46.540Z] 4f1c88b9dad5: Download complete [2023-11-01T21:42:46.820Z] 50da416c3ac9: Verifying Checksum [2023-11-01T21:42:46.820Z] 50da416c3ac9: Download complete [2023-11-01T21:42:50.169Z] 4f1c88b9dad5: Pull complete [2023-11-01T21:42:50.169Z] ad3a456e5733: Pull complete [2023-11-01T21:42:50.169Z] 33e27b845d1e: Pull complete [2023-11-01T21:42:50.169Z] c68163c4e522: Pull complete [2023-11-01T21:42:52.098Z] 50da416c3ac9: Pull complete [2023-11-01T21:42:52.358Z] 23d2d4c4bb30: Pull complete [2023-11-01T21:42:52.358Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T21:42:52.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T21:42:52.358Z] ---> 0786185ac409 [2023-11-01T21:42:52.358Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:42:56.580Z] ---> Running in f99e09ebd296 [2023-11-01T21:42:56.580Z] Removing intermediate container f99e09ebd296 [2023-11-01T21:42:56.580Z] ---> 2a5829d9b368 [2023-11-01T21:42:56.580Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:42:56.580Z] ---> Running in 59516ba56f49 [2023-11-01T21:42:56.580Z] Removing intermediate container 59516ba56f49 [2023-11-01T21:42:56.580Z] ---> 7b639be6f2f9 [2023-11-01T21:42:56.580Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:42:56.580Z] ---> Running in f3351dd6e623 [2023-11-01T21:42:56.838Z] Removing intermediate container f3351dd6e623 [2023-11-01T21:42:56.838Z] ---> 13e277fe4941 [2023-11-01T21:42:56.838Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:42:56.838Z] ---> Running in 9fd4eb81110e [2023-11-01T21:42:56.838Z] Removing intermediate container 9fd4eb81110e [2023-11-01T21:42:56.838Z] ---> 0e994a4a30c9 [2023-11-01T21:42:56.838Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:42:56.838Z] ---> Running in 9a99e80d027d [2023-11-01T21:42:57.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:42:57.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:42:57.654Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T21:42:57.654Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T21:42:57.654Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T21:42:57.654Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T21:42:57.654Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:42:57.654Z] OK: 268 MiB in 56 packages [2023-11-01T21:42:58.221Z] Removing intermediate container 9a99e80d027d [2023-11-01T21:42:58.221Z] ---> f4cb85f682c5 [2023-11-01T21:42:58.221Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T21:42:58.221Z] ---> Running in 314190d0963f [2023-11-01T21:42:58.221Z] Removing intermediate container 314190d0963f [2023-11-01T21:42:58.221Z] ---> 306d6552f1fd [2023-11-01T21:42:58.221Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T21:42:58.481Z] ---> bf45fc935168 [2023-11-01T21:42:58.481Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:42:58.481Z] ---> Running in a67ca9d830db [2023-11-01T21:42:59.447Z] Still waiting to schedule task [2023-11-01T21:42:59.447Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-01T21:43:54.842Z] Removing intermediate container a67ca9d830db [2023-11-01T21:43:54.842Z] ---> 5a524d073ed1 [2023-11-01T21:43:54.842Z] Step 11/12 : COPY . . [2023-11-01T21:43:54.842Z] ---> 8d6739aba4e3 [2023-11-01T21:43:54.842Z] Step 12/12 : RUN $MAKE [2023-11-01T21:43:54.842Z] ---> Running in ce8368f7f0c6 [2023-11-01T21:43:54.842Z] noop [2023-11-01T21:43:54.842Z] Removing intermediate container ce8368f7f0c6 [2023-11-01T21:43:54.842Z] ---> 8eeb38396725 [2023-11-01T21:43:54.842Z] Successfully built 8eeb38396725 [2023-11-01T21:43:54.842Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:43:55.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T21:43:55.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:43:55.262Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:43:55.298Z] $ 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-11-01T21:43:55.631Z] $ docker top 3d4d9d7838edd83094303a1ccf90129788ece4dbe90ac79f0b440e1eb76fb20a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:43:55.975Z] + go version [2023-11-01T21:43:55.975Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T21:43:55.991Z] $ docker stop --time=1 3d4d9d7838edd83094303a1ccf90129788ece4dbe90ac79f0b440e1eb76fb20a [2023-11-01T21:43:57.354Z] $ docker rm -f --volumes 3d4d9d7838edd83094303a1ccf90129788ece4dbe90ac79f0b440e1eb76fb20a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:43:57.748Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T21:43:57.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:43:57.829Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:43:57.866Z] $ 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-11-01T21:43:58.227Z] $ docker top 8da7b24fc57cce05c95e7b1abbd51af648a04e0b1570ecd7eca541e99ab87543 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:43:58.585Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-01T21:43:58.903Z] + make test [2023-11-01T21:43:58.903Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T21:44:00.312Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T21:44:10.294Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T21:44:10.294Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-01T21:44:15.562Z] go vet ./... [2023-11-01T21:44:18.887Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T21:44:18.887Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T21:44:18.887Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T21:44:18.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T21:44:18.933Z] $ docker stop --time=1 8da7b24fc57cce05c95e7b1abbd51af648a04e0b1570ecd7eca541e99ab87543 [2023-11-01T21:44:21.982Z] $ docker rm -f --volumes 8da7b24fc57cce05c95e7b1abbd51af648a04e0b1570ecd7eca541e99ab87543 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:44:22.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T21:44:22.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T21:44:23.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T21:44:23.595Z] + ls -al . [2023-11-01T21:44:23.596Z] total 188 [2023-11-01T21:44:23.596Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 21:43 . [2023-11-01T21:44:23.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:42 .. [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:42 .dockerignore [2023-11-01T21:44:23.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:44 .git [2023-11-01T21:44:23.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:42 .github [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:42 .gitignore [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:42 .golangci.yml [2023-11-01T21:44:23.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:42 .semver [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:42 Attribution.txt [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:42 CHANGELOG.md [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:42 Dockerfile [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:42 GOVERNANCE.md [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:42 Jenkinsfile [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:42 LICENSE [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:42 Makefile [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:42 OWNERS.md [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:42 README.md [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 21:42 VERSION [2023-11-01T21:44:23.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:42 bin [2023-11-01T21:44:23.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:42 cmd [2023-11-01T21:44:23.596Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:44 coverage.out [2023-11-01T21:44:23.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:42 driver [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:42 go.mod [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:42 go.sum [2023-11-01T21:44:23.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:42 openapi [2023-11-01T21:44:23.596Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:23.936Z] + 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=47318dce372b4a1f6fa2293d118d34d1e168baa0 --label arch=amd64 --label version=3.1.0-dev.28 . [2023-11-01T21:44:23.937Z] Sending build context to Docker daemon 10.93MB [2023-11-01T21:44:23.937Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:44:23.937Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T21:44:23.937Z] ---> 8eeb38396725 [2023-11-01T21:44:23.937Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:44:24.196Z] ---> Running in 85f872daa2be [2023-11-01T21:44:24.196Z] Removing intermediate container 85f872daa2be [2023-11-01T21:44:24.196Z] ---> 5cae22567584 [2023-11-01T21:44:24.196Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:44:24.459Z] ---> Running in 07cdc2794bf9 [2023-11-01T21:44:24.459Z] Removing intermediate container 07cdc2794bf9 [2023-11-01T21:44:24.459Z] ---> 6b41c686e533 [2023-11-01T21:44:24.459Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:44:24.459Z] ---> Running in 38187cfb8319 [2023-11-01T21:44:24.459Z] Removing intermediate container 38187cfb8319 [2023-11-01T21:44:24.459Z] ---> f9449aa3cd9b [2023-11-01T21:44:24.459Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:44:24.459Z] ---> Running in 1499066f23d6 [2023-11-01T21:44:24.718Z] Removing intermediate container 1499066f23d6 [2023-11-01T21:44:24.718Z] ---> eb8c49a85482 [2023-11-01T21:44:24.718Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:44:24.718Z] ---> Running in e4ca9f8cfc36 [2023-11-01T21:44:24.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:44:24.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:44:25.238Z] OK: 268 MiB in 56 packages [2023-11-01T21:44:25.497Z] Removing intermediate container e4ca9f8cfc36 [2023-11-01T21:44:25.497Z] ---> d0f74fbef4ee [2023-11-01T21:44:25.497Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T21:44:25.497Z] ---> Running in b5589d3fdab8 [2023-11-01T21:44:25.497Z] Removing intermediate container b5589d3fdab8 [2023-11-01T21:44:25.497Z] ---> 7d7e5b7da8c5 [2023-11-01T21:44:25.497Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T21:44:25.757Z] ---> b2b3ecce212b [2023-11-01T21:44:25.757Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:44:25.757Z] ---> Running in 903097f0e809 [2023-11-01T21:44:26.324Z] Removing intermediate container 903097f0e809 [2023-11-01T21:44:26.324Z] ---> 56a7d2d0b9c1 [2023-11-01T21:44:26.324Z] Step 11/25 : COPY . . [2023-11-01T21:44:26.896Z] ---> 4444989964dc [2023-11-01T21:44:26.896Z] Step 12/25 : RUN $MAKE [2023-11-01T21:44:26.896Z] ---> Running in 02640fb84cdc [2023-11-01T21:44:27.158Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T21:44:46.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16292 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-01T21:44:46.792Z] Running in /w/workspace/device-rest-go/148 [Pipeline] { [Pipeline] checkout [2023-11-01T21:44:46.828Z] The recommended git tool is: git [2023-11-01T21:44:49.166Z] Removing intermediate container 02640fb84cdc [2023-11-01T21:44:49.166Z] ---> 3e962fb97206 [2023-11-01T21:44:49.166Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T21:44:49.166Z] 3.18: Pulling from library/alpine [2023-11-01T21:44:49.166Z] 96526aa774ef: Pulling fs layer [2023-11-01T21:44:49.166Z] 96526aa774ef: Verifying Checksum [2023-11-01T21:44:49.166Z] 96526aa774ef: Download complete [2023-11-01T21:44:49.166Z] 96526aa774ef: Pull complete [2023-11-01T21:44:49.166Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T21:44:49.166Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T21:44:49.166Z] ---> 8ca4688f4f35 [2023-11-01T21:44:49.166Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T21:44:49.166Z] ---> Running in 51bb20fefbb7 [2023-11-01T21:44:49.166Z] Removing intermediate container 51bb20fefbb7 [2023-11-01T21:44:49.166Z] ---> 33f1ccc5636a [2023-11-01T21:44:49.166Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T21:44:49.166Z] ---> Running in 2880582d987f [2023-11-01T21:44:49.166Z] Removing intermediate container 2880582d987f [2023-11-01T21:44:49.166Z] ---> 1fb5c16bd548 [2023-11-01T21:44:49.166Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T21:44:49.166Z] ---> Running in c1d3811f140d [2023-11-01T21:44:49.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:44:49.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:44:49.166Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T21:44:49.166Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:44:49.166Z] OK: 7 MiB in 16 packages [2023-11-01T21:44:49.166Z] Removing intermediate container c1d3811f140d [2023-11-01T21:44:49.166Z] ---> 6e09e4c63ad4 [2023-11-01T21:44:49.166Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T21:44:50.107Z] ---> f92a3bb962bf [2023-11-01T21:44:50.107Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T21:44:50.107Z] ---> 1b3fde61283f [2023-11-01T21:44:50.107Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T21:44:50.107Z] ---> f5834048d01e [2023-11-01T21:44:50.107Z] Step 20/25 : EXPOSE 59986 [2023-11-01T21:44:50.107Z] ---> Running in 811bf9648b32 [2023-11-01T21:44:50.367Z] Removing intermediate container 811bf9648b32 [2023-11-01T21:44:50.367Z] ---> a31e1e4b40dc [2023-11-01T21:44:50.367Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T21:44:50.367Z] ---> Running in 1964abc60675 [2023-11-01T21:44:50.367Z] Removing intermediate container 1964abc60675 [2023-11-01T21:44:50.367Z] ---> ab7e0cefa103 [2023-11-01T21:44:50.367Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T21:44:50.367Z] ---> Running in a293e0da3daf [2023-11-01T21:44:50.367Z] Removing intermediate container a293e0da3daf [2023-11-01T21:44:50.367Z] ---> c7939b32d407 [2023-11-01T21:44:50.367Z] Step 23/25 : LABEL arch=amd64 [2023-11-01T21:44:50.367Z] ---> Running in 882255d53cf8 [2023-11-01T21:44:50.627Z] Removing intermediate container 882255d53cf8 [2023-11-01T21:44:50.627Z] ---> b3d88bad972c [2023-11-01T21:44:50.627Z] Step 24/25 : LABEL git_sha=47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:44:50.627Z] ---> Running in e170f858e8cd [2023-11-01T21:44:50.627Z] Removing intermediate container e170f858e8cd [2023-11-01T21:44:50.627Z] ---> 71d505bca753 [2023-11-01T21:44:50.627Z] Step 25/25 : LABEL version=3.1.0-dev.28 [2023-11-01T21:44:50.627Z] ---> Running in 91d6edc9b286 [2023-11-01T21:44:50.627Z] Removing intermediate container 91d6edc9b286 [2023-11-01T21:44:50.627Z] ---> b1ea7edde6d8 [2023-11-01T21:44:50.627Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T21:44:50.627Z] Successfully built b1ea7edde6d8 [2023-11-01T21:44:50.627Z] 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-11-01T21:44:51.046Z] provisioning config files... [2023-11-01T21:44:51.064Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10616692081390651618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:44:51.379Z] ---> docker-login.sh [2023-11-01T21:44:51.379Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:44:51.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:44:51.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:44:51.379Z] Configure a credential helper to remove this warning. See [2023-11-01T21:44:51.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:44:51.379Z] [2023-11-01T21:44:51.379Z] Login Succeeded [2023-11-01T21:44:51.379Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:44:51.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:44:51.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:44:51.379Z] Configure a credential helper to remove this warning. See [2023-11-01T21:44:51.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:44:51.379Z] [2023-11-01T21:44:51.379Z] Login Succeeded [2023-11-01T21:44:51.379Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:44:51.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:44:51.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:44:51.638Z] Configure a credential helper to remove this warning. See [2023-11-01T21:44:51.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:44:51.638Z] [2023-11-01T21:44:51.638Z] Login Succeeded [2023-11-01T21:44:51.638Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:44:51.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:44:51.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:44:51.638Z] Configure a credential helper to remove this warning. See [2023-11-01T21:44:51.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:44:51.638Z] [2023-11-01T21:44:51.638Z] Login Succeeded [2023-11-01T21:44:51.638Z] docker.io [2023-11-01T21:44:51.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:44:51.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:44:51.985Z] Configure a credential helper to remove this warning. See [2023-11-01T21:44:51.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:44:51.985Z] [2023-11-01T21:44:51.985Z] Login Succeeded [2023-11-01T21:44:51.985Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:44:52.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T21:44:52.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:44:52.207Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-01T21:44:52.208Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:44:52.208Z] latest [2023-11-01T21:44:52.208Z] 3.1.0-dev.28 [2023-11-01T21:44:52.208Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:44:52.208Z] main [2023-11-01T21:44:52.208Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:52.460Z] using credential edgex-jenkins-ssh [2023-11-01T21:44:52.476Z] Cloning the remote Git repository [2023-11-01T21:44:52.635Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:52.996Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:44:52.996Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-01T21:44:52.996Z] f1dd467ea832: Preparing [2023-11-01T21:44:52.996Z] 6d4a2efde486: Preparing [2023-11-01T21:44:52.996Z] 0c413938cff5: Preparing [2023-11-01T21:44:52.996Z] 8107bf3a3b3e: Preparing [2023-11-01T21:44:52.996Z] cc2447e1835a: Preparing [2023-11-01T21:44:52.996Z] cc2447e1835a: Layer already exists [2023-11-01T21:44:52.526Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T21:44:52.627Z] > git init /w/workspace/device-rest-go/148 # timeout=10 [2023-11-01T21:44:52.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T21:44:52.778Z] > git --version # timeout=10 [2023-11-01T21:44:52.798Z] > git --version # 'git version 2.25.1' [2023-11-01T21:44:52.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T21:44:52.935Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T21:44:53.255Z] 6d4a2efde486: Pushed [2023-11-01T21:44:53.255Z] f1dd467ea832: Pushed [2023-11-01T21:44:53.255Z] 8107bf3a3b3e: Pushed [2023-11-01T21:44:54.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-01T21:44:54.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T21:44:55.750Z] Avoid second fetch [2023-11-01T21:44:55.751Z] Checking out Revision 47318dce372b4a1f6fa2293d118d34d1e168baa0 (main) [2023-11-01T21:44:56.334Z] Commit message: "docs: [Device REST] Add Swagger file (#360)" [2023-11-01T21:44:56.608Z] 0c413938cff5: Pushed [2023-11-01T21:44:56.608Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0: digest: sha256:b2b575c4d1c48969f3c2510350fde385832d2f7d53e20bf4476b94d9d039d07c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:44:56.946Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:55.766Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T21:44:55.839Z] > git checkout -f 47318dce372b4a1f6fa2293d118d34d1e168baa0 # timeout=10 [2023-11-01T21:44:57.256Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T21:44:57.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T21:44:57.256Z] Dload Upload Total Spent Left Speed [2023-11-01T21:44:57.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [2023-11-01T21:44:57.267Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-01T21:44:57.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-01T21:44:57.267Z] f1dd467ea832: Preparing [2023-11-01T21:44:57.267Z] 6d4a2efde486: Preparing [2023-11-01T21:44:57.267Z] 0c413938cff5: Preparing [2023-11-01T21:44:57.267Z] 8107bf3a3b3e: Preparing [2023-11-01T21:44:57.267Z] cc2447e1835a: Preparing [2023-11-01T21:44:57.267Z] 6d4a2efde486: Layer already exists [2023-11-01T21:44:57.267Z] 8107bf3a3b3e: Layer already exists [2023-11-01T21:44:57.267Z] f1dd467ea832: Layer already exists [2023-11-01T21:44:57.267Z] cc2447e1835a: Layer already exists [2023-11-01T21:44:57.267Z] 0c413938cff5: Layer already exists [2023-11-01T21:44:57.267Z] latest: digest: sha256:b2b575c4d1c48969f3c2510350fde385832d2f7d53e20bf4476b94d9d039d07c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:57.596Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-11-01T21:44:57.941Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.28 [2023-11-01T21:44:57.942Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-01T21:44:57.942Z] f1dd467ea832: Preparing [2023-11-01T21:44:57.942Z] 6d4a2efde486: Preparing [2023-11-01T21:44:57.942Z] 0c413938cff5: Preparing [2023-11-01T21:44:57.942Z] 8107bf3a3b3e: Preparing [2023-11-01T21:44:57.942Z] cc2447e1835a: Preparing [2023-11-01T21:44:57.942Z] f1dd467ea832: Layer already exists [2023-11-01T21:44:57.942Z] 8107bf3a3b3e: Layer already exists [2023-11-01T21:44:57.942Z] cc2447e1835a: Layer already exists [2023-11-01T21:44:57.942Z] 0c413938cff5: Layer already exists [2023-11-01T21:44:57.942Z] 6d4a2efde486: Layer already exists [2023-11-01T21:44:57.942Z] 3.1.0-dev.28: digest: sha256:b2b575c4d1c48969f3c2510350fde385832d2f7d53e20bf4476b94d9d039d07c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:57.997Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T21:44:58.292Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:58.347Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T21:44:58.347Z] + sudo tee /etc/docker/daemon.new [2023-11-01T21:44:58.347Z] { [2023-11-01T21:44:58.347Z] "registry-mirrors": [ [2023-11-01T21:44:58.347Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T21:44:58.347Z] ], [2023-11-01T21:44:58.347Z] "bip": "10.250.0.254/24", [2023-11-01T21:44:58.347Z] "hosts": [ [2023-11-01T21:44:58.347Z] "tcp://0.0.0.0:5555", [2023-11-01T21:44:58.347Z] "unix:///var/run/docker.sock" [2023-11-01T21:44:58.347Z] ], [2023-11-01T21:44:58.347Z] "mtu": 1458, [2023-11-01T21:44:58.347Z] "selinux-enabled": true, [2023-11-01T21:44:58.347Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T21:44:58.347Z] } [Pipeline] sh [2023-11-01T21:44:58.625Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:44:58.625Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-01T21:44:58.625Z] f1dd467ea832: Preparing [2023-11-01T21:44:58.625Z] 6d4a2efde486: Preparing [2023-11-01T21:44:58.625Z] 0c413938cff5: Preparing [2023-11-01T21:44:58.625Z] 8107bf3a3b3e: Preparing [2023-11-01T21:44:58.625Z] cc2447e1835a: Preparing [2023-11-01T21:44:58.625Z] 0c413938cff5: Layer already exists [2023-11-01T21:44:58.625Z] f1dd467ea832: Layer already exists [2023-11-01T21:44:58.625Z] 8107bf3a3b3e: Layer already exists [2023-11-01T21:44:58.625Z] 6d4a2efde486: Layer already exists [2023-11-01T21:44:58.625Z] cc2447e1835a: Layer already exists [2023-11-01T21:44:58.625Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28: digest: sha256:b2b575c4d1c48969f3c2510350fde385832d2f7d53e20bf4476b94d9d039d07c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:58.707Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T21:44:58.960Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:44:59.055Z] + sudo service docker restart [2023-11-01T21:44:59.294Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-01T21:44:59.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-01T21:44:59.294Z] f1dd467ea832: Preparing [2023-11-01T21:44:59.294Z] 6d4a2efde486: Preparing [2023-11-01T21:44:59.294Z] 0c413938cff5: Preparing [2023-11-01T21:44:59.294Z] 8107bf3a3b3e: Preparing [2023-11-01T21:44:59.294Z] cc2447e1835a: Preparing [2023-11-01T21:44:59.294Z] 0c413938cff5: Layer already exists [2023-11-01T21:44:59.294Z] 8107bf3a3b3e: Layer already exists [2023-11-01T21:44:59.294Z] cc2447e1835a: Layer already exists [2023-11-01T21:44:59.294Z] f1dd467ea832: Layer already exists [2023-11-01T21:44:59.294Z] 6d4a2efde486: Layer already exists [2023-11-01T21:44:59.294Z] main: digest: sha256:b2b575c4d1c48969f3c2510350fde385832d2f7d53e20bf4476b94d9d039d07c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T21:44:59.360Z] ===================================================== [Pipeline] echo [2023-11-01T21:44:59.372Z] taggedImages: [2023-11-01T21:44:59.372Z] - nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:44:59.372Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-01T21:44:59.372Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.28 [2023-11-01T21:44:59.372Z] - nexus3.edgexfoundry.org:10004/device-rest:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:44:59.372Z] - 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-11-01T21:44:59.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:44:59.767Z] [2023-11-01T21:44:59.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:45:00.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:45:00.081Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T21:45:00.081Z] 5eb5b503b376: Pulling fs layer [2023-11-01T21:45:00.081Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T21:45:00.081Z] ec43610c2a17: Pulling fs layer [2023-11-01T21:45:00.081Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T21:45:00.081Z] 33b1e0a273af: Pulling fs layer [2023-11-01T21:45:00.081Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T21:45:00.081Z] 3a2ae6a8a46f: Waiting [2023-11-01T21:45:00.081Z] 33b1e0a273af: Waiting [2023-11-01T21:45:00.081Z] 2f39f015ded8: Pulling fs layer [2023-11-01T21:45:00.081Z] 5d3b04190fa2: Waiting [2023-11-01T21:45:00.081Z] 2f39f015ded8: Waiting [2023-11-01T21:45:00.081Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T21:45:00.081Z] 5c69ac0246d0: Download complete [2023-11-01T21:45:00.081Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T21:45:00.081Z] 3a2ae6a8a46f: Download complete [2023-11-01T21:45:00.081Z] 33b1e0a273af: Verifying Checksum [2023-11-01T21:45:00.081Z] 33b1e0a273af: Download complete [2023-11-01T21:45:00.081Z] ec43610c2a17: Verifying Checksum [2023-11-01T21:45:00.081Z] ec43610c2a17: Download complete [2023-11-01T21:45:00.355Z] 5d3b04190fa2: Download complete [2023-11-01T21:45:00.355Z] 5eb5b503b376: Verifying Checksum [2023-11-01T21:45:00.355Z] 5eb5b503b376: Download complete [2023-11-01T21:45:00.938Z] 2f39f015ded8: Download complete [2023-11-01T21:45:01.505Z] 5eb5b503b376: Pull complete [2023-11-01T21:45:01.767Z] 5c69ac0246d0: Pull complete [2023-11-01T21:45:02.334Z] ec43610c2a17: Pull complete [2023-11-01T21:45:02.334Z] 3a2ae6a8a46f: Pull complete [2023-11-01T21:45:02.626Z] 33b1e0a273af: Pull complete [2023-11-01T21:45:02.626Z] 5d3b04190fa2: Pull complete [2023-11-01T21:45:07.979Z] 2f39f015ded8: Pull complete [2023-11-01T21:45:07.979Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T21:45:07.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:45:07.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:45:08.078Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:45:08.129Z] $ 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-11-01T21:45:15.416Z] $ docker top 83d95d02a07b3eff209a06b97fad33de789197013723f88917f8cbe0b956a65d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:45:15.850Z] ---> job-cost.sh [2023-11-01T21:45:15.850Z] lf-activate-venv: SKIPPING [2023-11-01T21:45:15.850Z] INFO: No Stack... [2023-11-01T21:45:16.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T21:45:16.686Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T21:45:16.991Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-01T21:45:16.991Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T21:45:17.003Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [2023-11-01T21:45:17.017Z] Resource [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] did not exist. Created. [2023-11-01T21:45:17.017Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T21:45:17.326Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T21:45:17.359Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T21:45:17.367Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T21:45:17.389Z] $ docker stop --time=1 83d95d02a07b3eff209a06b97fad33de789197013723f88917f8cbe0b956a65d [2023-11-01T21:45:18.772Z] $ docker rm -f --volumes 83d95d02a07b3eff209a06b97fad33de789197013723f88917f8cbe0b956a65d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:45:21.195Z] provisioning config files... [2023-11-01T21:45:21.218Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/148@tmp/config9873468003535481441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:45:21.592Z] ---> docker-login.sh [2023-11-01T21:45:21.593Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:45:21.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:45:22.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:45:22.135Z] Configure a credential helper to remove this warning. See [2023-11-01T21:45:22.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:45:22.135Z] [2023-11-01T21:45:22.135Z] Login Succeeded [2023-11-01T21:45:22.135Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:45:22.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:45:22.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:45:22.410Z] Configure a credential helper to remove this warning. See [2023-11-01T21:45:22.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:45:22.410Z] [2023-11-01T21:45:22.410Z] Login Succeeded [2023-11-01T21:45:22.681Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:45:22.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:45:22.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:45:22.954Z] Configure a credential helper to remove this warning. See [2023-11-01T21:45:22.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:45:22.954Z] [2023-11-01T21:45:22.954Z] Login Succeeded [2023-11-01T21:45:22.954Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:45:23.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:45:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:45:23.227Z] Configure a credential helper to remove this warning. See [2023-11-01T21:45:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:45:23.227Z] [2023-11-01T21:45:23.227Z] Login Succeeded [2023-11-01T21:45:23.227Z] docker.io [2023-11-01T21:45:23.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:45:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:45:23.763Z] Configure a credential helper to remove this warning. See [2023-11-01T21:45:23.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:45:23.763Z] [2023-11-01T21:45:23.763Z] Login Succeeded [2023-11-01T21:45:24.037Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:45:24.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T21:45:24.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:45:24.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:45:24.411Z] ========================================================= [2023-11-01T21:45:24.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T21:45:24.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:45:24.780Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T21:45:24.780Z] Sending build context to Docker daemon 125.4kB [2023-11-01T21:45:25.049Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:45:25.049Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T21:45:25.324Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T21:45:25.324Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T21:45:25.324Z] 5d54e960e981: Pulling fs layer [2023-11-01T21:45:25.324Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T21:45:25.324Z] f0e02332f6b5: Pulling fs layer [2023-11-01T21:45:25.324Z] cefa15bbcfad: Pulling fs layer [2023-11-01T21:45:25.324Z] 17808c966233: Pulling fs layer [2023-11-01T21:45:25.324Z] f4c1fc716caa: Pulling fs layer [2023-11-01T21:45:25.324Z] cefa15bbcfad: Waiting [2023-11-01T21:45:25.324Z] f0e02332f6b5: Waiting [2023-11-01T21:45:25.324Z] 17808c966233: Waiting [2023-11-01T21:45:25.324Z] f4c1fc716caa: Waiting [2023-11-01T21:45:25.324Z] 5d54e960e981: Verifying Checksum [2023-11-01T21:45:25.324Z] 5d54e960e981: Download complete [2023-11-01T21:45:25.324Z] f0e02332f6b5: Verifying Checksum [2023-11-01T21:45:25.324Z] f0e02332f6b5: Download complete [2023-11-01T21:45:25.324Z] cefa15bbcfad: Verifying Checksum [2023-11-01T21:45:25.324Z] cefa15bbcfad: Download complete [2023-11-01T21:45:25.324Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T21:45:25.324Z] 9fda8d8052c6: Download complete [2023-11-01T21:45:25.931Z] f4c1fc716caa: Verifying Checksum [2023-11-01T21:45:25.931Z] f4c1fc716caa: Download complete [2023-11-01T21:45:26.534Z] 9fda8d8052c6: Pull complete [2023-11-01T21:45:26.805Z] 5d54e960e981: Pull complete [2023-11-01T21:45:27.393Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T21:45:27.393Z] c4a7e357bf2a: Download complete [2023-11-01T21:45:28.362Z] 17808c966233: Verifying Checksum [2023-11-01T21:45:28.362Z] 17808c966233: Download complete [2023-11-01T21:45:40.740Z] c4a7e357bf2a: Pull complete [2023-11-01T21:45:40.740Z] f0e02332f6b5: Pull complete [2023-11-01T21:45:40.740Z] cefa15bbcfad: Pull complete [2023-11-01T21:45:49.016Z] 17808c966233: Pull complete [2023-11-01T21:45:50.421Z] f4c1fc716caa: Pull complete [2023-11-01T21:45:50.421Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T21:45:50.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T21:45:50.421Z] ---> ea914061e18c [2023-11-01T21:45:50.421Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:45:52.514Z] ---> Running in 99505d9a5395 [2023-11-01T21:45:52.791Z] Removing intermediate container 99505d9a5395 [2023-11-01T21:45:52.791Z] ---> 870a6e7ab203 [2023-11-01T21:45:52.791Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:45:52.791Z] ---> Running in 9faeea7fb923 [2023-11-01T21:45:53.066Z] Removing intermediate container 9faeea7fb923 [2023-11-01T21:45:53.066Z] ---> 79d4997ed6ab [2023-11-01T21:45:53.066Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:45:53.066Z] ---> Running in a876540d6da7 [2023-11-01T21:45:53.338Z] Removing intermediate container a876540d6da7 [2023-11-01T21:45:53.338Z] ---> 64a78dea9137 [2023-11-01T21:45:53.338Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:45:53.604Z] ---> Running in b539eb66429b [2023-11-01T21:45:53.875Z] Removing intermediate container b539eb66429b [2023-11-01T21:45:53.875Z] ---> 1308c5f635b5 [2023-11-01T21:45:53.875Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:45:53.875Z] ---> Running in 6bf3816622f3 [2023-11-01T21:45:55.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:45:55.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:45:56.709Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T21:45:56.709Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T21:45:56.709Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T21:45:56.709Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T21:45:56.709Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:45:56.709Z] OK: 270 MiB in 56 packages [2023-11-01T21:46:00.062Z] Removing intermediate container 6bf3816622f3 [2023-11-01T21:46:00.062Z] ---> 25bddb9f4bc5 [2023-11-01T21:46:00.062Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T21:46:00.062Z] ---> Running in c373f77690ce [2023-11-01T21:46:00.334Z] Removing intermediate container c373f77690ce [2023-11-01T21:46:00.334Z] ---> 47421e7b1452 [2023-11-01T21:46:00.334Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T21:46:00.924Z] ---> 2a353be55e45 [2023-11-01T21:46:00.924Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:46:00.924Z] ---> Running in dd88e021d53b [2023-11-01T21:47:22.649Z] Removing intermediate container dd88e021d53b [2023-11-01T21:47:22.649Z] ---> 24046ede6353 [2023-11-01T21:47:22.649Z] Step 11/12 : COPY . . [2023-11-01T21:47:22.649Z] ---> 34f12d111f0c [2023-11-01T21:47:22.649Z] Step 12/12 : RUN $MAKE [2023-11-01T21:47:22.649Z] ---> Running in cfb64bea4a72 [2023-11-01T21:47:22.649Z] noop [2023-11-01T21:47:22.649Z] Removing intermediate container cfb64bea4a72 [2023-11-01T21:47:22.649Z] ---> 91e0d4aa5159 [2023-11-01T21:47:22.649Z] Successfully built 91e0d4aa5159 [2023-11-01T21:47:22.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:47:23.017Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T21:47:23.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:47:23.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-16292 does not seem to be running inside a container [2023-11-01T21:47:23.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/148 -v /w/workspace/device-rest-go/148:/w/workspace/device-rest-go/148:rw,z -v /w/workspace/device-rest-go/148@tmp:/w/workspace/device-rest-go/148@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-11-01T21:47:24.575Z] $ docker top c7caaed9d5ef89531a9b642df5e5721f6a7d4e2c956f3f8d5907ce31bda3c9ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:47:25.429Z] + go version [2023-11-01T21:47:25.429Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T21:47:25.458Z] $ docker stop --time=1 c7caaed9d5ef89531a9b642df5e5721f6a7d4e2c956f3f8d5907ce31bda3c9ac [2023-11-01T21:47:27.144Z] $ docker rm -f --volumes c7caaed9d5ef89531a9b642df5e5721f6a7d4e2c956f3f8d5907ce31bda3c9ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:47:27.742Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T21:47:27.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:47:27.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-16292 does not seem to be running inside a container [2023-11-01T21:47:28.071Z] $ 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/148 -v /w/workspace/device-rest-go/148:/w/workspace/device-rest-go/148:rw,z -v /w/workspace/device-rest-go/148@tmp:/w/workspace/device-rest-go/148@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-11-01T21:47:29.451Z] $ docker top 6b22d522ff544094370614336b98ef57581bb8958f1909a945e6623c9dc82e25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:47:30.340Z] + git config --global --add safe.directory /w/workspace/device-rest-go/148 [Pipeline] fileExists [Pipeline] sh [2023-11-01T21:47:31.020Z] + make test [2023-11-01T21:47:31.020Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T21:47:37.688Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T21:49:14.380Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T21:49:14.380Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 33.2% of statements [2023-11-01T21:49:14.380Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T21:49:14.380Z] go vet ./... [2023-11-01T21:49:41.121Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T21:49:41.121Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T21:49:41.121Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T21:49:41.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T21:49:41.191Z] $ docker stop --time=1 6b22d522ff544094370614336b98ef57581bb8958f1909a945e6623c9dc82e25 [2023-11-01T21:49:45.061Z] $ docker rm -f --volumes 6b22d522ff544094370614336b98ef57581bb8958f1909a945e6623c9dc82e25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:49:46.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T21:49:46.429Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T21:49:46.896Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:49:47.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T21:49:47.708Z] + ls -al . [2023-11-01T21:49:47.708Z] total 184 [2023-11-01T21:49:47.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:47 . [2023-11-01T21:49:47.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:44 .. [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:44 .dockerignore [2023-11-01T21:49:47.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:44 .git [2023-11-01T21:49:47.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:44 .github [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:44 .gitignore [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:44 .golangci.yml [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:44 Attribution.txt [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:44 CHANGELOG.md [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:44 Dockerfile [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:44 GOVERNANCE.md [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:44 Jenkinsfile [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:44 LICENSE [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:44 Makefile [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:44 OWNERS.md [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:44 README.md [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 21:42 VERSION [2023-11-01T21:49:47.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:44 bin [2023-11-01T21:49:47.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:44 cmd [2023-11-01T21:49:47.708Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:49 coverage.out [2023-11-01T21:49:47.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:44 driver [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:44 go.mod [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:44 go.sum [2023-11-01T21:49:47.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:44 openapi [2023-11-01T21:49:47.708Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:49:48.068Z] + 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=47318dce372b4a1f6fa2293d118d34d1e168baa0 --label arch=arm64 --label version=3.1.0-dev.28 . [2023-11-01T21:49:48.068Z] Sending build context to Docker daemon 140.8kB [2023-11-01T21:49:48.339Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:49:48.339Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T21:49:48.339Z] ---> 91e0d4aa5159 [2023-11-01T21:49:48.339Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:49:48.612Z] ---> Running in 9dc326dff4c4 [2023-11-01T21:49:48.936Z] Removing intermediate container 9dc326dff4c4 [2023-11-01T21:49:48.936Z] ---> 42983aae8ff9 [2023-11-01T21:49:48.936Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:49:48.936Z] ---> Running in 17d091212efa [2023-11-01T21:49:49.233Z] Removing intermediate container 17d091212efa [2023-11-01T21:49:49.233Z] ---> 956b0409ae97 [2023-11-01T21:49:49.233Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:49:49.233Z] ---> Running in 107e3e5c9ba3 [2023-11-01T21:49:49.644Z] Removing intermediate container 107e3e5c9ba3 [2023-11-01T21:49:49.644Z] ---> b9004c223d06 [2023-11-01T21:49:49.644Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:49:49.644Z] ---> Running in f3f7db5ff314 [2023-11-01T21:49:49.911Z] Removing intermediate container f3f7db5ff314 [2023-11-01T21:49:49.911Z] ---> d141e75cefdf [2023-11-01T21:49:49.911Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:49:50.178Z] ---> Running in 760753bff123 [2023-11-01T21:49:51.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:49:51.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:49:52.727Z] OK: 270 MiB in 56 packages [2023-11-01T21:49:54.164Z] Removing intermediate container 760753bff123 [2023-11-01T21:49:54.164Z] ---> 57bb35ac9c7d [2023-11-01T21:49:54.164Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T21:49:54.164Z] ---> Running in 321fddd51cb5 [2023-11-01T21:49:54.434Z] Removing intermediate container 321fddd51cb5 [2023-11-01T21:49:54.434Z] ---> 277dbb008a94 [2023-11-01T21:49:54.434Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T21:49:55.018Z] ---> a3d06dab1be8 [2023-11-01T21:49:55.018Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:49:55.018Z] ---> Running in 573ca0853c65 [2023-11-01T21:49:57.626Z] Removing intermediate container 573ca0853c65 [2023-11-01T21:49:57.626Z] ---> 5f71474c99e4 [2023-11-01T21:49:57.626Z] Step 11/25 : COPY . . [2023-11-01T21:49:57.894Z] ---> a50681efbeed [2023-11-01T21:49:57.894Z] Step 12/25 : RUN $MAKE [2023-11-01T21:49:58.162Z] ---> Running in d318c816e873 [2023-11-01T21:49:59.131Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T21:51:50.879Z] Removing intermediate container d318c816e873 [2023-11-01T21:51:50.879Z] ---> b741e10eea23 [2023-11-01T21:51:50.879Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T21:51:50.879Z] 3.18: Pulling from library/alpine [2023-11-01T21:51:50.879Z] 579b34f0a95b: Pulling fs layer [2023-11-01T21:51:50.879Z] 579b34f0a95b: Verifying Checksum [2023-11-01T21:51:50.879Z] 579b34f0a95b: Download complete [2023-11-01T21:51:50.879Z] 579b34f0a95b: Pull complete [2023-11-01T21:51:50.879Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T21:51:50.879Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T21:51:50.879Z] ---> 3cc203321400 [2023-11-01T21:51:50.879Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T21:51:50.879Z] ---> Running in b22cff79ef7c [2023-11-01T21:51:50.879Z] Removing intermediate container b22cff79ef7c [2023-11-01T21:51:50.879Z] ---> b2649ff706c2 [2023-11-01T21:51:50.879Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T21:51:50.879Z] ---> Running in af5c6865c1c1 [2023-11-01T21:51:50.879Z] Removing intermediate container af5c6865c1c1 [2023-11-01T21:51:50.879Z] ---> 35ca4cb318b4 [2023-11-01T21:51:50.879Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T21:51:50.879Z] ---> Running in 93346ed388bd [2023-11-01T21:51:50.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:51:51.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:51:52.431Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T21:51:52.431Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:51:52.431Z] OK: 8 MiB in 16 packages [2023-11-01T21:51:53.395Z] Removing intermediate container 93346ed388bd [2023-11-01T21:51:53.395Z] ---> a5d3cfb5912d [2023-11-01T21:51:53.395Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T21:51:54.823Z] ---> a7e25daf32dc [2023-11-01T21:51:54.823Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T21:51:55.408Z] ---> 2c387058a327 [2023-11-01T21:51:55.408Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T21:51:55.998Z] ---> d0947500532d [2023-11-01T21:51:55.998Z] Step 20/25 : EXPOSE 59986 [2023-11-01T21:51:55.998Z] ---> Running in 6e7086139e9e [2023-11-01T21:51:56.265Z] Removing intermediate container 6e7086139e9e [2023-11-01T21:51:56.265Z] ---> 3bc1832f1b64 [2023-11-01T21:51:56.265Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T21:51:56.265Z] ---> Running in 76140286a59b [2023-11-01T21:51:56.534Z] Removing intermediate container 76140286a59b [2023-11-01T21:51:56.534Z] ---> 98b8c93b590b [2023-11-01T21:51:56.534Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T21:51:56.803Z] ---> Running in 3831a106cc4a [2023-11-01T21:51:57.070Z] Removing intermediate container 3831a106cc4a [2023-11-01T21:51:57.070Z] ---> 6a09b21202ba [2023-11-01T21:51:57.070Z] Step 23/25 : LABEL arch=arm64 [2023-11-01T21:51:57.070Z] ---> Running in efb683dee48c [2023-11-01T21:51:57.583Z] Removing intermediate container efb683dee48c [2023-11-01T21:51:57.583Z] ---> a4e842cf3b44 [2023-11-01T21:51:57.583Z] Step 24/25 : LABEL git_sha=47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:51:57.583Z] ---> Running in 5a35d0215eba [2023-11-01T21:51:57.852Z] Removing intermediate container 5a35d0215eba [2023-11-01T21:51:57.852Z] ---> dd6b117d40f9 [2023-11-01T21:51:57.852Z] Step 25/25 : LABEL version=3.1.0-dev.28 [2023-11-01T21:51:57.852Z] ---> Running in 455ede97ed25 [2023-11-01T21:51:58.120Z] Removing intermediate container 455ede97ed25 [2023-11-01T21:51:58.120Z] ---> e58c28a22017 [2023-11-01T21:51:58.120Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T21:51:58.120Z] Successfully built e58c28a22017 [2023-11-01T21:51:58.120Z] 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-11-01T21:51:58.292Z] provisioning config files... [2023-11-01T21:51:58.307Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/148@tmp/config8468080140874340296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:51:58.654Z] ---> docker-login.sh [2023-11-01T21:51:58.654Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:51:58.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:51:58.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:51:58.921Z] Configure a credential helper to remove this warning. See [2023-11-01T21:51:58.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:51:58.921Z] [2023-11-01T21:51:58.921Z] Login Succeeded [2023-11-01T21:51:58.921Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:51:59.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:51:59.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:51:59.191Z] Configure a credential helper to remove this warning. See [2023-11-01T21:51:59.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:51:59.191Z] [2023-11-01T21:51:59.191Z] Login Succeeded [2023-11-01T21:51:59.191Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:51:59.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:51:59.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:51:59.729Z] Configure a credential helper to remove this warning. See [2023-11-01T21:51:59.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:51:59.729Z] [2023-11-01T21:51:59.729Z] Login Succeeded [2023-11-01T21:51:59.729Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:51:59.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:51:59.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:51:59.998Z] Configure a credential helper to remove this warning. See [2023-11-01T21:51:59.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:51:59.998Z] [2023-11-01T21:51:59.998Z] Login Succeeded [2023-11-01T21:51:59.998Z] docker.io [2023-11-01T21:52:00.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:52:00.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:52:00.535Z] Configure a credential helper to remove this warning. See [2023-11-01T21:52:00.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:52:00.535Z] [2023-11-01T21:52:00.535Z] Login Succeeded [2023-11-01T21:52:00.535Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:52:00.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T21:52:00.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:52:00.620Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-01T21:52:00.620Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:52:00.620Z] latest [2023-11-01T21:52:00.620Z] 3.1.0-dev.28 [2023-11-01T21:52:00.620Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:52:00.620Z] main [2023-11-01T21:52:00.620Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:00.992Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:01.366Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:52:01.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-01T21:52:01.366Z] cfe5b850c861: Preparing [2023-11-01T21:52:01.366Z] fad5552e036f: Preparing [2023-11-01T21:52:01.366Z] 61e9b3b1aeab: Preparing [2023-11-01T21:52:01.366Z] dd8bb974dd21: Preparing [2023-11-01T21:52:01.366Z] 5f4d9fc4d98d: Preparing [2023-11-01T21:52:01.637Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T21:52:01.637Z] fad5552e036f: Pushed [2023-11-01T21:52:01.637Z] cfe5b850c861: Pushed [2023-11-01T21:52:01.637Z] dd8bb974dd21: Pushed [2023-11-01T21:52:06.986Z] 61e9b3b1aeab: Pushed [2023-11-01T21:52:06.986Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0: digest: sha256:67365d8e236dca0e7b53f2634f770d02848599000f2f0651101c988851203174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:07.363Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:07.816Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-01T21:52:07.816Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-01T21:52:07.816Z] cfe5b850c861: Preparing [2023-11-01T21:52:07.816Z] fad5552e036f: Preparing [2023-11-01T21:52:07.816Z] 61e9b3b1aeab: Preparing [2023-11-01T21:52:07.816Z] dd8bb974dd21: Preparing [2023-11-01T21:52:07.816Z] 5f4d9fc4d98d: Preparing [2023-11-01T21:52:07.816Z] dd8bb974dd21: Layer already exists [2023-11-01T21:52:07.816Z] fad5552e036f: Layer already exists [2023-11-01T21:52:07.816Z] 61e9b3b1aeab: Layer already exists [2023-11-01T21:52:07.816Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T21:52:07.816Z] cfe5b850c861: Layer already exists [2023-11-01T21:52:08.342Z] latest: digest: sha256:67365d8e236dca0e7b53f2634f770d02848599000f2f0651101c988851203174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:08.743Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:09.144Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.28 [2023-11-01T21:52:09.144Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-01T21:52:09.144Z] cfe5b850c861: Preparing [2023-11-01T21:52:09.144Z] fad5552e036f: Preparing [2023-11-01T21:52:09.144Z] 61e9b3b1aeab: Preparing [2023-11-01T21:52:09.144Z] dd8bb974dd21: Preparing [2023-11-01T21:52:09.144Z] 5f4d9fc4d98d: Preparing [2023-11-01T21:52:09.144Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T21:52:09.144Z] fad5552e036f: Layer already exists [2023-11-01T21:52:09.144Z] 61e9b3b1aeab: Layer already exists [2023-11-01T21:52:09.144Z] dd8bb974dd21: Layer already exists [2023-11-01T21:52:09.144Z] cfe5b850c861: Layer already exists [2023-11-01T21:52:09.423Z] 3.1.0-dev.28: digest: sha256:67365d8e236dca0e7b53f2634f770d02848599000f2f0651101c988851203174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:09.834Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:10.195Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:52:10.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-01T21:52:10.195Z] cfe5b850c861: Preparing [2023-11-01T21:52:10.195Z] fad5552e036f: Preparing [2023-11-01T21:52:10.195Z] 61e9b3b1aeab: Preparing [2023-11-01T21:52:10.195Z] dd8bb974dd21: Preparing [2023-11-01T21:52:10.195Z] 5f4d9fc4d98d: Preparing [2023-11-01T21:52:10.195Z] dd8bb974dd21: Layer already exists [2023-11-01T21:52:10.195Z] 61e9b3b1aeab: Layer already exists [2023-11-01T21:52:10.195Z] cfe5b850c861: Layer already exists [2023-11-01T21:52:10.195Z] fad5552e036f: Layer already exists [2023-11-01T21:52:10.195Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T21:52:10.195Z] 47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28: digest: sha256:67365d8e236dca0e7b53f2634f770d02848599000f2f0651101c988851203174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:10.831Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:11.192Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-01T21:52:11.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-01T21:52:11.192Z] cfe5b850c861: Preparing [2023-11-01T21:52:11.192Z] fad5552e036f: Preparing [2023-11-01T21:52:11.192Z] 61e9b3b1aeab: Preparing [2023-11-01T21:52:11.192Z] dd8bb974dd21: Preparing [2023-11-01T21:52:11.192Z] 5f4d9fc4d98d: Preparing [2023-11-01T21:52:11.192Z] 61e9b3b1aeab: Layer already exists [2023-11-01T21:52:11.192Z] dd8bb974dd21: Layer already exists [2023-11-01T21:52:11.192Z] cfe5b850c861: Layer already exists [2023-11-01T21:52:11.192Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T21:52:11.192Z] fad5552e036f: Layer already exists [2023-11-01T21:52:11.458Z] main: digest: sha256:67365d8e236dca0e7b53f2634f770d02848599000f2f0651101c988851203174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T21:52:11.524Z] ===================================================== [Pipeline] echo [2023-11-01T21:52:11.537Z] taggedImages: [2023-11-01T21:52:11.537Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0 [2023-11-01T21:52:11.537Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-01T21:52:11.537Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.28 [2023-11-01T21:52:11.537Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:47318dce372b4a1f6fa2293d118d34d1e168baa0-3.1.0-dev.28 [2023-11-01T21:52:11.537Z] - 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-11-01T21:52:11.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:52:11.916Z] [2023-11-01T21:52:11.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:12.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:52:14.204Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T21:52:14.204Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T21:52:14.204Z] 04944245beec: Pulling fs layer [2023-11-01T21:52:14.204Z] 699f458cf7ca: Pulling fs layer [2023-11-01T21:52:14.204Z] 765212b225bb: Pulling fs layer [2023-11-01T21:52:14.204Z] f23df028b6ca: Pulling fs layer [2023-11-01T21:52:14.204Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T21:52:14.204Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T21:52:14.204Z] d65c8cfc05b1: Waiting [2023-11-01T21:52:14.204Z] f23df028b6ca: Waiting [2023-11-01T21:52:14.204Z] 04944245beec: Verifying Checksum [2023-11-01T21:52:14.204Z] 04944245beec: Download complete [2023-11-01T21:52:14.204Z] 765212b225bb: Verifying Checksum [2023-11-01T21:52:14.204Z] 765212b225bb: Download complete [2023-11-01T21:52:14.204Z] f23df028b6ca: Download complete [2023-11-01T21:52:14.204Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T21:52:14.204Z] d65c8cfc05b1: Download complete [2023-11-01T21:52:14.204Z] 699f458cf7ca: Verifying Checksum [2023-11-01T21:52:14.204Z] 699f458cf7ca: Download complete [2023-11-01T21:52:14.790Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T21:52:14.790Z] 8998bd30e6a1: Download complete [2023-11-01T21:52:17.380Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T21:52:17.380Z] 2437ff75d9bd: Download complete [2023-11-01T21:52:19.333Z] 8998bd30e6a1: Pull complete [2023-11-01T21:52:19.333Z] 04944245beec: Pull complete [2023-11-01T21:52:21.277Z] 699f458cf7ca: Pull complete [2023-11-01T21:52:21.277Z] 765212b225bb: Pull complete [2023-11-01T21:52:21.863Z] f23df028b6ca: Pull complete [2023-11-01T21:52:22.134Z] d65c8cfc05b1: Pull complete [2023-11-01T21:52:40.388Z] 2437ff75d9bd: Pull complete [2023-11-01T21:52:40.388Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T21:52:40.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:52:40.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:52:40.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-16292 does not seem to be running inside a container [2023-11-01T21:52:40.691Z] $ 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/148 -v /w/workspace/device-rest-go/148:/w/workspace/device-rest-go/148:rw,z -v /w/workspace/device-rest-go/148@tmp:/w/workspace/device-rest-go/148@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-11-01T21:52:43.397Z] $ docker top 3e102a27cb72e6d32579838cfea6e668f3a8b067ca302bf660ae33621ada6cb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:52:44.238Z] ---> job-cost.sh [2023-11-01T21:52:44.239Z] lf-activate-venv: SKIPPING [2023-11-01T21:52:44.239Z] INFO: No Stack... [2023-11-01T21:52:44.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T21:52:45.464Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T21:52:45.789Z] + + cat /w/workspace/device-rest-go/148/archives/cost.csv [2023-11-01T21:52:45.790Z] cut -d, -f6 [Pipeline] lock [2023-11-01T21:52:45.862Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [2023-11-01T21:52:45.868Z] Resource [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] did not exist. Created. [2023-11-01T21:52:45.868Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T21:52:46.532Z] /w/workspace/device-rest-go/148@tmp/durable-9eae3067/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T21:52:47.194Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T21:52:47.210Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T21:52:47.280Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T21:52:47.288Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T21:52:47.326Z] $ docker stop --time=1 3e102a27cb72e6d32579838cfea6e668f3a8b067ca302bf660ae33621ada6cb0 [2023-11-01T21:52:48.835Z] $ docker rm -f --volumes 3e102a27cb72e6d32579838cfea6e668f3a8b067ca302bf660ae33621ada6cb0 [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-11-01T21:52:49.314Z] provisioning config files... [2023-11-01T21:52:49.321Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11206171005720102742tmp [Pipeline] { [Pipeline] sh [2023-11-01T21:52:49.616Z] + set +x [2023-11-01T21:52:49.617Z] + curl -s https://codecov.io/bash [2023-11-01T21:52:49.617Z] + bash -s -- [2023-11-01T21:52:49.617Z] [2023-11-01T21:52:49.617Z] _____ _ [2023-11-01T21:52:49.617Z] / ____| | | [2023-11-01T21:52:49.617Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T21:52:49.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T21:52:49.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T21:52:49.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T21:52:49.617Z] Bash-1.0.6 [2023-11-01T21:52:49.617Z] [2023-11-01T21:52:49.617Z] [2023-11-01T21:52:49.617Z] ==> git version 2.25.1 found [2023-11-01T21:52:49.617Z] ==> 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-11-01T21:52:49.617Z] Release-Date: 2020-01-08 [2023-11-01T21:52:49.617Z] 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-11-01T21:52:49.617Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T21:52:49.617Z] ==> Jenkins CI detected. [2023-11-01T21:52:49.617Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-01T21:52:49.617Z] project root: . [2023-11-01T21:52:49.617Z] --> token set from env [2023-11-01T21:52:49.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T21:52:49.617Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T21:52:49.617Z] ==> Python coveragepy not found [2023-11-01T21:52:49.617Z] ==> Searching for coverage reports in: [2023-11-01T21:52:49.617Z] + . [2023-11-01T21:52:49.876Z] -> Found 1 reports [2023-11-01T21:52:49.876Z] ==> Detecting git/mercurial file structure [2023-11-01T21:52:49.876Z] ==> Reading reports [2023-11-01T21:52:49.876Z] + ./coverage.out bytes=14499 [2023-11-01T21:52:49.876Z] ==> Appending adjustments [2023-11-01T21:52:49.876Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T21:52:49.876Z] + Found adjustments [2023-11-01T21:52:49.876Z] ==> Gzipping contents [2023-11-01T21:52:49.876Z] 4.0K /tmp/codecov.7zWf4d.gz [2023-11-01T21:52:49.876Z] ==> Uploading reports [2023-11-01T21:52:49.876Z] url: https://codecov.io [2023-11-01T21:52:49.876Z] query: branch=main&commit=47318dce372b4a1f6fa2293d118d34d1e168baa0&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T21:52:49.876Z] -> Pinging Codecov [2023-11-01T21:52:49.876Z] 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=47318dce372b4a1f6fa2293d118d34d1e168baa0&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T21:52:50.153Z] -> Uploading to [2023-11-01T21:52:50.153Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/4E5D53B4F1F92C436F7061BF334D961C/47318dce372b4a1f6fa2293d118d34d1e168baa0/c012cdbb-cd25-4180-bd57-96e0c53b6faf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T215249Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6026e660642a41be28c5eea1ec6e77e90cc2efd20fe5eea21621e28c6c126ad [2023-11-01T21:52:50.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T21:52:50.153Z] Dload Upload Total Spent Left Speed [2023-11-01T21:52:50.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10502 --:--:-- --:--:-- --:--:-- 10502 100 2321 0 0 100 2321 0 8289 --:--:-- --:--:-- --:--:-- 8259 [2023-11-01T21:52:50.413Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] } [2023-11-01T21:52:50.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-01T21:52:50.709Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-01T21:52:50.722Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:51.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T21:52:51.041Z] [2023-11-01T21:52:51.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:52:51.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T21:52:51.356Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-01T21:52:51.356Z] df9b9388f04a: Pulling fs layer [2023-11-01T21:52:51.356Z] 52dc419b0ee2: Pulling fs layer [2023-11-01T21:52:51.356Z] 25bc292e5bac: Pulling fs layer [2023-11-01T21:52:51.356Z] 114826534d7a: Pulling fs layer [2023-11-01T21:52:51.356Z] 4657fd5d0bcf: Pulling fs layer [2023-11-01T21:52:51.356Z] 6ad1cebc031e: Pulling fs layer [2023-11-01T21:52:51.356Z] 8a3aa393b2d8: Pulling fs layer [2023-11-01T21:52:51.356Z] 114826534d7a: Waiting [2023-11-01T21:52:51.356Z] 4657fd5d0bcf: Waiting [2023-11-01T21:52:51.356Z] 6ad1cebc031e: Waiting [2023-11-01T21:52:51.356Z] 8a3aa393b2d8: Waiting [2023-11-01T21:52:51.356Z] 25bc292e5bac: Verifying Checksum [2023-11-01T21:52:51.356Z] 25bc292e5bac: Download complete [2023-11-01T21:52:51.356Z] 52dc419b0ee2: Verifying Checksum [2023-11-01T21:52:51.356Z] 52dc419b0ee2: Download complete [2023-11-01T21:52:51.356Z] df9b9388f04a: Download complete [2023-11-01T21:52:51.616Z] 6ad1cebc031e: Verifying Checksum [2023-11-01T21:52:51.616Z] 6ad1cebc031e: Download complete [2023-11-01T21:52:51.616Z] df9b9388f04a: Pull complete [2023-11-01T21:52:52.192Z] 52dc419b0ee2: Pull complete [2023-11-01T21:52:52.192Z] 25bc292e5bac: Pull complete [2023-11-01T21:52:52.455Z] 114826534d7a: Verifying Checksum [2023-11-01T21:52:52.455Z] 114826534d7a: Download complete [2023-11-01T21:52:52.714Z] 8a3aa393b2d8: Verifying Checksum [2023-11-01T21:52:52.714Z] 8a3aa393b2d8: Download complete [2023-11-01T21:52:58.016Z] 114826534d7a: Pull complete [2023-11-01T21:52:58.016Z] 4657fd5d0bcf: Pull complete [2023-11-01T21:52:58.275Z] 6ad1cebc031e: Pull complete [2023-11-01T21:53:02.511Z] 8a3aa393b2d8: Pull complete [2023-11-01T21:53:02.511Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-01T21:53:02.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T21:53:02.511Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:53:02.614Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:53:02.656Z] $ 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-11-01T21:53:09.676Z] $ docker top 819e82471ff97775b3c2ccd1de59e10c656a2d52c009efc22674836a5d37e15b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-01T21:53:09.741Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-01T21:53:10.032Z] + set -o pipefail [2023-11-01T21:53:10.032Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-01T21:53:16.615Z] [2023-11-01T21:53:16.615Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-01T21:53:16.615Z] [2023-11-01T21:53:16.615Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/6974ed8c-053f-4f75-b134-7f699e047e53 [2023-11-01T21:53:16.615Z] [2023-11-01T21:53:16.615Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-01T21:53:16.615Z] [2023-11-01T21:53:16.615Z] [2023-11-01T21:53:16.615Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-01T21:53:16.615Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-01T21:53:16.615Z] More details here: https://snyk.co/ue1NS [2023-11-01T21:53:16.615Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-01T21:53:16.615Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-01T21:53:16.632Z] $ docker stop --time=1 819e82471ff97775b3c2ccd1de59e10c656a2d52c009efc22674836a5d37e15b [2023-11-01T21:53:24.226Z] $ docker rm -f --volumes 819e82471ff97775b3c2ccd1de59e10c656a2d52c009efc22674836a5d37e15b [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-11-01T21:53:25.149Z] + git log --format=format:%s -1 47318dce372b4a1f6fa2293d118d34d1e168baa0 [Pipeline] sh [2023-11-01T21:53:25.439Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T21:53:25.439Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:53:25.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:53:25.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:53:25.828Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:53:25.887Z] $ 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-11-01T21:53:26.714Z] $ docker top a39269cf2963c947756b8d25e4c81147209a5d703c52a93fe857db418433d8d3 -eo pid,comm [2023-11-01T21:53:26.762Z] 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-11-01T21:53:26.762Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T21:53:26.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:53:26.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:53:26.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:53:26.925Z] $ docker exec a39269cf2963c947756b8d25e4c81147209a5d703c52a93fe857db418433d8d3 ssh-agent [2023-11-01T21:53:27.023Z] SSH_AUTH_SOCK=/tmp/ssh-jxHhWdULuMs9/agent.13 [2023-11-01T21:53:27.023Z] SSH_AGENT_PID=20 [2023-11-01T21:53:27.028Z] Running ssh-add (command line suppressed) [2023-11-01T21:53:27.125Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10927703947427006638.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10927703947427006638.key) [2023-11-01T21:53:27.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:53:27.453Z] + git semver tag [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,652 [run_tag] DEBUG tag force:False [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,652 [check_head_tag] DEBUG check head tag [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,653 [execute] INFO git cat-file --batch-check [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,657 [execute] INFO git cat-file --batch [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,682 [execute] INFO git tag -a v3.1.0-dev.28 -m v3.1.0-dev.28 [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,683 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.28', '-m', 'v3.1.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T21:53:27.725Z] 2023-11-01 21:53:27,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:53:27.725Z] 3.1.0-dev.28 [Pipeline] } [2023-11-01T21:53:27.756Z] $ docker exec --env ******** --env ******** a39269cf2963c947756b8d25e4c81147209a5d703c52a93fe857db418433d8d3 ssh-agent -k [2023-11-01T21:53:27.859Z] unset SSH_AUTH_SOCK; [2023-11-01T21:53:27.859Z] unset SSH_AGENT_PID; [2023-11-01T21:53:27.859Z] echo Agent pid 20 killed; [2023-11-01T21:53:27.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T21:53:28.239Z] + git semver [Pipeline] } [2023-11-01T21:53:28.521Z] $ docker stop --time=1 a39269cf2963c947756b8d25e4c81147209a5d703c52a93fe857db418433d8d3 [2023-11-01T21:53:30.026Z] $ docker rm -f --volumes a39269cf2963c947756b8d25e4c81147209a5d703c52a93fe857db418433d8d3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:53:30.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T21:53:30.557Z] [2023-11-01T21:53:30.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:53:30.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T21:53:30.862Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-01T21:53:30.862Z] ab5ef0e58194: Pulling fs layer [2023-11-01T21:53:30.862Z] 9712f1f96733: Pulling fs layer [2023-11-01T21:53:30.862Z] 63f879dbbcfc: Pulling fs layer [2023-11-01T21:53:30.862Z] 0d9ebad4ef96: Pulling fs layer [2023-11-01T21:53:30.862Z] e9a5061849ea: Pulling fs layer [2023-11-01T21:53:30.862Z] d747dcd14b5f: Pulling fs layer [2023-11-01T21:53:30.862Z] 2de7ff778b66: Pulling fs layer [2023-11-01T21:53:30.862Z] 0d9ebad4ef96: Waiting [2023-11-01T21:53:30.862Z] e9a5061849ea: Waiting [2023-11-01T21:53:30.862Z] d747dcd14b5f: Waiting [2023-11-01T21:53:30.862Z] 2de7ff778b66: Waiting [2023-11-01T21:53:30.862Z] 9712f1f96733: Verifying Checksum [2023-11-01T21:53:30.862Z] 9712f1f96733: Download complete [2023-11-01T21:53:31.428Z] 63f879dbbcfc: Verifying Checksum [2023-11-01T21:53:31.429Z] 63f879dbbcfc: Download complete [2023-11-01T21:53:31.687Z] ab5ef0e58194: Verifying Checksum [2023-11-01T21:53:31.687Z] ab5ef0e58194: Download complete [2023-11-01T21:53:31.687Z] d747dcd14b5f: Verifying Checksum [2023-11-01T21:53:31.687Z] d747dcd14b5f: Download complete [2023-11-01T21:53:31.687Z] e9a5061849ea: Verifying Checksum [2023-11-01T21:53:31.687Z] e9a5061849ea: Download complete [2023-11-01T21:53:31.687Z] 0d9ebad4ef96: Verifying Checksum [2023-11-01T21:53:31.687Z] 0d9ebad4ef96: Download complete [2023-11-01T21:53:31.687Z] 2de7ff778b66: Verifying Checksum [2023-11-01T21:53:31.687Z] 2de7ff778b66: Download complete [2023-11-01T21:53:34.976Z] ab5ef0e58194: Pull complete [2023-11-01T21:53:34.977Z] 9712f1f96733: Pull complete [2023-11-01T21:53:35.562Z] 63f879dbbcfc: Pull complete [2023-11-01T21:53:40.837Z] 0d9ebad4ef96: Pull complete [2023-11-01T21:53:40.837Z] e9a5061849ea: Pull complete [2023-11-01T21:53:40.837Z] d747dcd14b5f: Pull complete [2023-11-01T21:53:42.218Z] 2de7ff778b66: Pull complete [2023-11-01T21:53:42.218Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-01T21:53:42.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T21:53:42.218Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:53:42.335Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:53:42.379Z] $ 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-11-01T21:53:52.779Z] $ docker top baa0970673b8fc33e69ad9d3b72eea04750803c01d7049cd181fac288f0b8dbe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:53:52.846Z] provisioning config files... [2023-11-01T21:53:52.854Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15267607814892280921tmp [2023-11-01T21:53:52.865Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1577836200257332320tmp [2023-11-01T21:53:52.875Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10012784774984299877tmp [Pipeline] { [Pipeline] echo [2023-11-01T21:53:52.894Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:53:53.190Z] ---> sigul-configuration.sh [2023-11-01T21:53:53.190Z] gpg: directory `/root/.gnupg' created [2023-11-01T21:53:53.190Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-01T21:53:53.190Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-01T21:53:53.190Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-01T21:53:53.190Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-01T21:53:53.190Z] gpg: CAST5 encrypted data [2023-11-01T21:53:53.190Z] gpg: encrypted with 1 passphrase [2023-11-01T21:53:53.190Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-01T21:53:53.476Z] + mkdir /home/jenkins [2023-11-01T21:53:53.477Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-01T21:53:53.776Z] + 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-11-01T21:53:53.784Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:53:54.077Z] ---> sigul-install.sh [2023-11-01T21:53:54.077Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-01T21:53:54.370Z] + git tag --list [2023-11-01T21:53:54.370Z] v1.0.0 [2023-11-01T21:53:54.370Z] v1.1.0 [2023-11-01T21:53:54.370Z] v1.1.1 [2023-11-01T21:53:54.370Z] v1.1.2 [2023-11-01T21:53:54.370Z] v1.2.0 [2023-11-01T21:53:54.370Z] v1.2.1 [2023-11-01T21:53:54.370Z] v2.0.0 [2023-11-01T21:53:54.370Z] v2.1.0 [2023-11-01T21:53:54.370Z] v2.1.1 [2023-11-01T21:53:54.370Z] v2.2.0 [2023-11-01T21:53:54.370Z] v2.3.0 [2023-11-01T21:53:54.370Z] v3.0 [2023-11-01T21:53:54.370Z] v3.0.0 [2023-11-01T21:53:54.370Z] v3.1.0-dev.1 [2023-11-01T21:53:54.370Z] v3.1.0-dev.10 [2023-11-01T21:53:54.370Z] v3.1.0-dev.11 [2023-11-01T21:53:54.370Z] v3.1.0-dev.12 [2023-11-01T21:53:54.370Z] v3.1.0-dev.13 [2023-11-01T21:53:54.370Z] v3.1.0-dev.14 [2023-11-01T21:53:54.370Z] v3.1.0-dev.15 [2023-11-01T21:53:54.370Z] v3.1.0-dev.16 [2023-11-01T21:53:54.370Z] v3.1.0-dev.17 [2023-11-01T21:53:54.370Z] v3.1.0-dev.18 [2023-11-01T21:53:54.370Z] v3.1.0-dev.19 [2023-11-01T21:53:54.370Z] v3.1.0-dev.2 [2023-11-01T21:53:54.370Z] v3.1.0-dev.20 [2023-11-01T21:53:54.370Z] v3.1.0-dev.21 [2023-11-01T21:53:54.370Z] v3.1.0-dev.22 [2023-11-01T21:53:54.370Z] v3.1.0-dev.23 [2023-11-01T21:53:54.370Z] v3.1.0-dev.24 [2023-11-01T21:53:54.370Z] v3.1.0-dev.25 [2023-11-01T21:53:54.370Z] v3.1.0-dev.26 [2023-11-01T21:53:54.370Z] v3.1.0-dev.27 [2023-11-01T21:53:54.370Z] v3.1.0-dev.28 [2023-11-01T21:53:54.370Z] v3.1.0-dev.3 [2023-11-01T21:53:54.370Z] v3.1.0-dev.4 [2023-11-01T21:53:54.370Z] v3.1.0-dev.5 [2023-11-01T21:53:54.370Z] v3.1.0-dev.6 [2023-11-01T21:53:54.370Z] v3.1.0-dev.7 [2023-11-01T21:53:54.370Z] v3.1.0-dev.8 [2023-11-01T21:53:54.370Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-01T21:53:54.666Z] + lftools sign git-tag v3.1.0-dev.28 [2023-11-01T21:53:55.236Z] Signing Git tag with Sigul... [2023-11-01T21:53:55.236Z] Signing v3.1.0-dev.28 [Pipeline] echo [2023-11-01T21:53:55.813Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:53:56.103Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-01T21:53:56.111Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-01T21:53:56.140Z] $ docker stop --time=1 baa0970673b8fc33e69ad9d3b72eea04750803c01d7049cd181fac288f0b8dbe [2023-11-01T21:53:57.741Z] $ docker rm -f --volumes baa0970673b8fc33e69ad9d3b72eea04750803c01d7049cd181fac288f0b8dbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-01T21:53:58.203Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T21:53:58.203Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:53:58.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:53:58.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:53:58.604Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:53:58.659Z] $ 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-11-01T21:53:59.275Z] $ docker top 24c3a9e320e0f297ab09fb7601161e812d3bc35a0ea852b92cb510e74eb26605 -eo pid,comm [2023-11-01T21:53:59.325Z] 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-11-01T21:53:59.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T21:53:59.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:53:59.371Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:53:59.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:53:59.484Z] $ docker exec 24c3a9e320e0f297ab09fb7601161e812d3bc35a0ea852b92cb510e74eb26605 ssh-agent [2023-11-01T21:53:59.605Z] SSH_AUTH_SOCK=/tmp/ssh-edLt706Iivzw/agent.17 [2023-11-01T21:53:59.605Z] SSH_AGENT_PID=37 [2023-11-01T21:53:59.612Z] Running ssh-add (command line suppressed) [2023-11-01T21:53:59.716Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13081998101888665061.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13081998101888665061.key) [2023-11-01T21:53:59.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:54:00.021Z] + git semver bump pre [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,257 [bump_version] DEBUG bumping version:3.1.0-dev.28 on axis:pre with prefix:dev [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,257 [bump_version] DEBUG bumped version:3.1.0-dev.29 [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,257 [write_version] DEBUG write version:3.1.0-dev.29 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,257 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,257 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,259 [execute] INFO git cat-file --batch-check [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,266 [execute] INFO git cat-file --batch [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T21:54:00.281Z] 2023-11-01 21:54:00,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:54:00.281Z] 3.1.0-dev.29 [Pipeline] } [2023-11-01T21:54:00.554Z] $ docker exec --env ******** --env ******** 24c3a9e320e0f297ab09fb7601161e812d3bc35a0ea852b92cb510e74eb26605 ssh-agent -k [2023-11-01T21:54:00.701Z] unset SSH_AUTH_SOCK; [2023-11-01T21:54:00.703Z] unset SSH_AGENT_PID; [2023-11-01T21:54:00.703Z] echo Agent pid 37 killed; [2023-11-01T21:54:00.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T21:54:01.037Z] + git semver [Pipeline] } [2023-11-01T21:54:01.316Z] $ docker stop --time=1 24c3a9e320e0f297ab09fb7601161e812d3bc35a0ea852b92cb510e74eb26605 [2023-11-01T21:54:03.011Z] $ docker rm -f --volumes 24c3a9e320e0f297ab09fb7601161e812d3bc35a0ea852b92cb510e74eb26605 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:54:03.441Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T21:54:03.441Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:54:03.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:54:03.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:54:03.879Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:54:03.916Z] $ 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-11-01T21:54:05.066Z] $ docker top 154d593d209dc978a5f54d2d33aed46b7196d6678a793119c99a2caa8debe8d4 -eo pid,comm [2023-11-01T21:54:05.116Z] 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-11-01T21:54:05.116Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T21:54:05.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:54:05.158Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:54:05.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:54:05.277Z] $ docker exec 154d593d209dc978a5f54d2d33aed46b7196d6678a793119c99a2caa8debe8d4 ssh-agent [2023-11-01T21:54:05.384Z] SSH_AUTH_SOCK=/tmp/ssh-K1LuDk7Ob4N1/agent.15 [2023-11-01T21:54:05.384Z] SSH_AGENT_PID=21 [2023-11-01T21:54:05.390Z] Running ssh-add (command line suppressed) [2023-11-01T21:54:05.492Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5062692286678853211.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5062692286678853211.key) [2023-11-01T21:54:05.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:54:05.940Z] + git semver push [2023-11-01T21:54:06.199Z] 2023-11-01 21:54:06,198 [run_push] DEBUG push [2023-11-01T21:54:06.199Z] 2023-11-01 21:54:06,200 [execute] INFO git cat-file --batch-check [2023-11-01T21:54:06.199Z] 2023-11-01 21:54:06,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T21:54:06.477Z] 2023-11-01 21:54:06,206 [execute] INFO git rev-list 9c8fd1d639b192910726f081a93b3690a025d5db -- [2023-11-01T21:54:06.477Z] 2023-11-01 21:54:06,206 [execute] DEBUG Popen(['git', 'rev-list', '9c8fd1d639b192910726f081a93b3690a025d5db', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T21:54:06.477Z] 2023-11-01 21:54:06,215 [execute] INFO git fetch -v origin [2023-11-01T21:54:06.477Z] 2023-11-01 21:54:06,215 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-01T21:54:07.050Z] 2023-11-01 21:54:06,757 [run_push] DEBUG no remote changes detected [2023-11-01T21:54:07.050Z] 2023-11-01 21:54:06,758 [execute] INFO git push origin semver [2023-11-01T21:54:07.050Z] 2023-11-01 21:54:06,759 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T21:54:07.991Z] 2023-11-01 21:54:07,684 [run_push] DEBUG push all version tags [2023-11-01T21:54:07.991Z] 2023-11-01 21:54:07,685 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-01T21:54:07.991Z] 2023-11-01 21:54:07,686 [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-11-01T21:54:08.560Z] 2023-11-01 21:54:08,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-01T21:54:08.560Z] 3.1.0-dev.29 [Pipeline] } [2023-11-01T21:54:08.574Z] $ docker exec --env ******** --env ******** 154d593d209dc978a5f54d2d33aed46b7196d6678a793119c99a2caa8debe8d4 ssh-agent -k [2023-11-01T21:54:08.668Z] unset SSH_AUTH_SOCK; [2023-11-01T21:54:08.668Z] unset SSH_AGENT_PID; [2023-11-01T21:54:08.669Z] echo Agent pid 21 killed; [2023-11-01T21:54:08.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T21:54:08.990Z] + git semver [Pipeline] } [2023-11-01T21:54:09.267Z] $ docker stop --time=1 154d593d209dc978a5f54d2d33aed46b7196d6678a793119c99a2caa8debe8d4 [2023-11-01T21:54:10.701Z] $ docker rm -f --volumes 154d593d209dc978a5f54d2d33aed46b7196d6678a793119c99a2caa8debe8d4 [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-11-01T21:54:11.385Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-01T21:54:11.385Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-01T21:54:11.385Z] total 16 [2023-11-01T21:54:11.385Z] drwxr-xr-x 3 root root 4096 Nov 1 21:45 . [2023-11-01T21:54:11.385Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:53 .. [2023-11-01T21:54:11.385Z] drwxr-xr-x 2 root root 4096 Nov 1 21:45 cost [2023-11-01T21:54:11.385Z] -rw-r--r-- 1 root root 86 Nov 1 21:45 cost.csv [2023-11-01T21:54:11.385Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-01T21:54:11.385Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-01T21:54:11.385Z] total 16 [2023-11-01T21:54:11.385Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:45 . [2023-11-01T21:54:11.385Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:53 .. [2023-11-01T21:54:11.385Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 21:45 cost [2023-11-01T21:54:11.385Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 21:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:11.687Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:12.568Z] ---> package-listing.sh [2023-11-01T21:54:12.568Z] ++ facter osfamily [2023-11-01T21:54:12.568Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T21:54:12.828Z] + OS_FAMILY=debian [2023-11-01T21:54:12.828Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-01T21:54:12.828Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T21:54:12.828Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T21:54:12.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T21:54:12.828Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T21:54:12.828Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-01T21:54:12.828Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T21:54:12.828Z] + case "${OS_FAMILY}" in [2023-11-01T21:54:12.828Z] + dpkg -l [2023-11-01T21:54:12.828Z] + grep '^ii' [2023-11-01T21:54:12.828Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T21:54:12.828Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T21:54:12.828Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T21:54:12.828Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-01T21:54:12.828Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-01T21:54:12.828Z] + 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-11-01T21:54:12.838Z] 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-11-01T21:54:13.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:54:13.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:54:13.454Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:54:13.530Z] prd-ubuntu20.04-docker-8c-8g-16291 does not seem to be running inside a container [2023-11-01T21:54:13.662Z] $ 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-11-01T21:54:14.121Z] $ docker top 95928b7ea40cc0edc1a4d7a82a4f81e356e58e761f51249acba0f15d48bc8d71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:54:14.576Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T21:54:14.876Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T21:54:15.168Z] + ls /var/log/sa-host [2023-11-01T21:54:15.168Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:54:15.374Z] provisioning config files... [2023-11-01T21:54:15.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13989473804082419243tmp [Pipeline] { [Pipeline] echo [2023-11-01T21:54:15.399Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:15.682Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T21:54:15.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:16.058Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T21:54:16.066Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:16.348Z] ---> sudo-logs.sh [2023-11-01T21:54:16.348Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T21:54:16.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:16.664Z] ---> job-cost.sh [2023-11-01T21:54:16.664Z] lf-activate-venv: SKIPPING [2023-11-01T21:54:16.664Z] DEBUG: total: 0.2199999988079071 [2023-11-01T21:54:16.664Z] INFO: Retrieving Stack Cost... [2023-11-01T21:54:16.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T21:54:17.497Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T21:54:17.507Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:54:17.794Z] ---> logs-deploy.sh [2023-11-01T21:54:17.794Z] lf-activate-venv: SKIPPING [2023-11-01T21:54:17.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/148 [2023-11-01T21:54:17.794Z] INFO: archiving workspace using pattern(s): [2023-11-01T21:54:18.746Z] Archives upload complete. [2023-11-01T21:54:18.746Z] INFO: archiving logs to Nexus