Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f56d306fd858ae3d3367190115f2cbc940f5ff8 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-ssh11317293337666382933.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-ssh2424861827159755805.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-ssh7631564516970117270.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-ssh7762055109032752860.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-ssh12862112600722447182.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-9548 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 8f56d306fd858ae3d3367190115f2cbc940f5ff8 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" > git config core.sparsecheckout # timeout=10 > git checkout -f 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 > git rev-list --no-walk 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-18T20:34:51.891Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-18T20:34:51.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-18T20:34:51.972Z] ========================================================= [2023-10-18T20:34:51.972Z] EdgeX Global Pipelines Version Info [2023-10-18T20:34:51.972Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:34:52.696Z] ------------------- [2023-10-18T20:34:52.697Z] stable info: [2023-10-18T20:34:52.697Z] ------------------- [2023-10-18T20:34:52.697Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-18T20:34:52.697Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T20:34:52.697Z] Message: update stable to v1.0.254 [2023-10-18T20:34:53.269Z] ------------------- [2023-10-18T20:34:53.269Z] experimental info: [2023-10-18T20:34:53.269Z] ------------------- [2023-10-18T20:34:53.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-18T20:34:53.269Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T20:34:53.269Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-18T20:34:53.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-18T20:34:53.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-18T20:34:53.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-18T20:34:53.446Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-18T20:34:53.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-18T20:34:53.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-18T20:34:53.471Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-18T20:34:53.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-18T20:34:53.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-18T20:34:53.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-18T20:34:53.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-18T20:34:53.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-18T20:34:53.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-18T20:34:53.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-18T20:34:53.555Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T20:34:53.565Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T20:34:53.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T20:34:53.585Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T20:34:53.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-18T20:34:53.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-18T20:34:53.616Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-18T20:34:53.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-18T20:34:53.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-18T20:34:53.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-18T20:34:53.663Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-18T20:34:53.672Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-18T20:34:53.682Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-18T20:34:53.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-18T20:34:53.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-18T20:34:53.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-18T20:34:53.724Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo [2023-10-18T20:34:53.733Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f56d30 [Pipeline] echo [2023-10-18T20:34:53.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:34:53.781Z] provisioning config files... [2023-10-18T20:34:53.794Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1564309389624813765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:34:54.093Z] ---> docker-login.sh [2023-10-18T20:34:54.093Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:34:54.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:34:54.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:34:54.351Z] Configure a credential helper to remove this warning. See [2023-10-18T20:34:54.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:34:54.351Z] [2023-10-18T20:34:54.351Z] Login Succeeded [2023-10-18T20:34:54.351Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:34:54.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:34:54.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:34:54.351Z] Configure a credential helper to remove this warning. See [2023-10-18T20:34:54.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:34:54.351Z] [2023-10-18T20:34:54.351Z] Login Succeeded [2023-10-18T20:34:54.351Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:34:54.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:34:54.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:34:54.609Z] Configure a credential helper to remove this warning. See [2023-10-18T20:34:54.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:34:54.609Z] [2023-10-18T20:34:54.609Z] Login Succeeded [2023-10-18T20:34:54.609Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:34:54.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:34:54.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:34:54.609Z] Configure a credential helper to remove this warning. See [2023-10-18T20:34:54.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:34:54.609Z] [2023-10-18T20:34:54.609Z] Login Succeeded [2023-10-18T20:34:54.609Z] docker.io [2023-10-18T20:34:54.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:34:55.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:34:55.129Z] Configure a credential helper to remove this warning. See [2023-10-18T20:34:55.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:34:55.129Z] [2023-10-18T20:34:55.129Z] Login Succeeded [2023-10-18T20:34:55.129Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:34:55.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-18T20:34:55.514Z] + git rev-list -1 --merges 8f56d306fd858ae3d3367190115f2cbc940f5ff8~1..8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo [2023-10-18T20:34:55.583Z] -----------> git rev-list -1 --merges 8f56d306fd858ae3d3367190115f2cbc940f5ff8~1..8f56d306fd858ae3d3367190115f2cbc940f5ff8 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [false] [Pipeline] sh [2023-10-18T20:34:55.890Z] + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo [2023-10-18T20:34:55.903Z] ========================================================= [2023-10-18T20:34:55.903Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-18T20:34:55.903Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:34:56.247Z] + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo [2023-10-18T20:34:56.257Z] [semverPrep] GIT_COMMIT: 8f56d306fd858ae3d3367190115f2cbc940f5ff8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352) [Pipeline] echo [2023-10-18T20:34:56.268Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-18T20:34:56.631Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T20:34:56.631Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-18T20:34:56.631Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-18T20:34:56.631Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-18T20:34:56.631Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-18T20:34:56.631Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-18T20:34:56.631Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:34:56.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:34:56.989Z] [2023-10-18T20:34:56.989Z] 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-18T20:34:57.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:34:57.289Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-18T20:34:57.289Z] b85a868b505f: Pulling fs layer [2023-10-18T20:34:57.289Z] e2be974225ed: Pulling fs layer [2023-10-18T20:34:57.289Z] 339a4e72a1f5: Pulling fs layer [2023-10-18T20:34:57.289Z] 988bab9f4d93: Pulling fs layer [2023-10-18T20:34:57.289Z] 1469e6f7b9e6: Pulling fs layer [2023-10-18T20:34:57.289Z] eaf3925da568: Pulling fs layer [2023-10-18T20:34:57.289Z] bab4dde63d76: Pulling fs layer [2023-10-18T20:34:57.289Z] 988bab9f4d93: Waiting [2023-10-18T20:34:57.289Z] 1469e6f7b9e6: Waiting [2023-10-18T20:34:57.289Z] eaf3925da568: Waiting [2023-10-18T20:34:57.289Z] bab4dde63d76: Waiting [2023-10-18T20:34:57.289Z] bde34c3a00c8: Pulling fs layer [2023-10-18T20:34:57.289Z] b352a97aabf1: Pulling fs layer [2023-10-18T20:34:57.289Z] 4872d77fe225: Pulling fs layer [2023-10-18T20:34:57.289Z] bde34c3a00c8: Waiting [2023-10-18T20:34:57.289Z] b352a97aabf1: Waiting [2023-10-18T20:34:57.289Z] 5851b861e8e6: Pulling fs layer [2023-10-18T20:34:57.289Z] 4872d77fe225: Waiting [2023-10-18T20:34:57.289Z] e2be974225ed: Verifying Checksum [2023-10-18T20:34:57.289Z] e2be974225ed: Download complete [2023-10-18T20:34:57.289Z] 988bab9f4d93: Verifying Checksum [2023-10-18T20:34:57.289Z] 988bab9f4d93: Download complete [2023-10-18T20:34:57.289Z] 1469e6f7b9e6: Verifying Checksum [2023-10-18T20:34:57.289Z] 1469e6f7b9e6: Download complete [2023-10-18T20:34:57.550Z] eaf3925da568: Verifying Checksum [2023-10-18T20:34:57.550Z] eaf3925da568: Download complete [2023-10-18T20:34:57.550Z] 339a4e72a1f5: Verifying Checksum [2023-10-18T20:34:57.550Z] 339a4e72a1f5: Download complete [2023-10-18T20:34:57.550Z] bde34c3a00c8: Verifying Checksum [2023-10-18T20:34:57.550Z] bde34c3a00c8: Download complete [2023-10-18T20:34:57.550Z] b352a97aabf1: Download complete [2023-10-18T20:34:57.550Z] 4872d77fe225: Download complete [2023-10-18T20:34:57.550Z] 5851b861e8e6: Download complete [2023-10-18T20:34:57.550Z] b85a868b505f: Verifying Checksum [2023-10-18T20:34:57.550Z] b85a868b505f: Download complete [2023-10-18T20:34:57.811Z] bab4dde63d76: Verifying Checksum [2023-10-18T20:34:57.811Z] bab4dde63d76: Download complete [2023-10-18T20:34:58.754Z] b85a868b505f: Pull complete [2023-10-18T20:34:59.015Z] e2be974225ed: Pull complete [2023-10-18T20:34:59.585Z] 339a4e72a1f5: Pull complete [2023-10-18T20:34:59.585Z] 988bab9f4d93: Pull complete [2023-10-18T20:34:59.844Z] 1469e6f7b9e6: Pull complete [2023-10-18T20:34:59.844Z] eaf3925da568: Pull complete [2023-10-18T20:35:01.752Z] bab4dde63d76: Pull complete [2023-10-18T20:35:01.752Z] bde34c3a00c8: Pull complete [2023-10-18T20:35:01.752Z] b352a97aabf1: Pull complete [2023-10-18T20:35:01.752Z] 4872d77fe225: Pull complete [2023-10-18T20:35:01.752Z] 5851b861e8e6: Pull complete [2023-10-18T20:35:01.752Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-18T20:35:01.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:35:01.752Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:35:01.842Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:35:01.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T20:35:05.663Z] $ docker top 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 -eo pid,comm [2023-10-18T20:35:05.710Z] 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-18T20:35:05.710Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T20:35:05.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:35:05.750Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:35:05.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:35:05.869Z] $ docker exec 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent [2023-10-18T20:35:05.972Z] SSH_AUTH_SOCK=/tmp/ssh-m9Kgx3QoMOPl/agent.32 [2023-10-18T20:35:05.972Z] SSH_AGENT_PID=38 [2023-10-18T20:35:05.977Z] Running ssh-add (command line suppressed) [2023-10-18T20:35:06.068Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204843070439451216.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204843070439451216.key) [2023-10-18T20:35:06.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:35:06.360Z] + git tag --points-at HEAD [Pipeline] } [2023-10-18T20:35:06.375Z] $ docker exec --env ******** --env ******** 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent -k [2023-10-18T20:35:06.484Z] unset SSH_AUTH_SOCK; [2023-10-18T20:35:06.484Z] unset SSH_AGENT_PID; [2023-10-18T20:35:06.485Z] echo Agent pid 38 killed; [2023-10-18T20:35:06.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-18T20:35:06.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:35:06.518Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:35:06.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:35:06.648Z] $ docker exec 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent [2023-10-18T20:35:06.747Z] SSH_AUTH_SOCK=/tmp/ssh-bhmdenjMP9ja/agent.70 [2023-10-18T20:35:06.747Z] SSH_AGENT_PID=76 [2023-10-18T20:35:06.753Z] Running ssh-add (command line suppressed) [2023-10-18T20:35:06.874Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3607859871579173125.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3607859871579173125.key) [2023-10-18T20:35:06.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:35:07.160Z] + git semver init [2023-10-18T20:35:07.418Z] 2023-10-18 20:35:07,335 [run_init] DEBUG init version:0.0.0 force:False [2023-10-18T20:35:07.418Z] 2023-10-18 20:35:07,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-18T20:35:07.419Z] 2023-10-18 20:35:07,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-18T20:35:07.419Z] 2023-10-18 20:35:07,337 [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-18T20:35:08.832Z] 2023-10-18 20:35:08,466 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-18T20:35:08.832Z] 2023-10-18 20:35:08,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-18T20:35:08.832Z] 2023-10-18 20:35:08,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:35:08.832Z] 2023-10-18 20:35:08,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:35:08.832Z] 3.1.0-dev.22 [Pipeline] } [2023-10-18T20:35:08.846Z] $ docker exec --env ******** --env ******** 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent -k [2023-10-18T20:35:08.946Z] unset SSH_AUTH_SOCK; [2023-10-18T20:35:08.947Z] unset SSH_AGENT_PID; [2023-10-18T20:35:08.947Z] echo Agent pid 76 killed; [2023-10-18T20:35:08.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T20:35:09.264Z] + git semver [Pipeline] } [2023-10-18T20:35:09.539Z] $ docker stop --time=1 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 [2023-10-18T20:35:10.873Z] $ docker rm -f --volumes 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:35:11.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-18T20:35:11.414Z] Stashed 1 file(s) [Pipeline] echo [2023-10-18T20:35:11.418Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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-18T20:35:11.575Z] provisioning config files... [2023-10-18T20:35:11.583Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config625542967640801540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:35:11.878Z] ---> docker-login.sh [2023-10-18T20:35:11.878Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:35:11.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:35:11.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:35:11.878Z] Configure a credential helper to remove this warning. See [2023-10-18T20:35:11.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:35:11.878Z] [2023-10-18T20:35:11.878Z] Login Succeeded [2023-10-18T20:35:11.878Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:35:11.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:35:11.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:35:11.878Z] Configure a credential helper to remove this warning. See [2023-10-18T20:35:11.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:35:11.878Z] [2023-10-18T20:35:11.878Z] Login Succeeded [2023-10-18T20:35:11.878Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:35:12.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:35:12.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:35:12.137Z] Configure a credential helper to remove this warning. See [2023-10-18T20:35:12.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:35:12.137Z] [2023-10-18T20:35:12.137Z] Login Succeeded [2023-10-18T20:35:12.137Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:35:12.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:35:12.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:35:12.137Z] Configure a credential helper to remove this warning. See [2023-10-18T20:35:12.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:35:12.137Z] [2023-10-18T20:35:12.137Z] Login Succeeded [2023-10-18T20:35:12.137Z] docker.io [2023-10-18T20:35:12.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:35:12.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:35:12.396Z] Configure a credential helper to remove this warning. See [2023-10-18T20:35:12.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:35:12.396Z] [2023-10-18T20:35:12.396Z] Login Succeeded [2023-10-18T20:35:12.655Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:35:12.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T20:35:12.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:35:12.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:35:12.737Z] ========================================================= [2023-10-18T20:35:12.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-18T20:35:12.737Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:35:13.039Z] + 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-18T20:35:13.040Z] Sending build context to Docker daemon 10.93MB [2023-10-18T20:35:13.040Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:35:13.040Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T20:35:13.040Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-18T20:35:13.040Z] 7264a8db6415: Pulling fs layer [2023-10-18T20:35:13.040Z] c4d48a809fc2: Pulling fs layer [2023-10-18T20:35:13.040Z] 4f1c88b9dad5: Pulling fs layer [2023-10-18T20:35:13.040Z] ad3a456e5733: Pulling fs layer [2023-10-18T20:35:13.040Z] 33e27b845d1e: Pulling fs layer [2023-10-18T20:35:13.040Z] c68163c4e522: Pulling fs layer [2023-10-18T20:35:13.040Z] 50da416c3ac9: Pulling fs layer [2023-10-18T20:35:13.040Z] 23d2d4c4bb30: Pulling fs layer [2023-10-18T20:35:13.040Z] ad3a456e5733: Waiting [2023-10-18T20:35:13.040Z] 33e27b845d1e: Waiting [2023-10-18T20:35:13.040Z] c68163c4e522: Waiting [2023-10-18T20:35:13.040Z] 50da416c3ac9: Waiting [2023-10-18T20:35:13.040Z] 23d2d4c4bb30: Waiting [2023-10-18T20:35:13.040Z] c4d48a809fc2: Download complete [2023-10-18T20:35:13.040Z] ad3a456e5733: Download complete [2023-10-18T20:35:13.298Z] 33e27b845d1e: Verifying Checksum [2023-10-18T20:35:13.298Z] 33e27b845d1e: Download complete [2023-10-18T20:35:13.298Z] 7264a8db6415: Verifying Checksum [2023-10-18T20:35:13.298Z] 7264a8db6415: Download complete [2023-10-18T20:35:13.298Z] c68163c4e522: Verifying Checksum [2023-10-18T20:35:13.298Z] c68163c4e522: Download complete [2023-10-18T20:35:13.298Z] 7264a8db6415: Pull complete [2023-10-18T20:35:13.558Z] 23d2d4c4bb30: Verifying Checksum [2023-10-18T20:35:13.558Z] 23d2d4c4bb30: Download complete [2023-10-18T20:35:13.558Z] c4d48a809fc2: Pull complete [2023-10-18T20:35:13.817Z] 4f1c88b9dad5: Download complete [2023-10-18T20:35:14.076Z] 50da416c3ac9: Verifying Checksum [2023-10-18T20:35:14.076Z] 50da416c3ac9: Download complete [2023-10-18T20:35:17.371Z] 4f1c88b9dad5: Pull complete [2023-10-18T20:35:17.371Z] ad3a456e5733: Pull complete [2023-10-18T20:35:17.371Z] 33e27b845d1e: Pull complete [2023-10-18T20:35:17.371Z] c68163c4e522: Pull complete [2023-10-18T20:35:19.918Z] 50da416c3ac9: Pull complete [2023-10-18T20:35:19.918Z] 23d2d4c4bb30: Pull complete [2023-10-18T20:35:19.918Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-18T20:35:19.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-18T20:35:19.918Z] ---> 0786185ac409 [2023-10-18T20:35:19.918Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:35:25.197Z] ---> Running in eee449b0e57e [2023-10-18T20:35:25.197Z] Removing intermediate container eee449b0e57e [2023-10-18T20:35:25.197Z] ---> 147d9977c4ee [2023-10-18T20:35:25.197Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:35:25.197Z] ---> Running in b572b218d782 [2023-10-18T20:35:25.197Z] Removing intermediate container b572b218d782 [2023-10-18T20:35:25.197Z] ---> e1be303b3a4c [2023-10-18T20:35:25.197Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:35:25.197Z] ---> Running in 510ba0f593f6 [2023-10-18T20:35:25.197Z] Removing intermediate container 510ba0f593f6 [2023-10-18T20:35:25.197Z] ---> c44146df418a [2023-10-18T20:35:25.197Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:35:25.198Z] ---> Running in 2f73f36bc1f8 [2023-10-18T20:35:25.198Z] Removing intermediate container 2f73f36bc1f8 [2023-10-18T20:35:25.198Z] ---> a262b8b3d5f5 [2023-10-18T20:35:25.198Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:35:25.198Z] ---> Running in 3a97f755bce9 [2023-10-18T20:35:25.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:35:25.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:35:25.457Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T20:35:25.457Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T20:35:25.716Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T20:35:25.716Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T20:35:25.716Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:35:25.716Z] OK: 268 MiB in 56 packages [2023-10-18T20:35:26.285Z] Removing intermediate container 3a97f755bce9 [2023-10-18T20:35:26.285Z] ---> e05ba02d0a7a [2023-10-18T20:35:26.285Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-18T20:35:26.285Z] ---> Running in fb58deb61c8f [2023-10-18T20:35:26.285Z] Removing intermediate container fb58deb61c8f [2023-10-18T20:35:26.285Z] ---> 1d0ce61e1e06 [2023-10-18T20:35:26.285Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T20:35:26.285Z] ---> 1ee7ce47949b [2023-10-18T20:35:26.285Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:35:26.285Z] ---> Running in c721018e1f95 [2023-10-18T20:35:26.535Z] Still waiting to schedule task [2023-10-18T20:35:26.536Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-18T20:36:22.526Z] Removing intermediate container c721018e1f95 [2023-10-18T20:36:22.526Z] ---> 118393ee1209 [2023-10-18T20:36:22.526Z] Step 11/12 : COPY . . [2023-10-18T20:36:22.526Z] ---> 29146708080b [2023-10-18T20:36:22.526Z] Step 12/12 : RUN $MAKE [2023-10-18T20:36:22.526Z] ---> Running in 8c319ad4f739 [2023-10-18T20:36:22.526Z] noop [2023-10-18T20:36:22.526Z] Removing intermediate container 8c319ad4f739 [2023-10-18T20:36:22.526Z] ---> 07fda6b754aa [2023-10-18T20:36:22.526Z] Successfully built 07fda6b754aa [2023-10-18T20:36:22.526Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:36:22.842Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T20:36:22.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:36:22.912Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:36:22.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T20:36:23.278Z] $ docker top 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:36:23.615Z] + go version [2023-10-18T20:36:23.615Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-18T20:36:23.627Z] $ docker stop --time=1 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e [2023-10-18T20:36:24.894Z] $ docker rm -f --volumes 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:36:25.301Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T20:36:25.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:36:25.368Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:36:25.403Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-18T20:36:25.701Z] $ docker top 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:36:26.035Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-18T20:36:26.331Z] + make test [2023-10-18T20:36:26.331Z] go test ./... -coverprofile=coverage.out ./... [2023-10-18T20:36:27.708Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-18T20:36:37.676Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-18T20:36:37.676Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-10-18T20:36:42.944Z] go vet ./... [2023-10-18T20:36:45.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T20:36:45.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T20:36:45.470Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T20:36:45.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T20:36:45.496Z] $ docker stop --time=1 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a [2023-10-18T20:36:48.732Z] $ docker rm -f --volumes 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:36:49.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T20:36:49.226Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-18T20:36:49.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T20:36:50.189Z] + ls -al . [2023-10-18T20:36:50.189Z] total 188 [2023-10-18T20:36:50.189Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 20:36 . [2023-10-18T20:36:50.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:34 .. [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:34 .dockerignore [2023-10-18T20:36:50.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:36 .git [2023-10-18T20:36:50.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:34 .github [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:34 .gitignore [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:34 .golangci.yml [2023-10-18T20:36:50.189Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:35 .semver [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:34 Attribution.txt [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:34 CHANGELOG.md [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:34 Dockerfile [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:34 GOVERNANCE.md [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:34 Jenkinsfile [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:34 LICENSE [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:34 Makefile [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:34 OWNERS.md [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:34 README.md [2023-10-18T20:36:50.189Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 20:35 VERSION [2023-10-18T20:36:50.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:34 bin [2023-10-18T20:36:50.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:34 cmd [2023-10-18T20:36:50.189Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:36 coverage.out [2023-10-18T20:36:50.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:34 driver [2023-10-18T20:36:50.190Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:34 go.mod [2023-10-18T20:36:50.190Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:34 go.sum [2023-10-18T20:36:50.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:34 snap [2023-10-18T20:36:50.190Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:36:50.501Z] + 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8 --label arch=amd64 --label version=3.1.0-dev.22 . [2023-10-18T20:36:50.501Z] Sending build context to Docker daemon 10.95MB [2023-10-18T20:36:50.501Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:36:50.501Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T20:36:50.501Z] ---> 07fda6b754aa [2023-10-18T20:36:50.501Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:36:50.759Z] ---> Running in 7c810287c1c1 [2023-10-18T20:36:50.759Z] Removing intermediate container 7c810287c1c1 [2023-10-18T20:36:50.759Z] ---> 54caeacf3cef [2023-10-18T20:36:50.759Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:36:50.759Z] ---> Running in 1591b394e3d3 [2023-10-18T20:36:50.759Z] Removing intermediate container 1591b394e3d3 [2023-10-18T20:36:50.759Z] ---> 8400cfbe6279 [2023-10-18T20:36:50.759Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:36:50.759Z] ---> Running in 3a87976fafe5 [2023-10-18T20:36:51.019Z] Removing intermediate container 3a87976fafe5 [2023-10-18T20:36:51.019Z] ---> fd05c3eb8a17 [2023-10-18T20:36:51.019Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:36:51.019Z] ---> Running in 921bf2347af0 [2023-10-18T20:36:51.019Z] Removing intermediate container 921bf2347af0 [2023-10-18T20:36:51.019Z] ---> 5c4f4ee2de2b [2023-10-18T20:36:51.019Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:36:51.019Z] ---> Running in 8bb8af66e508 [2023-10-18T20:36:51.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:36:51.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:36:51.536Z] OK: 268 MiB in 56 packages [2023-10-18T20:36:51.795Z] Removing intermediate container 8bb8af66e508 [2023-10-18T20:36:51.795Z] ---> 242721716b42 [2023-10-18T20:36:51.795Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-18T20:36:52.054Z] ---> Running in c9d32995e2fa [2023-10-18T20:36:52.054Z] Removing intermediate container c9d32995e2fa [2023-10-18T20:36:52.054Z] ---> 88d9acc8359b [2023-10-18T20:36:52.054Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-18T20:36:52.054Z] ---> 4ada5f6602cf [2023-10-18T20:36:52.054Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:36:52.054Z] ---> Running in c594cdc6f6da [2023-10-18T20:36:52.622Z] Removing intermediate container c594cdc6f6da [2023-10-18T20:36:52.622Z] ---> 55aba674ce53 [2023-10-18T20:36:52.622Z] Step 11/25 : COPY . . [2023-10-18T20:36:53.187Z] ---> 5b7198ec3abe [2023-10-18T20:36:53.187Z] Step 12/25 : RUN $MAKE [2023-10-18T20:36:53.187Z] ---> Running in 6c4e3a1bc4e8 [2023-10-18T20:36:53.447Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-18T20:37:09.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9549 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-18T20:37:09.712Z] Running in /w/workspace/device-rest-go/142 [Pipeline] { [Pipeline] checkout [2023-10-18T20:37:09.752Z] The recommended git tool is: git [2023-10-18T20:37:15.444Z] Removing intermediate container 6c4e3a1bc4e8 [2023-10-18T20:37:15.444Z] ---> bd3976dc0993 [2023-10-18T20:37:15.444Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T20:37:15.444Z] 3.18: Pulling from library/alpine [2023-10-18T20:37:15.444Z] 96526aa774ef: Pulling fs layer [2023-10-18T20:37:15.444Z] 96526aa774ef: Verifying Checksum [2023-10-18T20:37:15.444Z] 96526aa774ef: Download complete [2023-10-18T20:37:15.444Z] 96526aa774ef: Pull complete [2023-10-18T20:37:15.444Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T20:37:15.444Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T20:37:15.444Z] ---> 8ca4688f4f35 [2023-10-18T20:37:15.444Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T20:37:15.444Z] ---> Running in 9f55b07b8e60 [2023-10-18T20:37:15.444Z] Removing intermediate container 9f55b07b8e60 [2023-10-18T20:37:15.444Z] ---> 0b86e058c4b9 [2023-10-18T20:37:15.444Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-18T20:37:15.444Z] ---> Running in 5abd5b92dcfd [2023-10-18T20:37:15.444Z] Removing intermediate container 5abd5b92dcfd [2023-10-18T20:37:15.444Z] ---> 6397407948da [2023-10-18T20:37:15.444Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T20:37:15.444Z] ---> Running in e57aaa4cb041 [2023-10-18T20:37:15.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:37:15.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:37:15.444Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T20:37:15.444Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:37:15.444Z] OK: 7 MiB in 16 packages [2023-10-18T20:37:15.444Z] Removing intermediate container e57aaa4cb041 [2023-10-18T20:37:15.444Z] ---> 17efc9be11ad [2023-10-18T20:37:15.444Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-18T20:37:16.444Z] ---> e9aa218fb9de [2023-10-18T20:37:16.444Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-18T20:37:16.444Z] ---> 9ddc0d83a421 [2023-10-18T20:37:16.444Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-18T20:37:16.752Z] ---> 7a21e8d0406a [2023-10-18T20:37:16.752Z] Step 20/25 : EXPOSE 59986 [2023-10-18T20:37:16.752Z] ---> Running in f939ee77673e [2023-10-18T20:37:16.752Z] Removing intermediate container f939ee77673e [2023-10-18T20:37:16.752Z] ---> 41804cad1deb [2023-10-18T20:37:16.752Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-18T20:37:16.752Z] ---> Running in 7d55d0beecc2 [2023-10-18T20:37:16.752Z] Removing intermediate container 7d55d0beecc2 [2023-10-18T20:37:16.752Z] ---> 0f76f24272dd [2023-10-18T20:37:16.752Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-18T20:37:16.752Z] ---> Running in 91d60b609eb1 [2023-10-18T20:37:17.022Z] Removing intermediate container 91d60b609eb1 [2023-10-18T20:37:17.022Z] ---> e55e02661488 [2023-10-18T20:37:17.022Z] Step 23/25 : LABEL arch=amd64 [2023-10-18T20:37:17.022Z] ---> Running in 54d3cf786145 [2023-10-18T20:37:17.022Z] Removing intermediate container 54d3cf786145 [2023-10-18T20:37:17.022Z] ---> e2a42d5f5f1c [2023-10-18T20:37:17.022Z] Step 24/25 : LABEL git_sha=8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:37:17.022Z] ---> Running in cf395b3f66cf [2023-10-18T20:37:17.022Z] Removing intermediate container cf395b3f66cf [2023-10-18T20:37:17.022Z] ---> 740ac81d422f [2023-10-18T20:37:17.022Z] Step 25/25 : LABEL version=3.1.0-dev.22 [2023-10-18T20:37:17.022Z] ---> Running in 6bbc9f80a439 [2023-10-18T20:37:17.292Z] Removing intermediate container 6bbc9f80a439 [2023-10-18T20:37:17.292Z] ---> 8efc61cb2539 [2023-10-18T20:37:17.292Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T20:37:17.292Z] Successfully built 8efc61cb2539 [2023-10-18T20:37:17.292Z] 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-18T20:37:17.399Z] provisioning config files... [2023-10-18T20:37:17.421Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14662355565782043764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:37:17.749Z] ---> docker-login.sh [2023-10-18T20:37:17.749Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:37:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:17.749Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:17.749Z] [2023-10-18T20:37:17.749Z] Login Succeeded [2023-10-18T20:37:17.749Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:37:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:17.749Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:17.749Z] [2023-10-18T20:37:17.749Z] Login Succeeded [2023-10-18T20:37:17.749Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:37:18.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:18.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:18.007Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:18.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:18.007Z] [2023-10-18T20:37:18.007Z] Login Succeeded [2023-10-18T20:37:18.007Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:37:18.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:18.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:18.007Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:18.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:18.007Z] [2023-10-18T20:37:18.007Z] Login Succeeded [2023-10-18T20:37:18.007Z] docker.io [2023-10-18T20:37:18.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:18.260Z] using credential edgex-jenkins-ssh [2023-10-18T20:37:18.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:18.266Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:18.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:18.266Z] [2023-10-18T20:37:18.266Z] Login Succeeded [2023-10-18T20:37:18.266Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:37:18.274Z] Deleting 1 temporary files [2023-10-18T20:37:18.280Z] Cloning the remote Git repository [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T20:37:18.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:37:18.327Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-18T20:37:18.327Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:37:18.327Z] latest [2023-10-18T20:37:18.327Z] 3.1.0-dev.22 [2023-10-18T20:37:18.327Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:37:18.327Z] main [2023-10-18T20:37:18.327Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:18.653Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:18.966Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:37:18.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-18T20:37:18.966Z] 92e92964854f: Preparing [2023-10-18T20:37:18.966Z] dae00ce2afa3: Preparing [2023-10-18T20:37:18.966Z] 9bb384caee33: Preparing [2023-10-18T20:37:18.966Z] 26aae945d1b1: Preparing [2023-10-18T20:37:18.966Z] cc2447e1835a: Preparing [2023-10-18T20:37:18.966Z] cc2447e1835a: Layer already exists [2023-10-18T20:37:18.966Z] dae00ce2afa3: Pushed [2023-10-18T20:37:18.966Z] 92e92964854f: Pushed [2023-10-18T20:37:18.966Z] 26aae945d1b1: Pushed [2023-10-18T20:37:18.337Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-18T20:37:18.491Z] > git init /w/workspace/device-rest-go/142 # timeout=10 [2023-10-18T20:37:18.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-18T20:37:18.784Z] > git --version # timeout=10 [2023-10-18T20:37:18.826Z] > git --version # 'git version 2.25.1' [2023-10-18T20:37:18.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T20:37:19.117Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T20:37:21.519Z] 9bb384caee33: Pushed [2023-10-18T20:37:21.519Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:21.831Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:21.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-18T20:37:21.210Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T20:37:22.148Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-18T20:37:22.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-18T20:37:22.148Z] 92e92964854f: Preparing [2023-10-18T20:37:22.148Z] dae00ce2afa3: Preparing [2023-10-18T20:37:22.148Z] 9bb384caee33: Preparing [2023-10-18T20:37:22.148Z] 26aae945d1b1: Preparing [2023-10-18T20:37:22.148Z] cc2447e1835a: Preparing [2023-10-18T20:37:22.148Z] cc2447e1835a: Layer already exists [2023-10-18T20:37:22.148Z] 92e92964854f: Layer already exists [2023-10-18T20:37:22.148Z] dae00ce2afa3: Layer already exists [2023-10-18T20:37:22.148Z] 9bb384caee33: Layer already exists [2023-10-18T20:37:22.148Z] 26aae945d1b1: Layer already exists [2023-10-18T20:37:22.148Z] latest: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:22.460Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:22.751Z] Avoid second fetch [2023-10-18T20:37:22.752Z] Checking out Revision 8f56d306fd858ae3d3367190115f2cbc940f5ff8 (main) [2023-10-18T20:37:22.770Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 [2023-10-18T20:37:22.770Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-18T20:37:22.770Z] 92e92964854f: Preparing [2023-10-18T20:37:22.770Z] dae00ce2afa3: Preparing [2023-10-18T20:37:22.770Z] 9bb384caee33: Preparing [2023-10-18T20:37:22.770Z] 26aae945d1b1: Preparing [2023-10-18T20:37:22.770Z] cc2447e1835a: Preparing [2023-10-18T20:37:22.770Z] 26aae945d1b1: Layer already exists [2023-10-18T20:37:22.770Z] 92e92964854f: Layer already exists [2023-10-18T20:37:22.770Z] dae00ce2afa3: Layer already exists [2023-10-18T20:37:22.770Z] 9bb384caee33: Layer already exists [2023-10-18T20:37:22.770Z] cc2447e1835a: Layer already exists [2023-10-18T20:37:22.770Z] 3.1.0-dev.22: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:23.082Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:23.391Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:37:23.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-18T20:37:23.391Z] 92e92964854f: Preparing [2023-10-18T20:37:23.391Z] dae00ce2afa3: Preparing [2023-10-18T20:37:23.391Z] 9bb384caee33: Preparing [2023-10-18T20:37:23.391Z] 26aae945d1b1: Preparing [2023-10-18T20:37:23.391Z] cc2447e1835a: Preparing [2023-10-18T20:37:23.391Z] cc2447e1835a: Layer already exists [2023-10-18T20:37:23.391Z] 26aae945d1b1: Layer already exists [2023-10-18T20:37:23.391Z] dae00ce2afa3: Layer already exists [2023-10-18T20:37:23.391Z] 9bb384caee33: Layer already exists [2023-10-18T20:37:23.391Z] 92e92964854f: Layer already exists [2023-10-18T20:37:23.391Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:22.790Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T20:37:22.976Z] > git checkout -f 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 [2023-10-18T20:37:23.709Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:23.851Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" [2023-10-18T20:37:24.021Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-18T20:37:24.021Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-18T20:37:24.021Z] 92e92964854f: Preparing [2023-10-18T20:37:24.021Z] dae00ce2afa3: Preparing [2023-10-18T20:37:24.021Z] 9bb384caee33: Preparing [2023-10-18T20:37:24.021Z] 26aae945d1b1: Preparing [2023-10-18T20:37:24.021Z] cc2447e1835a: Preparing [2023-10-18T20:37:24.021Z] cc2447e1835a: Layer already exists [2023-10-18T20:37:24.021Z] 92e92964854f: Layer already exists [2023-10-18T20:37:24.021Z] dae00ce2afa3: Layer already exists [2023-10-18T20:37:24.021Z] 9bb384caee33: Layer already exists [2023-10-18T20:37:24.021Z] 26aae945d1b1: Layer already exists [2023-10-18T20:37:24.021Z] main: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T20:37:24.069Z] ===================================================== [Pipeline] echo [2023-10-18T20:37:24.085Z] taggedImages: [2023-10-18T20:37:24.085Z] - nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:37:24.085Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-18T20:37:24.085Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 [2023-10-18T20:37:24.085Z] - nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:37:24.085Z] - 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-18T20:37:24.342Z] [2023-10-18T20:37:24.342Z] GitHub has been notified of this commit’s build result [2023-10-18T20:37:24.342Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:37:24.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:37:24.452Z] [2023-10-18T20:37:24.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:27.053Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-18T20:37:27.053Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T20:37:27.053Z] Dload Upload Total Spent Left Speed [2023-10-18T20:37:27.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [2023-10-18T20:37:27.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:37:27.081Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-18T20:37:27.081Z] 5eb5b503b376: Pulling fs layer [2023-10-18T20:37:27.081Z] 5c69ac0246d0: Pulling fs layer [2023-10-18T20:37:27.081Z] ec43610c2a17: Pulling fs layer [2023-10-18T20:37:27.081Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-18T20:37:27.081Z] 33b1e0a273af: Pulling fs layer [2023-10-18T20:37:27.081Z] 5d3b04190fa2: Pulling fs layer [2023-10-18T20:37:27.081Z] 2f39f015ded8: Pulling fs layer [2023-10-18T20:37:27.081Z] 3a2ae6a8a46f: Waiting [2023-10-18T20:37:27.081Z] 2f39f015ded8: Waiting [2023-10-18T20:37:27.081Z] 33b1e0a273af: Waiting [2023-10-18T20:37:27.081Z] 5c69ac0246d0: Download complete [2023-10-18T20:37:27.081Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-18T20:37:27.081Z] 3a2ae6a8a46f: Download complete [2023-10-18T20:37:27.081Z] 33b1e0a273af: Verifying Checksum [2023-10-18T20:37:27.081Z] 33b1e0a273af: Download complete [2023-10-18T20:37:27.081Z] 5d3b04190fa2: Verifying Checksum [2023-10-18T20:37:27.081Z] 5d3b04190fa2: Download complete [2023-10-18T20:37:27.081Z] ec43610c2a17: Verifying Checksum [2023-10-18T20:37:27.081Z] ec43610c2a17: Download complete [2023-10-18T20:37:27.339Z] 5eb5b503b376: Verifying Checksum [2023-10-18T20:37:27.339Z] 5eb5b503b376: Download complete [Pipeline] sh [2023-10-18T20:37:27.904Z] 2f39f015ded8: Download complete [2023-10-18T20:37:27.955Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-18T20:37:28.334Z] + sudo tee /etc/docker/daemon.new [2023-10-18T20:37:28.334Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-18T20:37:28.334Z] { [2023-10-18T20:37:28.334Z] "registry-mirrors": [ [2023-10-18T20:37:28.334Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-18T20:37:28.334Z] ], [2023-10-18T20:37:28.334Z] "bip": "10.250.0.254/24", [2023-10-18T20:37:28.334Z] "hosts": [ [2023-10-18T20:37:28.334Z] "tcp://0.0.0.0:5555", [2023-10-18T20:37:28.334Z] "unix:///var/run/docker.sock" [2023-10-18T20:37:28.334Z] ], [2023-10-18T20:37:28.334Z] "mtu": 1458, [2023-10-18T20:37:28.334Z] "selinux-enabled": true, [2023-10-18T20:37:28.334Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-18T20:37:28.334Z] } [Pipeline] sh [2023-10-18T20:37:28.471Z] 5eb5b503b376: Pull complete [2023-10-18T20:37:28.471Z] 5c69ac0246d0: Pull complete [2023-10-18T20:37:28.684Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-18T20:37:29.023Z] + sudo service docker restart [2023-10-18T20:37:29.036Z] ec43610c2a17: Pull complete [2023-10-18T20:37:29.036Z] 3a2ae6a8a46f: Pull complete [2023-10-18T20:37:29.293Z] 33b1e0a273af: Pull complete [2023-10-18T20:37:29.293Z] 5d3b04190fa2: Pull complete [2023-10-18T20:37:33.478Z] 2f39f015ded8: Pull complete [2023-10-18T20:37:33.478Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-18T20:37:33.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:37:33.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:37:33.548Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:37:33.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T20:37:38.314Z] $ docker top 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:37:38.709Z] ---> job-cost.sh [2023-10-18T20:37:38.709Z] lf-activate-venv: SKIPPING [2023-10-18T20:37:38.709Z] INFO: No Stack... [2023-10-18T20:37:38.968Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T20:37:39.535Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T20:37:39.831Z] + cut -d, -f6 [2023-10-18T20:37:39.831Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2023-10-18T20:37:39.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [2023-10-18T20:37:39.852Z] Resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] did not exist. Created. [2023-10-18T20:37:39.852Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T20:37:40.146Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-18T20:37:40.165Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T20:37:40.172Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T20:37:40.189Z] $ docker stop --time=1 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de [2023-10-18T20:37:41.331Z] $ docker rm -f --volumes 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:37:47.305Z] provisioning config files... [2023-10-18T20:37:47.327Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/142@tmp/config15840132488922011675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:37:47.677Z] ---> docker-login.sh [2023-10-18T20:37:47.677Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:37:47.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:48.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:48.216Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:48.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:48.216Z] [2023-10-18T20:37:48.216Z] Login Succeeded [2023-10-18T20:37:48.216Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:37:48.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:48.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:48.485Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:48.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:48.485Z] [2023-10-18T20:37:48.485Z] Login Succeeded [2023-10-18T20:37:48.485Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:37:48.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:49.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:49.025Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:49.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:49.025Z] [2023-10-18T20:37:49.025Z] Login Succeeded [2023-10-18T20:37:49.025Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:37:49.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:49.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:49.296Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:49.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:49.296Z] [2023-10-18T20:37:49.296Z] Login Succeeded [2023-10-18T20:37:49.296Z] docker.io [2023-10-18T20:37:49.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:37:49.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:37:49.831Z] Configure a credential helper to remove this warning. See [2023-10-18T20:37:49.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:37:49.831Z] [2023-10-18T20:37:49.831Z] Login Succeeded [2023-10-18T20:37:49.831Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:37:49.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T20:37:50.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:37:50.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:37:50.109Z] ========================================================= [2023-10-18T20:37:50.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-18T20:37:50.109Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:37:50.445Z] + 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-18T20:37:50.446Z] Sending build context to Docker daemon 144.4kB [2023-10-18T20:37:50.712Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:37:50.712Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T20:37:54.978Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-18T20:37:54.978Z] 9fda8d8052c6: Pulling fs layer [2023-10-18T20:37:54.978Z] 5d54e960e981: Pulling fs layer [2023-10-18T20:37:54.978Z] c4a7e357bf2a: Pulling fs layer [2023-10-18T20:37:54.978Z] f0e02332f6b5: Pulling fs layer [2023-10-18T20:37:54.978Z] cefa15bbcfad: Pulling fs layer [2023-10-18T20:37:54.978Z] 17808c966233: Pulling fs layer [2023-10-18T20:37:54.978Z] f4c1fc716caa: Pulling fs layer [2023-10-18T20:37:54.978Z] f0e02332f6b5: Waiting [2023-10-18T20:37:54.978Z] cefa15bbcfad: Waiting [2023-10-18T20:37:54.978Z] 17808c966233: Waiting [2023-10-18T20:37:54.978Z] f4c1fc716caa: Waiting [2023-10-18T20:37:54.978Z] 5d54e960e981: Verifying Checksum [2023-10-18T20:37:54.978Z] 5d54e960e981: Download complete [2023-10-18T20:37:54.978Z] f0e02332f6b5: Verifying Checksum [2023-10-18T20:37:54.978Z] f0e02332f6b5: Download complete [2023-10-18T20:37:54.978Z] cefa15bbcfad: Verifying Checksum [2023-10-18T20:37:54.978Z] cefa15bbcfad: Download complete [2023-10-18T20:37:54.978Z] 9fda8d8052c6: Verifying Checksum [2023-10-18T20:37:54.978Z] 9fda8d8052c6: Download complete [2023-10-18T20:37:54.978Z] f4c1fc716caa: Verifying Checksum [2023-10-18T20:37:54.978Z] f4c1fc716caa: Download complete [2023-10-18T20:37:55.564Z] 9fda8d8052c6: Pull complete [2023-10-18T20:37:56.161Z] 5d54e960e981: Pull complete [2023-10-18T20:37:56.430Z] c4a7e357bf2a: Verifying Checksum [2023-10-18T20:37:56.430Z] c4a7e357bf2a: Download complete [2023-10-18T20:37:57.391Z] 17808c966233: Verifying Checksum [2023-10-18T20:37:57.391Z] 17808c966233: Download complete [2023-10-18T20:38:09.709Z] c4a7e357bf2a: Pull complete [2023-10-18T20:38:09.709Z] f0e02332f6b5: Pull complete [2023-10-18T20:38:09.709Z] cefa15bbcfad: Pull complete [2023-10-18T20:38:22.029Z] 17808c966233: Pull complete [2023-10-18T20:38:22.295Z] f4c1fc716caa: Pull complete [2023-10-18T20:38:22.295Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-18T20:38:22.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-18T20:38:22.295Z] ---> ea914061e18c [2023-10-18T20:38:22.295Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:38:23.702Z] ---> Running in bc61cd10beaa [2023-10-18T20:38:23.970Z] Removing intermediate container bc61cd10beaa [2023-10-18T20:38:23.970Z] ---> 01faeb86ec87 [2023-10-18T20:38:23.970Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:38:23.970Z] ---> Running in 163566aa6896 [2023-10-18T20:38:24.239Z] Removing intermediate container 163566aa6896 [2023-10-18T20:38:24.239Z] ---> 91884ddf3098 [2023-10-18T20:38:24.239Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:38:24.508Z] ---> Running in efcb21c513fc [2023-10-18T20:38:24.774Z] Removing intermediate container efcb21c513fc [2023-10-18T20:38:24.774Z] ---> 8d99d8ab709a [2023-10-18T20:38:24.774Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:38:24.774Z] ---> Running in 3801ff98b56d [2023-10-18T20:38:25.041Z] Removing intermediate container 3801ff98b56d [2023-10-18T20:38:25.041Z] ---> c41c4085e5fe [2023-10-18T20:38:25.041Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:38:25.041Z] ---> Running in ae5dc39caeff [2023-10-18T20:38:26.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:38:26.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:38:27.723Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T20:38:27.723Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T20:38:27.723Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T20:38:27.723Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T20:38:27.723Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:38:27.723Z] OK: 270 MiB in 56 packages [2023-10-18T20:38:29.140Z] Removing intermediate container ae5dc39caeff [2023-10-18T20:38:29.140Z] ---> e683ef095c53 [2023-10-18T20:38:29.140Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-18T20:38:29.140Z] ---> Running in 52f634fd66b7 [2023-10-18T20:38:29.140Z] Removing intermediate container 52f634fd66b7 [2023-10-18T20:38:29.140Z] ---> f0f756310563 [2023-10-18T20:38:29.140Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T20:38:29.729Z] ---> cda7b3bf93d2 [2023-10-18T20:38:29.729Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:38:29.729Z] ---> Running in 0263305b445f [2023-10-18T20:40:06.377Z] Removing intermediate container 0263305b445f [2023-10-18T20:40:06.377Z] ---> a9dbce71a3fb [2023-10-18T20:40:06.377Z] Step 11/12 : COPY . . [2023-10-18T20:40:06.377Z] ---> 13848b65abd2 [2023-10-18T20:40:06.377Z] Step 12/12 : RUN $MAKE [2023-10-18T20:40:06.377Z] ---> Running in 38ebeb63594b [2023-10-18T20:40:06.377Z] noop [2023-10-18T20:40:09.739Z] Removing intermediate container 38ebeb63594b [2023-10-18T20:40:09.739Z] ---> 0758f439279e [2023-10-18T20:40:09.739Z] Successfully built 0758f439279e [2023-10-18T20:40:09.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:40:10.106Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T20:40:10.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:40:10.310Z] prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container [2023-10-18T20:40:10.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T20:40:11.672Z] $ docker top ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:40:12.526Z] + go version [2023-10-18T20:40:12.526Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-18T20:40:12.548Z] $ docker stop --time=1 ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 [2023-10-18T20:40:14.223Z] $ docker rm -f --volumes ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:40:14.775Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T20:40:14.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:40:14.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container [2023-10-18T20:40:15.043Z] $ 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/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T20:40:16.239Z] $ docker top 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:40:17.068Z] + git config --global --add safe.directory /w/workspace/device-rest-go/142 [Pipeline] fileExists [Pipeline] sh [2023-10-18T20:40:17.709Z] + make test [2023-10-18T20:40:17.709Z] go test ./... -coverprofile=coverage.out ./... [2023-10-18T20:40:21.976Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-18T20:41:58.645Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-18T20:41:58.645Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-10-18T20:41:58.645Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-18T20:41:58.645Z] go vet ./... [2023-10-18T20:42:11.207Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T20:42:11.207Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T20:42:11.207Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T20:42:11.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T20:42:11.240Z] $ docker stop --time=1 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f [2023-10-18T20:42:13.807Z] $ docker rm -f --volumes 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:42:15.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T20:42:15.053Z] Warning: overwriting stash ‘coverage-report’ [2023-10-18T20:42:15.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:42:16.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T20:42:16.331Z] + ls -al . [2023-10-18T20:42:16.331Z] total 184 [2023-10-18T20:42:16.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:40 . [2023-10-18T20:42:16.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:37 .. [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:37 .dockerignore [2023-10-18T20:42:16.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:37 .git [2023-10-18T20:42:16.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:37 .github [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:37 .gitignore [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:37 .golangci.yml [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:37 Attribution.txt [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:37 CHANGELOG.md [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:37 Dockerfile [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:37 GOVERNANCE.md [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:37 Jenkinsfile [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:37 LICENSE [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:37 Makefile [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:37 OWNERS.md [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:37 README.md [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 20:35 VERSION [2023-10-18T20:42:16.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:37 bin [2023-10-18T20:42:16.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:37 cmd [2023-10-18T20:42:16.331Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:41 coverage.out [2023-10-18T20:42:16.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:37 driver [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:37 go.mod [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:37 go.sum [2023-10-18T20:42:16.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:37 snap [2023-10-18T20:42:16.331Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:42:16.678Z] + 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8 --label arch=arm64 --label version=3.1.0-dev.22 . [2023-10-18T20:42:16.678Z] Sending build context to Docker daemon 159.7kB [2023-10-18T20:42:16.947Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:42:16.947Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T20:42:16.947Z] ---> 0758f439279e [2023-10-18T20:42:16.947Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:42:16.947Z] ---> Running in 7c6feca9fb5b [2023-10-18T20:42:17.219Z] Removing intermediate container 7c6feca9fb5b [2023-10-18T20:42:17.219Z] ---> 545e5d5e6aac [2023-10-18T20:42:17.219Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:42:17.492Z] ---> Running in 38f911263eed [2023-10-18T20:42:17.766Z] Removing intermediate container 38f911263eed [2023-10-18T20:42:17.766Z] ---> 83dcacb4f1b5 [2023-10-18T20:42:17.766Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:42:17.766Z] ---> Running in 8cbfbf12140d [2023-10-18T20:42:18.037Z] Removing intermediate container 8cbfbf12140d [2023-10-18T20:42:18.037Z] ---> de9fe6a0956b [2023-10-18T20:42:18.037Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:42:18.305Z] ---> Running in f2055ab5c7d4 [2023-10-18T20:42:18.577Z] Removing intermediate container f2055ab5c7d4 [2023-10-18T20:42:18.577Z] ---> 86738be1afe7 [2023-10-18T20:42:18.577Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:42:18.577Z] ---> Running in 61ad953000a2 [2023-10-18T20:42:19.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:42:20.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:42:21.098Z] OK: 270 MiB in 56 packages [2023-10-18T20:42:22.063Z] Removing intermediate container 61ad953000a2 [2023-10-18T20:42:22.063Z] ---> 3ddf88b258fc [2023-10-18T20:42:22.063Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-18T20:42:22.063Z] ---> Running in 18531c04ca7d [2023-10-18T20:42:22.333Z] Removing intermediate container 18531c04ca7d [2023-10-18T20:42:22.333Z] ---> 7f09cfcd7098 [2023-10-18T20:42:22.333Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-18T20:42:25.678Z] ---> 19521c8bb57d [2023-10-18T20:42:25.678Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:42:25.678Z] ---> Running in afbe6c654c81 [2023-10-18T20:42:27.629Z] Removing intermediate container afbe6c654c81 [2023-10-18T20:42:27.629Z] ---> c5a2882aca97 [2023-10-18T20:42:27.629Z] Step 11/25 : COPY . . [2023-10-18T20:42:28.217Z] ---> 1ae777d32373 [2023-10-18T20:42:28.217Z] Step 12/25 : RUN $MAKE [2023-10-18T20:42:28.217Z] ---> Running in 982bd5426e18 [2023-10-18T20:42:29.178Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-18T20:44:20.838Z] Removing intermediate container 982bd5426e18 [2023-10-18T20:44:20.838Z] ---> 14f82dd6eeb4 [2023-10-18T20:44:20.838Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T20:44:20.838Z] 3.18: Pulling from library/alpine [2023-10-18T20:44:20.838Z] 579b34f0a95b: Pulling fs layer [2023-10-18T20:44:20.838Z] 579b34f0a95b: Download complete [2023-10-18T20:44:20.838Z] 579b34f0a95b: Pull complete [2023-10-18T20:44:20.838Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T20:44:20.838Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T20:44:20.838Z] ---> 3cc203321400 [2023-10-18T20:44:20.838Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T20:44:20.838Z] ---> Running in b23fe04389ee [2023-10-18T20:44:20.838Z] Removing intermediate container b23fe04389ee [2023-10-18T20:44:20.838Z] ---> cd5b0a85fa92 [2023-10-18T20:44:20.838Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-18T20:44:20.838Z] ---> Running in 7a9d1abb5cba [2023-10-18T20:44:20.838Z] Removing intermediate container 7a9d1abb5cba [2023-10-18T20:44:20.838Z] ---> f324db2ee2a0 [2023-10-18T20:44:20.838Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T20:44:20.838Z] ---> Running in a70bd15fedb2 [2023-10-18T20:44:20.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:44:20.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:44:20.838Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T20:44:20.838Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:44:20.838Z] OK: 8 MiB in 16 packages [2023-10-18T20:44:20.838Z] Removing intermediate container a70bd15fedb2 [2023-10-18T20:44:20.838Z] ---> 39e1ab439354 [2023-10-18T20:44:20.838Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-18T20:44:20.838Z] ---> 9418ed7fd51b [2023-10-18T20:44:20.838Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-18T20:44:20.838Z] ---> 7eb015c898ff [2023-10-18T20:44:20.838Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-18T20:44:20.838Z] ---> 6c60826ed3c7 [2023-10-18T20:44:20.838Z] Step 20/25 : EXPOSE 59986 [2023-10-18T20:44:20.838Z] ---> Running in a555ea819c38 [2023-10-18T20:44:20.838Z] Removing intermediate container a555ea819c38 [2023-10-18T20:44:20.838Z] ---> b1aa970d4a45 [2023-10-18T20:44:20.838Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-18T20:44:20.838Z] ---> Running in 2c57daf417b8 [2023-10-18T20:44:21.111Z] Removing intermediate container 2c57daf417b8 [2023-10-18T20:44:21.111Z] ---> 2d554c0fc5e1 [2023-10-18T20:44:21.111Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-18T20:44:21.111Z] ---> Running in 4ce9241cd67c [2023-10-18T20:44:21.382Z] Removing intermediate container 4ce9241cd67c [2023-10-18T20:44:21.382Z] ---> 45ae1b34b1f3 [2023-10-18T20:44:21.382Z] Step 23/25 : LABEL arch=arm64 [2023-10-18T20:44:21.648Z] ---> Running in 7f8a305bf39e [2023-10-18T20:44:21.912Z] Removing intermediate container 7f8a305bf39e [2023-10-18T20:44:21.912Z] ---> a64a6a50ec36 [2023-10-18T20:44:21.912Z] Step 24/25 : LABEL git_sha=8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:44:21.912Z] ---> Running in 7fd61b93ad65 [2023-10-18T20:44:22.178Z] Removing intermediate container 7fd61b93ad65 [2023-10-18T20:44:22.178Z] ---> 65ef31c2b950 [2023-10-18T20:44:22.178Z] Step 25/25 : LABEL version=3.1.0-dev.22 [2023-10-18T20:44:22.178Z] ---> Running in 2b3983832530 [2023-10-18T20:44:22.443Z] Removing intermediate container 2b3983832530 [2023-10-18T20:44:22.443Z] ---> 443ce45ae6ca [2023-10-18T20:44:22.443Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T20:44:22.443Z] Successfully built 443ce45ae6ca [2023-10-18T20:44:22.709Z] 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-18T20:44:22.804Z] provisioning config files... [2023-10-18T20:44:22.816Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/142@tmp/config10041499251627268066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:44:23.143Z] ---> docker-login.sh [2023-10-18T20:44:23.143Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:44:23.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:44:23.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:44:23.409Z] Configure a credential helper to remove this warning. See [2023-10-18T20:44:23.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:44:23.409Z] [2023-10-18T20:44:23.409Z] Login Succeeded [2023-10-18T20:44:23.409Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:44:23.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:44:23.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:44:23.676Z] Configure a credential helper to remove this warning. See [2023-10-18T20:44:23.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:44:23.676Z] [2023-10-18T20:44:23.676Z] Login Succeeded [2023-10-18T20:44:23.676Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:44:23.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:44:23.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:44:23.943Z] Configure a credential helper to remove this warning. See [2023-10-18T20:44:23.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:44:23.943Z] [2023-10-18T20:44:23.943Z] Login Succeeded [2023-10-18T20:44:23.943Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:44:24.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:44:24.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:44:24.477Z] Configure a credential helper to remove this warning. See [2023-10-18T20:44:24.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:44:24.477Z] [2023-10-18T20:44:24.477Z] Login Succeeded [2023-10-18T20:44:24.477Z] docker.io [2023-10-18T20:44:24.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:44:25.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:44:25.013Z] Configure a credential helper to remove this warning. See [2023-10-18T20:44:25.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:44:25.013Z] [2023-10-18T20:44:25.013Z] Login Succeeded [2023-10-18T20:44:25.013Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:44:25.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T20:44:25.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:44:25.072Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-18T20:44:25.072Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:44:25.072Z] latest [2023-10-18T20:44:25.072Z] 3.1.0-dev.22 [2023-10-18T20:44:25.072Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:44:25.072Z] main [2023-10-18T20:44:25.072Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:25.432Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:26.352Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:44:26.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-18T20:44:26.352Z] 59e155d31195: Preparing [2023-10-18T20:44:26.352Z] 321826544d0a: Preparing [2023-10-18T20:44:26.352Z] 53fe197cc1b9: Preparing [2023-10-18T20:44:26.352Z] 2ab24493fa3e: Preparing [2023-10-18T20:44:26.352Z] 5f4d9fc4d98d: Preparing [2023-10-18T20:44:26.352Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T20:44:26.618Z] 321826544d0a: Pushed [2023-10-18T20:44:26.618Z] 59e155d31195: Pushed [2023-10-18T20:44:26.618Z] 2ab24493fa3e: Pushed [2023-10-18T20:44:31.948Z] 53fe197cc1b9: Pushed [2023-10-18T20:44:31.948Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:32.294Z] + 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-18T20:44:32.638Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-18T20:44:32.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-18T20:44:32.638Z] 59e155d31195: Preparing [2023-10-18T20:44:32.638Z] 321826544d0a: Preparing [2023-10-18T20:44:32.638Z] 53fe197cc1b9: Preparing [2023-10-18T20:44:32.638Z] 2ab24493fa3e: Preparing [2023-10-18T20:44:32.638Z] 5f4d9fc4d98d: Preparing [2023-10-18T20:44:32.638Z] 2ab24493fa3e: Layer already exists [2023-10-18T20:44:32.638Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T20:44:32.638Z] 59e155d31195: Layer already exists [2023-10-18T20:44:32.638Z] 53fe197cc1b9: Layer already exists [2023-10-18T20:44:32.638Z] 321826544d0a: Layer already exists [2023-10-18T20:44:32.638Z] latest: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:33.244Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:33.577Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 [2023-10-18T20:44:33.578Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-18T20:44:33.578Z] 59e155d31195: Preparing [2023-10-18T20:44:33.578Z] 321826544d0a: Preparing [2023-10-18T20:44:33.578Z] 53fe197cc1b9: Preparing [2023-10-18T20:44:33.578Z] 2ab24493fa3e: Preparing [2023-10-18T20:44:33.578Z] 5f4d9fc4d98d: Preparing [2023-10-18T20:44:33.578Z] 321826544d0a: Layer already exists [2023-10-18T20:44:33.578Z] 59e155d31195: Layer already exists [2023-10-18T20:44:33.578Z] 53fe197cc1b9: Layer already exists [2023-10-18T20:44:33.578Z] 2ab24493fa3e: Layer already exists [2023-10-18T20:44:33.578Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T20:44:33.578Z] 3.1.0-dev.22: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:33.917Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:34.259Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:44:34.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-18T20:44:34.259Z] 59e155d31195: Preparing [2023-10-18T20:44:34.259Z] 321826544d0a: Preparing [2023-10-18T20:44:34.259Z] 53fe197cc1b9: Preparing [2023-10-18T20:44:34.259Z] 2ab24493fa3e: Preparing [2023-10-18T20:44:34.259Z] 5f4d9fc4d98d: Preparing [2023-10-18T20:44:34.259Z] 53fe197cc1b9: Layer already exists [2023-10-18T20:44:34.259Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T20:44:34.259Z] 2ab24493fa3e: Layer already exists [2023-10-18T20:44:34.259Z] 321826544d0a: Layer already exists [2023-10-18T20:44:34.259Z] 59e155d31195: Layer already exists [2023-10-18T20:44:34.259Z] 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:34.605Z] + 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-18T20:44:34.939Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-18T20:44:34.939Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-18T20:44:34.939Z] 59e155d31195: Preparing [2023-10-18T20:44:34.939Z] 321826544d0a: Preparing [2023-10-18T20:44:34.939Z] 53fe197cc1b9: Preparing [2023-10-18T20:44:34.939Z] 2ab24493fa3e: Preparing [2023-10-18T20:44:34.939Z] 5f4d9fc4d98d: Preparing [2023-10-18T20:44:34.939Z] 321826544d0a: Layer already exists [2023-10-18T20:44:34.939Z] 2ab24493fa3e: Layer already exists [2023-10-18T20:44:34.939Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T20:44:34.939Z] 59e155d31195: Layer already exists [2023-10-18T20:44:34.939Z] 53fe197cc1b9: Layer already exists [2023-10-18T20:44:34.939Z] main: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T20:44:34.987Z] ===================================================== [Pipeline] echo [2023-10-18T20:44:34.995Z] taggedImages: [2023-10-18T20:44:34.995Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [2023-10-18T20:44:34.995Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-18T20:44:34.995Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 [2023-10-18T20:44:34.995Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [2023-10-18T20:44:34.995Z] - 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-18T20:44:35.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:44:35.354Z] [2023-10-18T20:44:35.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:44:35.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:44:35.681Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-18T20:44:35.681Z] 8998bd30e6a1: Pulling fs layer [2023-10-18T20:44:35.681Z] 04944245beec: Pulling fs layer [2023-10-18T20:44:35.681Z] 699f458cf7ca: Pulling fs layer [2023-10-18T20:44:35.681Z] 765212b225bb: Pulling fs layer [2023-10-18T20:44:35.681Z] f23df028b6ca: Pulling fs layer [2023-10-18T20:44:35.681Z] d65c8cfc05b1: Pulling fs layer [2023-10-18T20:44:35.681Z] 2437ff75d9bd: Pulling fs layer [2023-10-18T20:44:35.681Z] 765212b225bb: Waiting [2023-10-18T20:44:35.681Z] f23df028b6ca: Waiting [2023-10-18T20:44:35.681Z] d65c8cfc05b1: Waiting [2023-10-18T20:44:35.681Z] 2437ff75d9bd: Waiting [2023-10-18T20:44:35.948Z] 04944245beec: Verifying Checksum [2023-10-18T20:44:35.948Z] 04944245beec: Download complete [2023-10-18T20:44:35.948Z] 765212b225bb: Verifying Checksum [2023-10-18T20:44:35.948Z] 765212b225bb: Download complete [2023-10-18T20:44:35.948Z] f23df028b6ca: Download complete [2023-10-18T20:44:35.948Z] d65c8cfc05b1: Verifying Checksum [2023-10-18T20:44:35.948Z] d65c8cfc05b1: Download complete [2023-10-18T20:44:35.948Z] 699f458cf7ca: Verifying Checksum [2023-10-18T20:44:35.948Z] 699f458cf7ca: Download complete [2023-10-18T20:44:36.536Z] 8998bd30e6a1: Verifying Checksum [2023-10-18T20:44:36.536Z] 8998bd30e6a1: Download complete [2023-10-18T20:44:39.118Z] 2437ff75d9bd: Verifying Checksum [2023-10-18T20:44:39.118Z] 2437ff75d9bd: Download complete [2023-10-18T20:44:41.062Z] 8998bd30e6a1: Pull complete [2023-10-18T20:44:41.328Z] 04944245beec: Pull complete [2023-10-18T20:44:43.268Z] 699f458cf7ca: Pull complete [2023-10-18T20:44:43.268Z] 765212b225bb: Pull complete [2023-10-18T20:44:43.850Z] f23df028b6ca: Pull complete [2023-10-18T20:44:44.117Z] d65c8cfc05b1: Pull complete [2023-10-18T20:45:02.322Z] 2437ff75d9bd: Pull complete [2023-10-18T20:45:02.322Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-18T20:45:02.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:45:02.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:45:02.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container [2023-10-18T20:45:02.650Z] $ 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/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-18T20:45:05.494Z] $ docker top 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:45:06.065Z] ---> job-cost.sh [2023-10-18T20:45:06.333Z] lf-activate-venv: SKIPPING [2023-10-18T20:45:06.333Z] INFO: No Stack... [2023-10-18T20:45:06.612Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-18T20:45:07.564Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T20:45:08.194Z] + cat /w/workspace/device-rest-go/142/archives/cost.csv [2023-10-18T20:45:08.194Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T20:45:08.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [2023-10-18T20:45:08.275Z] Resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] did not exist. Created. [2023-10-18T20:45:08.275Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T20:45:08.620Z] /w/workspace/device-rest-go/142@tmp/durable-8f100d73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-18T20:45:09.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-18T20:45:09.524Z] Warning: overwriting stash ‘stack-cost’ [2023-10-18T20:45:09.590Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T20:45:09.597Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T20:45:09.611Z] $ docker stop --time=1 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d [2023-10-18T20:45:11.052Z] $ docker rm -f --volumes 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d [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-18T20:45:11.435Z] provisioning config files... [2023-10-18T20:45:11.443Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5839722633882890885tmp [Pipeline] { [Pipeline] sh [2023-10-18T20:45:11.740Z] + set +x [2023-10-18T20:45:11.740Z] + bash -s -- [2023-10-18T20:45:11.740Z] + curl -s https://codecov.io/bash [2023-10-18T20:45:11.740Z] [2023-10-18T20:45:11.740Z] _____ _ [2023-10-18T20:45:11.740Z] / ____| | | [2023-10-18T20:45:11.740Z] | | ___ __| | ___ ___ _____ __ [2023-10-18T20:45:11.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-18T20:45:11.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-18T20:45:11.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-18T20:45:11.740Z] Bash-1.0.6 [2023-10-18T20:45:11.740Z] [2023-10-18T20:45:11.740Z] [2023-10-18T20:45:11.740Z] ==> git version 2.25.1 found [2023-10-18T20:45:11.740Z] ==> 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-18T20:45:11.740Z] Release-Date: 2020-01-08 [2023-10-18T20:45:11.740Z] 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-18T20:45:11.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-18T20:45:11.740Z] ==> Jenkins CI detected. [2023-10-18T20:45:11.740Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-18T20:45:11.740Z] project root: . [2023-10-18T20:45:11.740Z] --> token set from env [2023-10-18T20:45:11.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-18T20:45:12.014Z] ==> Running gcov in . (disable via -X gcov) [2023-10-18T20:45:12.014Z] ==> Python coveragepy not found [2023-10-18T20:45:12.014Z] ==> Searching for coverage reports in: [2023-10-18T20:45:12.014Z] + . [2023-10-18T20:45:12.014Z] -> Found 1 reports [2023-10-18T20:45:12.014Z] ==> Detecting git/mercurial file structure [2023-10-18T20:45:12.014Z] ==> Reading reports [2023-10-18T20:45:12.014Z] + ./coverage.out bytes=14499 [2023-10-18T20:45:12.014Z] ==> Appending adjustments [2023-10-18T20:45:12.014Z] https://docs.codecov.io/docs/fixing-reports [2023-10-18T20:45:12.014Z] + Found adjustments [2023-10-18T20:45:12.014Z] ==> Gzipping contents [2023-10-18T20:45:12.014Z] 4.0K /tmp/codecov.Kvkp7V.gz [2023-10-18T20:45:12.014Z] ==> Uploading reports [2023-10-18T20:45:12.014Z] url: https://codecov.io [2023-10-18T20:45:12.014Z] query: branch=main&commit=8f56d306fd858ae3d3367190115f2cbc940f5ff8&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T20:45:12.014Z] -> Pinging Codecov [2023-10-18T20:45:12.014Z] 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T20:45:12.273Z] -> Uploading to [2023-10-18T20:45:12.273Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-18/4E5D53B4F1F92C436F7061BF334D961C/8f56d306fd858ae3d3367190115f2cbc940f5ff8/70b9aa1c-ae79-4607-bd44-d357b85bc438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T204511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fa84ba156e36a014732a297611ffc6ad3fda1e8bd70f2a56dccef4030eccd27 [2023-10-18T20:45:12.273Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T20:45:12.273Z] Dload Upload Total Spent Left Speed [2023-10-18T20:45:12.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8365 --:--:-- --:--:-- --:--:-- 8365 [2023-10-18T20:45:12.531Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } [2023-10-18T20:45:12.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-18T20:45:12.745Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-18T20:45:12.755Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:45:13.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T20:45:13.056Z] [2023-10-18T20:45:13.056Z] 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-18T20:45:13.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T20:45:13.356Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-18T20:45:13.356Z] df9b9388f04a: Pulling fs layer [2023-10-18T20:45:13.356Z] 52dc419b0ee2: Pulling fs layer [2023-10-18T20:45:13.356Z] 25bc292e5bac: Pulling fs layer [2023-10-18T20:45:13.356Z] 114826534d7a: Pulling fs layer [2023-10-18T20:45:13.356Z] 4657fd5d0bcf: Pulling fs layer [2023-10-18T20:45:13.356Z] 6ad1cebc031e: Pulling fs layer [2023-10-18T20:45:13.356Z] 8a3aa393b2d8: Pulling fs layer [2023-10-18T20:45:13.356Z] 4657fd5d0bcf: Waiting [2023-10-18T20:45:13.356Z] 6ad1cebc031e: Waiting [2023-10-18T20:45:13.356Z] 8a3aa393b2d8: Waiting [2023-10-18T20:45:13.356Z] 114826534d7a: Waiting [2023-10-18T20:45:13.356Z] 25bc292e5bac: Verifying Checksum [2023-10-18T20:45:13.356Z] 25bc292e5bac: Download complete [2023-10-18T20:45:13.356Z] 52dc419b0ee2: Verifying Checksum [2023-10-18T20:45:13.356Z] 52dc419b0ee2: Download complete [2023-10-18T20:45:13.356Z] 4657fd5d0bcf: Verifying Checksum [2023-10-18T20:45:13.356Z] 4657fd5d0bcf: Download complete [2023-10-18T20:45:13.356Z] df9b9388f04a: Verifying Checksum [2023-10-18T20:45:13.356Z] df9b9388f04a: Download complete [2023-10-18T20:45:13.617Z] 6ad1cebc031e: Verifying Checksum [2023-10-18T20:45:13.617Z] 6ad1cebc031e: Download complete [2023-10-18T20:45:13.617Z] df9b9388f04a: Pull complete [2023-10-18T20:45:13.617Z] 52dc419b0ee2: Pull complete [2023-10-18T20:45:13.617Z] 25bc292e5bac: Pull complete [2023-10-18T20:45:14.191Z] 114826534d7a: Verifying Checksum [2023-10-18T20:45:14.191Z] 114826534d7a: Download complete [2023-10-18T20:45:14.191Z] 8a3aa393b2d8: Verifying Checksum [2023-10-18T20:45:14.191Z] 8a3aa393b2d8: Download complete [2023-10-18T20:45:17.473Z] 114826534d7a: Pull complete [2023-10-18T20:45:17.473Z] 4657fd5d0bcf: Pull complete [2023-10-18T20:45:17.731Z] 6ad1cebc031e: Pull complete [2023-10-18T20:45:20.262Z] 8a3aa393b2d8: Pull complete [2023-10-18T20:45:20.263Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-18T20:45:20.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T20:45:20.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:45:20.340Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:45:20.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-18T20:45:26.600Z] $ docker top 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-18T20:45:26.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-18T20:45:26.966Z] + set -o pipefail [2023-10-18T20:45:26.967Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-18T20:45:33.532Z] [2023-10-18T20:45:33.532Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-18T20:45:33.532Z] [2023-10-18T20:45:33.532Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/36e44a27-772c-45fd-8761-fd7542a73c4d [2023-10-18T20:45:33.532Z] [2023-10-18T20:45:33.532Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-18T20:45:33.532Z] [2023-10-18T20:45:33.532Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-18T20:45:33.532Z] [2023-10-18T20:45:34.100Z] [2023-10-18T20:45:34.100Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-18T20:45:34.100Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-18T20:45:34.100Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-18T20:45:34.112Z] $ docker stop --time=1 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e [2023-10-18T20:45:38.518Z] $ docker rm -f --volumes 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e [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-18T20:45:39.224Z] + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] sh [2023-10-18T20:45:39.516Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T20:45:39.516Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:45:39.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:45:39.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:45:39.942Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:45:39.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T20:45:40.669Z] $ docker top 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 -eo pid,comm [2023-10-18T20:45:40.710Z] 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-18T20:45:40.710Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T20:45:40.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:45:40.740Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:45:40.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:45:40.857Z] $ docker exec 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 ssh-agent [2023-10-18T20:45:40.960Z] SSH_AUTH_SOCK=/tmp/ssh-zGvJjSavFsY9/agent.33 [2023-10-18T20:45:40.960Z] SSH_AGENT_PID=39 [2023-10-18T20:45:40.964Z] Running ssh-add (command line suppressed) [2023-10-18T20:45:41.067Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2549476026385522842.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2549476026385522842.key) [2023-10-18T20:45:41.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:45:41.366Z] + git semver tag [2023-10-18T20:45:41.624Z] 2023-10-18 20:45:41,522 [run_tag] DEBUG tag force:False [2023-10-18T20:45:41.624Z] 2023-10-18 20:45:41,522 [check_head_tag] DEBUG check head tag [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,522 [execute] INFO git cat-file --batch-check [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,526 [execute] INFO git cat-file --batch [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,539 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,539 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,539 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-18T20:45:41.625Z] 2023-10-18 20:45:41,544 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:45:41.625Z] 3.1.0-dev.22 [Pipeline] } [2023-10-18T20:45:41.635Z] $ docker exec --env ******** --env ******** 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 ssh-agent -k [2023-10-18T20:45:41.729Z] unset SSH_AUTH_SOCK; [2023-10-18T20:45:41.729Z] unset SSH_AGENT_PID; [2023-10-18T20:45:41.729Z] echo Agent pid 39 killed; [2023-10-18T20:45:41.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T20:45:42.041Z] + git semver [Pipeline] } [2023-10-18T20:45:42.314Z] $ docker stop --time=1 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 [2023-10-18T20:45:43.595Z] $ docker rm -f --volumes 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:45:43.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T20:45:43.964Z] [2023-10-18T20:45:43.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:45:44.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T20:45:44.261Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-18T20:45:44.261Z] ab5ef0e58194: Pulling fs layer [2023-10-18T20:45:44.261Z] 9712f1f96733: Pulling fs layer [2023-10-18T20:45:44.261Z] 63f879dbbcfc: Pulling fs layer [2023-10-18T20:45:44.261Z] 0d9ebad4ef96: Pulling fs layer [2023-10-18T20:45:44.261Z] e9a5061849ea: Pulling fs layer [2023-10-18T20:45:44.261Z] d747dcd14b5f: Pulling fs layer [2023-10-18T20:45:44.261Z] 2de7ff778b66: Pulling fs layer [2023-10-18T20:45:44.261Z] e9a5061849ea: Waiting [2023-10-18T20:45:44.261Z] d747dcd14b5f: Waiting [2023-10-18T20:45:44.261Z] 2de7ff778b66: Waiting [2023-10-18T20:45:44.261Z] 0d9ebad4ef96: Waiting [2023-10-18T20:45:44.261Z] 9712f1f96733: Verifying Checksum [2023-10-18T20:45:44.261Z] 9712f1f96733: Download complete [2023-10-18T20:45:44.524Z] 63f879dbbcfc: Verifying Checksum [2023-10-18T20:45:44.524Z] 63f879dbbcfc: Download complete [2023-10-18T20:45:44.783Z] 0d9ebad4ef96: Verifying Checksum [2023-10-18T20:45:44.783Z] 0d9ebad4ef96: Download complete [2023-10-18T20:45:44.783Z] d747dcd14b5f: Download complete [2023-10-18T20:45:44.783Z] e9a5061849ea: Verifying Checksum [2023-10-18T20:45:44.783Z] e9a5061849ea: Download complete [2023-10-18T20:45:44.783Z] ab5ef0e58194: Verifying Checksum [2023-10-18T20:45:44.783Z] ab5ef0e58194: Download complete [2023-10-18T20:45:44.783Z] 2de7ff778b66: Verifying Checksum [2023-10-18T20:45:44.783Z] 2de7ff778b66: Download complete [2023-10-18T20:45:47.314Z] ab5ef0e58194: Pull complete [2023-10-18T20:45:47.314Z] 9712f1f96733: Pull complete [2023-10-18T20:45:48.245Z] 63f879dbbcfc: Pull complete [2023-10-18T20:45:52.497Z] 0d9ebad4ef96: Pull complete [2023-10-18T20:45:52.497Z] e9a5061849ea: Pull complete [2023-10-18T20:45:52.497Z] d747dcd14b5f: Pull complete [2023-10-18T20:45:53.871Z] 2de7ff778b66: Pull complete [2023-10-18T20:45:53.871Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-18T20:45:53.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T20:45:53.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:45:53.953Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:45:53.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-18T20:46:02.199Z] $ docker top 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:46:02.264Z] provisioning config files... [2023-10-18T20:46:02.273Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16684894077683102891tmp [2023-10-18T20:46:02.284Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2229265656474448779tmp [2023-10-18T20:46:02.294Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3130809982628270125tmp [Pipeline] { [Pipeline] echo [2023-10-18T20:46:02.310Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:02.592Z] ---> sigul-configuration.sh [2023-10-18T20:46:02.592Z] gpg: directory `/root/.gnupg' created [2023-10-18T20:46:02.592Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-18T20:46:02.592Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-18T20:46:02.592Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-18T20:46:02.592Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-18T20:46:02.592Z] gpg: CAST5 encrypted data [2023-10-18T20:46:02.592Z] gpg: encrypted with 1 passphrase [2023-10-18T20:46:02.592Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-18T20:46:02.876Z] + mkdir /home/jenkins [2023-10-18T20:46:02.876Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-18T20:46:03.162Z] + 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-18T20:46:03.170Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:03.452Z] ---> sigul-install.sh [2023-10-18T20:46:03.452Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-18T20:46:03.744Z] + git tag --list [2023-10-18T20:46:03.744Z] v1.0.0 [2023-10-18T20:46:03.744Z] v1.1.0 [2023-10-18T20:46:03.744Z] v1.1.1 [2023-10-18T20:46:03.744Z] v1.1.2 [2023-10-18T20:46:03.744Z] v1.2.0 [2023-10-18T20:46:03.744Z] v1.2.1 [2023-10-18T20:46:03.744Z] v2.0.0 [2023-10-18T20:46:03.744Z] v2.1.0 [2023-10-18T20:46:03.744Z] v2.1.1 [2023-10-18T20:46:03.744Z] v2.2.0 [2023-10-18T20:46:03.744Z] v2.3.0 [2023-10-18T20:46:03.744Z] v3.0 [2023-10-18T20:46:03.744Z] v3.0.0 [2023-10-18T20:46:03.744Z] v3.1.0-dev.1 [2023-10-18T20:46:03.744Z] v3.1.0-dev.10 [2023-10-18T20:46:03.744Z] v3.1.0-dev.11 [2023-10-18T20:46:03.744Z] v3.1.0-dev.12 [2023-10-18T20:46:03.744Z] v3.1.0-dev.13 [2023-10-18T20:46:03.744Z] v3.1.0-dev.14 [2023-10-18T20:46:03.744Z] v3.1.0-dev.15 [2023-10-18T20:46:03.744Z] v3.1.0-dev.16 [2023-10-18T20:46:03.744Z] v3.1.0-dev.17 [2023-10-18T20:46:03.744Z] v3.1.0-dev.18 [2023-10-18T20:46:03.744Z] v3.1.0-dev.19 [2023-10-18T20:46:03.744Z] v3.1.0-dev.2 [2023-10-18T20:46:03.744Z] v3.1.0-dev.20 [2023-10-18T20:46:03.744Z] v3.1.0-dev.21 [2023-10-18T20:46:03.744Z] v3.1.0-dev.22 [2023-10-18T20:46:03.744Z] v3.1.0-dev.3 [2023-10-18T20:46:03.744Z] v3.1.0-dev.4 [2023-10-18T20:46:03.744Z] v3.1.0-dev.5 [2023-10-18T20:46:03.744Z] v3.1.0-dev.6 [2023-10-18T20:46:03.744Z] v3.1.0-dev.7 [2023-10-18T20:46:03.744Z] v3.1.0-dev.8 [2023-10-18T20:46:03.744Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-18T20:46:04.030Z] + lftools sign git-tag v3.1.0-dev.22 [2023-10-18T20:46:04.596Z] Signing Git tag with Sigul... [2023-10-18T20:46:04.596Z] Signing v3.1.0-dev.22 [Pipeline] echo [2023-10-18T20:46:04.862Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:05.148Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-18T20:46:05.156Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-18T20:46:05.178Z] $ docker stop --time=1 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 [2023-10-18T20:46:06.444Z] $ docker rm -f --volumes 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-18T20:46:06.862Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T20:46:06.862Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:46:07.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:46:07.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:46:07.238Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:46:07.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T20:46:07.599Z] $ docker top cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 -eo pid,comm [2023-10-18T20:46:07.640Z] 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-18T20:46:07.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T20:46:07.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:46:07.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:46:07.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:46:07.797Z] $ docker exec cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 ssh-agent [2023-10-18T20:46:07.895Z] SSH_AUTH_SOCK=/tmp/ssh-KHO3pCwtVGUf/agent.32 [2023-10-18T20:46:07.895Z] SSH_AGENT_PID=38 [2023-10-18T20:46:07.900Z] Running ssh-add (command line suppressed) [2023-10-18T20:46:07.993Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11391545980572789548.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11391545980572789548.key) [2023-10-18T20:46:08.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:46:08.323Z] + git semver bump pre [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,484 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,484 [bump_version] DEBUG bumped version:3.1.0-dev.23 [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,484 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,485 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,489 [execute] INFO git cat-file --batch-check [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,489 [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-18T20:46:08.583Z] 2023-10-18 20:46:08,495 [execute] INFO git cat-file --batch [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T20:46:08.583Z] 2023-10-18 20:46:08,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:46:08.583Z] 3.1.0-dev.23 [Pipeline] } [2023-10-18T20:46:08.597Z] $ docker exec --env ******** --env ******** cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 ssh-agent -k [2023-10-18T20:46:08.707Z] unset SSH_AUTH_SOCK; [2023-10-18T20:46:08.707Z] unset SSH_AGENT_PID; [2023-10-18T20:46:08.707Z] echo Agent pid 38 killed; [2023-10-18T20:46:08.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T20:46:09.026Z] + git semver [Pipeline] } [2023-10-18T20:46:09.299Z] $ docker stop --time=1 cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 [2023-10-18T20:46:10.580Z] $ docker rm -f --volumes cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:46:10.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T20:46:10.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:46:11.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:46:11.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:46:11.296Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:46:11.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T20:46:11.638Z] $ docker top 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca -eo pid,comm [2023-10-18T20:46:11.681Z] 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-18T20:46:11.681Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T20:46:11.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:46:11.715Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:46:11.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:46:11.816Z] $ docker exec 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca ssh-agent [2023-10-18T20:46:11.912Z] SSH_AUTH_SOCK=/tmp/ssh-ZUhZxM9CNnHO/agent.33 [2023-10-18T20:46:11.912Z] SSH_AGENT_PID=39 [2023-10-18T20:46:11.918Z] Running ssh-add (command line suppressed) [2023-10-18T20:46:12.006Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2732905542593549522.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2732905542593549522.key) [2023-10-18T20:46:12.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:46:12.305Z] + git semver push [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,603 [run_push] DEBUG push [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,604 [execute] INFO git cat-file --batch-check [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,604 [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-18T20:46:12.871Z] 2023-10-18 20:46:12,608 [execute] INFO git rev-list 33201d730a40dc10b47273e555c6dfc2960a4c01 -- [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,608 [execute] DEBUG Popen(['git', 'rev-list', '33201d730a40dc10b47273e555c6dfc2960a4c01', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,617 [execute] INFO git fetch -v origin [2023-10-18T20:46:12.871Z] 2023-10-18 20:46:12,617 [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-18T20:46:13.438Z] 2023-10-18 20:46:13,151 [run_push] DEBUG no remote changes detected [2023-10-18T20:46:13.438Z] 2023-10-18 20:46:13,151 [execute] INFO git push origin semver [2023-10-18T20:46:13.438Z] 2023-10-18 20:46:13,152 [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-18T20:46:14.005Z] 2023-10-18 20:46:13,891 [run_push] DEBUG push all version tags [2023-10-18T20:46:14.005Z] 2023-10-18 20:46:13,891 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-18T20:46:14.005Z] 2023-10-18 20:46:13,892 [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-18T20:46:14.942Z] 2023-10-18 20:46:14,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-18T20:46:14.942Z] 3.1.0-dev.23 [Pipeline] } [2023-10-18T20:46:14.955Z] $ docker exec --env ******** --env ******** 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca ssh-agent -k [2023-10-18T20:46:15.059Z] unset SSH_AUTH_SOCK; [2023-10-18T20:46:15.060Z] unset SSH_AGENT_PID; [2023-10-18T20:46:15.060Z] echo Agent pid 39 killed; [2023-10-18T20:46:15.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T20:46:15.377Z] + git semver [Pipeline] } [2023-10-18T20:46:15.651Z] $ docker stop --time=1 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca [2023-10-18T20:46:16.969Z] $ docker rm -f --volumes 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca [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-18T20:46:17.532Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-18T20:46:17.532Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-18T20:46:17.532Z] total 16 [2023-10-18T20:46:17.532Z] drwxr-xr-x 3 root root 4096 Oct 18 20:37 . [2023-10-18T20:46:17.532Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:46 .. [2023-10-18T20:46:17.532Z] drwxr-xr-x 2 root root 4096 Oct 18 20:37 cost [2023-10-18T20:46:17.532Z] -rw-r--r-- 1 root root 86 Oct 18 20:37 cost.csv [2023-10-18T20:46:17.532Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-18T20:46:17.532Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-18T20:46:17.532Z] total 16 [2023-10-18T20:46:17.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:37 . [2023-10-18T20:46:17.532Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:46 .. [2023-10-18T20:46:17.532Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 20:37 cost [2023-10-18T20:46:17.532Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 18 20:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:17.823Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:18.682Z] ---> package-listing.sh [2023-10-18T20:46:18.682Z] ++ facter osfamily [2023-10-18T20:46:18.682Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-18T20:46:18.941Z] + OS_FAMILY=debian [2023-10-18T20:46:18.941Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-18T20:46:18.941Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-18T20:46:18.941Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-18T20:46:18.941Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-18T20:46:18.941Z] + PACKAGES=/tmp/packages_start.txt [2023-10-18T20:46:18.941Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-18T20:46:18.941Z] + PACKAGES=/tmp/packages_end.txt [2023-10-18T20:46:18.941Z] + case "${OS_FAMILY}" in [2023-10-18T20:46:18.941Z] + dpkg -l [2023-10-18T20:46:18.941Z] + grep '^ii' [2023-10-18T20:46:18.941Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-18T20:46:18.941Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-18T20:46:18.941Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-18T20:46:18.941Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-18T20:46:18.941Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-18T20:46:18.941Z] + 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-18T20:46:18.951Z] 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-18T20:46:19.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:46:19.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:46:19.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:46:19.854Z] prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container [2023-10-18T20:46:19.985Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T20:46:20.327Z] $ docker top ac9d1dcac1dcbda016ea3883a5c3835ab1295be5538d5ef4a8568508af98f874 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:46:20.721Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-18T20:46:21.006Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-18T20:46:21.290Z] + ls /var/log/sa-host [2023-10-18T20:46:21.290Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:46:21.367Z] provisioning config files... [2023-10-18T20:46:21.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14668296217160429436tmp [Pipeline] { [Pipeline] echo [2023-10-18T20:46:21.386Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:21.668Z] ---> create-netrc.sh [Pipeline] } [2023-10-18T20:46:21.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:21.988Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-18T20:46:21.997Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:22.276Z] ---> sudo-logs.sh [2023-10-18T20:46:22.276Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-18T20:46:22.306Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:22.588Z] ---> job-cost.sh [2023-10-18T20:46:22.588Z] lf-activate-venv: SKIPPING [2023-10-18T20:46:22.588Z] DEBUG: total: 0.2199999988079071 [2023-10-18T20:46:22.588Z] INFO: Retrieving Stack Cost... [2023-10-18T20:46:22.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T20:46:23.412Z] INFO: Archiving Costs [Pipeline] echo [2023-10-18T20:46:23.423Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:46:23.704Z] ---> logs-deploy.sh [2023-10-18T20:46:23.704Z] lf-activate-venv: SKIPPING [2023-10-18T20:46:23.704Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/142 [2023-10-18T20:46:23.704Z] INFO: archiving workspace using pattern(s): [2023-10-18T20:46:24.644Z] Archives upload complete. [2023-10-18T20:46:24.644Z] INFO: archiving logs to Nexus