Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a515b494e7404baf3466ef0a37ba3fb32cb96e53 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-ssh9806474470313903905.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-ssh17482336975243615253.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-ssh3884444349110771209.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-ssh3339014758884970744.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-ssh10111674864263469455.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7239 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a515b494e7404baf3466ef0a37ba3fb32cb96e53 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/create-release" > git rev-list --no-walk 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:57:22.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:57:22.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:57:22.197Z] ========================================================= [2023-09-20T20:57:22.197Z] EdgeX Global Pipelines Version Info [2023-09-20T20:57:22.197Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:22.907Z] ------------------- [2023-09-20T20:57:22.907Z] stable info: [2023-09-20T20:57:22.907Z] ------------------- [2023-09-20T20:57:22.907Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:57:22.907Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:57:22.907Z] Message: update stable to v1.0.254 [2023-09-20T20:57:23.479Z] ------------------- [2023-09-20T20:57:23.480Z] experimental info: [2023-09-20T20:57:23.480Z] ------------------- [2023-09-20T20:57:23.480Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:57:23.480Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:57:23.480Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:57:23.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-20T20:57:23.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-20T20:57:23.673Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:57:23.700Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:57:23.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:57:23.733Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:57:23.744Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:57:23.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:57:23.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:57:23.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:57:23.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:57:23.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-20T20:57:23.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:57:23.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:57:23.867Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:57:23.881Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:57:23.895Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:57:23.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:57:23.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:57:23.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:57:23.958Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:57:23.972Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:57:23.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:57:24.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:57:24.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:57:24.035Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:57:24.054Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:57:24.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:57:24.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:57:24.101Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:57:24.115Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo [2023-09-20T20:57:24.128Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a515b49 [Pipeline] echo [2023-09-20T20:57:24.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:57:24.189Z] provisioning config files... [2023-09-20T20:57:24.202Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7143979814153653253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:24.501Z] ---> docker-login.sh [2023-09-20T20:57:24.501Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:57:24.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:24.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:24.760Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:24.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:24.760Z] [2023-09-20T20:57:24.760Z] Login Succeeded [2023-09-20T20:57:24.760Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:57:24.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:24.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:24.760Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:24.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:24.760Z] [2023-09-20T20:57:24.760Z] Login Succeeded [2023-09-20T20:57:24.760Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:57:24.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:25.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:25.019Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:25.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:25.019Z] [2023-09-20T20:57:25.019Z] Login Succeeded [2023-09-20T20:57:25.019Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:57:25.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:25.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:25.019Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:25.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:25.019Z] [2023-09-20T20:57:25.019Z] Login Succeeded [2023-09-20T20:57:25.019Z] docker.io [2023-09-20T20:57:25.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:25.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:25.277Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:25.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:25.277Z] [2023-09-20T20:57:25.277Z] Login Succeeded [2023-09-20T20:57:25.277Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:57:25.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:57:25.657Z] + git rev-list -1 --merges a515b494e7404baf3466ef0a37ba3fb32cb96e53~1..a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo [2023-09-20T20:57:25.697Z] -----------> git rev-list -1 --merges a515b494e7404baf3466ef0a37ba3fb32cb96e53~1..a515b494e7404baf3466ef0a37ba3fb32cb96e53 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T20:57:25.697Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53 [false] [Pipeline] sh [2023-09-20T20:57:25.983Z] + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo [2023-09-20T20:57:25.994Z] ========================================================= [2023-09-20T20:57:25.994Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:57:25.994Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:57:26.333Z] + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo [2023-09-20T20:57:26.343Z] [semverPrep] GIT_COMMIT: a515b494e7404baf3466ef0a37ba3fb32cb96e53, Commit Message: Merge pull request #343 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:57:26.352Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:57:26.698Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:57:26.698Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:57:26.698Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:57:26.698Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:57:26.698Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:57:26.698Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:57:26.698Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:27.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:27.051Z] [2023-09-20T20:57:27.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:27.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:27.352Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:57:27.352Z] b85a868b505f: Pulling fs layer [2023-09-20T20:57:27.352Z] e2be974225ed: Pulling fs layer [2023-09-20T20:57:27.352Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:57:27.352Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:57:27.352Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:57:27.352Z] eaf3925da568: Pulling fs layer [2023-09-20T20:57:27.352Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:57:27.352Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:57:27.352Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:57:27.352Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:57:27.352Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:57:27.352Z] bab4dde63d76: Waiting [2023-09-20T20:57:27.352Z] bde34c3a00c8: Waiting [2023-09-20T20:57:27.352Z] b352a97aabf1: Waiting [2023-09-20T20:57:27.352Z] 4872d77fe225: Waiting [2023-09-20T20:57:27.352Z] 5851b861e8e6: Waiting [2023-09-20T20:57:27.352Z] 988bab9f4d93: Waiting [2023-09-20T20:57:27.352Z] 1469e6f7b9e6: Waiting [2023-09-20T20:57:27.352Z] eaf3925da568: Waiting [2023-09-20T20:57:27.352Z] e2be974225ed: Download complete [2023-09-20T20:57:27.352Z] 988bab9f4d93: Download complete [2023-09-20T20:57:27.352Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:57:27.352Z] 1469e6f7b9e6: Download complete [2023-09-20T20:57:27.352Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:57:27.352Z] 339a4e72a1f5: Download complete [2023-09-20T20:57:27.352Z] eaf3925da568: Verifying Checksum [2023-09-20T20:57:27.352Z] eaf3925da568: Download complete [2023-09-20T20:57:27.352Z] bde34c3a00c8: Verifying Checksum [2023-09-20T20:57:27.352Z] bde34c3a00c8: Download complete [2023-09-20T20:57:27.610Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:57:27.610Z] b352a97aabf1: Download complete [2023-09-20T20:57:27.610Z] 4872d77fe225: Download complete [2023-09-20T20:57:27.610Z] 5851b861e8e6: Verifying Checksum [2023-09-20T20:57:27.610Z] 5851b861e8e6: Download complete [2023-09-20T20:57:27.610Z] b85a868b505f: Verifying Checksum [2023-09-20T20:57:27.610Z] b85a868b505f: Download complete [2023-09-20T20:57:27.868Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:57:27.868Z] bab4dde63d76: Download complete [2023-09-20T20:57:28.804Z] b85a868b505f: Pull complete [2023-09-20T20:57:28.804Z] e2be974225ed: Pull complete [2023-09-20T20:57:29.414Z] 339a4e72a1f5: Pull complete [2023-09-20T20:57:29.414Z] 988bab9f4d93: Pull complete [2023-09-20T20:57:29.672Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:57:29.673Z] eaf3925da568: Pull complete [2023-09-20T20:57:31.576Z] bab4dde63d76: Pull complete [2023-09-20T20:57:31.576Z] bde34c3a00c8: Pull complete [2023-09-20T20:57:31.576Z] b352a97aabf1: Pull complete [2023-09-20T20:57:31.576Z] 4872d77fe225: Pull complete [2023-09-20T20:57:31.576Z] 5851b861e8e6: Pull complete [2023-09-20T20:57:31.576Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:57:31.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:31.576Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:31.671Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T20:57:31.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:57:35.518Z] $ docker top a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 -eo pid,comm [2023-09-20T20:57:35.315Z] 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-09-20T20:57:35.315Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:57:35.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:57:35.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:57:35.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:57:35.733Z] $ docker exec a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent [2023-09-20T20:57:35.577Z] SSH_AUTH_SOCK=/tmp/ssh-LJyDvQEWtQWw/agent.32 [2023-09-20T20:57:35.577Z] SSH_AGENT_PID=38 [2023-09-20T20:57:35.583Z] Running ssh-add (command line suppressed) [2023-09-20T20:57:35.945Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9825841469274675389.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9825841469274675389.key) [2023-09-20T20:57:35.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:57:35.982Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:57:36.259Z] $ docker exec --env ******** --env ******** a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent -k [2023-09-20T20:57:36.362Z] unset SSH_AUTH_SOCK; [2023-09-20T20:57:36.363Z] unset SSH_AGENT_PID; [2023-09-20T20:57:36.363Z] echo Agent pid 38 killed; [2023-09-20T20:57:36.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:57:36.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:57:36.146Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:57:36.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:57:36.525Z] $ docker exec a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent [2023-09-20T20:57:36.371Z] SSH_AUTH_SOCK=/tmp/ssh-9QBumyf8Ikay/agent.70 [2023-09-20T20:57:36.371Z] SSH_AGENT_PID=76 [2023-09-20T20:57:36.376Z] Running ssh-add (command line suppressed) [2023-09-20T20:57:36.744Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13814668598304555933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13814668598304555933.key) [2023-09-20T20:57:36.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:57:36.787Z] + git semver init [2023-09-20T20:57:37.046Z] 2023-09-20 20:57:37,217 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:57:37.046Z] 2023-09-20 20:57:37,218 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-20T20:57:37.046Z] 2023-09-20 20:57:37,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-20T20:57:37.046Z] 2023-09-20 20:57:37,219 [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-09-20T20:57:37.986Z] 2023-09-20 20:57:38,174 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-20T20:57:37.986Z] 2023-09-20 20:57:38,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-20T20:57:37.986Z] 2023-09-20 20:57:38,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:57:37.986Z] 2023-09-20 20:57:38,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:57:37.986Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T20:57:38.260Z] $ docker exec --env ******** --env ******** a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent -k [2023-09-20T20:57:38.363Z] unset SSH_AUTH_SOCK; [2023-09-20T20:57:38.363Z] unset SSH_AGENT_PID; [2023-09-20T20:57:38.364Z] echo Agent pid 76 killed; [2023-09-20T20:57:38.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:57:38.412Z] + git semver [Pipeline] } [2023-09-20T20:57:38.945Z] $ docker stop --time=1 a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 [2023-09-20T20:57:40.265Z] $ docker rm -f --volumes a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:57:40.346Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:57:40.573Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:57:40.575Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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-09-20T20:57:40.728Z] provisioning config files... [2023-09-20T20:57:40.740Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14441944762370376555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:41.037Z] ---> docker-login.sh [2023-09-20T20:57:41.037Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:57:41.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:41.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:41.037Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:41.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:41.037Z] [2023-09-20T20:57:41.037Z] Login Succeeded [2023-09-20T20:57:41.037Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:57:41.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:41.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:41.037Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:41.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:41.037Z] [2023-09-20T20:57:41.037Z] Login Succeeded [2023-09-20T20:57:41.037Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:57:41.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:41.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:41.296Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:41.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:41.296Z] [2023-09-20T20:57:41.296Z] Login Succeeded [2023-09-20T20:57:41.296Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:57:41.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:41.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:41.296Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:41.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:41.296Z] [2023-09-20T20:57:41.296Z] Login Succeeded [2023-09-20T20:57:41.296Z] docker.io [2023-09-20T20:57:41.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:41.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:41.558Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:41.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:41.558Z] [2023-09-20T20:57:41.558Z] Login Succeeded [2023-09-20T20:57:41.558Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:57:41.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:57:41.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:57:41.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:57:41.671Z] ========================================================= [2023-09-20T20:57:41.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:57:41.671Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:41.986Z] + 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-09-20T20:57:41.986Z] Sending build context to Docker daemon 10.91MB [2023-09-20T20:57:41.986Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:57:41.986Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:57:41.986Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:57:41.986Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:57:41.986Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:57:41.986Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:57:41.986Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:57:41.986Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:57:41.986Z] c68163c4e522: Pulling fs layer [2023-09-20T20:57:41.986Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:57:41.986Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:57:41.986Z] 33e27b845d1e: Waiting [2023-09-20T20:57:41.986Z] ad3a456e5733: Waiting [2023-09-20T20:57:41.986Z] 50da416c3ac9: Waiting [2023-09-20T20:57:41.986Z] 23d2d4c4bb30: Waiting [2023-09-20T20:57:42.246Z] c4d48a809fc2: Verifying Checksum [2023-09-20T20:57:42.246Z] c4d48a809fc2: Download complete [2023-09-20T20:57:42.246Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:57:42.246Z] ad3a456e5733: Download complete [2023-09-20T20:57:42.247Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:57:42.247Z] 33e27b845d1e: Download complete [2023-09-20T20:57:42.247Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:57:42.247Z] 7264a8db6415: Download complete [2023-09-20T20:57:42.247Z] c68163c4e522: Verifying Checksum [2023-09-20T20:57:42.247Z] c68163c4e522: Download complete [2023-09-20T20:57:42.247Z] 7264a8db6415: Pull complete [2023-09-20T20:57:42.506Z] c4d48a809fc2: Pull complete [2023-09-20T20:57:42.506Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:57:42.506Z] 23d2d4c4bb30: Download complete [2023-09-20T20:57:42.506Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:57:42.506Z] 4f1c88b9dad5: Download complete [2023-09-20T20:57:43.071Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:57:43.071Z] 50da416c3ac9: Download complete [2023-09-20T20:57:46.352Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:57:46.352Z] ad3a456e5733: Pull complete [2023-09-20T20:57:46.352Z] 33e27b845d1e: Pull complete [2023-09-20T20:57:46.352Z] c68163c4e522: Pull complete [2023-09-20T20:57:48.255Z] 50da416c3ac9: Pull complete [2023-09-20T20:57:48.823Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:57:48.823Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:57:48.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:57:48.823Z] ---> 0786185ac409 [2023-09-20T20:57:48.823Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:57:53.018Z] ---> Running in 55ae98d20240 [2023-09-20T20:57:53.018Z] Removing intermediate container 55ae98d20240 [2023-09-20T20:57:53.018Z] ---> ffc12267bf7c [2023-09-20T20:57:53.018Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:57:53.018Z] ---> Running in 8a867a80f840 [2023-09-20T20:57:53.018Z] Removing intermediate container 8a867a80f840 [2023-09-20T20:57:53.018Z] ---> c76688318867 [2023-09-20T20:57:53.018Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:57:53.018Z] ---> Running in f4f09da1b0b7 [2023-09-20T20:57:53.018Z] Removing intermediate container f4f09da1b0b7 [2023-09-20T20:57:53.018Z] ---> c6edb2a8e23d [2023-09-20T20:57:53.018Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:57:53.018Z] ---> Running in 989c85910d64 [2023-09-20T20:57:53.018Z] Removing intermediate container 989c85910d64 [2023-09-20T20:57:53.018Z] ---> 013d14070a44 [2023-09-20T20:57:53.018Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:57:53.018Z] ---> Running in 0424373432b5 [2023-09-20T20:57:53.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:53.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:57:53.534Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:57:53.534Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:57:53.534Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:57:53.534Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:57:53.534Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:57:53.534Z] OK: 268 MiB in 56 packages [2023-09-20T20:57:54.101Z] Removing intermediate container 0424373432b5 [2023-09-20T20:57:54.101Z] ---> 7df63272e89d [2023-09-20T20:57:54.101Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T20:57:54.101Z] ---> Running in e80283bc3520 [2023-09-20T20:57:54.101Z] Removing intermediate container e80283bc3520 [2023-09-20T20:57:54.101Z] ---> 0cf8629cfe17 [2023-09-20T20:57:54.101Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:57:54.359Z] ---> a8a7c02bc0ba [2023-09-20T20:57:54.359Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:57:54.359Z] ---> Running in 5ec703c2e0a0 [2023-09-20T20:57:55.680Z] Still waiting to schedule task [2023-09-20T20:57:55.680Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-8c-8g-7244’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-8c-8g-7245’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-8c-8g-7247’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-8c-8g-7248’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:57:55.680Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7237’ is offline [2023-09-20T20:57:55.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7240’ is offline [2023-09-20T20:57:55.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7241’ is offline [2023-09-20T20:57:55.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7242’ is offline [2023-09-20T20:57:55.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7243’ is offline [2023-09-20T20:58:27.100Z] Removing intermediate container 5ec703c2e0a0 [2023-09-20T20:58:27.100Z] ---> 907ebb7974ac [2023-09-20T20:58:27.100Z] Step 11/12 : COPY . . [2023-09-20T20:58:27.100Z] ---> 8ffe357845a7 [2023-09-20T20:58:27.100Z] Step 12/12 : RUN $MAKE [2023-09-20T20:58:27.100Z] ---> Running in 3d83c3b5217f [2023-09-20T20:58:27.100Z] noop [2023-09-20T20:58:27.100Z] Removing intermediate container 3d83c3b5217f [2023-09-20T20:58:27.100Z] ---> 9799b38b84a5 [2023-09-20T20:58:27.100Z] Successfully built 9799b38b84a5 [2023-09-20T20:58:27.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:27.412Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:58:27.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:27.484Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T20:58:27.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:58:28.074Z] $ docker top 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:58:28.410Z] + go version [2023-09-20T20:58:28.410Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:58:28.421Z] $ docker stop --time=1 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 [2023-09-20T20:58:29.729Z] $ docker rm -f --volumes 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:30.146Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:58:30.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:30.215Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T20:58:30.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:58:30.584Z] $ docker top b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:58:30.921Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:58:31.216Z] + make test [2023-09-20T20:58:31.216Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T20:58:32.618Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T20:58:42.583Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T20:58:42.583Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements [2023-09-20T20:58:49.140Z] go vet ./... [2023-09-20T20:58:53.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:58:53.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:58:53.324Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:58:53.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:58:53.350Z] $ docker stop --time=1 b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e [2023-09-20T20:58:57.005Z] $ docker rm -f --volumes b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:58:57.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:58:57.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:58:57.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:58:58.301Z] + ls -al . [2023-09-20T20:58:58.301Z] total 188 [2023-09-20T20:58:58.301Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:58 . [2023-09-20T20:58:58.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 .. [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:57 .dockerignore [2023-09-20T20:58:58.301Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git [2023-09-20T20:58:58.301Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 .github [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:57 .gitignore [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:57 .golangci.yml [2023-09-20T20:58:58.301Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:57 .semver [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:57 Attribution.txt [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:57 CHANGELOG.md [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:57 Dockerfile [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:57 GOVERNANCE.md [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:57 Jenkinsfile [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:57 LICENSE [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:57 Makefile [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:57 OWNERS.md [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:57 README.md [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION [2023-09-20T20:58:58.301Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 bin [2023-09-20T20:58:58.301Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 cmd [2023-09-20T20:58:58.301Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:58 coverage.out [2023-09-20T20:58:58.301Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 driver [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:57 go.mod [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:57 go.sum [2023-09-20T20:58:58.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 snap [2023-09-20T20:58:58.301Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:58.645Z] + 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53 --label arch=amd64 --label version=3.1.0-dev.16 . [2023-09-20T20:58:58.645Z] Sending build context to Docker daemon 10.92MB [2023-09-20T20:58:58.645Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:58:58.645Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:58:58.645Z] ---> 9799b38b84a5 [2023-09-20T20:58:58.645Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:58:58.925Z] ---> Running in 75f469750445 [2023-09-20T20:58:58.925Z] Removing intermediate container 75f469750445 [2023-09-20T20:58:58.925Z] ---> 32e40d4df715 [2023-09-20T20:58:58.925Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:58:58.925Z] ---> Running in 5c5906f188dc [2023-09-20T20:58:59.199Z] Removing intermediate container 5c5906f188dc [2023-09-20T20:58:59.199Z] ---> ee34c2a72885 [2023-09-20T20:58:59.199Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:58:59.199Z] ---> Running in 2630bd292fc6 [2023-09-20T20:58:59.199Z] Removing intermediate container 2630bd292fc6 [2023-09-20T20:58:59.199Z] ---> 1687148aaddc [2023-09-20T20:58:59.199Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:58:59.199Z] ---> Running in b1c19be19af5 [2023-09-20T20:58:59.199Z] Removing intermediate container b1c19be19af5 [2023-09-20T20:58:59.199Z] ---> 8ce9cdb17896 [2023-09-20T20:58:59.199Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:58:59.456Z] ---> Running in 4530b58ecb55 [2023-09-20T20:58:59.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:59.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:59.973Z] OK: 268 MiB in 56 packages [2023-09-20T20:59:00.235Z] Removing intermediate container 4530b58ecb55 [2023-09-20T20:59:00.235Z] ---> 5726c7fe577d [2023-09-20T20:59:00.235Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T20:59:00.235Z] ---> Running in e5b2a0561a79 [2023-09-20T20:59:00.493Z] Removing intermediate container e5b2a0561a79 [2023-09-20T20:59:00.493Z] ---> 01122c4e9e3d [2023-09-20T20:59:00.493Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T20:59:00.493Z] ---> a5f7feebcc3b [2023-09-20T20:59:00.493Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:59:00.493Z] ---> Running in 0f008c325d4a [2023-09-20T20:59:01.059Z] Removing intermediate container 0f008c325d4a [2023-09-20T20:59:01.059Z] ---> 34c234133b09 [2023-09-20T20:59:01.059Z] Step 11/25 : COPY . . [2023-09-20T20:59:01.635Z] ---> c403ac7b4f56 [2023-09-20T20:59:01.635Z] Step 12/25 : RUN $MAKE [2023-09-20T20:59:01.635Z] ---> Running in ee0311a86f2e [2023-09-20T20:59:01.896Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T20:59:19.974Z] Removing intermediate container ee0311a86f2e [2023-09-20T20:59:19.974Z] ---> 4870f23d1648 [2023-09-20T20:59:19.974Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:59:20.233Z] 3.18: Pulling from library/alpine [2023-09-20T20:59:20.233Z] 7264a8db6415: Already exists [2023-09-20T20:59:20.233Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:59:20.233Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:59:20.233Z] ---> 7e01a0d0a1dc [2023-09-20T20:59:20.233Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:59:20.491Z] ---> Running in 0f47c8a4648a [2023-09-20T20:59:20.491Z] Removing intermediate container 0f47c8a4648a [2023-09-20T20:59:20.491Z] ---> ee2bde740ce8 [2023-09-20T20:59:20.491Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T20:59:20.491Z] ---> Running in 1d2a2be5336e [2023-09-20T20:59:20.491Z] Removing intermediate container 1d2a2be5336e [2023-09-20T20:59:20.491Z] ---> 090daa13dae9 [2023-09-20T20:59:20.491Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:59:20.491Z] ---> Running in 26416348dd0d [2023-09-20T20:59:20.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:21.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:21.007Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:59:21.007Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:59:21.007Z] OK: 7 MiB in 16 packages [2023-09-20T20:59:21.265Z] Removing intermediate container 26416348dd0d [2023-09-20T20:59:21.265Z] ---> 24da900a2cae [2023-09-20T20:59:21.265Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T20:59:22.199Z] ---> 2d677a5a9183 [2023-09-20T20:59:22.199Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T20:59:22.199Z] ---> a0fa4af17139 [2023-09-20T20:59:22.199Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T20:59:22.457Z] ---> 3a0bec977ac1 [2023-09-20T20:59:22.457Z] Step 20/25 : EXPOSE 59986 [2023-09-20T20:59:22.457Z] ---> Running in 6b5c337c8f5c [2023-09-20T20:59:22.457Z] Removing intermediate container 6b5c337c8f5c [2023-09-20T20:59:22.457Z] ---> d440d137f35e [2023-09-20T20:59:22.457Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T20:59:22.457Z] ---> Running in ea92238b65a8 [2023-09-20T20:59:22.457Z] Removing intermediate container ea92238b65a8 [2023-09-20T20:59:22.457Z] ---> 0576254ec469 [2023-09-20T20:59:22.457Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:59:22.457Z] ---> Running in 4f9f6c37d0cf [2023-09-20T20:59:22.716Z] Removing intermediate container 4f9f6c37d0cf [2023-09-20T20:59:22.716Z] ---> 90e4f576bed7 [2023-09-20T20:59:22.716Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T20:59:22.716Z] ---> Running in 33676de972fb [2023-09-20T20:59:22.716Z] Removing intermediate container 33676de972fb [2023-09-20T20:59:22.716Z] ---> e0667bc414c3 [2023-09-20T20:59:22.716Z] Step 24/25 : LABEL git_sha=a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T20:59:22.716Z] ---> Running in 647d04c14176 [2023-09-20T20:59:22.716Z] Removing intermediate container 647d04c14176 [2023-09-20T20:59:22.716Z] ---> 89ada83529ed [2023-09-20T20:59:22.716Z] Step 25/25 : LABEL version=3.1.0-dev.16 [2023-09-20T20:59:22.716Z] ---> Running in be58ae976dd5 [2023-09-20T20:59:22.975Z] Removing intermediate container be58ae976dd5 [2023-09-20T20:59:22.975Z] ---> 88aa7b5f971d [2023-09-20T20:59:22.975Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:59:22.975Z] Successfully built 88aa7b5f971d [2023-09-20T20:59:22.975Z] 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-09-20T20:59:23.096Z] provisioning config files... [2023-09-20T20:59:23.102Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7471486769758493759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:23.402Z] ---> docker-login.sh [2023-09-20T20:59:23.402Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:59:23.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:23.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:23.402Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:23.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:23.402Z] [2023-09-20T20:59:23.402Z] Login Succeeded [2023-09-20T20:59:23.402Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:59:23.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:23.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:23.402Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:23.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:23.402Z] [2023-09-20T20:59:23.402Z] Login Succeeded [2023-09-20T20:59:23.402Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:59:23.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:23.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:23.661Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:23.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:23.661Z] [2023-09-20T20:59:23.661Z] Login Succeeded [2023-09-20T20:59:23.661Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:59:23.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:23.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:23.661Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:23.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:23.661Z] [2023-09-20T20:59:23.661Z] Login Succeeded [2023-09-20T20:59:23.661Z] docker.io [2023-09-20T20:59:23.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:23.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:23.921Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:23.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:23.921Z] [2023-09-20T20:59:23.921Z] Login Succeeded [2023-09-20T20:59:23.921Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:59:23.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:59:23.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:23.994Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-20T20:59:23.995Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T20:59:23.995Z] latest [2023-09-20T20:59:23.995Z] 3.1.0-dev.16 [2023-09-20T20:59:23.995Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T20:59:23.995Z] main [2023-09-20T20:59:23.995Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:24.334Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:24.645Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T20:59:24.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:59:24.645Z] e3bd0be481e5: Preparing [2023-09-20T20:59:24.645Z] 0fe0645c6d9c: Preparing [2023-09-20T20:59:24.645Z] 38d97312ab1d: Preparing [2023-09-20T20:59:24.645Z] 7654050d0d70: Preparing [2023-09-20T20:59:24.645Z] 4693057ce236: Preparing [2023-09-20T20:59:24.645Z] 4693057ce236: Layer already exists [2023-09-20T20:59:24.645Z] 7654050d0d70: Pushed [2023-09-20T20:59:24.645Z] e3bd0be481e5: Pushed [2023-09-20T20:59:24.645Z] 0fe0645c6d9c: Pushed [2023-09-20T20:59:27.178Z] 38d97312ab1d: Pushed [2023-09-20T20:59:27.436Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:27.753Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:28.060Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-20T20:59:28.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:59:28.060Z] e3bd0be481e5: Preparing [2023-09-20T20:59:28.060Z] 0fe0645c6d9c: Preparing [2023-09-20T20:59:28.060Z] 38d97312ab1d: Preparing [2023-09-20T20:59:28.060Z] 7654050d0d70: Preparing [2023-09-20T20:59:28.060Z] 4693057ce236: Preparing [2023-09-20T20:59:28.060Z] 4693057ce236: Layer already exists [2023-09-20T20:59:28.060Z] 0fe0645c6d9c: Layer already exists [2023-09-20T20:59:28.060Z] e3bd0be481e5: Layer already exists [2023-09-20T20:59:28.060Z] 7654050d0d70: Layer already exists [2023-09-20T20:59:28.060Z] 38d97312ab1d: Layer already exists [2023-09-20T20:59:28.060Z] latest: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:28.392Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:28.693Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 [2023-09-20T20:59:28.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:59:28.693Z] e3bd0be481e5: Preparing [2023-09-20T20:59:28.693Z] 0fe0645c6d9c: Preparing [2023-09-20T20:59:28.693Z] 38d97312ab1d: Preparing [2023-09-20T20:59:28.693Z] 7654050d0d70: Preparing [2023-09-20T20:59:28.693Z] 4693057ce236: Preparing [2023-09-20T20:59:28.693Z] 4693057ce236: Layer already exists [2023-09-20T20:59:28.693Z] e3bd0be481e5: Layer already exists [2023-09-20T20:59:28.693Z] 38d97312ab1d: Layer already exists [2023-09-20T20:59:28.693Z] 7654050d0d70: Layer already exists [2023-09-20T20:59:28.693Z] 0fe0645c6d9c: Layer already exists [2023-09-20T20:59:28.693Z] 3.1.0-dev.16: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:29.008Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:29.322Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T20:59:29.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:59:29.323Z] e3bd0be481e5: Preparing [2023-09-20T20:59:29.323Z] 0fe0645c6d9c: Preparing [2023-09-20T20:59:29.323Z] 38d97312ab1d: Preparing [2023-09-20T20:59:29.323Z] 7654050d0d70: Preparing [2023-09-20T20:59:29.323Z] 4693057ce236: Preparing [2023-09-20T20:59:29.323Z] 7654050d0d70: Layer already exists [2023-09-20T20:59:29.323Z] 38d97312ab1d: Layer already exists [2023-09-20T20:59:29.323Z] e3bd0be481e5: Layer already exists [2023-09-20T20:59:29.323Z] 4693057ce236: Layer already exists [2023-09-20T20:59:29.323Z] 0fe0645c6d9c: Layer already exists [2023-09-20T20:59:29.323Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:29.643Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:29.952Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-20T20:59:29.952Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:59:29.952Z] e3bd0be481e5: Preparing [2023-09-20T20:59:29.952Z] 0fe0645c6d9c: Preparing [2023-09-20T20:59:29.952Z] 38d97312ab1d: Preparing [2023-09-20T20:59:29.952Z] 7654050d0d70: Preparing [2023-09-20T20:59:29.952Z] 4693057ce236: Preparing [2023-09-20T20:59:29.952Z] 7654050d0d70: Layer already exists [2023-09-20T20:59:29.952Z] 0fe0645c6d9c: Layer already exists [2023-09-20T20:59:29.952Z] e3bd0be481e5: Layer already exists [2023-09-20T20:59:29.952Z] 4693057ce236: Layer already exists [2023-09-20T20:59:29.952Z] 38d97312ab1d: Layer already exists [2023-09-20T20:59:29.952Z] main: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:59:30.006Z] ===================================================== [Pipeline] echo [2023-09-20T20:59:30.018Z] taggedImages: [2023-09-20T20:59:30.018Z] - nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T20:59:30.018Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-20T20:59:30.018Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 [2023-09-20T20:59:30.018Z] - nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T20:59:30.018Z] - 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-09-20T20:59:30.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:30.408Z] [2023-09-20T20:59:30.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:30.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:30.706Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:59:30.706Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:59:30.706Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:59:30.706Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:59:30.706Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:59:30.706Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:59:30.706Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:59:30.706Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:59:30.706Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:59:30.706Z] 5d3b04190fa2: Waiting [2023-09-20T20:59:30.706Z] 2f39f015ded8: Waiting [2023-09-20T20:59:30.706Z] 5c69ac0246d0: Download complete [2023-09-20T20:59:30.706Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:59:30.706Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:59:30.706Z] ec43610c2a17: Download complete [2023-09-20T20:59:30.963Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:59:30.963Z] 33b1e0a273af: Download complete [2023-09-20T20:59:30.963Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:59:30.963Z] 5eb5b503b376: Download complete [2023-09-20T20:59:31.532Z] 2f39f015ded8: Download complete [2023-09-20T20:59:32.098Z] 5eb5b503b376: Pull complete [2023-09-20T20:59:32.356Z] 5c69ac0246d0: Pull complete [2023-09-20T20:59:32.615Z] ec43610c2a17: Pull complete [2023-09-20T20:59:32.615Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:59:32.872Z] 33b1e0a273af: Pull complete [2023-09-20T20:59:32.872Z] 5d3b04190fa2: Pull complete [2023-09-20T20:59:37.059Z] 2f39f015ded8: Pull complete [2023-09-20T20:59:37.059Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:59:37.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:37.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:59:37.142Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T20:59:37.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:59:41.545Z] $ docker top bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:41.917Z] ---> job-cost.sh [2023-09-20T20:59:41.918Z] lf-activate-venv: SKIPPING [2023-09-20T20:59:41.918Z] INFO: No Stack... [2023-09-20T20:59:42.177Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:59:42.436Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:59:42.727Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-20T20:59:42.727Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:59:42.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [2023-09-20T20:59:42.748Z] Resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] did not exist. Created. [2023-09-20T20:59:42.748Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:59:43.050Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:59:43.078Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:59:43.085Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:59:43.109Z] $ docker stop --time=1 bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 [2023-09-20T20:59:44.251Z] $ docker rm -f --volumes bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T21:08:03.348Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7324 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-20T21:08:03.363Z] Running in /w/workspace/device-rest-go/136 [Pipeline] { [Pipeline] checkout [2023-09-20T21:08:03.424Z] The recommended git tool is: git [2023-09-20T21:08:15.402Z] using credential edgex-jenkins-ssh [2023-09-20T21:08:15.427Z] Cloning the remote Git repository [2023-09-20T21:08:15.536Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T21:08:15.693Z] > git init /w/workspace/device-rest-go/136 # timeout=10 [2023-09-20T21:08:16.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T21:08:16.050Z] > git --version # timeout=10 [2023-09-20T21:08:16.108Z] > git --version # 'git version 2.25.1' [2023-09-20T21:08:16.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T21:08:16.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:08:18.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T21:08:18.660Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:08:19.852Z] Avoid second fetch [2023-09-20T21:08:19.852Z] Checking out Revision a515b494e7404baf3466ef0a37ba3fb32cb96e53 (main) [2023-09-20T21:08:20.667Z] Commit message: "Merge pull request #343 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:08:19.878Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T21:08:19.972Z] > git checkout -f a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 [2023-09-20T21:08:21.652Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T21:08:21.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:08:21.652Z] Dload Upload Total Spent Left Speed [2023-09-20T21:08:21.652Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-09-20T21:08:22.449Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T21:08:22.833Z] + sudo tee /etc/docker/daemon.new [2023-09-20T21:08:22.834Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T21:08:22.834Z] { [2023-09-20T21:08:22.834Z] "registry-mirrors": [ [2023-09-20T21:08:22.834Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T21:08:22.834Z] ], [2023-09-20T21:08:22.834Z] "bip": "10.250.0.254/24", [2023-09-20T21:08:22.834Z] "hosts": [ [2023-09-20T21:08:22.834Z] "tcp://0.0.0.0:5555", [2023-09-20T21:08:22.834Z] "unix:///var/run/docker.sock" [2023-09-20T21:08:22.834Z] ], [2023-09-20T21:08:22.834Z] "mtu": 1458, [2023-09-20T21:08:22.834Z] "selinux-enabled": true, [2023-09-20T21:08:22.834Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T21:08:22.834Z] } [Pipeline] sh [2023-09-20T21:08:23.207Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T21:08:23.591Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:08:41.972Z] provisioning config files... [2023-09-20T21:08:42.008Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/136@tmp/config12030896794317271784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:42.395Z] ---> docker-login.sh [2023-09-20T21:08:42.395Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:08:43.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:43.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:43.282Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:43.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:43.282Z] [2023-09-20T21:08:43.282Z] Login Succeeded [2023-09-20T21:08:43.282Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:08:43.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:43.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:43.559Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:43.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:43.559Z] [2023-09-20T21:08:43.559Z] Login Succeeded [2023-09-20T21:08:43.559Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:08:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:44.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:44.119Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:44.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:44.119Z] [2023-09-20T21:08:44.119Z] Login Succeeded [2023-09-20T21:08:44.119Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:08:44.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:44.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:44.674Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:44.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:44.674Z] [2023-09-20T21:08:44.674Z] Login Succeeded [2023-09-20T21:08:44.674Z] docker.io [2023-09-20T21:08:44.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:08:45.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:08:45.225Z] Configure a credential helper to remove this warning. See [2023-09-20T21:08:45.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:08:45.225Z] [2023-09-20T21:08:45.225Z] Login Succeeded [2023-09-20T21:08:45.225Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:08:45.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T21:08:45.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:08:45.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:08:45.664Z] ========================================================= [2023-09-20T21:08:45.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T21:08:45.664Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:46.049Z] + 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-09-20T21:08:46.049Z] Sending build context to Docker daemon 144.4kB [2023-09-20T21:08:46.321Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:08:46.321Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T21:08:46.604Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T21:08:46.604Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T21:08:46.604Z] 5d54e960e981: Pulling fs layer [2023-09-20T21:08:46.604Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T21:08:46.604Z] f0e02332f6b5: Pulling fs layer [2023-09-20T21:08:46.604Z] cefa15bbcfad: Pulling fs layer [2023-09-20T21:08:46.604Z] 17808c966233: Pulling fs layer [2023-09-20T21:08:46.604Z] f4c1fc716caa: Pulling fs layer [2023-09-20T21:08:46.604Z] f0e02332f6b5: Waiting [2023-09-20T21:08:46.604Z] cefa15bbcfad: Waiting [2023-09-20T21:08:46.604Z] 17808c966233: Waiting [2023-09-20T21:08:46.604Z] f4c1fc716caa: Waiting [2023-09-20T21:08:46.604Z] 5d54e960e981: Verifying Checksum [2023-09-20T21:08:46.604Z] 5d54e960e981: Download complete [2023-09-20T21:08:46.604Z] f0e02332f6b5: Verifying Checksum [2023-09-20T21:08:46.604Z] f0e02332f6b5: Download complete [2023-09-20T21:08:46.893Z] cefa15bbcfad: Verifying Checksum [2023-09-20T21:08:46.893Z] cefa15bbcfad: Download complete [2023-09-20T21:08:46.893Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T21:08:46.893Z] 9fda8d8052c6: Download complete [2023-09-20T21:08:47.174Z] f4c1fc716caa: Verifying Checksum [2023-09-20T21:08:47.174Z] f4c1fc716caa: Download complete [2023-09-20T21:08:48.768Z] 9fda8d8052c6: Pull complete [2023-09-20T21:08:48.768Z] 5d54e960e981: Pull complete [2023-09-20T21:08:49.390Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T21:08:49.390Z] c4a7e357bf2a: Download complete [2023-09-20T21:08:50.832Z] 17808c966233: Verifying Checksum [2023-09-20T21:08:50.832Z] 17808c966233: Download complete [2023-09-20T21:09:00.962Z] c4a7e357bf2a: Pull complete [2023-09-20T21:09:01.247Z] f0e02332f6b5: Pull complete [2023-09-20T21:09:01.524Z] cefa15bbcfad: Pull complete [2023-09-20T21:09:09.838Z] 17808c966233: Pull complete [2023-09-20T21:09:10.448Z] f4c1fc716caa: Pull complete [2023-09-20T21:09:10.448Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:09:10.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:09:10.448Z] ---> ea914061e18c [2023-09-20T21:09:10.448Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:09:12.421Z] ---> Running in fb36e079cb4f [2023-09-20T21:09:12.795Z] Removing intermediate container fb36e079cb4f [2023-09-20T21:09:12.795Z] ---> 58e82a10adc8 [2023-09-20T21:09:12.795Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:09:12.795Z] ---> Running in c31c55e2ea1b [2023-09-20T21:09:13.415Z] Removing intermediate container c31c55e2ea1b [2023-09-20T21:09:13.415Z] ---> 2f26db188fd7 [2023-09-20T21:09:13.415Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:09:13.415Z] ---> Running in cb879f79322f [2023-09-20T21:09:13.701Z] Removing intermediate container cb879f79322f [2023-09-20T21:09:13.701Z] ---> bbb9a9c48001 [2023-09-20T21:09:13.701Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:09:13.701Z] ---> Running in 7064d756f6e0 [2023-09-20T21:09:14.012Z] Removing intermediate container 7064d756f6e0 [2023-09-20T21:09:14.012Z] ---> 5efb6a66c6ca [2023-09-20T21:09:14.012Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:09:14.288Z] ---> Running in 39daab8279c2 [2023-09-20T21:09:15.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:09:15.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:09:17.433Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T21:09:17.433Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T21:09:17.433Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T21:09:17.433Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T21:09:17.433Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:09:17.433Z] OK: 270 MiB in 56 packages [2023-09-20T21:09:18.904Z] Removing intermediate container 39daab8279c2 [2023-09-20T21:09:18.904Z] ---> 95fe3f18ef88 [2023-09-20T21:09:18.904Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T21:09:19.192Z] ---> Running in 63c94f22e674 [2023-09-20T21:09:20.172Z] Removing intermediate container 63c94f22e674 [2023-09-20T21:09:20.172Z] ---> 53919b5d838d [2023-09-20T21:09:20.172Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T21:09:20.769Z] ---> 9b311a9dbe0a [2023-09-20T21:09:20.769Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:09:20.769Z] ---> Running in f0dbd812d0fd [2023-09-20T21:10:42.561Z] Removing intermediate container f0dbd812d0fd [2023-09-20T21:10:42.561Z] ---> 18c844e63b48 [2023-09-20T21:10:42.561Z] Step 11/12 : COPY . . [2023-09-20T21:10:42.561Z] ---> a0d70fa6b57f [2023-09-20T21:10:42.561Z] Step 12/12 : RUN $MAKE [2023-09-20T21:10:42.561Z] ---> Running in f23809b7b1b0 [2023-09-20T21:10:42.561Z] noop [2023-09-20T21:10:42.561Z] Removing intermediate container f23809b7b1b0 [2023-09-20T21:10:42.561Z] ---> 91640e7f8752 [2023-09-20T21:10:42.561Z] Successfully built 91640e7f8752 [2023-09-20T21:10:42.561Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:10:42.927Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:10:42.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:10:43.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container [2023-09-20T21:10:43.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@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-09-20T21:10:44.509Z] $ docker top 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:10:45.375Z] + go version [2023-09-20T21:10:45.375Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:10:45.397Z] $ docker stop --time=1 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 [2023-09-20T21:10:48.494Z] $ docker rm -f --volumes 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:10:49.067Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:10:49.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:10:49.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container [2023-09-20T21:10:49.335Z] $ 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/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@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-09-20T21:10:50.559Z] $ docker top baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:10:51.069Z] + git config --global --add safe.directory /w/workspace/device-rest-go/136 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:10:51.985Z] + make test [2023-09-20T21:10:51.985Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T21:10:56.252Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T21:12:47.923Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T21:12:47.923Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements [2023-09-20T21:12:47.923Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:12:47.923Z] go vet ./... [2023-09-20T21:13:02.943Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:13:02.943Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:13:02.943Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:13:02.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:13:02.975Z] $ docker stop --time=1 baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 [2023-09-20T21:13:04.870Z] $ docker rm -f --volumes baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:13:07.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:13:07.254Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:13:07.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:13:08.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:13:08.391Z] + ls -al . [2023-09-20T21:13:08.392Z] total 184 [2023-09-20T21:13:08.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:10 . [2023-09-20T21:13:08.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 .. [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 21:08 .dockerignore [2023-09-20T21:13:08.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:08 .git [2023-09-20T21:13:08.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 .github [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 21:08 .gitignore [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 21:08 .golangci.yml [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 21:08 Attribution.txt [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 21:08 CHANGELOG.md [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 21:08 Dockerfile [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 21:08 GOVERNANCE.md [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 21:08 Jenkinsfile [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 21:08 LICENSE [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 21:08 Makefile [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 21:08 OWNERS.md [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 21:08 README.md [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION [2023-09-20T21:13:08.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 bin [2023-09-20T21:13:08.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 cmd [2023-09-20T21:13:08.392Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 21:12 coverage.out [2023-09-20T21:13:08.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 driver [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 21:08 go.mod [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 21:08 go.sum [2023-09-20T21:13:08.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 snap [2023-09-20T21:13:08.392Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:13:08.731Z] + 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53 --label arch=arm64 --label version=3.1.0-dev.16 . [2023-09-20T21:13:08.731Z] Sending build context to Docker daemon 159.7kB [2023-09-20T21:13:08.997Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:13:08.997Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T21:13:08.997Z] ---> 91640e7f8752 [2023-09-20T21:13:08.997Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:13:08.997Z] ---> Running in 86953c755060 [2023-09-20T21:13:09.263Z] Removing intermediate container 86953c755060 [2023-09-20T21:13:09.263Z] ---> 3940d978c039 [2023-09-20T21:13:09.263Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:13:09.530Z] ---> Running in 832d97fb0698 [2023-09-20T21:13:09.796Z] Removing intermediate container 832d97fb0698 [2023-09-20T21:13:09.796Z] ---> b5c6a664636f [2023-09-20T21:13:09.796Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:13:09.796Z] ---> Running in 8750a01519af [2023-09-20T21:13:10.064Z] Removing intermediate container 8750a01519af [2023-09-20T21:13:10.064Z] ---> 89515c75a83a [2023-09-20T21:13:10.064Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:13:10.064Z] ---> Running in 5f7235ece9dd [2023-09-20T21:13:10.650Z] Removing intermediate container 5f7235ece9dd [2023-09-20T21:13:10.650Z] ---> f1b6a8592679 [2023-09-20T21:13:10.650Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:13:10.650Z] ---> Running in 4ab508f496cf [2023-09-20T21:13:11.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:13:11.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:13:13.288Z] OK: 270 MiB in 56 packages [2023-09-20T21:13:13.890Z] Removing intermediate container 4ab508f496cf [2023-09-20T21:13:13.890Z] ---> ca652ed22fe6 [2023-09-20T21:13:13.890Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T21:13:13.890Z] ---> Running in 237383ed4666 [2023-09-20T21:13:14.157Z] Removing intermediate container 237383ed4666 [2023-09-20T21:13:14.157Z] ---> 72ac69eabd9b [2023-09-20T21:13:14.158Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T21:13:14.739Z] ---> 9d62b1b4c611 [2023-09-20T21:13:14.739Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:13:16.144Z] ---> Running in 34c820381db4 [2023-09-20T21:13:18.099Z] Removing intermediate container 34c820381db4 [2023-09-20T21:13:18.099Z] ---> fb1929442fee [2023-09-20T21:13:18.099Z] Step 11/25 : COPY . . [2023-09-20T21:13:18.685Z] ---> 5408f52430b8 [2023-09-20T21:13:18.685Z] Step 12/25 : RUN $MAKE [2023-09-20T21:13:18.685Z] ---> Running in fed2d24af099 [2023-09-20T21:13:19.652Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T21:15:11.300Z] Removing intermediate container fed2d24af099 [2023-09-20T21:15:11.300Z] ---> f1fa05ea035d [2023-09-20T21:15:11.300Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T21:15:11.300Z] 3.18: Pulling from library/alpine [2023-09-20T21:15:11.300Z] 9fda8d8052c6: Already exists [2023-09-20T21:15:11.300Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:15:11.300Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:15:11.300Z] ---> f6648c04cd6c [2023-09-20T21:15:11.300Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T21:15:11.300Z] ---> Running in 2be54d80fb5a [2023-09-20T21:15:11.300Z] Removing intermediate container 2be54d80fb5a [2023-09-20T21:15:11.300Z] ---> 1fad949fbd60 [2023-09-20T21:15:11.300Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T21:15:11.300Z] ---> Running in aa6ea967f22f [2023-09-20T21:15:11.300Z] Removing intermediate container aa6ea967f22f [2023-09-20T21:15:11.300Z] ---> 1bbaa2f78028 [2023-09-20T21:15:11.300Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T21:15:11.300Z] ---> Running in eb15d5ede9ea [2023-09-20T21:15:11.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:15:11.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:15:12.263Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T21:15:12.263Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:15:12.263Z] OK: 8 MiB in 16 packages [2023-09-20T21:15:13.229Z] Removing intermediate container eb15d5ede9ea [2023-09-20T21:15:13.229Z] ---> 3badc95787e2 [2023-09-20T21:15:13.230Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T21:15:14.637Z] ---> 748ef7c042cf [2023-09-20T21:15:14.637Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T21:15:15.218Z] ---> 2060495faa9a [2023-09-20T21:15:15.218Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T21:15:15.486Z] ---> 28704c2432f7 [2023-09-20T21:15:15.486Z] Step 20/25 : EXPOSE 59986 [2023-09-20T21:15:15.755Z] ---> Running in a96d7e1e18ce [2023-09-20T21:15:16.022Z] Removing intermediate container a96d7e1e18ce [2023-09-20T21:15:16.022Z] ---> 8a556c951848 [2023-09-20T21:15:16.022Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T21:15:16.022Z] ---> Running in 50b8cdaabd9f [2023-09-20T21:15:16.288Z] Removing intermediate container 50b8cdaabd9f [2023-09-20T21:15:16.288Z] ---> 0b74ab9e3871 [2023-09-20T21:15:16.288Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T21:15:16.288Z] ---> Running in 1d28766f1919 [2023-09-20T21:15:16.555Z] Removing intermediate container 1d28766f1919 [2023-09-20T21:15:16.555Z] ---> 7102f15d0a5a [2023-09-20T21:15:16.555Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T21:15:16.821Z] ---> Running in cb41bf31716f [2023-09-20T21:15:17.088Z] Removing intermediate container cb41bf31716f [2023-09-20T21:15:17.088Z] ---> 7e1db2406519 [2023-09-20T21:15:17.088Z] Step 24/25 : LABEL git_sha=a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T21:15:17.088Z] ---> Running in 0d341cee5364 [2023-09-20T21:15:17.356Z] Removing intermediate container 0d341cee5364 [2023-09-20T21:15:17.356Z] ---> 35115bc2b479 [2023-09-20T21:15:17.356Z] Step 25/25 : LABEL version=3.1.0-dev.16 [2023-09-20T21:15:17.356Z] ---> Running in e669df7f93aa [2023-09-20T21:15:17.623Z] Removing intermediate container e669df7f93aa [2023-09-20T21:15:17.623Z] ---> 9ee986bca100 [2023-09-20T21:15:17.623Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:15:17.623Z] Successfully built 9ee986bca100 [2023-09-20T21:15:17.623Z] 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-09-20T21:15:17.770Z] provisioning config files... [2023-09-20T21:15:17.788Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/136@tmp/config482836592822896380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:15:18.122Z] ---> docker-login.sh [2023-09-20T21:15:18.122Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:15:18.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:15:18.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:15:18.390Z] Configure a credential helper to remove this warning. See [2023-09-20T21:15:18.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:15:18.390Z] [2023-09-20T21:15:18.390Z] Login Succeeded [2023-09-20T21:15:18.390Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:15:18.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:15:18.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:15:18.657Z] Configure a credential helper to remove this warning. See [2023-09-20T21:15:18.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:15:18.657Z] [2023-09-20T21:15:18.657Z] Login Succeeded [2023-09-20T21:15:18.657Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:15:18.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:15:19.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:15:19.192Z] Configure a credential helper to remove this warning. See [2023-09-20T21:15:19.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:15:19.192Z] [2023-09-20T21:15:19.192Z] Login Succeeded [2023-09-20T21:15:19.192Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:15:19.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:15:19.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:15:19.462Z] Configure a credential helper to remove this warning. See [2023-09-20T21:15:19.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:15:19.462Z] [2023-09-20T21:15:19.462Z] Login Succeeded [2023-09-20T21:15:19.462Z] docker.io [2023-09-20T21:15:19.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:15:19.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:15:19.993Z] Configure a credential helper to remove this warning. See [2023-09-20T21:15:19.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:15:19.993Z] [2023-09-20T21:15:19.993Z] Login Succeeded [2023-09-20T21:15:19.993Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:15:20.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:15:20.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:15:20.062Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-20T21:15:20.062Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T21:15:20.062Z] latest [2023-09-20T21:15:20.062Z] 3.1.0-dev.16 [2023-09-20T21:15:20.062Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T21:15:20.062Z] main [2023-09-20T21:15:20.062Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:20.410Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:20.761Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T21:15:20.761Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T21:15:20.761Z] 762e2d780bd6: Preparing [2023-09-20T21:15:20.761Z] 12dc12e34fc6: Preparing [2023-09-20T21:15:20.761Z] 9b4d9f3006f4: Preparing [2023-09-20T21:15:20.761Z] 5d4aada1c179: Preparing [2023-09-20T21:15:20.761Z] b2191e2be29d: Preparing [2023-09-20T21:15:20.761Z] b2191e2be29d: Layer already exists [2023-09-20T21:15:21.027Z] 762e2d780bd6: Pushed [2023-09-20T21:15:21.027Z] 5d4aada1c179: Pushed [2023-09-20T21:15:21.027Z] 12dc12e34fc6: Pushed [2023-09-20T21:15:26.356Z] 9b4d9f3006f4: Pushed [2023-09-20T21:15:26.356Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:26.700Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:27.047Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-20T21:15:27.047Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T21:15:27.047Z] 762e2d780bd6: Preparing [2023-09-20T21:15:27.047Z] 12dc12e34fc6: Preparing [2023-09-20T21:15:27.047Z] 9b4d9f3006f4: Preparing [2023-09-20T21:15:27.047Z] 5d4aada1c179: Preparing [2023-09-20T21:15:27.047Z] b2191e2be29d: Preparing [2023-09-20T21:15:27.047Z] 12dc12e34fc6: Layer already exists [2023-09-20T21:15:27.047Z] 9b4d9f3006f4: Layer already exists [2023-09-20T21:15:27.047Z] 762e2d780bd6: Layer already exists [2023-09-20T21:15:27.047Z] b2191e2be29d: Layer already exists [2023-09-20T21:15:27.047Z] 5d4aada1c179: Layer already exists [2023-09-20T21:15:27.047Z] latest: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:27.681Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:28.025Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 [2023-09-20T21:15:28.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T21:15:28.025Z] 762e2d780bd6: Preparing [2023-09-20T21:15:28.025Z] 12dc12e34fc6: Preparing [2023-09-20T21:15:28.025Z] 9b4d9f3006f4: Preparing [2023-09-20T21:15:28.025Z] 5d4aada1c179: Preparing [2023-09-20T21:15:28.025Z] b2191e2be29d: Preparing [2023-09-20T21:15:28.025Z] b2191e2be29d: Layer already exists [2023-09-20T21:15:28.025Z] 12dc12e34fc6: Layer already exists [2023-09-20T21:15:28.025Z] 5d4aada1c179: Layer already exists [2023-09-20T21:15:28.025Z] 762e2d780bd6: Layer already exists [2023-09-20T21:15:28.025Z] 9b4d9f3006f4: Layer already exists [2023-09-20T21:15:28.025Z] 3.1.0-dev.16: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:28.428Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:28.791Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T21:15:28.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T21:15:28.791Z] 762e2d780bd6: Preparing [2023-09-20T21:15:28.791Z] 12dc12e34fc6: Preparing [2023-09-20T21:15:28.791Z] 9b4d9f3006f4: Preparing [2023-09-20T21:15:28.791Z] 5d4aada1c179: Preparing [2023-09-20T21:15:28.791Z] b2191e2be29d: Preparing [2023-09-20T21:15:28.791Z] b2191e2be29d: Layer already exists [2023-09-20T21:15:28.791Z] 5d4aada1c179: Layer already exists [2023-09-20T21:15:28.791Z] 9b4d9f3006f4: Layer already exists [2023-09-20T21:15:28.791Z] 762e2d780bd6: Layer already exists [2023-09-20T21:15:28.791Z] 12dc12e34fc6: Layer already exists [2023-09-20T21:15:28.791Z] a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:29.158Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:29.511Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-20T21:15:29.512Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T21:15:29.512Z] 762e2d780bd6: Preparing [2023-09-20T21:15:29.512Z] 12dc12e34fc6: Preparing [2023-09-20T21:15:29.512Z] 9b4d9f3006f4: Preparing [2023-09-20T21:15:29.512Z] 5d4aada1c179: Preparing [2023-09-20T21:15:29.512Z] b2191e2be29d: Preparing [2023-09-20T21:15:29.512Z] 762e2d780bd6: Layer already exists [2023-09-20T21:15:29.512Z] 5d4aada1c179: Layer already exists [2023-09-20T21:15:29.512Z] 9b4d9f3006f4: Layer already exists [2023-09-20T21:15:29.512Z] b2191e2be29d: Layer already exists [2023-09-20T21:15:29.512Z] 12dc12e34fc6: Layer already exists [2023-09-20T21:15:29.783Z] main: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:15:29.844Z] ===================================================== [Pipeline] echo [2023-09-20T21:15:29.853Z] taggedImages: [2023-09-20T21:15:29.853Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [2023-09-20T21:15:29.853Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-20T21:15:29.853Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 [2023-09-20T21:15:29.853Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [2023-09-20T21:15:29.853Z] - 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-09-20T21:15:30.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:15:30.234Z] [2023-09-20T21:15:30.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:15:30.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:15:30.592Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:15:30.592Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:15:30.592Z] 04944245beec: Pulling fs layer [2023-09-20T21:15:30.592Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:15:30.592Z] 765212b225bb: Pulling fs layer [2023-09-20T21:15:30.592Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:15:30.592Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:15:30.592Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:15:30.592Z] f23df028b6ca: Waiting [2023-09-20T21:15:30.592Z] d65c8cfc05b1: Waiting [2023-09-20T21:15:30.592Z] 2437ff75d9bd: Waiting [2023-09-20T21:15:30.592Z] 765212b225bb: Waiting [2023-09-20T21:15:30.859Z] 04944245beec: Verifying Checksum [2023-09-20T21:15:30.859Z] 04944245beec: Download complete [2023-09-20T21:15:30.859Z] 765212b225bb: Verifying Checksum [2023-09-20T21:15:30.859Z] 765212b225bb: Download complete [2023-09-20T21:15:30.859Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:15:30.859Z] f23df028b6ca: Download complete [2023-09-20T21:15:30.859Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:15:30.859Z] d65c8cfc05b1: Download complete [2023-09-20T21:15:31.126Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:15:31.126Z] 699f458cf7ca: Download complete [2023-09-20T21:15:31.394Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:15:31.394Z] 8998bd30e6a1: Download complete [2023-09-20T21:15:33.344Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:15:33.344Z] 2437ff75d9bd: Download complete [2023-09-20T21:15:35.284Z] 8998bd30e6a1: Pull complete [2023-09-20T21:15:35.551Z] 04944245beec: Pull complete [2023-09-20T21:15:36.961Z] 699f458cf7ca: Pull complete [2023-09-20T21:15:37.228Z] 765212b225bb: Pull complete [2023-09-20T21:15:37.809Z] f23df028b6ca: Pull complete [2023-09-20T21:15:38.075Z] d65c8cfc05b1: Pull complete [2023-09-20T21:15:50.370Z] 2437ff75d9bd: Pull complete [2023-09-20T21:15:50.370Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:15:50.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:15:50.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:15:50.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container [2023-09-20T21:15:50.641Z] $ 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/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@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-09-20T21:15:53.058Z] $ docker top 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:15:53.891Z] ---> job-cost.sh [2023-09-20T21:15:53.891Z] lf-activate-venv: SKIPPING [2023-09-20T21:15:53.891Z] INFO: No Stack... [2023-09-20T21:15:54.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:15:55.111Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:15:55.744Z] + cut -d, -f6 [2023-09-20T21:15:55.744Z] + cat /w/workspace/device-rest-go/136/archives/cost.csv [Pipeline] lock [2023-09-20T21:15:55.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [2023-09-20T21:15:55.780Z] Resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] did not exist. Created. [2023-09-20T21:15:55.780Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:15:56.120Z] /w/workspace/device-rest-go/136@tmp/durable-cf013c48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:15:56.451Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:15:56.485Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:15:56.534Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:15:56.540Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:15:56.557Z] $ docker stop --time=1 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 [2023-09-20T21:15:58.071Z] $ docker rm -f --volumes 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 [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-09-20T21:15:58.469Z] provisioning config files... [2023-09-20T21:15:58.477Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15655563528711700470tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:15:58.772Z] + set +x [2023-09-20T21:15:58.772Z] + curl -s https://codecov.io/bash [2023-09-20T21:15:58.772Z] + bash -s -- [2023-09-20T21:15:58.772Z] [2023-09-20T21:15:58.772Z] _____ _ [2023-09-20T21:15:58.772Z] / ____| | | [2023-09-20T21:15:58.772Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:15:58.772Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:15:58.772Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:15:58.772Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:15:58.772Z] Bash-1.0.6 [2023-09-20T21:15:58.772Z] [2023-09-20T21:15:58.772Z] [2023-09-20T21:15:58.772Z] ==> git version 2.25.1 found [2023-09-20T21:15:58.772Z] ==> 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-09-20T21:15:58.772Z] Release-Date: 2020-01-08 [2023-09-20T21:15:58.772Z] 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-09-20T21:15:58.772Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:15:58.772Z] ==> Jenkins CI detected. [2023-09-20T21:15:58.772Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-20T21:15:58.772Z] project root: . [2023-09-20T21:15:58.772Z] --> token set from env [2023-09-20T21:15:58.772Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:15:58.772Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:15:58.772Z] ==> Python coveragepy not found [2023-09-20T21:15:58.772Z] ==> Searching for coverage reports in: [2023-09-20T21:15:58.772Z] + . [2023-09-20T21:15:58.772Z] -> Found 1 reports [2023-09-20T21:15:58.772Z] ==> Detecting git/mercurial file structure [2023-09-20T21:15:58.772Z] ==> Reading reports [2023-09-20T21:15:58.772Z] + ./coverage.out bytes=14499 [2023-09-20T21:15:58.772Z] ==> Appending adjustments [2023-09-20T21:15:58.772Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:15:59.030Z] + Found adjustments [2023-09-20T21:15:59.030Z] ==> Gzipping contents [2023-09-20T21:15:59.030Z] 4.0K /tmp/codecov.cifwaP.gz [2023-09-20T21:15:59.030Z] ==> Uploading reports [2023-09-20T21:15:59.030Z] url: https://codecov.io [2023-09-20T21:15:59.030Z] query: branch=main&commit=a515b494e7404baf3466ef0a37ba3fb32cb96e53&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:15:59.030Z] -> Pinging Codecov [2023-09-20T21:15:59.030Z] 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:15:59.030Z] -> Uploading to [2023-09-20T21:15:59.030Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/a515b494e7404baf3466ef0a37ba3fb32cb96e53/3047ac37-3e0c-413a-9efd-57eed3377a75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T211558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2350a574bdf8d83822b93700899411ac992bd9ce6b0fcd23e40f1f229a825ce8 [2023-09-20T21:15:59.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:15:59.030Z] Dload Upload Total Spent Left Speed [2023-09-20T21:16:00.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13260 --:--:-- --:--:-- --:--:-- 13260 [2023-09-20T21:16:00.042Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } [2023-09-20T21:16:00.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:16:00.187Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:16:00.196Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:00.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:16:00.490Z] [2023-09-20T21:16:00.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:00.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:16:00.785Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:16:00.785Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:16:00.785Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:16:00.785Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:16:00.785Z] 114826534d7a: Pulling fs layer [2023-09-20T21:16:00.785Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:16:00.785Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:16:00.785Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:16:00.785Z] 114826534d7a: Waiting [2023-09-20T21:16:00.785Z] 4657fd5d0bcf: Waiting [2023-09-20T21:16:00.785Z] 8a3aa393b2d8: Waiting [2023-09-20T21:16:00.785Z] 6ad1cebc031e: Waiting [2023-09-20T21:16:00.785Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:16:00.785Z] 25bc292e5bac: Download complete [2023-09-20T21:16:00.785Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T21:16:00.785Z] 52dc419b0ee2: Download complete [2023-09-20T21:16:00.785Z] 4657fd5d0bcf: Download complete [2023-09-20T21:16:00.785Z] df9b9388f04a: Download complete [2023-09-20T21:16:01.043Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:16:01.043Z] 6ad1cebc031e: Download complete [2023-09-20T21:16:01.043Z] df9b9388f04a: Pull complete [2023-09-20T21:16:01.043Z] 52dc419b0ee2: Pull complete [2023-09-20T21:16:01.043Z] 25bc292e5bac: Pull complete [2023-09-20T21:16:01.607Z] 114826534d7a: Verifying Checksum [2023-09-20T21:16:01.607Z] 114826534d7a: Download complete [2023-09-20T21:16:01.607Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:16:01.607Z] 8a3aa393b2d8: Download complete [2023-09-20T21:16:04.885Z] 114826534d7a: Pull complete [2023-09-20T21:16:04.885Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:16:04.885Z] 6ad1cebc031e: Pull complete [2023-09-20T21:16:07.409Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:16:07.409Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:16:07.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:16:07.409Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:07.486Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:07.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T21:16:11.515Z] $ docker top f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:16:11.580Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-20T21:16:11.857Z] + set -o pipefail [2023-09-20T21:16:11.857Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/ee312f1e-a67b-4455-aeb2-e86e25161f4c [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] [2023-09-20T21:16:17.123Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:16:17.123Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:16:17.123Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:16:17.165Z] $ docker stop --time=1 f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 [2023-09-20T21:16:21.306Z] $ docker rm -f --volumes f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 [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-09-20T21:16:22.005Z] + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] sh [2023-09-20T21:16:22.298Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:16:22.299Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:22.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:16:22.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:22.670Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:22.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:16:23.122Z] $ docker top 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 -eo pid,comm [2023-09-20T21:16:23.163Z] 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-09-20T21:16:23.163Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:16:23.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:16:23.204Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:16:23.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:16:23.312Z] $ docker exec 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 ssh-agent [2023-09-20T21:16:23.412Z] SSH_AUTH_SOCK=/tmp/ssh-ZTqrpTkiWyz5/agent.32 [2023-09-20T21:16:23.412Z] SSH_AGENT_PID=38 [2023-09-20T21:16:23.417Z] Running ssh-add (command line suppressed) [2023-09-20T21:16:23.517Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3718052194524095831.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3718052194524095831.key) [2023-09-20T21:16:23.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:16:23.814Z] + git semver tag [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,010 [run_tag] DEBUG tag force:False [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,010 [check_head_tag] DEBUG check head tag [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,010 [execute] INFO git cat-file --batch-check [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,014 [execute] INFO git cat-file --batch [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,025 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,025 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:16:24.073Z] 2023-09-20 21:16:24,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:24.073Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T21:16:24.086Z] $ docker exec --env ******** --env ******** 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 ssh-agent -k [2023-09-20T21:16:24.182Z] unset SSH_AUTH_SOCK; [2023-09-20T21:16:24.183Z] unset SSH_AGENT_PID; [2023-09-20T21:16:24.183Z] echo Agent pid 38 killed; [2023-09-20T21:16:24.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:16:25.074Z] + git semver [Pipeline] } [2023-09-20T21:16:25.090Z] $ docker stop --time=1 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 [2023-09-20T21:16:26.825Z] $ docker rm -f --volumes 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:27.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:16:27.192Z] [2023-09-20T21:16:27.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:27.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:16:27.487Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:16:27.487Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:16:27.487Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:16:27.487Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:16:27.487Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:16:27.487Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:16:27.487Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:16:27.487Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:16:27.487Z] 0d9ebad4ef96: Waiting [2023-09-20T21:16:27.487Z] e9a5061849ea: Waiting [2023-09-20T21:16:27.487Z] 2de7ff778b66: Waiting [2023-09-20T21:16:27.487Z] d747dcd14b5f: Waiting [2023-09-20T21:16:27.487Z] 9712f1f96733: Download complete [2023-09-20T21:16:27.746Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:16:27.746Z] 63f879dbbcfc: Download complete [2023-09-20T21:16:28.004Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:16:28.004Z] e9a5061849ea: Download complete [2023-09-20T21:16:28.004Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:16:28.004Z] d747dcd14b5f: Download complete [2023-09-20T21:16:28.004Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:16:28.004Z] 0d9ebad4ef96: Download complete [2023-09-20T21:16:28.004Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:16:28.004Z] ab5ef0e58194: Download complete [2023-09-20T21:16:28.004Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:16:28.004Z] 2de7ff778b66: Download complete [2023-09-20T21:16:30.530Z] ab5ef0e58194: Pull complete [2023-09-20T21:16:30.530Z] 9712f1f96733: Pull complete [2023-09-20T21:16:31.095Z] 63f879dbbcfc: Pull complete [2023-09-20T21:16:34.810Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:16:35.067Z] e9a5061849ea: Pull complete [2023-09-20T21:16:35.067Z] d747dcd14b5f: Pull complete [2023-09-20T21:16:35.999Z] 2de7ff778b66: Pull complete [2023-09-20T21:16:35.999Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:16:35.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:16:35.999Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:36.085Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:36.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T21:16:41.699Z] $ docker top c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:16:41.757Z] provisioning config files... [2023-09-20T21:16:41.763Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7191362338806848967tmp [2023-09-20T21:16:41.773Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3722492938982622511tmp [2023-09-20T21:16:41.782Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3359803819597226350tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:16:41.798Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:16:42.081Z] ---> sigul-configuration.sh [2023-09-20T21:16:42.082Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:16:42.082Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:16:42.082Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:16:42.082Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:16:42.082Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:16:42.082Z] gpg: CAST5 encrypted data [2023-09-20T21:16:42.082Z] gpg: encrypted with 1 passphrase [2023-09-20T21:16:42.082Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:16:42.366Z] + mkdir /home/jenkins [2023-09-20T21:16:42.366Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:16:42.648Z] + 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-09-20T21:16:42.656Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:16:42.937Z] ---> sigul-install.sh [2023-09-20T21:16:42.937Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:16:43.221Z] + git tag --list [2023-09-20T21:16:43.221Z] v1.0.0 [2023-09-20T21:16:43.221Z] v1.1.0 [2023-09-20T21:16:43.221Z] v1.1.1 [2023-09-20T21:16:43.221Z] v1.1.2 [2023-09-20T21:16:43.221Z] v1.2.0 [2023-09-20T21:16:43.221Z] v1.2.1 [2023-09-20T21:16:43.221Z] v2.0.0 [2023-09-20T21:16:43.221Z] v2.1.0 [2023-09-20T21:16:43.221Z] v2.1.1 [2023-09-20T21:16:43.221Z] v2.2.0 [2023-09-20T21:16:43.221Z] v2.3.0 [2023-09-20T21:16:43.221Z] v3.0 [2023-09-20T21:16:43.221Z] v3.0.0 [2023-09-20T21:16:43.221Z] v3.1.0-dev.1 [2023-09-20T21:16:43.222Z] v3.1.0-dev.10 [2023-09-20T21:16:43.222Z] v3.1.0-dev.11 [2023-09-20T21:16:43.222Z] v3.1.0-dev.12 [2023-09-20T21:16:43.222Z] v3.1.0-dev.13 [2023-09-20T21:16:43.222Z] v3.1.0-dev.14 [2023-09-20T21:16:43.222Z] v3.1.0-dev.15 [2023-09-20T21:16:43.222Z] v3.1.0-dev.16 [2023-09-20T21:16:43.222Z] v3.1.0-dev.2 [2023-09-20T21:16:43.222Z] v3.1.0-dev.3 [2023-09-20T21:16:43.222Z] v3.1.0-dev.4 [2023-09-20T21:16:43.222Z] v3.1.0-dev.5 [2023-09-20T21:16:43.222Z] v3.1.0-dev.6 [2023-09-20T21:16:43.222Z] v3.1.0-dev.7 [2023-09-20T21:16:43.222Z] v3.1.0-dev.8 [2023-09-20T21:16:43.222Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T21:16:43.507Z] + lftools sign git-tag v3.1.0-dev.16 [2023-09-20T21:16:44.075Z] Signing Git tag with Sigul... [2023-09-20T21:16:44.075Z] Signing v3.1.0-dev.16 [Pipeline] echo [2023-09-20T21:16:44.341Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:16:44.623Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:16:44.631Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:16:44.654Z] $ docker stop --time=1 c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 [2023-09-20T21:16:45.925Z] $ docker rm -f --volumes c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:16:46.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:16:46.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:46.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:16:46.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:46.688Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:46.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:16:47.029Z] $ docker top 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e -eo pid,comm [2023-09-20T21:16:47.069Z] 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-09-20T21:16:47.069Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:16:47.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:16:47.110Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:16:47.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:16:47.237Z] $ docker exec 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e ssh-agent [2023-09-20T21:16:47.338Z] SSH_AUTH_SOCK=/tmp/ssh-NcmKH4CS8dGe/agent.32 [2023-09-20T21:16:47.338Z] SSH_AGENT_PID=38 [2023-09-20T21:16:47.342Z] Running ssh-add (command line suppressed) [2023-09-20T21:16:47.435Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16288684282609515550.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16288684282609515550.key) [2023-09-20T21:16:47.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:16:47.725Z] + git semver bump pre [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,904 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,904 [bump_version] DEBUG bumped version:3.1.0-dev.17 [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,904 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,904 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,906 [execute] INFO git cat-file --batch-check [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,912 [execute] INFO git cat-file --batch [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:16:47.984Z] 2023-09-20 21:16:47,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:47.984Z] 3.1.0-dev.17 [Pipeline] } [2023-09-20T21:16:47.998Z] $ docker exec --env ******** --env ******** 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e ssh-agent -k [2023-09-20T21:16:48.086Z] unset SSH_AUTH_SOCK; [2023-09-20T21:16:48.086Z] unset SSH_AGENT_PID; [2023-09-20T21:16:48.086Z] echo Agent pid 38 killed; [2023-09-20T21:16:48.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:16:48.394Z] + git semver [Pipeline] } [2023-09-20T21:16:48.669Z] $ docker stop --time=1 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e [2023-09-20T21:16:49.904Z] $ docker rm -f --volumes 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:16:50.231Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:16:50.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:50.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:16:50.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:50.596Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:50.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:16:50.952Z] $ docker top c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:16:51.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:16:51.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:16:51.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:16:51.152Z] $ docker exec c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 ssh-agent [2023-09-20T21:16:51.261Z] SSH_AUTH_SOCK=/tmp/ssh-jaRGbrWFYhaW/agent.31 [2023-09-20T21:16:51.261Z] SSH_AGENT_PID=37 [2023-09-20T21:16:51.265Z] Running ssh-add (command line suppressed) [2023-09-20T21:16:51.361Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1103296902737224780.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1103296902737224780.key) [2023-09-20T21:16:51.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:16:51.655Z] + git semver push [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,849 [run_push] DEBUG push [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,849 [execute] INFO git cat-file --batch-check [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,854 [execute] INFO git rev-list 1d875246818f2e828aa599cc57dffb8b776ec6e3 -- [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,854 [execute] DEBUG Popen(['git', 'rev-list', '1d875246818f2e828aa599cc57dffb8b776ec6e3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,864 [execute] INFO git fetch -v origin [2023-09-20T21:16:51.914Z] 2023-09-20 21:16:51,864 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:16:52.481Z] 2023-09-20 21:16:52,333 [run_push] DEBUG no remote changes detected [2023-09-20T21:16:52.481Z] 2023-09-20 21:16:52,333 [execute] INFO git push origin semver [2023-09-20T21:16:52.481Z] 2023-09-20 21:16:52,333 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:16:53.471Z] 2023-09-20 21:16:53,227 [run_push] DEBUG push all version tags [2023-09-20T21:16:53.471Z] 2023-09-20 21:16:53,228 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:16:53.471Z] 2023-09-20 21:16:53,228 [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-09-20T21:16:54.446Z] 2023-09-20 21:16:54,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T21:16:54.446Z] 3.1.0-dev.17 [Pipeline] } [2023-09-20T21:16:54.470Z] $ docker exec --env ******** --env ******** c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 ssh-agent -k [2023-09-20T21:16:54.561Z] unset SSH_AUTH_SOCK; [2023-09-20T21:16:54.561Z] unset SSH_AGENT_PID; [2023-09-20T21:16:54.561Z] echo Agent pid 37 killed; [2023-09-20T21:16:54.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:16:54.896Z] + git semver [Pipeline] } [2023-09-20T21:16:55.171Z] $ docker stop --time=1 c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 [2023-09-20T21:16:56.434Z] $ docker rm -f --volumes c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 [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-09-20T21:16:56.992Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-20T21:16:56.992Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T21:16:56.992Z] total 16 [2023-09-20T21:16:56.992Z] drwxr-xr-x 3 root root 4096 Sep 20 20:59 . [2023-09-20T21:16:56.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:16 .. [2023-09-20T21:16:56.992Z] drwxr-xr-x 2 root root 4096 Sep 20 20:59 cost [2023-09-20T21:16:56.992Z] -rw-r--r-- 1 root root 86 Sep 20 20:59 cost.csv [2023-09-20T21:16:56.992Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T21:16:56.992Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T21:16:56.992Z] total 16 [2023-09-20T21:16:56.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:59 . [2023-09-20T21:16:56.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:16 .. [2023-09-20T21:16:56.992Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:59 cost [2023-09-20T21:16:56.992Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:16:57.282Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:16:58.135Z] ---> package-listing.sh [2023-09-20T21:16:58.135Z] ++ facter osfamily [2023-09-20T21:16:58.135Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:16:58.393Z] + OS_FAMILY=debian [2023-09-20T21:16:58.393Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-20T21:16:58.393Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:16:58.393Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:16:58.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:16:58.393Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:16:58.393Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-20T21:16:58.393Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:16:58.393Z] + case "${OS_FAMILY}" in [2023-09-20T21:16:58.393Z] + dpkg -l [2023-09-20T21:16:58.393Z] + grep '^ii' [2023-09-20T21:16:58.393Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:16:58.393Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:16:58.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:16:58.393Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-20T21:16:58.393Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-20T21:16:58.393Z] + 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-09-20T21:16:58.404Z] 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-09-20T21:16:58.680Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:16:59.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:16:59.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:16:59.320Z] prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container [2023-09-20T21:16:59.353Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:16:59.538Z] $ docker top 4c09498cde24ca408d26a5d11befa7e7b422a4bda25a38796010f3adcd9d175a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:16:59.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:17:00.149Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:17:00.433Z] + ls /var/log/sa-host [2023-09-20T21:17:00.433Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:17:00.498Z] provisioning config files... [2023-09-20T21:17:00.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5146614489922415153tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:17:00.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:17:00.803Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:17:00.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:17:01.144Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:17:01.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:17:01.431Z] ---> sudo-logs.sh [2023-09-20T21:17:01.431Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:17:01.457Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:17:01.738Z] ---> job-cost.sh [2023-09-20T21:17:01.738Z] lf-activate-venv: SKIPPING [2023-09-20T21:17:01.738Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:17:01.738Z] INFO: Retrieving Stack Cost... [2023-09-20T21:17:01.997Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:17:02.563Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:17:02.575Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:17:02.858Z] ---> logs-deploy.sh [2023-09-20T21:17:02.858Z] lf-activate-venv: SKIPPING [2023-09-20T21:17:02.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/136 [2023-09-20T21:17:02.858Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:17:03.796Z] Archives upload complete. [2023-09-20T21:17:03.796Z] INFO: archiving logs to Nexus