Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7254ae82036954a30da847ceb4fb6fc335c14613 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-ssh11230572821711054184.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3101763134995013321.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16713685611194113896.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13816411382735979609.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-ssh11817529879355143295.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-8505 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 7254ae82036954a30da847ceb4fb6fc335c14613 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-list --no-walk d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T20:49:15.353Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T20:49:15.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T20:49:15.429Z] ========================================================= [2023-10-04T20:49:15.429Z] EdgeX Global Pipelines Version Info [2023-10-04T20:49:15.429Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:49:16.496Z] ------------------- [2023-10-04T20:49:16.496Z] stable info: [2023-10-04T20:49:16.496Z] ------------------- [2023-10-04T20:49:16.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T20:49:16.496Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T20:49:16.496Z] Message: update stable to v1.0.254 [2023-10-04T20:49:17.066Z] ------------------- [2023-10-04T20:49:17.066Z] experimental info: [2023-10-04T20:49:17.066Z] ------------------- [2023-10-04T20:49:17.066Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T20:49:17.066Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T20:49:17.066Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T20:49:17.243Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-04T20:49:17.255Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-04T20:49:17.270Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T20:49:17.283Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T20:49:17.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T20:49:17.308Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T20:49:17.320Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T20:49:17.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-04T20:49:17.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T20:49:17.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T20:49:17.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T20:49:17.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-04T20:49:17.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T20:49:17.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T20:49:17.423Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T20:49:17.435Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T20:49:17.447Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T20:49:17.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T20:49:17.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T20:49:17.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T20:49:17.520Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-04T20:49:17.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-04T20:49:17.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T20:49:17.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T20:49:17.574Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T20:49:17.592Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T20:49:17.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T20:49:17.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-04T20:49:17.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-04T20:49:17.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-04T20:49:17.681Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo [2023-10-04T20:49:17.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7254ae8 [Pipeline] echo [2023-10-04T20:49:17.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:49:17.761Z] provisioning config files... [2023-10-04T20:49:17.774Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15157927130577269911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:49:18.078Z] ---> docker-login.sh [2023-10-04T20:49:18.078Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:49:18.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:18.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:18.340Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:18.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:18.340Z] [2023-10-04T20:49:18.340Z] Login Succeeded [2023-10-04T20:49:18.340Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:49:18.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:18.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:18.600Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:18.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:18.600Z] [2023-10-04T20:49:18.600Z] Login Succeeded [2023-10-04T20:49:18.600Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:49:18.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:18.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:18.600Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:18.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:18.600Z] [2023-10-04T20:49:18.600Z] Login Succeeded [2023-10-04T20:49:18.600Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:49:18.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:18.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:18.864Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:18.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:18.864Z] [2023-10-04T20:49:18.864Z] Login Succeeded [2023-10-04T20:49:18.864Z] docker.io [2023-10-04T20:49:18.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:19.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:19.124Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:19.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:19.124Z] [2023-10-04T20:49:19.124Z] Login Succeeded [2023-10-04T20:49:19.124Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:49:19.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T20:49:19.524Z] + git rev-list -1 --merges 7254ae82036954a30da847ceb4fb6fc335c14613~1..7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo [2023-10-04T20:49:19.574Z] -----------> git rev-list -1 --merges 7254ae82036954a30da847ceb4fb6fc335c14613~1..7254ae82036954a30da847ceb4fb6fc335c14613 7254ae82036954a30da847ceb4fb6fc335c14613 [false] [Pipeline] sh [2023-10-04T20:49:19.873Z] + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo [2023-10-04T20:49:19.889Z] ========================================================= [2023-10-04T20:49:19.889Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T20:49:19.889Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:49:20.205Z] + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo [2023-10-04T20:49:20.214Z] [semverPrep] GIT_COMMIT: 7254ae82036954a30da847ceb4fb6fc335c14613, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348) [Pipeline] echo [2023-10-04T20:49:20.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T20:49:20.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T20:49:20.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T20:49:20.588Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T20:49:20.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T20:49:20.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T20:49:20.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T20:49:20.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:49:21.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:49:21.002Z] [2023-10-04T20:49:21.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:49:21.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:49:21.310Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T20:49:21.310Z] b85a868b505f: Pulling fs layer [2023-10-04T20:49:21.311Z] e2be974225ed: Pulling fs layer [2023-10-04T20:49:21.311Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T20:49:21.311Z] 988bab9f4d93: Pulling fs layer [2023-10-04T20:49:21.311Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T20:49:21.311Z] 988bab9f4d93: Waiting [2023-10-04T20:49:21.311Z] eaf3925da568: Pulling fs layer [2023-10-04T20:49:21.311Z] 1469e6f7b9e6: Waiting [2023-10-04T20:49:21.311Z] bab4dde63d76: Pulling fs layer [2023-10-04T20:49:21.311Z] eaf3925da568: Waiting [2023-10-04T20:49:21.311Z] bde34c3a00c8: Pulling fs layer [2023-10-04T20:49:21.311Z] b352a97aabf1: Pulling fs layer [2023-10-04T20:49:21.311Z] 4872d77fe225: Pulling fs layer [2023-10-04T20:49:21.311Z] bde34c3a00c8: Waiting [2023-10-04T20:49:21.311Z] 5851b861e8e6: Pulling fs layer [2023-10-04T20:49:21.311Z] b352a97aabf1: Waiting [2023-10-04T20:49:21.311Z] e2be974225ed: Verifying Checksum [2023-10-04T20:49:21.311Z] e2be974225ed: Download complete [2023-10-04T20:49:21.311Z] 988bab9f4d93: Download complete [2023-10-04T20:49:21.570Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T20:49:21.570Z] 1469e6f7b9e6: Download complete [2023-10-04T20:49:21.570Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T20:49:21.570Z] 339a4e72a1f5: Download complete [2023-10-04T20:49:21.570Z] eaf3925da568: Verifying Checksum [2023-10-04T20:49:21.570Z] eaf3925da568: Download complete [2023-10-04T20:49:21.570Z] bde34c3a00c8: Verifying Checksum [2023-10-04T20:49:21.570Z] bde34c3a00c8: Download complete [2023-10-04T20:49:21.570Z] b352a97aabf1: Download complete [2023-10-04T20:49:21.570Z] 4872d77fe225: Download complete [2023-10-04T20:49:21.570Z] 5851b861e8e6: Download complete [2023-10-04T20:49:21.570Z] b85a868b505f: Verifying Checksum [2023-10-04T20:49:21.570Z] b85a868b505f: Download complete [2023-10-04T20:49:21.829Z] bab4dde63d76: Verifying Checksum [2023-10-04T20:49:21.829Z] bab4dde63d76: Download complete [2023-10-04T20:49:23.205Z] b85a868b505f: Pull complete [2023-10-04T20:49:23.205Z] e2be974225ed: Pull complete [2023-10-04T20:49:23.773Z] 339a4e72a1f5: Pull complete [2023-10-04T20:49:23.773Z] 988bab9f4d93: Pull complete [2023-10-04T20:49:24.032Z] 1469e6f7b9e6: Pull complete [2023-10-04T20:49:24.032Z] eaf3925da568: Pull complete [2023-10-04T20:49:25.933Z] bab4dde63d76: Pull complete [2023-10-04T20:49:25.933Z] bde34c3a00c8: Pull complete [2023-10-04T20:49:25.933Z] b352a97aabf1: Pull complete [2023-10-04T20:49:26.193Z] 4872d77fe225: Pull complete [2023-10-04T20:49:26.193Z] 5851b861e8e6: Pull complete [2023-10-04T20:49:26.193Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T20:49:26.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:49:26.193Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:49:26.290Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:49:26.328Z] $ 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-10-04T20:49:28.942Z] $ docker top 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 -eo pid,comm [2023-10-04T20:49:29.000Z] 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-10-04T20:49:29.000Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T20:49:29.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:49:29.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:49:29.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:49:29.162Z] $ docker exec 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent [2023-10-04T20:49:29.279Z] SSH_AUTH_SOCK=/tmp/ssh-Xoe7YsQjU9HS/agent.33 [2023-10-04T20:49:29.279Z] SSH_AGENT_PID=39 [2023-10-04T20:49:29.285Z] Running ssh-add (command line suppressed) [2023-10-04T20:49:29.381Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6613009071736499571.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6613009071736499571.key) [2023-10-04T20:49:29.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:49:29.681Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T20:49:29.691Z] $ docker exec --env ******** --env ******** 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent -k [2023-10-04T20:49:29.792Z] unset SSH_AUTH_SOCK; [2023-10-04T20:49:29.793Z] unset SSH_AGENT_PID; [2023-10-04T20:49:29.794Z] echo Agent pid 39 killed; [2023-10-04T20:49:29.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T20:49:29.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:49:29.833Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:49:29.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:49:29.944Z] $ docker exec 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent [2023-10-04T20:49:30.063Z] SSH_AUTH_SOCK=/tmp/ssh-8ehea6aJxCpT/agent.71 [2023-10-04T20:49:30.063Z] SSH_AGENT_PID=77 [2023-10-04T20:49:30.068Z] Running ssh-add (command line suppressed) [2023-10-04T20:49:30.175Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1089727268535523959.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1089727268535523959.key) [2023-10-04T20:49:30.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:49:30.480Z] + git semver init [2023-10-04T20:49:30.740Z] 2023-10-04 20:49:30,675 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T20:49:30.740Z] 2023-10-04 20:49:30,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-04T20:49:30.740Z] 2023-10-04 20:49:30,677 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-04T20:49:30.740Z] 2023-10-04 20:49:30,677 [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-10-04T20:49:32.258Z] 2023-10-04 20:49:31,931 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-04T20:49:32.258Z] 2023-10-04 20:49:31,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-04T20:49:32.258Z] 2023-10-04 20:49:31,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:49:32.258Z] 2023-10-04 20:49:31,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:49:32.258Z] 3.1.0-dev.20 [Pipeline] } [2023-10-04T20:49:32.267Z] $ docker exec --env ******** --env ******** 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent -k [2023-10-04T20:49:32.373Z] unset SSH_AUTH_SOCK; [2023-10-04T20:49:32.373Z] unset SSH_AGENT_PID; [2023-10-04T20:49:32.375Z] echo Agent pid 77 killed; [2023-10-04T20:49:32.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T20:49:32.696Z] + git semver [Pipeline] } [2023-10-04T20:49:32.969Z] $ docker stop --time=1 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 [2023-10-04T20:49:34.300Z] $ docker rm -f --volumes 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:49:34.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T20:49:34.849Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T20:49:34.852Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [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-10-04T20:49:35.013Z] provisioning config files... [2023-10-04T20:49:35.022Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7239411639164972339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:49:35.317Z] ---> docker-login.sh [2023-10-04T20:49:35.317Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:49:35.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:35.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:35.317Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:35.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:35.317Z] [2023-10-04T20:49:35.317Z] Login Succeeded [2023-10-04T20:49:35.317Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:49:35.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:35.577Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:35.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:35.577Z] [2023-10-04T20:49:35.577Z] Login Succeeded [2023-10-04T20:49:35.577Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:49:35.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:35.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:35.577Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:35.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:35.577Z] [2023-10-04T20:49:35.577Z] Login Succeeded [2023-10-04T20:49:35.577Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:49:35.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:35.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:35.577Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:35.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:35.577Z] [2023-10-04T20:49:35.577Z] Login Succeeded [2023-10-04T20:49:35.577Z] docker.io [2023-10-04T20:49:35.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:49:36.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:49:36.096Z] Configure a credential helper to remove this warning. See [2023-10-04T20:49:36.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:49:36.096Z] [2023-10-04T20:49:36.096Z] Login Succeeded [2023-10-04T20:49:36.096Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:49:36.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T20:49:36.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:49:36.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:49:36.203Z] ========================================================= [2023-10-04T20:49:36.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T20:49:36.204Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:49:36.523Z] + 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-10-04T20:49:36.524Z] Sending build context to Docker daemon 10.93MB [2023-10-04T20:49:36.524Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:49:36.524Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T20:49:36.524Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T20:49:36.524Z] 7264a8db6415: Pulling fs layer [2023-10-04T20:49:36.524Z] c4d48a809fc2: Pulling fs layer [2023-10-04T20:49:36.524Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T20:49:36.524Z] ad3a456e5733: Pulling fs layer [2023-10-04T20:49:36.524Z] 33e27b845d1e: Pulling fs layer [2023-10-04T20:49:36.524Z] c68163c4e522: Pulling fs layer [2023-10-04T20:49:36.524Z] 50da416c3ac9: Pulling fs layer [2023-10-04T20:49:36.524Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T20:49:36.524Z] c68163c4e522: Waiting [2023-10-04T20:49:36.524Z] ad3a456e5733: Waiting [2023-10-04T20:49:36.524Z] 50da416c3ac9: Waiting [2023-10-04T20:49:36.524Z] 23d2d4c4bb30: Waiting [2023-10-04T20:49:36.524Z] 33e27b845d1e: Waiting [2023-10-04T20:49:36.524Z] c4d48a809fc2: Verifying Checksum [2023-10-04T20:49:36.524Z] c4d48a809fc2: Download complete [2023-10-04T20:49:36.524Z] ad3a456e5733: Verifying Checksum [2023-10-04T20:49:36.524Z] ad3a456e5733: Download complete [2023-10-04T20:49:36.524Z] 33e27b845d1e: Verifying Checksum [2023-10-04T20:49:36.524Z] 33e27b845d1e: Download complete [2023-10-04T20:49:36.782Z] 7264a8db6415: Verifying Checksum [2023-10-04T20:49:36.782Z] 7264a8db6415: Download complete [2023-10-04T20:49:36.782Z] c68163c4e522: Verifying Checksum [2023-10-04T20:49:36.782Z] c68163c4e522: Download complete [2023-10-04T20:49:36.782Z] 7264a8db6415: Pull complete [2023-10-04T20:49:37.041Z] c4d48a809fc2: Pull complete [2023-10-04T20:49:37.041Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T20:49:37.041Z] 23d2d4c4bb30: Download complete [2023-10-04T20:49:37.041Z] 4f1c88b9dad5: Verifying Checksum [2023-10-04T20:49:37.041Z] 4f1c88b9dad5: Download complete [2023-10-04T20:49:37.299Z] 50da416c3ac9: Download complete [2023-10-04T20:49:40.579Z] 4f1c88b9dad5: Pull complete [2023-10-04T20:49:40.579Z] ad3a456e5733: Pull complete [2023-10-04T20:49:40.579Z] 33e27b845d1e: Pull complete [2023-10-04T20:49:40.579Z] c68163c4e522: Pull complete [2023-10-04T20:49:42.481Z] 50da416c3ac9: Pull complete [2023-10-04T20:49:43.047Z] 23d2d4c4bb30: Pull complete [2023-10-04T20:49:43.047Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T20:49:43.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T20:49:43.047Z] ---> 0786185ac409 [2023-10-04T20:49:43.047Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:49:48.345Z] ---> Running in 53e91a13d684 [2023-10-04T20:49:48.345Z] Removing intermediate container 53e91a13d684 [2023-10-04T20:49:48.345Z] ---> 1c863a5d5838 [2023-10-04T20:49:48.345Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:49:48.345Z] ---> Running in 7cfd256f0cc4 [2023-10-04T20:49:48.345Z] Removing intermediate container 7cfd256f0cc4 [2023-10-04T20:49:48.345Z] ---> 52171b75cada [2023-10-04T20:49:48.345Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:49:48.345Z] ---> Running in 7e0b62383b6e [2023-10-04T20:49:48.345Z] Removing intermediate container 7e0b62383b6e [2023-10-04T20:49:48.345Z] ---> 0b2208c795e2 [2023-10-04T20:49:48.345Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:49:48.345Z] ---> Running in 25acebd4b9db [2023-10-04T20:49:48.345Z] Removing intermediate container 25acebd4b9db [2023-10-04T20:49:48.345Z] ---> 47e1c85b2ee1 [2023-10-04T20:49:48.345Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:49:48.345Z] ---> Running in f1ff8e5e49d6 [2023-10-04T20:49:48.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:49:48.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:49:48.605Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T20:49:48.605Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T20:49:48.605Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T20:49:48.605Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T20:49:48.605Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:49:48.865Z] OK: 268 MiB in 56 packages [2023-10-04T20:49:49.435Z] Removing intermediate container f1ff8e5e49d6 [2023-10-04T20:49:49.435Z] ---> 81be1e645e73 [2023-10-04T20:49:49.435Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-04T20:49:49.435Z] ---> Running in e07a61c7f2ac [2023-10-04T20:49:49.435Z] Removing intermediate container e07a61c7f2ac [2023-10-04T20:49:49.435Z] ---> 9a02b5b07a01 [2023-10-04T20:49:49.435Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-04T20:49:49.435Z] ---> 5db9f67f12c4 [2023-10-04T20:49:49.435Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:49:49.435Z] ---> Running in 1070c4272104 [2023-10-04T20:49:49.967Z] Still waiting to schedule task [2023-10-04T20:49:49.967Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-04T20:50:28.191Z] Removing intermediate container 1070c4272104 [2023-10-04T20:50:28.192Z] ---> 6002f110106d [2023-10-04T20:50:28.192Z] Step 11/12 : COPY . . [2023-10-04T20:50:28.192Z] ---> a402d51b8443 [2023-10-04T20:50:28.192Z] Step 12/12 : RUN $MAKE [2023-10-04T20:50:28.192Z] ---> Running in 195ed594174f [2023-10-04T20:50:28.192Z] noop [2023-10-04T20:50:28.192Z] Removing intermediate container 195ed594174f [2023-10-04T20:50:28.192Z] ---> 797b027ee9b6 [2023-10-04T20:50:28.192Z] Successfully built 797b027ee9b6 [2023-10-04T20:50:28.192Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:50:28.516Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T20:50:28.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:50:28.585Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:50:28.611Z] $ 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-10-04T20:50:28.941Z] $ docker top 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:50:29.292Z] + go version [2023-10-04T20:50:29.292Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T20:50:29.301Z] $ docker stop --time=1 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 [2023-10-04T20:50:30.565Z] $ docker rm -f --volumes 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:50:30.947Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T20:50:30.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:50:31.018Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:50:31.039Z] $ 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-10-04T20:50:31.390Z] $ docker top 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:50:31.731Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-04T20:50:32.025Z] + make test [2023-10-04T20:50:32.025Z] go test ./... -coverprofile=coverage.out ./... [2023-10-04T20:50:33.400Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-04T20:50:43.570Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-04T20:50:43.570Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-10-04T20:50:50.121Z] go vet ./... [2023-10-04T20:50:53.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T20:50:53.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T20:50:53.398Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T20:50:53.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T20:50:53.420Z] $ docker stop --time=1 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 [2023-10-04T20:50:57.157Z] $ docker rm -f --volumes 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:50:57.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T20:50:57.661Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T20:50:58.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T20:50:58.446Z] + ls -al . [2023-10-04T20:50:58.446Z] total 188 [2023-10-04T20:50:58.446Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 20:50 . [2023-10-04T20:50:58.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:49 .. [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:49 .dockerignore [2023-10-04T20:50:58.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:50 .git [2023-10-04T20:50:58.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:49 .github [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:49 .gitignore [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:49 .golangci.yml [2023-10-04T20:50:58.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:49 .semver [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:49 Attribution.txt [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:49 CHANGELOG.md [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:49 Dockerfile [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:49 GOVERNANCE.md [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:49 Jenkinsfile [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:49 LICENSE [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:49 Makefile [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:49 OWNERS.md [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:49 README.md [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 20:49 VERSION [2023-10-04T20:50:58.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:49 bin [2023-10-04T20:50:58.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:49 cmd [2023-10-04T20:50:58.446Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:50 coverage.out [2023-10-04T20:50:58.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:49 driver [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:49 go.mod [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:49 go.sum [2023-10-04T20:50:58.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:49 snap [2023-10-04T20:50:58.446Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:50:58.769Z] + 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=7254ae82036954a30da847ceb4fb6fc335c14613 --label arch=amd64 --label version=3.1.0-dev.20 . [2023-10-04T20:50:58.769Z] Sending build context to Docker daemon 10.95MB [2023-10-04T20:50:58.769Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:50:58.769Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T20:50:58.769Z] ---> 797b027ee9b6 [2023-10-04T20:50:58.769Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:50:59.031Z] ---> Running in 629f34f6cf27 [2023-10-04T20:50:59.031Z] Removing intermediate container 629f34f6cf27 [2023-10-04T20:50:59.031Z] ---> a1606e59008d [2023-10-04T20:50:59.031Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:50:59.031Z] ---> Running in 397b6ef3ea8b [2023-10-04T20:50:59.031Z] Removing intermediate container 397b6ef3ea8b [2023-10-04T20:50:59.031Z] ---> ed2b6c82a479 [2023-10-04T20:50:59.031Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:50:59.031Z] ---> Running in eb75c9c90e27 [2023-10-04T20:50:59.031Z] Removing intermediate container eb75c9c90e27 [2023-10-04T20:50:59.031Z] ---> b15efc0c4aed [2023-10-04T20:50:59.031Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:50:59.291Z] ---> Running in 3369dcfdcfd4 [2023-10-04T20:50:59.291Z] Removing intermediate container 3369dcfdcfd4 [2023-10-04T20:50:59.291Z] ---> 230355e708d7 [2023-10-04T20:50:59.291Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:50:59.291Z] ---> Running in 1d2479f46a91 [2023-10-04T20:50:59.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:50:59.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:50:59.810Z] OK: 268 MiB in 56 packages [2023-10-04T20:51:00.070Z] Removing intermediate container 1d2479f46a91 [2023-10-04T20:51:00.070Z] ---> 805e69ad57ed [2023-10-04T20:51:00.070Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-04T20:51:00.329Z] ---> Running in acc76c524bf0 [2023-10-04T20:51:00.329Z] Removing intermediate container acc76c524bf0 [2023-10-04T20:51:00.329Z] ---> b4617d7c2135 [2023-10-04T20:51:00.329Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-04T20:51:00.329Z] ---> ad1b5d356327 [2023-10-04T20:51:00.329Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:51:00.329Z] ---> Running in 6979f4039927 [2023-10-04T20:51:00.896Z] Removing intermediate container 6979f4039927 [2023-10-04T20:51:00.896Z] ---> ec255b9f22cf [2023-10-04T20:51:00.896Z] Step 11/25 : COPY . . [2023-10-04T20:51:01.645Z] ---> aaa9f2c05e9a [2023-10-04T20:51:01.645Z] Step 12/25 : RUN $MAKE [2023-10-04T20:51:01.645Z] ---> Running in ce8e2e143c6f [2023-10-04T20:51:01.904Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-04T20:51:23.833Z] Removing intermediate container ce8e2e143c6f [2023-10-04T20:51:23.833Z] ---> 6d76bf7d3c50 [2023-10-04T20:51:23.833Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T20:51:23.833Z] 3.18: Pulling from library/alpine [2023-10-04T20:51:23.833Z] 96526aa774ef: Pulling fs layer [2023-10-04T20:51:23.833Z] 96526aa774ef: Verifying Checksum [2023-10-04T20:51:23.833Z] 96526aa774ef: Download complete [2023-10-04T20:51:23.833Z] 96526aa774ef: Pull complete [2023-10-04T20:51:23.833Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T20:51:23.833Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T20:51:23.833Z] ---> 8ca4688f4f35 [2023-10-04T20:51:23.833Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T20:51:23.833Z] ---> Running in 04a8f64d9337 [2023-10-04T20:51:23.833Z] Removing intermediate container 04a8f64d9337 [2023-10-04T20:51:23.833Z] ---> 79820f0a9c37 [2023-10-04T20:51:23.833Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-04T20:51:23.833Z] ---> Running in c48766baa2aa [2023-10-04T20:51:23.833Z] Removing intermediate container c48766baa2aa [2023-10-04T20:51:23.833Z] ---> 478db845c293 [2023-10-04T20:51:23.833Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T20:51:23.833Z] ---> Running in 4ebfbc7a647e [2023-10-04T20:51:23.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:51:23.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:51:29.295Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T20:51:29.555Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:51:29.555Z] OK: 7 MiB in 16 packages [2023-10-04T20:51:29.814Z] Removing intermediate container 4ebfbc7a647e [2023-10-04T20:51:29.814Z] ---> f57563e9b09f [2023-10-04T20:51:29.814Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-04T20:51:30.750Z] ---> 7e42b383d791 [2023-10-04T20:51:30.750Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-04T20:51:30.750Z] ---> e36cbce8e26b [2023-10-04T20:51:30.750Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-04T20:51:30.934Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8506 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-04T20:51:30.947Z] Running in /w/workspace/device-rest-go/140 [Pipeline] { [Pipeline] checkout [2023-10-04T20:51:30.981Z] The recommended git tool is: git [2023-10-04T20:51:31.007Z] ---> 844b4a404773 [2023-10-04T20:51:31.007Z] Step 20/25 : EXPOSE 59986 [2023-10-04T20:51:31.007Z] ---> Running in 8422dfdfc972 [2023-10-04T20:51:31.007Z] Removing intermediate container 8422dfdfc972 [2023-10-04T20:51:31.007Z] ---> f22b9fa8a797 [2023-10-04T20:51:31.007Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-04T20:51:31.007Z] ---> Running in aac30ec2b1c9 [2023-10-04T20:51:31.266Z] Removing intermediate container aac30ec2b1c9 [2023-10-04T20:51:31.266Z] ---> 649a50fb87d8 [2023-10-04T20:51:31.266Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T20:51:31.266Z] ---> Running in e17ea1f100e2 [2023-10-04T20:51:31.266Z] Removing intermediate container e17ea1f100e2 [2023-10-04T20:51:31.266Z] ---> 3eb71501c40d [2023-10-04T20:51:31.266Z] Step 23/25 : LABEL arch=amd64 [2023-10-04T20:51:31.266Z] ---> Running in cbce1eba209e [2023-10-04T20:51:31.266Z] Removing intermediate container cbce1eba209e [2023-10-04T20:51:31.266Z] ---> 6b8909fb0041 [2023-10-04T20:51:31.266Z] Step 24/25 : LABEL git_sha=7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:51:31.266Z] ---> Running in e9b68947329b [2023-10-04T20:51:31.554Z] Removing intermediate container e9b68947329b [2023-10-04T20:51:31.554Z] ---> 694704ac4d63 [2023-10-04T20:51:31.554Z] Step 25/25 : LABEL version=3.1.0-dev.20 [2023-10-04T20:51:31.554Z] ---> Running in 4974f6e9b7e5 [2023-10-04T20:51:31.554Z] Removing intermediate container 4974f6e9b7e5 [2023-10-04T20:51:31.554Z] ---> 1f05cc4069a3 [2023-10-04T20:51:31.554Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T20:51:31.554Z] Successfully built 1f05cc4069a3 [2023-10-04T20:51:31.554Z] 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-10-04T20:51:31.685Z] provisioning config files... [2023-10-04T20:51:31.701Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1246927044659910112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:51:32.030Z] ---> docker-login.sh [2023-10-04T20:51:32.030Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:51:32.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:51:32.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:51:32.030Z] Configure a credential helper to remove this warning. See [2023-10-04T20:51:32.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:51:32.030Z] [2023-10-04T20:51:32.030Z] Login Succeeded [2023-10-04T20:51:32.030Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:51:32.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:51:32.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:51:32.030Z] Configure a credential helper to remove this warning. See [2023-10-04T20:51:32.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:51:32.030Z] [2023-10-04T20:51:32.030Z] Login Succeeded [2023-10-04T20:51:32.030Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:51:32.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:51:32.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:51:32.288Z] Configure a credential helper to remove this warning. See [2023-10-04T20:51:32.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:51:32.288Z] [2023-10-04T20:51:32.288Z] Login Succeeded [2023-10-04T20:51:32.288Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:51:32.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:51:32.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:51:32.288Z] Configure a credential helper to remove this warning. See [2023-10-04T20:51:32.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:51:32.288Z] [2023-10-04T20:51:32.288Z] Login Succeeded [2023-10-04T20:51:32.288Z] docker.io [2023-10-04T20:51:32.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:51:32.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:51:32.548Z] Configure a credential helper to remove this warning. See [2023-10-04T20:51:32.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:51:32.548Z] [2023-10-04T20:51:32.548Z] Login Succeeded [2023-10-04T20:51:32.548Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:51:32.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T20:51:32.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:51:32.612Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-04T20:51:32.612Z] 7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:51:32.612Z] latest [2023-10-04T20:51:32.612Z] 3.1.0-dev.20 [2023-10-04T20:51:32.612Z] 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:51:32.612Z] main [2023-10-04T20:51:32.612Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:32.926Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:33.226Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:51:33.226Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-04T20:51:33.226Z] 2ddbf642c0b6: Preparing [2023-10-04T20:51:33.226Z] 2ecb2e6cc757: Preparing [2023-10-04T20:51:33.226Z] ef77ba346a69: Preparing [2023-10-04T20:51:33.226Z] 3fe50cc8b119: Preparing [2023-10-04T20:51:33.227Z] cc2447e1835a: Preparing [2023-10-04T20:51:33.227Z] cc2447e1835a: Layer already exists [2023-10-04T20:51:33.227Z] 2ddbf642c0b6: Pushed [2023-10-04T20:51:33.227Z] 2ecb2e6cc757: Pushed [2023-10-04T20:51:33.227Z] 3fe50cc8b119: Pushed [2023-10-04T20:51:35.754Z] ef77ba346a69: Pushed [2023-10-04T20:51:35.754Z] 7254ae82036954a30da847ceb4fb6fc335c14613: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:36.115Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:36.209Z] using credential edgex-jenkins-ssh [2023-10-04T20:51:36.232Z] Cloning the remote Git repository [2023-10-04T20:51:36.421Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-04T20:51:36.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-04T20:51:36.421Z] 2ddbf642c0b6: Preparing [2023-10-04T20:51:36.421Z] 2ecb2e6cc757: Preparing [2023-10-04T20:51:36.421Z] ef77ba346a69: Preparing [2023-10-04T20:51:36.421Z] 3fe50cc8b119: Preparing [2023-10-04T20:51:36.421Z] cc2447e1835a: Preparing [2023-10-04T20:51:36.421Z] cc2447e1835a: Layer already exists [2023-10-04T20:51:36.421Z] ef77ba346a69: Layer already exists [2023-10-04T20:51:36.421Z] 3fe50cc8b119: Layer already exists [2023-10-04T20:51:36.421Z] 2ddbf642c0b6: Layer already exists [2023-10-04T20:51:36.421Z] 2ecb2e6cc757: Layer already exists [2023-10-04T20:51:36.421Z] latest: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:36.742Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:37.054Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 [2023-10-04T20:51:37.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-04T20:51:37.054Z] 2ddbf642c0b6: Preparing [2023-10-04T20:51:37.054Z] 2ecb2e6cc757: Preparing [2023-10-04T20:51:37.054Z] ef77ba346a69: Preparing [2023-10-04T20:51:37.054Z] 3fe50cc8b119: Preparing [2023-10-04T20:51:37.054Z] cc2447e1835a: Preparing [2023-10-04T20:51:37.054Z] cc2447e1835a: Layer already exists [2023-10-04T20:51:37.054Z] 3fe50cc8b119: Layer already exists [2023-10-04T20:51:37.054Z] 2ecb2e6cc757: Layer already exists [2023-10-04T20:51:37.054Z] 2ddbf642c0b6: Layer already exists [2023-10-04T20:51:37.054Z] ef77ba346a69: Layer already exists [2023-10-04T20:51:37.054Z] 3.1.0-dev.20: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:36.243Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-04T20:51:36.323Z] > git init /w/workspace/device-rest-go/140 # timeout=10 [2023-10-04T20:51:36.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-04T20:51:36.497Z] > git --version # timeout=10 [2023-10-04T20:51:36.517Z] > git --version # 'git version 2.25.1' [2023-10-04T20:51:36.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T20:51:36.670Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T20:51:37.376Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:37.693Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:51:37.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-04T20:51:37.693Z] 2ddbf642c0b6: Preparing [2023-10-04T20:51:37.693Z] 2ecb2e6cc757: Preparing [2023-10-04T20:51:37.693Z] ef77ba346a69: Preparing [2023-10-04T20:51:37.693Z] 3fe50cc8b119: Preparing [2023-10-04T20:51:37.693Z] cc2447e1835a: Preparing [2023-10-04T20:51:37.693Z] 2ddbf642c0b6: Layer already exists [2023-10-04T20:51:37.693Z] cc2447e1835a: Layer already exists [2023-10-04T20:51:37.693Z] 3fe50cc8b119: Layer already exists [2023-10-04T20:51:37.693Z] 2ecb2e6cc757: Layer already exists [2023-10-04T20:51:37.693Z] ef77ba346a69: Layer already exists [2023-10-04T20:51:37.693Z] 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:38.001Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:38.306Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-04T20:51:38.306Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-04T20:51:38.306Z] 2ddbf642c0b6: Preparing [2023-10-04T20:51:38.306Z] 2ecb2e6cc757: Preparing [2023-10-04T20:51:38.306Z] ef77ba346a69: Preparing [2023-10-04T20:51:38.306Z] 3fe50cc8b119: Preparing [2023-10-04T20:51:38.306Z] cc2447e1835a: Preparing [2023-10-04T20:51:38.306Z] cc2447e1835a: Layer already exists [2023-10-04T20:51:38.306Z] ef77ba346a69: Layer already exists [2023-10-04T20:51:38.306Z] 2ddbf642c0b6: Layer already exists [2023-10-04T20:51:38.306Z] 3fe50cc8b119: Layer already exists [2023-10-04T20:51:38.306Z] 2ecb2e6cc757: Layer already exists [2023-10-04T20:51:38.306Z] main: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T20:51:38.343Z] ===================================================== [Pipeline] echo [2023-10-04T20:51:38.349Z] taggedImages: [2023-10-04T20:51:38.349Z] - nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:51:38.349Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-04T20:51:38.349Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 [2023-10-04T20:51:38.349Z] - nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:51:38.349Z] - 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-10-04T20:51:38.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:51:38.731Z] [2023-10-04T20:51:38.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:51:39.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:51:39.025Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T20:51:39.025Z] 5eb5b503b376: Pulling fs layer [2023-10-04T20:51:39.025Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T20:51:39.025Z] ec43610c2a17: Pulling fs layer [2023-10-04T20:51:39.025Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T20:51:39.025Z] 33b1e0a273af: Pulling fs layer [2023-10-04T20:51:39.025Z] 3a2ae6a8a46f: Waiting [2023-10-04T20:51:39.025Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T20:51:39.025Z] 2f39f015ded8: Pulling fs layer [2023-10-04T20:51:39.025Z] 33b1e0a273af: Waiting [2023-10-04T20:51:39.025Z] 2f39f015ded8: Waiting [2023-10-04T20:51:39.025Z] 5c69ac0246d0: Download complete [2023-10-04T20:51:39.025Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T20:51:39.025Z] 3a2ae6a8a46f: Download complete [2023-10-04T20:51:39.025Z] 33b1e0a273af: Verifying Checksum [2023-10-04T20:51:39.025Z] 33b1e0a273af: Download complete [2023-10-04T20:51:39.025Z] 5d3b04190fa2: Verifying Checksum [2023-10-04T20:51:39.025Z] 5d3b04190fa2: Download complete [2023-10-04T20:51:39.025Z] ec43610c2a17: Download complete [2023-10-04T20:51:39.287Z] 5eb5b503b376: Verifying Checksum [2023-10-04T20:51:39.287Z] 5eb5b503b376: Download complete [2023-10-04T20:51:39.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-04T20:51:39.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T20:51:39.862Z] 2f39f015ded8: Verifying Checksum [2023-10-04T20:51:39.862Z] 2f39f015ded8: Download complete [2023-10-04T20:51:40.431Z] 5eb5b503b376: Pull complete [2023-10-04T20:51:40.431Z] 5c69ac0246d0: Pull complete [2023-10-04T20:51:40.484Z] Avoid second fetch [2023-10-04T20:51:40.484Z] Checking out Revision 7254ae82036954a30da847ceb4fb6fc335c14613 (main) [2023-10-04T20:51:40.996Z] ec43610c2a17: Pull complete [2023-10-04T20:51:40.996Z] 3a2ae6a8a46f: Pull complete [2023-10-04T20:51:41.024Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348)" [2023-10-04T20:51:40.471Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T20:51:40.538Z] > git checkout -f 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [2023-10-04T20:51:41.254Z] 33b1e0a273af: Pull complete [2023-10-04T20:51:41.254Z] 5d3b04190fa2: Pull complete [2023-10-04T20:51:41.414Z] [2023-10-04T20:51:41.414Z] GitHub has been notified of this commit’s build result [2023-10-04T20:51:41.414Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:51:41.937Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T20:51:41.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T20:51:41.937Z] Dload Upload Total Spent Left Speed [2023-10-04T20:51:41.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 57436 0 --:--:-- --:--:-- --:--:-- 57696 [Pipeline] sh [2023-10-04T20:51:42.544Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T20:51:42.873Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T20:51:42.873Z] + sudo tee /etc/docker/daemon.new [2023-10-04T20:51:42.873Z] { [2023-10-04T20:51:42.873Z] "registry-mirrors": [ [2023-10-04T20:51:42.873Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T20:51:42.873Z] ], [2023-10-04T20:51:42.873Z] "bip": "10.250.0.254/24", [2023-10-04T20:51:42.873Z] "hosts": [ [2023-10-04T20:51:42.873Z] "tcp://0.0.0.0:5555", [2023-10-04T20:51:42.873Z] "unix:///var/run/docker.sock" [2023-10-04T20:51:42.873Z] ], [2023-10-04T20:51:42.873Z] "mtu": 1458, [2023-10-04T20:51:42.873Z] "selinux-enabled": true, [2023-10-04T20:51:42.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T20:51:42.873Z] } [Pipeline] sh [2023-10-04T20:51:43.203Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T20:51:43.527Z] + sudo service docker restart [2023-10-04T20:51:45.438Z] 2f39f015ded8: Pull complete [2023-10-04T20:51:45.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T20:51:45.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:51:45.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:51:46.392Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:51:46.422Z] $ 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-10-04T20:51:52.248Z] $ docker top e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:51:52.639Z] ---> job-cost.sh [2023-10-04T20:51:52.640Z] lf-activate-venv: SKIPPING [2023-10-04T20:51:52.640Z] INFO: No Stack... [2023-10-04T20:51:52.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T20:51:53.465Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T20:51:53.753Z] + cut -d, -f6 [2023-10-04T20:51:53.753Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2023-10-04T20:51:53.767Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [2023-10-04T20:51:53.773Z] Resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] did not exist. Created. [2023-10-04T20:51:53.773Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T20:51:54.076Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T20:51:54.112Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T20:51:54.124Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T20:51:54.146Z] $ docker stop --time=1 e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 [2023-10-04T20:51:55.297Z] $ docker rm -f --volumes e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:52:01.792Z] provisioning config files... [2023-10-04T20:52:01.815Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/140@tmp/config1698454982219456533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:52:02.158Z] ---> docker-login.sh [2023-10-04T20:52:02.158Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:52:02.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:52:02.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:52:02.697Z] Configure a credential helper to remove this warning. See [2023-10-04T20:52:02.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:52:02.697Z] [2023-10-04T20:52:02.697Z] Login Succeeded [2023-10-04T20:52:02.697Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:52:02.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:52:02.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:52:02.969Z] Configure a credential helper to remove this warning. See [2023-10-04T20:52:02.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:52:02.969Z] [2023-10-04T20:52:02.969Z] Login Succeeded [2023-10-04T20:52:02.969Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:52:03.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:52:03.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:52:03.511Z] Configure a credential helper to remove this warning. See [2023-10-04T20:52:03.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:52:03.511Z] [2023-10-04T20:52:03.511Z] Login Succeeded [2023-10-04T20:52:03.511Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:52:03.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:52:03.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:52:03.782Z] Configure a credential helper to remove this warning. See [2023-10-04T20:52:03.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:52:03.782Z] [2023-10-04T20:52:03.782Z] Login Succeeded [2023-10-04T20:52:03.782Z] docker.io [2023-10-04T20:52:04.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:52:04.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:52:04.315Z] Configure a credential helper to remove this warning. See [2023-10-04T20:52:04.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:52:04.315Z] [2023-10-04T20:52:04.315Z] Login Succeeded [2023-10-04T20:52:04.315Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:52:04.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T20:52:04.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:52:04.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:52:04.579Z] ========================================================= [2023-10-04T20:52:04.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T20:52:04.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:52:04.932Z] + 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-10-04T20:52:04.932Z] Sending build context to Docker daemon 144.4kB [2023-10-04T20:52:05.198Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:52:05.198Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T20:52:08.547Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T20:52:08.547Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T20:52:08.547Z] 5d54e960e981: Pulling fs layer [2023-10-04T20:52:08.547Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T20:52:08.547Z] f0e02332f6b5: Pulling fs layer [2023-10-04T20:52:08.547Z] cefa15bbcfad: Pulling fs layer [2023-10-04T20:52:08.547Z] 17808c966233: Pulling fs layer [2023-10-04T20:52:08.547Z] f4c1fc716caa: Pulling fs layer [2023-10-04T20:52:08.547Z] f0e02332f6b5: Waiting [2023-10-04T20:52:08.547Z] cefa15bbcfad: Waiting [2023-10-04T20:52:08.547Z] f4c1fc716caa: Waiting [2023-10-04T20:52:08.547Z] 17808c966233: Waiting [2023-10-04T20:52:08.547Z] 5d54e960e981: Verifying Checksum [2023-10-04T20:52:08.547Z] f0e02332f6b5: Verifying Checksum [2023-10-04T20:52:08.547Z] f0e02332f6b5: Download complete [2023-10-04T20:52:08.547Z] cefa15bbcfad: Verifying Checksum [2023-10-04T20:52:08.547Z] cefa15bbcfad: Download complete [2023-10-04T20:52:08.547Z] 9fda8d8052c6: Download complete [2023-10-04T20:52:08.831Z] f4c1fc716caa: Verifying Checksum [2023-10-04T20:52:08.831Z] f4c1fc716caa: Download complete [2023-10-04T20:52:09.098Z] 9fda8d8052c6: Pull complete [2023-10-04T20:52:09.691Z] 5d54e960e981: Pull complete [2023-10-04T20:52:09.962Z] c4a7e357bf2a: Download complete [2023-10-04T20:52:10.928Z] 17808c966233: Verifying Checksum [2023-10-04T20:52:10.928Z] 17808c966233: Download complete [2023-10-04T20:52:23.262Z] c4a7e357bf2a: Pull complete [2023-10-04T20:52:23.262Z] f0e02332f6b5: Pull complete [2023-10-04T20:52:23.262Z] cefa15bbcfad: Pull complete [2023-10-04T20:52:28.626Z] 17808c966233: Pull complete [2023-10-04T20:52:30.139Z] f4c1fc716caa: Pull complete [2023-10-04T20:52:30.139Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T20:52:30.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T20:52:30.139Z] ---> ea914061e18c [2023-10-04T20:52:30.139Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:52:32.088Z] ---> Running in 7dc9752e30d8 [2023-10-04T20:52:32.088Z] Removing intermediate container 7dc9752e30d8 [2023-10-04T20:52:32.088Z] ---> 5eace7a69b0b [2023-10-04T20:52:32.088Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:52:32.088Z] ---> Running in a788857abd7e [2023-10-04T20:52:32.355Z] Removing intermediate container a788857abd7e [2023-10-04T20:52:32.355Z] ---> 46ece318ac79 [2023-10-04T20:52:32.355Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:52:32.623Z] ---> Running in 545783d65012 [2023-10-04T20:52:32.890Z] Removing intermediate container 545783d65012 [2023-10-04T20:52:32.890Z] ---> da2e9db0dfc6 [2023-10-04T20:52:32.890Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:52:32.890Z] ---> Running in 695b42009093 [2023-10-04T20:52:33.159Z] Removing intermediate container 695b42009093 [2023-10-04T20:52:33.159Z] ---> b1cbaf5f4ded [2023-10-04T20:52:33.159Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:52:33.159Z] ---> Running in 55ed30d78d63 [2023-10-04T20:52:34.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:52:34.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:52:35.794Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T20:52:35.794Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T20:52:35.794Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T20:52:35.794Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T20:52:35.794Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:52:35.794Z] OK: 270 MiB in 56 packages [2023-10-04T20:52:36.770Z] Removing intermediate container 55ed30d78d63 [2023-10-04T20:52:36.770Z] ---> 13f50376d695 [2023-10-04T20:52:36.770Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-04T20:52:36.770Z] ---> Running in ee47ee419148 [2023-10-04T20:52:37.037Z] Removing intermediate container ee47ee419148 [2023-10-04T20:52:37.037Z] ---> 11aded6ca3a0 [2023-10-04T20:52:37.037Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-04T20:52:37.629Z] ---> 22da51019137 [2023-10-04T20:52:37.629Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:52:37.629Z] ---> Running in ee072c51abf4 [2023-10-04T20:53:45.517Z] Removing intermediate container ee072c51abf4 [2023-10-04T20:53:45.517Z] ---> b58aeda31089 [2023-10-04T20:53:45.517Z] Step 11/12 : COPY . . [2023-10-04T20:53:45.517Z] ---> cd1b8e492752 [2023-10-04T20:53:45.517Z] Step 12/12 : RUN $MAKE [2023-10-04T20:53:45.517Z] ---> Running in b6ae6cbefa2c [2023-10-04T20:53:46.109Z] noop [2023-10-04T20:53:46.699Z] Removing intermediate container b6ae6cbefa2c [2023-10-04T20:53:46.699Z] ---> b0444270a9cb [2023-10-04T20:53:46.699Z] Successfully built b0444270a9cb [2023-10-04T20:53:46.699Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:53:47.050Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T20:53:47.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:53:47.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container [2023-10-04T20:53:47.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-04T20:53:48.485Z] $ docker top 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:53:49.294Z] + go version [2023-10-04T20:53:49.294Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T20:53:49.321Z] $ docker stop --time=1 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 [2023-10-04T20:53:50.922Z] $ docker rm -f --volumes 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:53:51.466Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T20:53:51.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:53:51.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container [2023-10-04T20:53:51.709Z] $ 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/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-04T20:53:52.862Z] $ docker top fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:53:53.358Z] + git config --global --add safe.directory /w/workspace/device-rest-go/140 [Pipeline] fileExists [Pipeline] sh [2023-10-04T20:53:53.684Z] + make test [2023-10-04T20:53:53.684Z] go test ./... -coverprofile=coverage.out ./... [2023-10-04T20:54:00.332Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-04T20:55:21.922Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-04T20:55:24.498Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-10-04T20:55:24.765Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T20:55:24.765Z] go vet ./... [2023-10-04T20:55:46.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T20:55:46.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T20:55:46.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T20:55:46.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T20:55:46.831Z] $ docker stop --time=1 fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 [2023-10-04T20:55:48.745Z] $ docker rm -f --volumes fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:55:49.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T20:55:49.902Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T20:55:50.300Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:55:50.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T20:55:50.984Z] + ls -al . [2023-10-04T20:55:50.984Z] total 184 [2023-10-04T20:55:50.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:53 . [2023-10-04T20:55:50.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:51 .. [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:51 .dockerignore [2023-10-04T20:55:50.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:51 .git [2023-10-04T20:55:50.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:51 .github [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:51 .gitignore [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:51 .golangci.yml [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:51 Attribution.txt [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:51 CHANGELOG.md [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:51 Dockerfile [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:51 GOVERNANCE.md [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:51 Jenkinsfile [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:51 LICENSE [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:51 Makefile [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:51 OWNERS.md [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:51 README.md [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 20:49 VERSION [2023-10-04T20:55:50.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:51 bin [2023-10-04T20:55:50.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:51 cmd [2023-10-04T20:55:50.984Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:55 coverage.out [2023-10-04T20:55:50.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:51 driver [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:51 go.mod [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:51 go.sum [2023-10-04T20:55:50.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:51 snap [2023-10-04T20:55:50.984Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:55:51.318Z] + 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=7254ae82036954a30da847ceb4fb6fc335c14613 --label arch=arm64 --label version=3.1.0-dev.20 . [2023-10-04T20:55:51.318Z] Sending build context to Docker daemon 159.7kB [2023-10-04T20:55:51.586Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:55:51.586Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T20:55:51.586Z] ---> b0444270a9cb [2023-10-04T20:55:51.586Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:55:51.586Z] ---> Running in fb6995f639bf [2023-10-04T20:55:52.172Z] Removing intermediate container fb6995f639bf [2023-10-04T20:55:52.172Z] ---> 39b08d5cd1ae [2023-10-04T20:55:52.172Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:55:52.172Z] ---> Running in 4b0d31e8f5e3 [2023-10-04T20:55:52.443Z] Removing intermediate container 4b0d31e8f5e3 [2023-10-04T20:55:52.443Z] ---> a6cd8959103f [2023-10-04T20:55:52.443Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:55:52.443Z] ---> Running in 362fe1d971b1 [2023-10-04T20:55:52.709Z] Removing intermediate container 362fe1d971b1 [2023-10-04T20:55:52.709Z] ---> dfd63c2d1abe [2023-10-04T20:55:52.709Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:55:52.709Z] ---> Running in 24fe0fd24296 [2023-10-04T20:55:52.977Z] Removing intermediate container 24fe0fd24296 [2023-10-04T20:55:52.977Z] ---> 49f564fe3473 [2023-10-04T20:55:52.977Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:55:52.977Z] ---> Running in d8a49e41f214 [2023-10-04T20:55:53.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:55:54.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:55:55.933Z] OK: 270 MiB in 56 packages [2023-10-04T20:55:56.892Z] Removing intermediate container d8a49e41f214 [2023-10-04T20:55:56.892Z] ---> 165920856d21 [2023-10-04T20:55:56.892Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-04T20:55:56.892Z] ---> Running in d3b2eef786c3 [2023-10-04T20:55:57.160Z] Removing intermediate container d3b2eef786c3 [2023-10-04T20:55:57.160Z] ---> 4603bd994647 [2023-10-04T20:55:57.160Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-04T20:55:57.743Z] ---> a2d22ed4062f [2023-10-04T20:55:57.743Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:55:57.743Z] ---> Running in a4b5b7b68f19 [2023-10-04T20:56:01.083Z] Removing intermediate container a4b5b7b68f19 [2023-10-04T20:56:01.083Z] ---> 4b7cf676da17 [2023-10-04T20:56:01.083Z] Step 11/25 : COPY . . [2023-10-04T20:56:01.083Z] ---> b153b25da8dd [2023-10-04T20:56:01.083Z] Step 12/25 : RUN $MAKE [2023-10-04T20:56:01.350Z] ---> Running in 20ede5156975 [2023-10-04T20:56:02.309Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-04T20:58:09.040Z] Removing intermediate container 20ede5156975 [2023-10-04T20:58:09.040Z] ---> ab4d24710ee5 [2023-10-04T20:58:09.040Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T20:58:09.040Z] 3.18: Pulling from library/alpine [2023-10-04T20:58:09.040Z] 579b34f0a95b: Pulling fs layer [2023-10-04T20:58:09.040Z] 579b34f0a95b: Verifying Checksum [2023-10-04T20:58:09.040Z] 579b34f0a95b: Download complete [2023-10-04T20:58:09.040Z] 579b34f0a95b: Pull complete [2023-10-04T20:58:09.040Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T20:58:09.040Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T20:58:09.040Z] ---> 3cc203321400 [2023-10-04T20:58:09.040Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T20:58:09.040Z] ---> Running in e5a59f9cd445 [2023-10-04T20:58:09.040Z] Removing intermediate container e5a59f9cd445 [2023-10-04T20:58:09.040Z] ---> 601e2e5e2c5b [2023-10-04T20:58:09.040Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-04T20:58:09.040Z] ---> Running in c4677a5bb3e7 [2023-10-04T20:58:09.040Z] Removing intermediate container c4677a5bb3e7 [2023-10-04T20:58:09.040Z] ---> f0ac2d3bc42a [2023-10-04T20:58:09.040Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T20:58:09.040Z] ---> Running in bee9cf26d9c8 [2023-10-04T20:58:09.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:58:09.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:58:09.040Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T20:58:09.040Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:58:09.040Z] OK: 8 MiB in 16 packages [2023-10-04T20:58:09.040Z] Removing intermediate container bee9cf26d9c8 [2023-10-04T20:58:09.040Z] ---> 2556199279f1 [2023-10-04T20:58:09.040Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-04T20:58:09.040Z] ---> 21581fadb1dd [2023-10-04T20:58:09.040Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-04T20:58:09.040Z] ---> cb8ca419a5b1 [2023-10-04T20:58:09.040Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-04T20:58:09.040Z] ---> 2f1af1bae508 [2023-10-04T20:58:09.040Z] Step 20/25 : EXPOSE 59986 [2023-10-04T20:58:09.040Z] ---> Running in cea251943303 [2023-10-04T20:58:09.040Z] Removing intermediate container cea251943303 [2023-10-04T20:58:09.040Z] ---> aabed7fc4caf [2023-10-04T20:58:09.040Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-04T20:58:09.040Z] ---> Running in 95e12f481a61 [2023-10-04T20:58:10.977Z] Removing intermediate container 95e12f481a61 [2023-10-04T20:58:10.977Z] ---> e408b6b42451 [2023-10-04T20:58:10.977Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T20:58:10.977Z] ---> Running in c6e37139186d [2023-10-04T20:58:10.977Z] Removing intermediate container c6e37139186d [2023-10-04T20:58:10.977Z] ---> 926ada640025 [2023-10-04T20:58:10.977Z] Step 23/25 : LABEL arch=arm64 [2023-10-04T20:58:11.246Z] ---> Running in 27da296ed516 [2023-10-04T20:58:12.655Z] Removing intermediate container 27da296ed516 [2023-10-04T20:58:12.655Z] ---> a21a43deeba3 [2023-10-04T20:58:12.655Z] Step 24/25 : LABEL git_sha=7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:58:12.655Z] ---> Running in dc262c9a6331 [2023-10-04T20:58:12.655Z] Removing intermediate container dc262c9a6331 [2023-10-04T20:58:12.655Z] ---> e9365bfecb22 [2023-10-04T20:58:12.655Z] Step 25/25 : LABEL version=3.1.0-dev.20 [2023-10-04T20:58:12.924Z] ---> Running in 7481bb9a88ac [2023-10-04T20:58:13.190Z] Removing intermediate container 7481bb9a88ac [2023-10-04T20:58:13.190Z] ---> e930cb4aa770 [2023-10-04T20:58:13.190Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T20:58:13.190Z] Successfully built e930cb4aa770 [2023-10-04T20:58:13.190Z] 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-10-04T20:58:13.326Z] provisioning config files... [2023-10-04T20:58:13.340Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/140@tmp/config9530079878612132331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:58:13.672Z] ---> docker-login.sh [2023-10-04T20:58:13.672Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:58:13.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:58:13.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:58:13.939Z] Configure a credential helper to remove this warning. See [2023-10-04T20:58:13.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:58:13.939Z] [2023-10-04T20:58:13.939Z] Login Succeeded [2023-10-04T20:58:13.939Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:58:14.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:58:14.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:58:14.204Z] Configure a credential helper to remove this warning. See [2023-10-04T20:58:14.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:58:14.204Z] [2023-10-04T20:58:14.204Z] Login Succeeded [2023-10-04T20:58:14.204Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:58:14.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:58:14.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:58:14.470Z] Configure a credential helper to remove this warning. See [2023-10-04T20:58:14.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:58:14.470Z] [2023-10-04T20:58:14.470Z] Login Succeeded [2023-10-04T20:58:14.470Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:58:14.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:58:15.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:58:15.001Z] Configure a credential helper to remove this warning. See [2023-10-04T20:58:15.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:58:15.001Z] [2023-10-04T20:58:15.001Z] Login Succeeded [2023-10-04T20:58:15.001Z] docker.io [2023-10-04T20:58:15.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:58:15.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:58:15.580Z] Configure a credential helper to remove this warning. See [2023-10-04T20:58:15.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:58:15.580Z] [2023-10-04T20:58:15.580Z] Login Succeeded [2023-10-04T20:58:15.580Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:58:15.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T20:58:15.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:58:15.642Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-04T20:58:15.642Z] 7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:58:15.642Z] latest [2023-10-04T20:58:15.642Z] 3.1.0-dev.20 [2023-10-04T20:58:15.642Z] 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:58:15.642Z] main [2023-10-04T20:58:15.642Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:15.980Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:16.307Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:58:16.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-04T20:58:16.307Z] 4415b70f5229: Preparing [2023-10-04T20:58:16.307Z] aff4d75aaa1f: Preparing [2023-10-04T20:58:16.307Z] e350d30381d1: Preparing [2023-10-04T20:58:16.307Z] 9d9a29cb7af6: Preparing [2023-10-04T20:58:16.307Z] 5f4d9fc4d98d: Preparing [2023-10-04T20:58:16.307Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T20:58:16.572Z] 4415b70f5229: Pushed [2023-10-04T20:58:16.572Z] aff4d75aaa1f: Pushed [2023-10-04T20:58:16.572Z] 9d9a29cb7af6: Pushed [2023-10-04T20:58:21.894Z] e350d30381d1: Pushed [2023-10-04T20:58:22.158Z] 7254ae82036954a30da847ceb4fb6fc335c14613: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:22.494Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:22.828Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-04T20:58:22.828Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-04T20:58:22.828Z] 4415b70f5229: Preparing [2023-10-04T20:58:22.828Z] aff4d75aaa1f: Preparing [2023-10-04T20:58:22.828Z] e350d30381d1: Preparing [2023-10-04T20:58:22.828Z] 9d9a29cb7af6: Preparing [2023-10-04T20:58:22.828Z] 5f4d9fc4d98d: Preparing [2023-10-04T20:58:22.828Z] e350d30381d1: Layer already exists [2023-10-04T20:58:22.828Z] 9d9a29cb7af6: Layer already exists [2023-10-04T20:58:22.828Z] 4415b70f5229: Layer already exists [2023-10-04T20:58:22.828Z] aff4d75aaa1f: Layer already exists [2023-10-04T20:58:22.828Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T20:58:22.828Z] latest: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:23.163Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:25.422Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 [2023-10-04T20:58:25.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-04T20:58:25.423Z] 4415b70f5229: Preparing [2023-10-04T20:58:25.423Z] aff4d75aaa1f: Preparing [2023-10-04T20:58:25.423Z] e350d30381d1: Preparing [2023-10-04T20:58:25.423Z] 9d9a29cb7af6: Preparing [2023-10-04T20:58:25.423Z] 5f4d9fc4d98d: Preparing [2023-10-04T20:58:25.423Z] 9d9a29cb7af6: Layer already exists [2023-10-04T20:58:25.423Z] e350d30381d1: Layer already exists [2023-10-04T20:58:25.423Z] 4415b70f5229: Layer already exists [2023-10-04T20:58:25.423Z] aff4d75aaa1f: Layer already exists [2023-10-04T20:58:25.423Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T20:58:25.423Z] 3.1.0-dev.20: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:25.826Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:26.879Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:58:26.880Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-04T20:58:26.880Z] 4415b70f5229: Preparing [2023-10-04T20:58:26.880Z] aff4d75aaa1f: Preparing [2023-10-04T20:58:26.880Z] e350d30381d1: Preparing [2023-10-04T20:58:26.880Z] 9d9a29cb7af6: Preparing [2023-10-04T20:58:26.880Z] 5f4d9fc4d98d: Preparing [2023-10-04T20:58:26.880Z] e350d30381d1: Layer already exists [2023-10-04T20:58:26.880Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T20:58:26.880Z] aff4d75aaa1f: Layer already exists [2023-10-04T20:58:26.880Z] 9d9a29cb7af6: Layer already exists [2023-10-04T20:58:26.880Z] 4415b70f5229: Layer already exists [2023-10-04T20:58:26.880Z] 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:27.236Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:27.603Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-04T20:58:27.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-04T20:58:27.603Z] 4415b70f5229: Preparing [2023-10-04T20:58:27.603Z] aff4d75aaa1f: Preparing [2023-10-04T20:58:27.603Z] e350d30381d1: Preparing [2023-10-04T20:58:27.603Z] 9d9a29cb7af6: Preparing [2023-10-04T20:58:27.603Z] 5f4d9fc4d98d: Preparing [2023-10-04T20:58:27.603Z] aff4d75aaa1f: Layer already exists [2023-10-04T20:58:27.603Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T20:58:27.603Z] e350d30381d1: Layer already exists [2023-10-04T20:58:27.603Z] 4415b70f5229: Layer already exists [2023-10-04T20:58:27.603Z] 9d9a29cb7af6: Layer already exists [2023-10-04T20:58:27.603Z] main: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T20:58:27.649Z] ===================================================== [Pipeline] echo [2023-10-04T20:58:27.656Z] taggedImages: [2023-10-04T20:58:27.656Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 [2023-10-04T20:58:27.656Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-04T20:58:27.656Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 [2023-10-04T20:58:27.656Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [2023-10-04T20:58:27.656Z] - 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-10-04T20:58:28.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:58:28.028Z] [2023-10-04T20:58:28.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:58:28.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:58:28.357Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T20:58:28.357Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T20:58:28.357Z] 04944245beec: Pulling fs layer [2023-10-04T20:58:28.357Z] 699f458cf7ca: Pulling fs layer [2023-10-04T20:58:28.357Z] 765212b225bb: Pulling fs layer [2023-10-04T20:58:28.357Z] f23df028b6ca: Pulling fs layer [2023-10-04T20:58:28.357Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T20:58:28.357Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T20:58:28.357Z] 765212b225bb: Waiting [2023-10-04T20:58:28.357Z] d65c8cfc05b1: Waiting [2023-10-04T20:58:28.357Z] f23df028b6ca: Waiting [2023-10-04T20:58:28.357Z] 2437ff75d9bd: Waiting [2023-10-04T20:58:28.624Z] 04944245beec: Verifying Checksum [2023-10-04T20:58:28.624Z] 04944245beec: Download complete [2023-10-04T20:58:28.624Z] 765212b225bb: Verifying Checksum [2023-10-04T20:58:28.624Z] 765212b225bb: Download complete [2023-10-04T20:58:28.624Z] f23df028b6ca: Download complete [2023-10-04T20:58:28.624Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T20:58:28.624Z] d65c8cfc05b1: Download complete [2023-10-04T20:58:28.891Z] 699f458cf7ca: Verifying Checksum [2023-10-04T20:58:28.891Z] 699f458cf7ca: Download complete [2023-10-04T20:58:29.157Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T20:58:29.157Z] 8998bd30e6a1: Download complete [2023-10-04T20:58:31.097Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T20:58:31.097Z] 2437ff75d9bd: Download complete [2023-10-04T20:58:33.035Z] 8998bd30e6a1: Pull complete [2023-10-04T20:58:33.300Z] 04944245beec: Pull complete [2023-10-04T20:58:34.704Z] 699f458cf7ca: Pull complete [2023-10-04T20:58:34.704Z] 765212b225bb: Pull complete [2023-10-04T20:58:35.662Z] f23df028b6ca: Pull complete [2023-10-04T20:58:38.237Z] d65c8cfc05b1: Pull complete [2023-10-04T20:58:53.231Z] 2437ff75d9bd: Pull complete [2023-10-04T20:58:53.231Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T20:58:53.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:58:53.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:58:53.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container [2023-10-04T20:58:53.452Z] $ 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/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-04T20:58:55.774Z] $ docker top 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:58:56.618Z] ---> job-cost.sh [2023-10-04T20:58:56.618Z] lf-activate-venv: SKIPPING [2023-10-04T20:58:56.618Z] INFO: No Stack... [2023-10-04T20:58:56.883Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T20:58:57.837Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T20:58:58.158Z] + cat /w/workspace/device-rest-go/140/archives/cost.csv [2023-10-04T20:58:58.158Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T20:58:58.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [2023-10-04T20:58:58.482Z] Resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] did not exist. Created. [2023-10-04T20:58:58.482Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T20:58:58.813Z] /w/workspace/device-rest-go/140@tmp/durable-b605457d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T20:58:59.148Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T20:58:59.435Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T20:58:59.481Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T20:58:59.488Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T20:58:59.487Z] $ docker stop --time=1 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f [2023-10-04T20:59:00.960Z] $ docker rm -f --volumes 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f [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-10-04T20:59:01.371Z] provisioning config files... [2023-10-04T20:59:01.377Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14264672507936520503tmp [Pipeline] { [Pipeline] sh [2023-10-04T20:59:01.671Z] + set +x [2023-10-04T20:59:01.671Z] + curl -s https://codecov.io/bash [2023-10-04T20:59:01.671Z] + bash -s -- [2023-10-04T20:59:01.671Z] [2023-10-04T20:59:01.671Z] _____ _ [2023-10-04T20:59:01.671Z] / ____| | | [2023-10-04T20:59:01.671Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T20:59:01.671Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T20:59:01.671Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T20:59:01.671Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T20:59:01.671Z] Bash-1.0.6 [2023-10-04T20:59:01.671Z] [2023-10-04T20:59:01.671Z] [2023-10-04T20:59:01.671Z] ==> git version 2.25.1 found [2023-10-04T20:59:01.671Z] ==> 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-10-04T20:59:01.671Z] Release-Date: 2020-01-08 [2023-10-04T20:59:01.671Z] 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-10-04T20:59:01.671Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T20:59:01.671Z] ==> Jenkins CI detected. [2023-10-04T20:59:01.671Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-04T20:59:01.671Z] project root: . [2023-10-04T20:59:01.671Z] --> token set from env [2023-10-04T20:59:01.671Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T20:59:01.671Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T20:59:01.671Z] ==> Python coveragepy not found [2023-10-04T20:59:01.671Z] ==> Searching for coverage reports in: [2023-10-04T20:59:01.671Z] + . [2023-10-04T20:59:01.671Z] -> Found 1 reports [2023-10-04T20:59:01.671Z] ==> Detecting git/mercurial file structure [2023-10-04T20:59:01.671Z] ==> Reading reports [2023-10-04T20:59:01.928Z] + ./coverage.out bytes=14499 [2023-10-04T20:59:01.928Z] ==> Appending adjustments [2023-10-04T20:59:01.928Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T20:59:01.928Z] + Found adjustments [2023-10-04T20:59:01.928Z] ==> Gzipping contents [2023-10-04T20:59:01.928Z] 4.0K /tmp/codecov.CyWP5d.gz [2023-10-04T20:59:01.928Z] ==> Uploading reports [2023-10-04T20:59:01.928Z] url: https://codecov.io [2023-10-04T20:59:01.928Z] query: branch=main&commit=7254ae82036954a30da847ceb4fb6fc335c14613&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T20:59:01.928Z] -> Pinging Codecov [2023-10-04T20:59:01.928Z] 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=7254ae82036954a30da847ceb4fb6fc335c14613&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T20:59:01.928Z] -> Uploading to [2023-10-04T20:59:01.928Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/4E5D53B4F1F92C436F7061BF334D961C/7254ae82036954a30da847ceb4fb6fc335c14613/a8606b8c-ef39-4189-bd16-b917df938118.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T205901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50546e3fe624df657c0e4567942a4b993b31e1ccf7b2ad002c2862d3915d2040 [2023-10-04T20:59:01.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T20:59:01.928Z] Dload Upload Total Spent Left Speed [2023-10-04T20:59:02.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9000 --:--:-- --:--:-- --:--:-- 9032 [2023-10-04T20:59:02.188Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } [2023-10-04T20:59:02.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-04T20:59:02.401Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-04T20:59:02.409Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:02.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T20:59:02.715Z] [2023-10-04T20:59:02.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:03.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T20:59:03.017Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-04T20:59:03.017Z] df9b9388f04a: Pulling fs layer [2023-10-04T20:59:03.017Z] 52dc419b0ee2: Pulling fs layer [2023-10-04T20:59:03.017Z] 25bc292e5bac: Pulling fs layer [2023-10-04T20:59:03.017Z] 114826534d7a: Pulling fs layer [2023-10-04T20:59:03.017Z] 4657fd5d0bcf: Pulling fs layer [2023-10-04T20:59:03.017Z] 6ad1cebc031e: Pulling fs layer [2023-10-04T20:59:03.017Z] 8a3aa393b2d8: Pulling fs layer [2023-10-04T20:59:03.017Z] 4657fd5d0bcf: Waiting [2023-10-04T20:59:03.017Z] 114826534d7a: Waiting [2023-10-04T20:59:03.017Z] 8a3aa393b2d8: Waiting [2023-10-04T20:59:03.017Z] 25bc292e5bac: Verifying Checksum [2023-10-04T20:59:03.017Z] 25bc292e5bac: Download complete [2023-10-04T20:59:03.017Z] 52dc419b0ee2: Verifying Checksum [2023-10-04T20:59:03.017Z] 52dc419b0ee2: Download complete [2023-10-04T20:59:03.017Z] 4657fd5d0bcf: Download complete [2023-10-04T20:59:03.017Z] df9b9388f04a: Verifying Checksum [2023-10-04T20:59:03.017Z] df9b9388f04a: Download complete [2023-10-04T20:59:03.275Z] 6ad1cebc031e: Verifying Checksum [2023-10-04T20:59:03.275Z] 6ad1cebc031e: Download complete [2023-10-04T20:59:03.275Z] df9b9388f04a: Pull complete [2023-10-04T20:59:03.275Z] 52dc419b0ee2: Pull complete [2023-10-04T20:59:03.533Z] 25bc292e5bac: Pull complete [2023-10-04T20:59:03.791Z] 114826534d7a: Verifying Checksum [2023-10-04T20:59:03.791Z] 114826534d7a: Download complete [2023-10-04T20:59:03.791Z] 8a3aa393b2d8: Verifying Checksum [2023-10-04T20:59:03.791Z] 8a3aa393b2d8: Download complete [2023-10-04T20:59:07.071Z] 114826534d7a: Pull complete [2023-10-04T20:59:07.071Z] 4657fd5d0bcf: Pull complete [2023-10-04T20:59:07.331Z] 6ad1cebc031e: Pull complete [2023-10-04T20:59:09.856Z] 8a3aa393b2d8: Pull complete [2023-10-04T20:59:09.856Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-04T20:59:09.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T20:59:09.856Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:59:09.924Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:59:09.950Z] $ 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-10-04T20:59:14.708Z] $ docker top 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-04T20:59:14.772Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-04T20:59:15.047Z] + set -o pipefail [2023-10-04T20:59:15.047Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/bfb92674-c437-4db0-8068-38f47c5d02ef [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] [2023-10-04T20:59:20.311Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-04T20:59:20.311Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-04T20:59:20.311Z] More details here: https://snyk.co/ue1NS [2023-10-04T20:59:20.311Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-04T20:59:20.311Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-04T20:59:20.318Z] $ docker stop --time=1 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 [2023-10-04T20:59:24.711Z] $ docker rm -f --volumes 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 [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-10-04T20:59:25.443Z] + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] sh [2023-10-04T20:59:25.731Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T20:59:25.731Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:26.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:59:26.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:59:26.097Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:59:26.123Z] $ 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-10-04T20:59:26.546Z] $ docker top da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 -eo pid,comm [2023-10-04T20:59:26.597Z] 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-10-04T20:59:26.597Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T20:59:26.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:59:26.626Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:59:26.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:59:26.737Z] $ docker exec da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 ssh-agent [2023-10-04T20:59:26.838Z] SSH_AUTH_SOCK=/tmp/ssh-RTTkpaZH7nIM/agent.34 [2023-10-04T20:59:26.838Z] SSH_AGENT_PID=40 [2023-10-04T20:59:26.843Z] Running ssh-add (command line suppressed) [2023-10-04T20:59:26.934Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5037780068839207855.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5037780068839207855.key) [2023-10-04T20:59:26.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:59:27.235Z] + git semver tag [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,406 [run_tag] DEBUG tag force:False [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,407 [check_head_tag] DEBUG check head tag [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,407 [execute] INFO git cat-file --batch-check [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,411 [execute] INFO git cat-file --batch [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,427 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,427 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-04T20:59:27.494Z] 2023-10-04 20:59:27,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:27.494Z] 3.1.0-dev.20 [Pipeline] } [2023-10-04T20:59:27.499Z] $ docker exec --env ******** --env ******** da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 ssh-agent -k [2023-10-04T20:59:27.594Z] unset SSH_AUTH_SOCK; [2023-10-04T20:59:27.595Z] unset SSH_AGENT_PID; [2023-10-04T20:59:27.595Z] echo Agent pid 40 killed; [2023-10-04T20:59:27.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T20:59:27.905Z] + git semver [Pipeline] } [2023-10-04T20:59:28.174Z] $ docker stop --time=1 da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 [2023-10-04T20:59:29.429Z] $ docker rm -f --volumes da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:29.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T20:59:29.814Z] [2023-10-04T20:59:29.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:30.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T20:59:30.115Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-04T20:59:30.115Z] ab5ef0e58194: Pulling fs layer [2023-10-04T20:59:30.115Z] 9712f1f96733: Pulling fs layer [2023-10-04T20:59:30.115Z] 63f879dbbcfc: Pulling fs layer [2023-10-04T20:59:30.115Z] 0d9ebad4ef96: Pulling fs layer [2023-10-04T20:59:30.115Z] e9a5061849ea: Pulling fs layer [2023-10-04T20:59:30.115Z] d747dcd14b5f: Pulling fs layer [2023-10-04T20:59:30.115Z] 2de7ff778b66: Pulling fs layer [2023-10-04T20:59:30.115Z] 0d9ebad4ef96: Waiting [2023-10-04T20:59:30.115Z] 2de7ff778b66: Waiting [2023-10-04T20:59:30.115Z] e9a5061849ea: Waiting [2023-10-04T20:59:30.115Z] 9712f1f96733: Verifying Checksum [2023-10-04T20:59:30.115Z] 9712f1f96733: Download complete [2023-10-04T20:59:30.374Z] 63f879dbbcfc: Verifying Checksum [2023-10-04T20:59:30.374Z] 63f879dbbcfc: Download complete [2023-10-04T20:59:30.632Z] 0d9ebad4ef96: Verifying Checksum [2023-10-04T20:59:30.632Z] 0d9ebad4ef96: Download complete [2023-10-04T20:59:30.632Z] e9a5061849ea: Verifying Checksum [2023-10-04T20:59:30.632Z] e9a5061849ea: Download complete [2023-10-04T20:59:30.632Z] d747dcd14b5f: Verifying Checksum [2023-10-04T20:59:30.632Z] d747dcd14b5f: Download complete [2023-10-04T20:59:30.632Z] ab5ef0e58194: Verifying Checksum [2023-10-04T20:59:30.632Z] ab5ef0e58194: Download complete [2023-10-04T20:59:30.632Z] 2de7ff778b66: Verifying Checksum [2023-10-04T20:59:30.632Z] 2de7ff778b66: Download complete [2023-10-04T20:59:33.159Z] ab5ef0e58194: Pull complete [2023-10-04T20:59:33.159Z] 9712f1f96733: Pull complete [2023-10-04T20:59:33.725Z] 63f879dbbcfc: Pull complete [2023-10-04T20:59:37.907Z] 0d9ebad4ef96: Pull complete [2023-10-04T20:59:37.907Z] e9a5061849ea: Pull complete [2023-10-04T20:59:37.907Z] d747dcd14b5f: Pull complete [2023-10-04T20:59:38.841Z] 2de7ff778b66: Pull complete [2023-10-04T20:59:38.841Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-04T20:59:38.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T20:59:38.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:59:38.912Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:59:38.939Z] $ 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-10-04T20:59:44.701Z] $ docker top 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:59:44.781Z] provisioning config files... [2023-10-04T20:59:44.788Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17371633376674775017tmp [2023-10-04T20:59:44.798Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6182282952930951000tmp [2023-10-04T20:59:44.807Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3167025912461836603tmp [Pipeline] { [Pipeline] echo [2023-10-04T20:59:44.824Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:59:45.106Z] ---> sigul-configuration.sh [2023-10-04T20:59:45.107Z] gpg: directory `/root/.gnupg' created [2023-10-04T20:59:45.107Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-04T20:59:45.107Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-04T20:59:45.107Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-04T20:59:45.107Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-04T20:59:45.107Z] gpg: CAST5 encrypted data [2023-10-04T20:59:45.107Z] gpg: encrypted with 1 passphrase [2023-10-04T20:59:45.107Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-04T20:59:45.393Z] + mkdir /home/jenkins [2023-10-04T20:59:45.393Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-04T20:59:45.678Z] + 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-10-04T20:59:45.687Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:59:45.972Z] ---> sigul-install.sh [2023-10-04T20:59:45.972Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-04T20:59:46.253Z] + git tag --list [2023-10-04T20:59:46.253Z] v1.0.0 [2023-10-04T20:59:46.253Z] v1.1.0 [2023-10-04T20:59:46.253Z] v1.1.1 [2023-10-04T20:59:46.253Z] v1.1.2 [2023-10-04T20:59:46.253Z] v1.2.0 [2023-10-04T20:59:46.253Z] v1.2.1 [2023-10-04T20:59:46.253Z] v2.0.0 [2023-10-04T20:59:46.253Z] v2.1.0 [2023-10-04T20:59:46.253Z] v2.1.1 [2023-10-04T20:59:46.253Z] v2.2.0 [2023-10-04T20:59:46.253Z] v2.3.0 [2023-10-04T20:59:46.253Z] v3.0 [2023-10-04T20:59:46.253Z] v3.0.0 [2023-10-04T20:59:46.253Z] v3.1.0-dev.1 [2023-10-04T20:59:46.253Z] v3.1.0-dev.10 [2023-10-04T20:59:46.253Z] v3.1.0-dev.11 [2023-10-04T20:59:46.253Z] v3.1.0-dev.12 [2023-10-04T20:59:46.253Z] v3.1.0-dev.13 [2023-10-04T20:59:46.253Z] v3.1.0-dev.14 [2023-10-04T20:59:46.253Z] v3.1.0-dev.15 [2023-10-04T20:59:46.253Z] v3.1.0-dev.16 [2023-10-04T20:59:46.253Z] v3.1.0-dev.17 [2023-10-04T20:59:46.253Z] v3.1.0-dev.18 [2023-10-04T20:59:46.253Z] v3.1.0-dev.19 [2023-10-04T20:59:46.253Z] v3.1.0-dev.2 [2023-10-04T20:59:46.253Z] v3.1.0-dev.20 [2023-10-04T20:59:46.253Z] v3.1.0-dev.3 [2023-10-04T20:59:46.253Z] v3.1.0-dev.4 [2023-10-04T20:59:46.253Z] v3.1.0-dev.5 [2023-10-04T20:59:46.254Z] v3.1.0-dev.6 [2023-10-04T20:59:46.254Z] v3.1.0-dev.7 [2023-10-04T20:59:46.254Z] v3.1.0-dev.8 [2023-10-04T20:59:46.254Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-04T20:59:46.539Z] + lftools sign git-tag v3.1.0-dev.20 [2023-10-04T20:59:47.108Z] Signing Git tag with Sigul... [2023-10-04T20:59:47.108Z] Signing v3.1.0-dev.20 [Pipeline] echo [2023-10-04T20:59:47.373Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:59:47.653Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-04T20:59:47.660Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-04T20:59:47.673Z] $ docker stop --time=1 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 [2023-10-04T20:59:49.320Z] $ docker rm -f --volumes 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-04T20:59:49.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T20:59:49.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:50.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:59:50.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:59:50.200Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:59:50.224Z] $ 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-10-04T20:59:51.341Z] $ docker top 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 -eo pid,comm [2023-10-04T20:59:51.391Z] 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-10-04T20:59:51.391Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T20:59:51.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:59:51.420Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:59:51.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:59:51.527Z] $ docker exec 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 ssh-agent [2023-10-04T20:59:51.639Z] SSH_AUTH_SOCK=/tmp/ssh-SmyF8EFYd3jr/agent.13 [2023-10-04T20:59:51.639Z] SSH_AGENT_PID=19 [2023-10-04T20:59:51.643Z] Running ssh-add (command line suppressed) [2023-10-04T20:59:51.740Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8937145335118773514.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8937145335118773514.key) [2023-10-04T20:59:51.756Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:59:52.037Z] + git semver bump pre [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,203 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,203 [bump_version] DEBUG bumped version:3.1.0-dev.21 [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,203 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,203 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,205 [execute] INFO git cat-file --batch-check [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,211 [execute] INFO git cat-file --batch [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T20:59:52.296Z] 2023-10-04 20:59:52,217 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:52.296Z] 3.1.0-dev.21 [Pipeline] } [2023-10-04T20:59:52.302Z] $ docker exec --env ******** --env ******** 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 ssh-agent -k [2023-10-04T20:59:52.409Z] unset SSH_AUTH_SOCK; [2023-10-04T20:59:52.409Z] unset SSH_AGENT_PID; [2023-10-04T20:59:52.409Z] echo Agent pid 19 killed; [2023-10-04T20:59:52.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T20:59:52.718Z] + git semver [Pipeline] } [2023-10-04T20:59:52.985Z] $ docker stop --time=1 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 [2023-10-04T20:59:55.022Z] $ docker rm -f --volumes 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:59:55.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T20:59:55.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:59:55.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:59:55.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:59:55.727Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T20:59:55.754Z] $ 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-10-04T20:59:56.091Z] $ docker top 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb -eo pid,comm [2023-10-04T20:59:56.136Z] 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-10-04T20:59:56.136Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T20:59:56.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:59:56.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:59:56.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:59:56.275Z] $ docker exec 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb ssh-agent [2023-10-04T20:59:56.374Z] SSH_AUTH_SOCK=/tmp/ssh-idPJoETfkJng/agent.32 [2023-10-04T20:59:56.374Z] SSH_AGENT_PID=38 [2023-10-04T20:59:56.378Z] Running ssh-add (command line suppressed) [2023-10-04T20:59:56.467Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8623841479342375357.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8623841479342375357.key) [2023-10-04T20:59:56.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:59:56.764Z] + git semver push [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,941 [run_push] DEBUG push [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,942 [execute] INFO git cat-file --batch-check [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,946 [execute] INFO git rev-list d1b663e43ac256bde0b5d7274d8246738fc3a8f1 -- [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,946 [execute] DEBUG Popen(['git', 'rev-list', 'd1b663e43ac256bde0b5d7274d8246738fc3a8f1', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,953 [execute] INFO git fetch -v origin [2023-10-04T20:59:57.023Z] 2023-10-04 20:59:56,953 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-04T20:59:57.590Z] 2023-10-04 20:59:57,459 [run_push] DEBUG no remote changes detected [2023-10-04T20:59:57.590Z] 2023-10-04 20:59:57,460 [execute] INFO git push origin semver [2023-10-04T20:59:57.590Z] 2023-10-04 20:59:57,460 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T20:59:58.526Z] 2023-10-04 20:59:58,213 [run_push] DEBUG push all version tags [2023-10-04T20:59:58.526Z] 2023-10-04 20:59:58,214 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-04T20:59:58.526Z] 2023-10-04 20:59:58,214 [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-10-04T20:59:59.093Z] 2023-10-04 20:59:58,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-04T20:59:59.093Z] 3.1.0-dev.21 [Pipeline] } [2023-10-04T20:59:59.097Z] $ docker exec --env ******** --env ******** 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb ssh-agent -k [2023-10-04T20:59:59.194Z] unset SSH_AUTH_SOCK; [2023-10-04T20:59:59.195Z] unset SSH_AGENT_PID; [2023-10-04T20:59:59.195Z] echo Agent pid 38 killed; [2023-10-04T20:59:59.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T20:59:59.510Z] + git semver [Pipeline] } [2023-10-04T20:59:59.778Z] $ docker stop --time=1 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb [2023-10-04T21:00:01.045Z] $ docker rm -f --volumes 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb [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-10-04T21:00:01.621Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-04T21:00:01.621Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-04T21:00:01.621Z] total 16 [2023-10-04T21:00:01.621Z] drwxr-xr-x 3 root root 4096 Oct 4 20:51 . [2023-10-04T21:00:01.621Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:59 .. [2023-10-04T21:00:01.621Z] drwxr-xr-x 2 root root 4096 Oct 4 20:51 cost [2023-10-04T21:00:01.621Z] -rw-r--r-- 1 root root 86 Oct 4 20:51 cost.csv [2023-10-04T21:00:01.621Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-04T21:00:01.621Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-04T21:00:01.621Z] total 16 [2023-10-04T21:00:01.621Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:51 . [2023-10-04T21:00:01.621Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:59 .. [2023-10-04T21:00:01.621Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 20:51 cost [2023-10-04T21:00:01.621Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 20:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:01.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:02.784Z] ---> package-listing.sh [2023-10-04T21:00:02.784Z] ++ facter osfamily [2023-10-04T21:00:02.784Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T21:00:03.043Z] + OS_FAMILY=debian [2023-10-04T21:00:03.043Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-04T21:00:03.043Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T21:00:03.043Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T21:00:03.043Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T21:00:03.043Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T21:00:03.043Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-04T21:00:03.043Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T21:00:03.043Z] + case "${OS_FAMILY}" in [2023-10-04T21:00:03.043Z] + dpkg -l [2023-10-04T21:00:03.043Z] + grep '^ii' [2023-10-04T21:00:03.043Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T21:00:03.043Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T21:00:03.043Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T21:00:03.043Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-04T21:00:03.043Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-04T21:00:03.043Z] + 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-10-04T21:00:03.055Z] 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-10-04T21:00:03.332Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T21:00:03.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T21:00:03.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T21:00:03.957Z] prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container [2023-10-04T21:00:03.981Z] $ 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-10-04T21:00:04.291Z] $ docker top ebb1a10236b368f2097adb2db447cd2c24b7736de97908f4bb129b48fbdde174 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T21:00:04.719Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T21:00:05.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T21:00:05.356Z] + ls /var/log/sa-host [2023-10-04T21:00:05.356Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T21:00:05.555Z] provisioning config files... [2023-10-04T21:00:05.562Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7209568360610988987tmp [Pipeline] { [Pipeline] echo [2023-10-04T21:00:05.573Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:05.855Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T21:00:05.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:06.181Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T21:00:06.190Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:06.470Z] ---> sudo-logs.sh [2023-10-04T21:00:06.470Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T21:00:06.502Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:06.784Z] ---> job-cost.sh [2023-10-04T21:00:06.785Z] lf-activate-venv: SKIPPING [2023-10-04T21:00:06.785Z] DEBUG: total: 0.2199999988079071 [2023-10-04T21:00:06.785Z] INFO: Retrieving Stack Cost... [2023-10-04T21:00:07.354Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T21:00:07.613Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T21:00:07.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T21:00:07.908Z] ---> logs-deploy.sh [2023-10-04T21:00:07.908Z] lf-activate-venv: SKIPPING [2023-10-04T21:00:07.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/140 [2023-10-04T21:00:07.909Z] INFO: archiving workspace using pattern(s): [2023-10-04T21:00:08.843Z] Archives upload complete. [2023-10-04T21:00:08.843Z] INFO: archiving logs to Nexus