Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 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-ssh14982039428087657680.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-ssh9202517964214125243.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-ssh1908204354911790053.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-ssh10069265857810776951.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-ssh1080113888939425225.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-6041 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339)" > git config core.sparsecheckout # timeout=10 > git checkout -f b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 > git rev-list --no-walk 7661139dd1c3d848a7247d8835c5c2fde1868ee5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T22:38:48.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T22:38:48.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T22:38:48.537Z] ========================================================= [2023-09-12T22:38:48.537Z] EdgeX Global Pipelines Version Info [2023-09-12T22:38:48.537Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:38:49.247Z] ------------------- [2023-09-12T22:38:49.247Z] stable info: [2023-09-12T22:38:49.247Z] ------------------- [2023-09-12T22:38:49.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T22:38:49.247Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:38:49.247Z] Message: update stable to v1.0.254 [2023-09-12T22:38:49.817Z] ------------------- [2023-09-12T22:38:49.817Z] experimental info: [2023-09-12T22:38:49.817Z] ------------------- [2023-09-12T22:38:49.817Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T22:38:49.817Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:38:49.817Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T22:38:49.981Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-12T22:38:49.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-12T22:38:50.008Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T22:38:50.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T22:38:50.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T22:38:50.049Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T22:38:50.061Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T22:38:50.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T22:38:50.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T22:38:50.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T22:38:50.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T22:38:50.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-12T22:38:50.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T22:38:50.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T22:38:50.165Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:38:50.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:38:50.201Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:38:50.215Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:38:50.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T22:38:50.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T22:38:50.257Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T22:38:50.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T22:38:50.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T22:38:50.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T22:38:50.329Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T22:38:50.350Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T22:38:50.368Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T22:38:50.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T22:38:50.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T22:38:50.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T22:38:50.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo [2023-09-12T22:38:50.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7980b9 [Pipeline] echo [2023-09-12T22:38:50.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:38:50.515Z] provisioning config files... [2023-09-12T22:38:50.529Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17344755997355351747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:38:50.830Z] ---> docker-login.sh [2023-09-12T22:38:50.830Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:38:51.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:38:51.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:38:51.091Z] Configure a credential helper to remove this warning. See [2023-09-12T22:38:51.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:38:51.091Z] [2023-09-12T22:38:51.091Z] Login Succeeded [2023-09-12T22:38:51.091Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:38:51.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:38:51.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:38:51.091Z] Configure a credential helper to remove this warning. See [2023-09-12T22:38:51.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:38:51.091Z] [2023-09-12T22:38:51.091Z] Login Succeeded [2023-09-12T22:38:51.091Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:38:51.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:38:51.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:38:51.350Z] Configure a credential helper to remove this warning. See [2023-09-12T22:38:51.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:38:51.350Z] [2023-09-12T22:38:51.350Z] Login Succeeded [2023-09-12T22:38:51.350Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:38:51.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:38:51.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:38:51.350Z] Configure a credential helper to remove this warning. See [2023-09-12T22:38:51.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:38:51.350Z] [2023-09-12T22:38:51.350Z] Login Succeeded [2023-09-12T22:38:51.350Z] docker.io [2023-09-12T22:38:51.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:38:51.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:38:51.609Z] Configure a credential helper to remove this warning. See [2023-09-12T22:38:51.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:38:51.610Z] [2023-09-12T22:38:51.610Z] Login Succeeded [2023-09-12T22:38:51.610Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:38:51.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T22:38:51.985Z] + git rev-list -1 --merges b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29~1..b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo [2023-09-12T22:38:52.034Z] -----------> git rev-list -1 --merges b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29~1..b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [false] [Pipeline] sh [2023-09-12T22:38:52.324Z] + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo [2023-09-12T22:38:52.337Z] ========================================================= [2023-09-12T22:38:52.337Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T22:38:52.337Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:38:52.681Z] + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo [2023-09-12T22:38:52.715Z] [semverPrep] GIT_COMMIT: b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339) [Pipeline] echo [2023-09-12T22:38:52.727Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T22:38:53.078Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:38:53.078Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T22:38:53.078Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T22:38:53.078Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T22:38:53.078Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T22:38:53.078Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T22:38:53.078Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:38:53.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:38:53.500Z] [2023-09-12T22:38:53.500Z] 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-12T22:38:53.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:38:53.807Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T22:38:53.807Z] b85a868b505f: Pulling fs layer [2023-09-12T22:38:53.807Z] e2be974225ed: Pulling fs layer [2023-09-12T22:38:53.807Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T22:38:53.807Z] 988bab9f4d93: Pulling fs layer [2023-09-12T22:38:53.807Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T22:38:53.807Z] eaf3925da568: Pulling fs layer [2023-09-12T22:38:53.807Z] bab4dde63d76: Pulling fs layer [2023-09-12T22:38:53.807Z] bde34c3a00c8: Pulling fs layer [2023-09-12T22:38:53.807Z] b352a97aabf1: Pulling fs layer [2023-09-12T22:38:53.807Z] 4872d77fe225: Pulling fs layer [2023-09-12T22:38:53.807Z] 5851b861e8e6: Pulling fs layer [2023-09-12T22:38:53.807Z] 988bab9f4d93: Waiting [2023-09-12T22:38:53.807Z] 1469e6f7b9e6: Waiting [2023-09-12T22:38:53.807Z] eaf3925da568: Waiting [2023-09-12T22:38:53.807Z] bab4dde63d76: Waiting [2023-09-12T22:38:53.807Z] bde34c3a00c8: Waiting [2023-09-12T22:38:53.807Z] b352a97aabf1: Waiting [2023-09-12T22:38:53.807Z] 4872d77fe225: Waiting [2023-09-12T22:38:53.807Z] 5851b861e8e6: Waiting [2023-09-12T22:38:53.807Z] e2be974225ed: Download complete [2023-09-12T22:38:53.807Z] 988bab9f4d93: Verifying Checksum [2023-09-12T22:38:53.807Z] 988bab9f4d93: Download complete [2023-09-12T22:38:54.068Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T22:38:54.068Z] 1469e6f7b9e6: Download complete [2023-09-12T22:38:54.068Z] eaf3925da568: Verifying Checksum [2023-09-12T22:38:54.068Z] eaf3925da568: Download complete [2023-09-12T22:38:54.068Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T22:38:54.068Z] 339a4e72a1f5: Download complete [2023-09-12T22:38:54.068Z] bde34c3a00c8: Verifying Checksum [2023-09-12T22:38:54.068Z] bde34c3a00c8: Download complete [2023-09-12T22:38:54.068Z] b352a97aabf1: Download complete [2023-09-12T22:38:54.068Z] 4872d77fe225: Download complete [2023-09-12T22:38:54.068Z] 5851b861e8e6: Verifying Checksum [2023-09-12T22:38:54.068Z] 5851b861e8e6: Download complete [2023-09-12T22:38:54.068Z] b85a868b505f: Verifying Checksum [2023-09-12T22:38:54.068Z] b85a868b505f: Download complete [2023-09-12T22:38:54.330Z] bab4dde63d76: Verifying Checksum [2023-09-12T22:38:54.330Z] bab4dde63d76: Download complete [2023-09-12T22:38:55.740Z] b85a868b505f: Pull complete [2023-09-12T22:38:55.740Z] e2be974225ed: Pull complete [2023-09-12T22:38:56.318Z] 339a4e72a1f5: Pull complete [2023-09-12T22:38:56.318Z] 988bab9f4d93: Pull complete [2023-09-12T22:38:56.577Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:38:56.577Z] eaf3925da568: Pull complete [2023-09-12T22:38:58.490Z] bab4dde63d76: Pull complete [2023-09-12T22:38:58.490Z] bde34c3a00c8: Pull complete [2023-09-12T22:38:58.490Z] b352a97aabf1: Pull complete [2023-09-12T22:38:58.750Z] 4872d77fe225: Pull complete [2023-09-12T22:38:58.750Z] 5851b861e8e6: Pull complete [2023-09-12T22:38:58.750Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:38:58.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:38:58.750Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:38:58.849Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:38:58.862Z] $ 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-12T22:39:01.761Z] $ docker top 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 -eo pid,comm [2023-09-12T22:39:01.842Z] 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-12T22:39:01.842Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:39:01.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:39:01.876Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:39:01.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:39:01.975Z] $ docker exec 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent [2023-09-12T22:39:02.097Z] SSH_AUTH_SOCK=/tmp/ssh-37sWlsIO99eh/agent.32 [2023-09-12T22:39:02.098Z] SSH_AGENT_PID=38 [2023-09-12T22:39:02.104Z] Running ssh-add (command line suppressed) [2023-09-12T22:39:02.183Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14494511929670652777.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14494511929670652777.key) [2023-09-12T22:39:02.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:39:02.508Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:39:02.498Z] $ docker exec --env ******** --env ******** 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent -k [2023-09-12T22:39:02.607Z] unset SSH_AUTH_SOCK; [2023-09-12T22:39:02.607Z] unset SSH_AGENT_PID; [2023-09-12T22:39:02.607Z] echo Agent pid 38 killed; [2023-09-12T22:39:02.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:39:02.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:39:02.661Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:39:02.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:39:02.762Z] $ docker exec 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent [2023-09-12T22:39:02.912Z] SSH_AUTH_SOCK=/tmp/ssh-TLvmgIFD0SIT/agent.70 [2023-09-12T22:39:02.912Z] SSH_AGENT_PID=76 [2023-09-12T22:39:02.916Z] Running ssh-add (command line suppressed) [2023-09-12T22:39:02.993Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11510257911490463939.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11510257911490463939.key) [2023-09-12T22:39:03.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:39:03.320Z] + git semver init [2023-09-12T22:39:03.580Z] 2023-09-12 22:39:03,465 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:39:03.580Z] 2023-09-12 22:39:03,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-12T22:39:03.580Z] 2023-09-12 22:39:03,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-12T22:39:03.580Z] 2023-09-12 22:39:03,466 [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-12T22:39:04.519Z] 2023-09-12 22:39:04,486 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-12T22:39:04.520Z] 2023-09-12 22:39:04,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-12T22:39:04.520Z] 2023-09-12 22:39:04,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:39:04.520Z] 2023-09-12 22:39:04,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:39:04.520Z] 3.1.0-dev.12 [Pipeline] } [2023-09-12T22:39:04.769Z] $ docker exec --env ******** --env ******** 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent -k [2023-09-12T22:39:04.869Z] unset SSH_AUTH_SOCK; [2023-09-12T22:39:04.870Z] unset SSH_AGENT_PID; [2023-09-12T22:39:04.870Z] echo Agent pid 76 killed; [2023-09-12T22:39:04.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:39:05.210Z] + git semver [Pipeline] } [2023-09-12T22:39:05.461Z] $ docker stop --time=1 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 [2023-09-12T22:39:06.891Z] $ docker rm -f --volumes 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:39:07.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:39:07.466Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:39:07.469Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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-12T22:39:07.689Z] provisioning config files... [2023-09-12T22:39:07.700Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8907923328550968947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:39:08.007Z] ---> docker-login.sh [2023-09-12T22:39:08.007Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:39:08.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:08.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:08.007Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:08.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:08.007Z] [2023-09-12T22:39:08.007Z] Login Succeeded [2023-09-12T22:39:08.007Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:39:08.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:08.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:08.007Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:08.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:08.007Z] [2023-09-12T22:39:08.007Z] Login Succeeded [2023-09-12T22:39:08.007Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:39:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:08.265Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:08.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:08.265Z] [2023-09-12T22:39:08.265Z] Login Succeeded [2023-09-12T22:39:08.265Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:39:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:08.265Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:08.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:08.265Z] [2023-09-12T22:39:08.265Z] Login Succeeded [2023-09-12T22:39:08.265Z] docker.io [2023-09-12T22:39:08.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:08.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:08.526Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:08.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:08.526Z] [2023-09-12T22:39:08.526Z] Login Succeeded [2023-09-12T22:39:08.526Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:39:08.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:39:08.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:39:08.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:39:08.629Z] ========================================================= [2023-09-12T22:39:08.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:39:08.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:39:08.946Z] + 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-12T22:39:08.946Z] Sending build context to Docker daemon 10.89MB [2023-09-12T22:39:08.946Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:39:08.946Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:39:08.946Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:39:08.946Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:39:08.946Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:39:08.946Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:39:08.946Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:39:08.946Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:39:08.946Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:39:08.946Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:39:08.946Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:39:08.946Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:39:08.946Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:39:08.946Z] 9e4f439ed901: Waiting [2023-09-12T22:39:08.946Z] feaf6a47b606: Waiting [2023-09-12T22:39:08.946Z] 5e8b037d7d82: Waiting [2023-09-12T22:39:08.946Z] 8ac70367396e: Waiting [2023-09-12T22:39:08.946Z] 6db16350a2e2: Waiting [2023-09-12T22:39:08.946Z] 9250d5d63582: Waiting [2023-09-12T22:39:08.946Z] ad3a456e5733: Waiting [2023-09-12T22:39:08.946Z] c4d48a809fc2: Verifying Checksum [2023-09-12T22:39:08.946Z] c4d48a809fc2: Download complete [2023-09-12T22:39:08.946Z] ad3a456e5733: Verifying Checksum [2023-09-12T22:39:08.946Z] ad3a456e5733: Download complete [2023-09-12T22:39:09.217Z] 9e4f439ed901: Verifying Checksum [2023-09-12T22:39:09.217Z] 9e4f439ed901: Download complete [2023-09-12T22:39:09.217Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:39:09.217Z] 7264a8db6415: Download complete [2023-09-12T22:39:09.217Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:39:09.217Z] feaf6a47b606: Download complete [2023-09-12T22:39:09.217Z] 7264a8db6415: Pull complete [2023-09-12T22:39:09.478Z] c4d48a809fc2: Pull complete [2023-09-12T22:39:09.478Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:39:09.478Z] 8ac70367396e: Download complete [2023-09-12T22:39:09.737Z] 4f1c88b9dad5: Download complete [2023-09-12T22:39:09.737Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:39:09.737Z] 6db16350a2e2: Download complete [2023-09-12T22:39:09.995Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:39:09.995Z] 9250d5d63582: Download complete [2023-09-12T22:39:09.995Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T22:39:09.995Z] 5e8b037d7d82: Download complete [2023-09-12T22:39:13.279Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:39:13.279Z] ad3a456e5733: Pull complete [2023-09-12T22:39:13.279Z] 9e4f439ed901: Pull complete [2023-09-12T22:39:13.279Z] feaf6a47b606: Pull complete [2023-09-12T22:39:15.806Z] 5e8b037d7d82: Pull complete [2023-09-12T22:39:16.064Z] 8ac70367396e: Pull complete [2023-09-12T22:39:16.628Z] 6db16350a2e2: Pull complete [2023-09-12T22:39:17.195Z] 9250d5d63582: Pull complete [2023-09-12T22:39:17.196Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:39:17.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:39:17.196Z] ---> fa269f55d9b9 [2023-09-12T22:39:17.196Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:39:22.571Z] Still waiting to schedule task [2023-09-12T22:39:22.571Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:39:27.241Z] ---> Running in c4275b95032c [2023-09-12T22:39:27.241Z] Removing intermediate container c4275b95032c [2023-09-12T22:39:27.241Z] ---> e8cad5373dee [2023-09-12T22:39:27.241Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:39:27.241Z] ---> Running in ec9673b5a564 [2023-09-12T22:39:27.241Z] Removing intermediate container ec9673b5a564 [2023-09-12T22:39:27.241Z] ---> 0140cc17ee48 [2023-09-12T22:39:27.241Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:39:27.241Z] ---> Running in 1ffae5b04e55 [2023-09-12T22:39:27.241Z] Removing intermediate container 1ffae5b04e55 [2023-09-12T22:39:27.241Z] ---> 6d71bba3e646 [2023-09-12T22:39:27.241Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:39:27.241Z] ---> Running in 50f3101b2684 [2023-09-12T22:39:27.241Z] Removing intermediate container 50f3101b2684 [2023-09-12T22:39:27.241Z] ---> 592410cf38a4 [2023-09-12T22:39:27.241Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:39:27.241Z] ---> Running in 2ac9ba74737f [2023-09-12T22:39:27.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:39:27.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:39:28.017Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:39:28.017Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:39:28.017Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:39:28.017Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:39:28.017Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:39:28.017Z] OK: 270 MiB in 60 packages [2023-09-12T22:39:28.585Z] Removing intermediate container 2ac9ba74737f [2023-09-12T22:39:28.585Z] ---> ca7fa788ea45 [2023-09-12T22:39:28.585Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T22:39:28.585Z] ---> Running in c5c71edf0917 [2023-09-12T22:39:28.585Z] Removing intermediate container c5c71edf0917 [2023-09-12T22:39:28.585Z] ---> e6ec9797a413 [2023-09-12T22:39:28.585Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:39:28.843Z] ---> 2bb3ed702109 [2023-09-12T22:39:28.843Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:39:28.843Z] ---> Running in 313ff9193800 [2023-09-12T22:40:15.552Z] Removing intermediate container 313ff9193800 [2023-09-12T22:40:15.552Z] ---> 9a7e2b8568c7 [2023-09-12T22:40:15.552Z] Step 11/12 : COPY . . [2023-09-12T22:40:15.552Z] ---> df590a9cdac5 [2023-09-12T22:40:15.552Z] Step 12/12 : RUN $MAKE [2023-09-12T22:40:15.552Z] ---> Running in 15d586125bf1 [2023-09-12T22:40:15.552Z] noop [2023-09-12T22:40:15.552Z] Removing intermediate container 15d586125bf1 [2023-09-12T22:40:15.552Z] ---> 211bfea63892 [2023-09-12T22:40:15.552Z] Successfully built 211bfea63892 [2023-09-12T22:40:15.552Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:15.870Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:40:15.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:40:15.938Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:40:15.955Z] $ 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-12T22:40:16.331Z] $ docker top 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:40:16.682Z] + go version [2023-09-12T22:40:16.682Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:40:16.678Z] $ docker stop --time=1 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 [2023-09-12T22:40:17.929Z] $ docker rm -f --volumes 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:18.349Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:40:18.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:40:18.424Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:40:18.443Z] $ 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-12T22:40:18.794Z] $ docker top 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:40:19.159Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:40:19.455Z] + make test [2023-09-12T22:40:19.455Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:40:20.828Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T22:40:30.786Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T22:40:30.786Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-09-12T22:40:38.934Z] go vet ./... [2023-09-12T22:40:41.463Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:40:41.463Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:40:41.463Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:40:41.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:40:41.750Z] $ docker stop --time=1 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d [2023-09-12T22:40:45.815Z] $ docker rm -f --volumes 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:40:46.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:40:46.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:40:46.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:40:47.186Z] + ls -al . [2023-09-12T22:40:47.186Z] total 188 [2023-09-12T22:40:47.186Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:40 . [2023-09-12T22:40:47.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:38 .. [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:38 .dockerignore [2023-09-12T22:40:47.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:40 .git [2023-09-12T22:40:47.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:38 .github [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:38 .gitignore [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:38 .golangci.yml [2023-09-12T22:40:47.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:39 .semver [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:38 Attribution.txt [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:38 CHANGELOG.md [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:38 Dockerfile [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:38 GOVERNANCE.md [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:38 Jenkinsfile [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:38 LICENSE [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:38 Makefile [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:38 OWNERS.md [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:38 README.md [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 22:39 VERSION [2023-09-12T22:40:47.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:38 bin [2023-09-12T22:40:47.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:38 cmd [2023-09-12T22:40:47.186Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:40 coverage.out [2023-09-12T22:40:47.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:38 driver [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:38 go.mod [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:38 go.sum [2023-09-12T22:40:47.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:38 snap [2023-09-12T22:40:47.186Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:47.490Z] + 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 --label arch=amd64 --label version=3.1.0-dev.12 . [2023-09-12T22:40:47.490Z] Sending build context to Docker daemon 10.9MB [2023-09-12T22:40:47.490Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:40:47.490Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:40:47.490Z] ---> 211bfea63892 [2023-09-12T22:40:47.490Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:40:47.749Z] ---> Running in bb1b1fab3283 [2023-09-12T22:40:47.749Z] Removing intermediate container bb1b1fab3283 [2023-09-12T22:40:47.749Z] ---> 76ce5cfeb5ac [2023-09-12T22:40:47.749Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:40:47.749Z] ---> Running in 298f7095b7c0 [2023-09-12T22:40:47.749Z] Removing intermediate container 298f7095b7c0 [2023-09-12T22:40:47.749Z] ---> feb9b137e1ad [2023-09-12T22:40:47.749Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:40:47.749Z] ---> Running in 257da873f686 [2023-09-12T22:40:48.008Z] Removing intermediate container 257da873f686 [2023-09-12T22:40:48.008Z] ---> d8a59521433d [2023-09-12T22:40:48.008Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:40:48.008Z] ---> Running in 88abeb71bfd5 [2023-09-12T22:40:48.008Z] Removing intermediate container 88abeb71bfd5 [2023-09-12T22:40:48.008Z] ---> 5bd4c9a48b80 [2023-09-12T22:40:48.008Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:40:48.008Z] ---> Running in 739cae07e961 [2023-09-12T22:40:48.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:40:48.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:40:48.788Z] OK: 270 MiB in 60 packages [2023-09-12T22:40:49.046Z] Removing intermediate container 739cae07e961 [2023-09-12T22:40:49.046Z] ---> 46cc460a8c27 [2023-09-12T22:40:49.046Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T22:40:49.046Z] ---> Running in a28f93404f0a [2023-09-12T22:40:49.307Z] Removing intermediate container a28f93404f0a [2023-09-12T22:40:49.307Z] ---> 9c356a731cf7 [2023-09-12T22:40:49.307Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:40:49.307Z] ---> e14487e9aeeb [2023-09-12T22:40:49.307Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:40:49.307Z] ---> Running in cf4e77a58fc8 [2023-09-12T22:40:50.350Z] Removing intermediate container cf4e77a58fc8 [2023-09-12T22:40:50.350Z] ---> c7e8e3ae35af [2023-09-12T22:40:50.350Z] Step 11/25 : COPY . . [2023-09-12T22:40:50.609Z] ---> 39f70c729084 [2023-09-12T22:40:50.609Z] Step 12/25 : RUN $MAKE [2023-09-12T22:40:50.609Z] ---> Running in 19f4cafd0cd6 [2023-09-12T22:40:50.867Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T22:41:12.839Z] Removing intermediate container 19f4cafd0cd6 [2023-09-12T22:41:12.839Z] ---> fa83a87a8ffc [2023-09-12T22:41:12.839Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:41:12.839Z] 3.18: Pulling from library/alpine [2023-09-12T22:41:12.839Z] 7264a8db6415: Already exists [2023-09-12T22:41:12.839Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:41:12.839Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:41:12.839Z] ---> 7e01a0d0a1dc [2023-09-12T22:41:12.839Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T22:41:12.839Z] ---> Running in 01ce0bb729b6 [2023-09-12T22:41:12.839Z] Removing intermediate container 01ce0bb729b6 [2023-09-12T22:41:12.839Z] ---> 5d6b33c37a9a [2023-09-12T22:41:12.839Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T22:41:12.839Z] ---> Running in b1d2d4330dc4 [2023-09-12T22:41:12.839Z] Removing intermediate container b1d2d4330dc4 [2023-09-12T22:41:12.839Z] ---> f308e8699e87 [2023-09-12T22:41:12.839Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:41:12.839Z] ---> Running in dda249327632 [2023-09-12T22:41:12.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:41:12.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:41:12.839Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:41:12.839Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:41:12.839Z] OK: 7 MiB in 16 packages [2023-09-12T22:41:12.839Z] Removing intermediate container dda249327632 [2023-09-12T22:41:12.839Z] ---> 51800c13259a [2023-09-12T22:41:12.839Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T22:41:13.776Z] ---> 3178324b3e60 [2023-09-12T22:41:13.776Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T22:41:13.776Z] ---> 1fba296b3ec2 [2023-09-12T22:41:13.776Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T22:41:13.776Z] ---> 3b353df91360 [2023-09-12T22:41:13.776Z] Step 20/25 : EXPOSE 59986 [2023-09-12T22:41:13.776Z] ---> Running in af4871e76e54 [2023-09-12T22:41:14.035Z] Removing intermediate container af4871e76e54 [2023-09-12T22:41:14.035Z] ---> 1426c349050a [2023-09-12T22:41:14.035Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T22:41:14.035Z] ---> Running in c2419e24f6a9 [2023-09-12T22:41:14.035Z] Removing intermediate container c2419e24f6a9 [2023-09-12T22:41:14.035Z] ---> 73cfa6ba0744 [2023-09-12T22:41:14.035Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:41:14.035Z] ---> Running in 4bf03b1f238e [2023-09-12T22:41:14.035Z] Removing intermediate container 4bf03b1f238e [2023-09-12T22:41:14.035Z] ---> 91b6786289d1 [2023-09-12T22:41:14.035Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T22:41:14.035Z] ---> Running in 69cf5d376200 [2023-09-12T22:41:14.294Z] Removing intermediate container 69cf5d376200 [2023-09-12T22:41:14.294Z] ---> d73a02115886 [2023-09-12T22:41:14.294Z] Step 24/25 : LABEL git_sha=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:41:14.294Z] ---> Running in c4a95b7b4f34 [2023-09-12T22:41:14.294Z] Removing intermediate container c4a95b7b4f34 [2023-09-12T22:41:14.294Z] ---> 429b504c8f8c [2023-09-12T22:41:14.294Z] Step 25/25 : LABEL version=3.1.0-dev.12 [2023-09-12T22:41:14.294Z] ---> Running in 66ff38e92cc5 [2023-09-12T22:41:14.294Z] Removing intermediate container 66ff38e92cc5 [2023-09-12T22:41:14.294Z] ---> 89e71154f1d3 [2023-09-12T22:41:14.294Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:41:14.294Z] Successfully built 89e71154f1d3 [2023-09-12T22:41:14.294Z] 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-12T22:41:14.401Z] provisioning config files... [2023-09-12T22:41:14.409Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4065534002566957553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:41:14.710Z] ---> docker-login.sh [2023-09-12T22:41:14.710Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:41:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:14.710Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:14.710Z] [2023-09-12T22:41:14.710Z] Login Succeeded [2023-09-12T22:41:14.710Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:41:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:14.710Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:14.710Z] [2023-09-12T22:41:14.710Z] Login Succeeded [2023-09-12T22:41:14.970Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:41:14.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:14.970Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:14.970Z] [2023-09-12T22:41:14.970Z] Login Succeeded [2023-09-12T22:41:14.970Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:41:14.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:14.970Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:14.970Z] [2023-09-12T22:41:14.970Z] Login Succeeded [2023-09-12T22:41:14.970Z] docker.io [2023-09-12T22:41:15.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:15.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:15.228Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:15.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:15.228Z] [2023-09-12T22:41:15.228Z] Login Succeeded [2023-09-12T22:41:15.487Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:41:15.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:41:15.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:41:15.559Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-12T22:41:15.559Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:41:15.559Z] latest [2023-09-12T22:41:15.559Z] 3.1.0-dev.12 [2023-09-12T22:41:15.559Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:41:15.559Z] main [2023-09-12T22:41:15.559Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:15.891Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:16.199Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:41:16.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-12T22:41:16.199Z] 5237a249e008: Preparing [2023-09-12T22:41:16.199Z] dd503eddfa2f: Preparing [2023-09-12T22:41:16.199Z] f6b126366029: Preparing [2023-09-12T22:41:16.199Z] f69adc5d86e1: Preparing [2023-09-12T22:41:16.199Z] 4693057ce236: Preparing [2023-09-12T22:41:16.199Z] 4693057ce236: Layer already exists [2023-09-12T22:41:16.199Z] dd503eddfa2f: Pushed [2023-09-12T22:41:16.199Z] f69adc5d86e1: Pushed [2023-09-12T22:41:16.199Z] 5237a249e008: Pushed [2023-09-12T22:41:19.490Z] f6b126366029: Pushed [2023-09-12T22:41:19.490Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:19.807Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:20.110Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-12T22:41:20.110Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-12T22:41:20.110Z] 5237a249e008: Preparing [2023-09-12T22:41:20.110Z] dd503eddfa2f: Preparing [2023-09-12T22:41:20.110Z] f6b126366029: Preparing [2023-09-12T22:41:20.110Z] f69adc5d86e1: Preparing [2023-09-12T22:41:20.110Z] 4693057ce236: Preparing [2023-09-12T22:41:20.110Z] f6b126366029: Layer already exists [2023-09-12T22:41:20.110Z] 5237a249e008: Layer already exists [2023-09-12T22:41:20.110Z] f69adc5d86e1: Layer already exists [2023-09-12T22:41:20.110Z] 4693057ce236: Layer already exists [2023-09-12T22:41:20.110Z] dd503eddfa2f: Layer already exists [2023-09-12T22:41:20.110Z] latest: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:20.421Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:20.721Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 [2023-09-12T22:41:20.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-12T22:41:20.721Z] 5237a249e008: Preparing [2023-09-12T22:41:20.721Z] dd503eddfa2f: Preparing [2023-09-12T22:41:20.721Z] f6b126366029: Preparing [2023-09-12T22:41:20.721Z] f69adc5d86e1: Preparing [2023-09-12T22:41:20.721Z] 4693057ce236: Preparing [2023-09-12T22:41:20.721Z] 5237a249e008: Layer already exists [2023-09-12T22:41:20.721Z] f69adc5d86e1: Layer already exists [2023-09-12T22:41:20.721Z] f6b126366029: Layer already exists [2023-09-12T22:41:20.721Z] 4693057ce236: Layer already exists [2023-09-12T22:41:20.721Z] dd503eddfa2f: Layer already exists [2023-09-12T22:41:20.721Z] 3.1.0-dev.12: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:21.032Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:21.343Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:41:21.344Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-12T22:41:21.344Z] 5237a249e008: Preparing [2023-09-12T22:41:21.344Z] dd503eddfa2f: Preparing [2023-09-12T22:41:21.344Z] f6b126366029: Preparing [2023-09-12T22:41:21.344Z] f69adc5d86e1: Preparing [2023-09-12T22:41:21.344Z] 4693057ce236: Preparing [2023-09-12T22:41:21.344Z] f69adc5d86e1: Layer already exists [2023-09-12T22:41:21.344Z] 5237a249e008: Layer already exists [2023-09-12T22:41:21.344Z] dd503eddfa2f: Layer already exists [2023-09-12T22:41:21.344Z] f6b126366029: Layer already exists [2023-09-12T22:41:21.344Z] 4693057ce236: Layer already exists [2023-09-12T22:41:21.344Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:21.661Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:21.974Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-12T22:41:21.975Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-12T22:41:21.975Z] 5237a249e008: Preparing [2023-09-12T22:41:21.975Z] dd503eddfa2f: Preparing [2023-09-12T22:41:21.975Z] f6b126366029: Preparing [2023-09-12T22:41:21.975Z] f69adc5d86e1: Preparing [2023-09-12T22:41:21.975Z] 4693057ce236: Preparing [2023-09-12T22:41:21.975Z] 5237a249e008: Layer already exists [2023-09-12T22:41:21.975Z] dd503eddfa2f: Layer already exists [2023-09-12T22:41:21.975Z] f69adc5d86e1: Layer already exists [2023-09-12T22:41:21.975Z] 4693057ce236: Layer already exists [2023-09-12T22:41:21.975Z] f6b126366029: Layer already exists [2023-09-12T22:41:21.975Z] main: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:41:22.026Z] ===================================================== [Pipeline] echo [2023-09-12T22:41:22.034Z] taggedImages: [2023-09-12T22:41:22.034Z] - nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:41:22.034Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-12T22:41:22.034Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 [2023-09-12T22:41:22.034Z] - nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:41:22.034Z] - 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-12T22:41:22.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:22.400Z] [2023-09-12T22:41:22.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:22.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:22.704Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:41:22.704Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:41:22.704Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:41:22.704Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:41:22.704Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:41:22.704Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:41:22.704Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:41:22.704Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:41:22.704Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:41:22.704Z] 33b1e0a273af: Waiting [2023-09-12T22:41:22.704Z] 5d3b04190fa2: Waiting [2023-09-12T22:41:22.704Z] 2f39f015ded8: Waiting [2023-09-12T22:41:22.704Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:41:22.704Z] 5c69ac0246d0: Download complete [2023-09-12T22:41:22.704Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T22:41:22.704Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:41:22.972Z] 33b1e0a273af: Download complete [2023-09-12T22:41:22.972Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T22:41:22.972Z] 5d3b04190fa2: Download complete [2023-09-12T22:41:22.972Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:41:22.972Z] ec43610c2a17: Download complete [2023-09-12T22:41:22.972Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:41:22.972Z] 5eb5b503b376: Download complete [2023-09-12T22:41:23.908Z] 2f39f015ded8: Download complete [2023-09-12T22:41:24.167Z] 5eb5b503b376: Pull complete [2023-09-12T22:41:24.427Z] 5c69ac0246d0: Pull complete [2023-09-12T22:41:24.995Z] ec43610c2a17: Pull complete [2023-09-12T22:41:24.995Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:41:25.253Z] 33b1e0a273af: Pull complete [2023-09-12T22:41:25.253Z] 5d3b04190fa2: Pull complete [2023-09-12T22:41:30.537Z] 2f39f015ded8: Pull complete [2023-09-12T22:41:30.537Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:41:30.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:30.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:41:30.623Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:41:30.664Z] $ 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-12T22:41:36.160Z] $ docker top eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:41:36.549Z] ---> job-cost.sh [2023-09-12T22:41:36.549Z] lf-activate-venv: SKIPPING [2023-09-12T22:41:36.549Z] INFO: No Stack... [2023-09-12T22:41:36.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:41:37.375Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:41:37.660Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-12T22:41:37.661Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:41:37.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [2023-09-12T22:41:37.682Z] Resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] did not exist. Created. [2023-09-12T22:41:37.683Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:41:37.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:41:38.009Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:41:38.015Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:41:38.042Z] $ docker stop --time=1 eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 [2023-09-12T22:41:39.198Z] $ docker rm -f --volumes eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:41:44.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6043 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-12T22:41:44.460Z] Running in /w/workspace/device-rest-go/132 [Pipeline] { [Pipeline] checkout [2023-09-12T22:41:44.496Z] The recommended git tool is: git [2023-09-12T22:41:52.684Z] using credential edgex-jenkins-ssh [2023-09-12T22:41:52.716Z] Cloning the remote Git repository [2023-09-12T22:41:52.787Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T22:41:52.888Z] > git init /w/workspace/device-rest-go/132 # timeout=10 [2023-09-12T22:41:53.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T22:41:53.210Z] > git --version # timeout=10 [2023-09-12T22:41:53.319Z] > git --version # 'git version 2.25.1' [2023-09-12T22:41:53.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:41:57.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:41:59.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-12T22:41:59.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:42:00.627Z] Avoid second fetch [2023-09-12T22:42:00.627Z] Checking out Revision b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 (main) [2023-09-12T22:42:00.625Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:42:00.706Z] > git checkout -f b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 [2023-09-12T22:42:01.343Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:42:02.360Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:42:02.360Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:42:02.360Z] Dload Upload Total Spent Left Speed [2023-09-12T22:42:02.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-09-12T22:42:03.103Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:42:03.432Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:42:03.432Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:42:03.432Z] { [2023-09-12T22:42:03.432Z] "registry-mirrors": [ [2023-09-12T22:42:03.432Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:42:03.432Z] ], [2023-09-12T22:42:03.432Z] "bip": "10.250.0.254/24", [2023-09-12T22:42:03.432Z] "hosts": [ [2023-09-12T22:42:03.432Z] "tcp://0.0.0.0:5555", [2023-09-12T22:42:03.433Z] "unix:///var/run/docker.sock" [2023-09-12T22:42:03.433Z] ], [2023-09-12T22:42:03.433Z] "mtu": 1458, [2023-09-12T22:42:03.433Z] "selinux-enabled": true, [2023-09-12T22:42:03.433Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:42:03.433Z] } [Pipeline] sh [2023-09-12T22:42:03.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:42:04.108Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:42:22.384Z] provisioning config files... [2023-09-12T22:42:22.415Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/132@tmp/config16677803400260191997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:42:22.782Z] ---> docker-login.sh [2023-09-12T22:42:22.782Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:42:23.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:23.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:23.377Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:23.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:23.377Z] [2023-09-12T22:42:23.377Z] Login Succeeded [2023-09-12T22:42:23.377Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:42:23.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:23.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:23.922Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:23.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:23.922Z] [2023-09-12T22:42:23.922Z] Login Succeeded [2023-09-12T22:42:23.922Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:42:24.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:24.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:24.196Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:24.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:24.196Z] [2023-09-12T22:42:24.196Z] Login Succeeded [2023-09-12T22:42:24.196Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:42:24.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:24.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:24.739Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:24.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:24.739Z] [2023-09-12T22:42:24.739Z] Login Succeeded [2023-09-12T22:42:24.739Z] docker.io [2023-09-12T22:42:25.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:25.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:25.278Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:25.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:25.278Z] [2023-09-12T22:42:25.278Z] Login Succeeded [2023-09-12T22:42:25.278Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:42:25.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:42:25.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:42:25.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:42:25.613Z] ========================================================= [2023-09-12T22:42:25.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:42:25.613Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:42:25.967Z] + 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-12T22:42:25.967Z] Sending build context to Docker daemon 143.4kB [2023-09-12T22:42:26.239Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:42:26.239Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:42:26.510Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:42:26.510Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:42:26.510Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:42:26.510Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:42:26.510Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:42:26.510Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:42:26.510Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:42:26.510Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:42:26.510Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:42:26.510Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:42:26.510Z] 1baf3a5c0e64: Waiting [2023-09-12T22:42:26.510Z] 9a37bb91b891: Waiting [2023-09-12T22:42:26.510Z] a29adfc67d43: Waiting [2023-09-12T22:42:26.510Z] d5de9f91c1a4: Waiting [2023-09-12T22:42:26.510Z] f0e02332f6b5: Waiting [2023-09-12T22:42:26.510Z] 66412af1f25a: Waiting [2023-09-12T22:42:26.510Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:42:26.510Z] 5d54e960e981: Download complete [2023-09-12T22:42:26.510Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:42:26.510Z] f0e02332f6b5: Download complete [2023-09-12T22:42:26.510Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:42:26.510Z] 66412af1f25a: Download complete [2023-09-12T22:42:26.510Z] 9fda8d8052c6: Download complete [2023-09-12T22:42:27.105Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:42:27.105Z] 9a37bb91b891: Download complete [2023-09-12T22:42:27.708Z] 9fda8d8052c6: Pull complete [2023-09-12T22:42:27.708Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:42:27.708Z] a29adfc67d43: Download complete [2023-09-12T22:42:28.302Z] 5d54e960e981: Pull complete [2023-09-12T22:42:28.302Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:42:28.302Z] d5de9f91c1a4: Download complete [2023-09-12T22:42:28.571Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:42:28.571Z] c4a7e357bf2a: Download complete [2023-09-12T22:42:29.538Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:42:29.538Z] 1baf3a5c0e64: Download complete [2023-09-12T22:42:39.625Z] c4a7e357bf2a: Pull complete [2023-09-12T22:42:39.626Z] f0e02332f6b5: Pull complete [2023-09-12T22:42:39.626Z] 66412af1f25a: Pull complete [2023-09-12T22:42:44.982Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:42:45.947Z] 9a37bb91b891: Pull complete [2023-09-12T22:42:46.928Z] a29adfc67d43: Pull complete [2023-09-12T22:42:48.342Z] d5de9f91c1a4: Pull complete [2023-09-12T22:42:49.749Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:42:49.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:42:49.749Z] ---> 746ca1b523b5 [2023-09-12T22:42:49.749Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:42:51.699Z] ---> Running in 99f36e15e805 [2023-09-12T22:42:52.054Z] Removing intermediate container 99f36e15e805 [2023-09-12T22:42:52.054Z] ---> 5fe968aec0d5 [2023-09-12T22:42:52.054Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:42:52.054Z] ---> Running in e565e763d18c [2023-09-12T22:42:52.340Z] Removing intermediate container e565e763d18c [2023-09-12T22:42:52.340Z] ---> 753327ffbca1 [2023-09-12T22:42:52.340Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:42:52.340Z] ---> Running in feaad3be424e [2023-09-12T22:42:52.613Z] Removing intermediate container feaad3be424e [2023-09-12T22:42:52.613Z] ---> bdbcfded92a1 [2023-09-12T22:42:52.613Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:42:52.885Z] ---> Running in 383fce132b00 [2023-09-12T22:42:53.156Z] Removing intermediate container 383fce132b00 [2023-09-12T22:42:53.156Z] ---> fa02ef56a4f6 [2023-09-12T22:42:53.156Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:42:53.156Z] ---> Running in ab016b5352b3 [2023-09-12T22:42:54.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:42:54.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:42:55.983Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:42:55.983Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:42:55.983Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:42:55.983Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:42:55.983Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:42:55.983Z] OK: 272 MiB in 60 packages [2023-09-12T22:42:56.951Z] Removing intermediate container ab016b5352b3 [2023-09-12T22:42:56.951Z] ---> 0c364fd832aa [2023-09-12T22:42:56.951Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T22:42:56.951Z] ---> Running in 6762a704527b [2023-09-12T22:42:57.219Z] Removing intermediate container 6762a704527b [2023-09-12T22:42:57.219Z] ---> 3c34ec15e16c [2023-09-12T22:42:57.219Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:42:57.806Z] ---> b0fd4274d2ef [2023-09-12T22:42:57.806Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:42:57.806Z] ---> Running in 4bdb6b3e2fd9 [2023-09-12T22:44:05.686Z] Removing intermediate container 4bdb6b3e2fd9 [2023-09-12T22:44:05.686Z] ---> 50dc8033252f [2023-09-12T22:44:05.686Z] Step 11/12 : COPY . . [2023-09-12T22:44:05.686Z] ---> 9c5fd7f068ae [2023-09-12T22:44:05.686Z] Step 12/12 : RUN $MAKE [2023-09-12T22:44:05.686Z] ---> Running in 89e3c2467bd8 [2023-09-12T22:44:06.646Z] noop [2023-09-12T22:44:07.231Z] Removing intermediate container 89e3c2467bd8 [2023-09-12T22:44:07.231Z] ---> 033e46105356 [2023-09-12T22:44:07.231Z] Successfully built 033e46105356 [2023-09-12T22:44:07.231Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:44:07.594Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:44:07.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:44:07.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container [2023-09-12T22:44:07.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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-12T22:44:09.191Z] $ docker top 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:44:10.034Z] + go version [2023-09-12T22:44:10.034Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:44:10.071Z] $ docker stop --time=1 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e [2023-09-12T22:44:11.742Z] $ docker rm -f --volumes 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:44:12.301Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:44:12.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:44:12.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container [2023-09-12T22:44:12.582Z] $ 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/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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-12T22:44:13.801Z] $ docker top c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:44:14.634Z] + git config --global --add safe.directory /w/workspace/device-rest-go/132 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:44:14.970Z] + make test [2023-09-12T22:44:15.238Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:44:19.508Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T22:45:56.152Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T22:45:57.116Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements [2023-09-12T22:45:57.700Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:45:57.700Z] go vet ./... [2023-09-12T22:46:19.771Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:46:19.771Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:46:19.771Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:46:20.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:46:20.085Z] $ docker stop --time=1 c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 [2023-09-12T22:46:24.737Z] $ docker rm -f --volumes c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:46:25.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:46:25.977Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:46:26.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:46:26.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:46:27.175Z] + ls -al . [2023-09-12T22:46:27.175Z] total 184 [2023-09-12T22:46:27.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:44 . [2023-09-12T22:46:27.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:41 .. [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:42 .dockerignore [2023-09-12T22:46:27.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:42 .git [2023-09-12T22:46:27.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 .github [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:42 .gitignore [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:42 .golangci.yml [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:42 Attribution.txt [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:42 CHANGELOG.md [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:42 Dockerfile [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:42 GOVERNANCE.md [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:42 Jenkinsfile [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:42 LICENSE [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:42 Makefile [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:42 OWNERS.md [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:42 README.md [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 22:39 VERSION [2023-09-12T22:46:27.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:42 bin [2023-09-12T22:46:27.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 cmd [2023-09-12T22:46:27.175Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:45 coverage.out [2023-09-12T22:46:27.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:42 driver [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:42 go.mod [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:42 go.sum [2023-09-12T22:46:27.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:42 snap [2023-09-12T22:46:27.175Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:46:27.524Z] + 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 --label arch=arm64 --label version=3.1.0-dev.12 . [2023-09-12T22:46:27.524Z] Sending build context to Docker daemon 158.7kB [2023-09-12T22:46:27.791Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:46:27.792Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:46:27.792Z] ---> 033e46105356 [2023-09-12T22:46:27.792Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:46:27.792Z] ---> Running in f2b796636c66 [2023-09-12T22:46:28.059Z] Removing intermediate container f2b796636c66 [2023-09-12T22:46:28.059Z] ---> 3297a2ff79f8 [2023-09-12T22:46:28.334Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:46:28.334Z] ---> Running in fa6683c1039b [2023-09-12T22:46:28.602Z] Removing intermediate container fa6683c1039b [2023-09-12T22:46:28.602Z] ---> 1cdbe58d3296 [2023-09-12T22:46:28.602Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:46:28.602Z] ---> Running in f77c7c2b611b [2023-09-12T22:46:28.882Z] Removing intermediate container f77c7c2b611b [2023-09-12T22:46:28.882Z] ---> bfab38dc3e9b [2023-09-12T22:46:28.882Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:46:29.154Z] ---> Running in d56df7385c58 [2023-09-12T22:46:29.429Z] Removing intermediate container d56df7385c58 [2023-09-12T22:46:29.429Z] ---> e7d41eab88d8 [2023-09-12T22:46:29.429Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:46:29.429Z] ---> Running in abaf8f8e86f3 [2023-09-12T22:46:30.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:46:31.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:46:32.080Z] OK: 272 MiB in 60 packages [2023-09-12T22:46:33.059Z] Removing intermediate container abaf8f8e86f3 [2023-09-12T22:46:33.059Z] ---> 4e4a3c6f2b17 [2023-09-12T22:46:33.059Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T22:46:33.328Z] ---> Running in e6978cb44010 [2023-09-12T22:46:33.594Z] Removing intermediate container e6978cb44010 [2023-09-12T22:46:33.595Z] ---> 8eb45eb3c925 [2023-09-12T22:46:33.595Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:46:34.181Z] ---> b0a26b9c4a4f [2023-09-12T22:46:34.181Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:46:34.181Z] ---> Running in fe4ea9542f43 [2023-09-12T22:46:39.531Z] Removing intermediate container fe4ea9542f43 [2023-09-12T22:46:39.531Z] ---> 66dcb2f63672 [2023-09-12T22:46:39.531Z] Step 11/25 : COPY . . [2023-09-12T22:46:39.799Z] ---> ef35842f3797 [2023-09-12T22:46:39.799Z] Step 12/25 : RUN $MAKE [2023-09-12T22:46:39.799Z] ---> Running in 073f20c380a4 [2023-09-12T22:46:40.760Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T22:48:47.463Z] Removing intermediate container 073f20c380a4 [2023-09-12T22:48:47.463Z] ---> 81669a6ead07 [2023-09-12T22:48:47.463Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:48:47.463Z] 3.18: Pulling from library/alpine [2023-09-12T22:48:47.463Z] 9fda8d8052c6: Already exists [2023-09-12T22:48:47.464Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:48:47.464Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:48:47.464Z] ---> f6648c04cd6c [2023-09-12T22:48:47.464Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T22:48:47.464Z] ---> Running in 4592ab3d32f5 [2023-09-12T22:48:47.464Z] Removing intermediate container 4592ab3d32f5 [2023-09-12T22:48:47.464Z] ---> 56ddc1a2aaf5 [2023-09-12T22:48:47.464Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T22:48:47.464Z] ---> Running in b538bdc4a16a [2023-09-12T22:48:47.464Z] Removing intermediate container b538bdc4a16a [2023-09-12T22:48:47.464Z] ---> cebd12e5f85a [2023-09-12T22:48:47.464Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:48:47.464Z] ---> Running in a126c5803005 [2023-09-12T22:48:47.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:48:47.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:48:47.464Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:48:47.464Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:48:47.464Z] OK: 8 MiB in 16 packages [2023-09-12T22:48:47.464Z] Removing intermediate container a126c5803005 [2023-09-12T22:48:47.464Z] ---> de15f649b35a [2023-09-12T22:48:47.464Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T22:48:47.464Z] ---> 9cf7aa7dad09 [2023-09-12T22:48:47.464Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T22:48:47.464Z] ---> 4a70136440ff [2023-09-12T22:48:47.464Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T22:48:47.464Z] ---> 32a1401225ed [2023-09-12T22:48:47.464Z] Step 20/25 : EXPOSE 59986 [2023-09-12T22:48:47.464Z] ---> Running in 5c4cc51d08e3 [2023-09-12T22:48:47.464Z] Removing intermediate container 5c4cc51d08e3 [2023-09-12T22:48:47.464Z] ---> fb65bb9acd28 [2023-09-12T22:48:47.464Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T22:48:47.464Z] ---> Running in 756a766374e4 [2023-09-12T22:48:47.464Z] Removing intermediate container 756a766374e4 [2023-09-12T22:48:47.464Z] ---> cdefaca5ba43 [2023-09-12T22:48:47.464Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:48:47.464Z] ---> Running in e97eebd4a7fa [2023-09-12T22:48:47.464Z] Removing intermediate container e97eebd4a7fa [2023-09-12T22:48:47.464Z] ---> 14bc019d0b09 [2023-09-12T22:48:47.464Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T22:48:47.464Z] ---> Running in 2ca87a6204b3 [2023-09-12T22:48:47.464Z] Removing intermediate container 2ca87a6204b3 [2023-09-12T22:48:47.464Z] ---> f47334cbe41a [2023-09-12T22:48:47.464Z] Step 24/25 : LABEL git_sha=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:48:47.464Z] ---> Running in 7b059c1ca164 [2023-09-12T22:48:47.464Z] Removing intermediate container 7b059c1ca164 [2023-09-12T22:48:47.464Z] ---> 22b72f93c623 [2023-09-12T22:48:47.464Z] Step 25/25 : LABEL version=3.1.0-dev.12 [2023-09-12T22:48:47.464Z] ---> Running in db2521b4ead0 [2023-09-12T22:48:47.464Z] Removing intermediate container db2521b4ead0 [2023-09-12T22:48:47.464Z] ---> e6252f1df17b [2023-09-12T22:48:47.464Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:48:47.464Z] Successfully built e6252f1df17b [2023-09-12T22:48:47.464Z] 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-12T22:48:47.595Z] provisioning config files... [2023-09-12T22:48:47.609Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/132@tmp/config16143274029873694542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:48:47.942Z] ---> docker-login.sh [2023-09-12T22:48:47.942Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:48:47.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:48:48.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:48:48.210Z] Configure a credential helper to remove this warning. See [2023-09-12T22:48:48.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:48:48.210Z] [2023-09-12T22:48:48.210Z] Login Succeeded [2023-09-12T22:48:48.210Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:48:48.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:48:48.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:48:48.478Z] Configure a credential helper to remove this warning. See [2023-09-12T22:48:48.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:48:48.478Z] [2023-09-12T22:48:48.478Z] Login Succeeded [2023-09-12T22:48:48.478Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:48:48.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:48:49.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:48:49.013Z] Configure a credential helper to remove this warning. See [2023-09-12T22:48:49.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:48:49.013Z] [2023-09-12T22:48:49.013Z] Login Succeeded [2023-09-12T22:48:49.013Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:48:49.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:48:49.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:48:49.280Z] Configure a credential helper to remove this warning. See [2023-09-12T22:48:49.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:48:49.280Z] [2023-09-12T22:48:49.280Z] Login Succeeded [2023-09-12T22:48:49.280Z] docker.io [2023-09-12T22:48:49.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:48:49.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:48:49.812Z] Configure a credential helper to remove this warning. See [2023-09-12T22:48:49.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:48:49.812Z] [2023-09-12T22:48:49.812Z] Login Succeeded [2023-09-12T22:48:49.812Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:48:49.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:48:49.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:48:49.880Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-12T22:48:49.880Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:48:49.880Z] latest [2023-09-12T22:48:49.880Z] 3.1.0-dev.12 [2023-09-12T22:48:49.880Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:48:49.880Z] main [2023-09-12T22:48:49.880Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:50.236Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:50.583Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:48:50.583Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-12T22:48:50.583Z] 20a9df22738e: Preparing [2023-09-12T22:48:50.583Z] 3152f4639351: Preparing [2023-09-12T22:48:50.583Z] 4c6124f64742: Preparing [2023-09-12T22:48:50.583Z] 6934b2656d00: Preparing [2023-09-12T22:48:50.583Z] b2191e2be29d: Preparing [2023-09-12T22:48:50.583Z] b2191e2be29d: Layer already exists [2023-09-12T22:48:50.866Z] 20a9df22738e: Pushed [2023-09-12T22:48:50.866Z] 6934b2656d00: Pushed [2023-09-12T22:48:50.866Z] 3152f4639351: Pushed [2023-09-12T22:48:56.206Z] 4c6124f64742: Pushed [2023-09-12T22:48:56.206Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:56.551Z] + 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-12T22:48:56.890Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-12T22:48:56.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-12T22:48:56.890Z] 20a9df22738e: Preparing [2023-09-12T22:48:56.890Z] 3152f4639351: Preparing [2023-09-12T22:48:56.890Z] 4c6124f64742: Preparing [2023-09-12T22:48:56.890Z] 6934b2656d00: Preparing [2023-09-12T22:48:56.890Z] b2191e2be29d: Preparing [2023-09-12T22:48:56.890Z] 3152f4639351: Layer already exists [2023-09-12T22:48:56.890Z] b2191e2be29d: Layer already exists [2023-09-12T22:48:56.890Z] 6934b2656d00: Layer already exists [2023-09-12T22:48:56.890Z] 4c6124f64742: Layer already exists [2023-09-12T22:48:56.890Z] 20a9df22738e: Layer already exists [2023-09-12T22:48:56.890Z] latest: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:57.226Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:57.559Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 [2023-09-12T22:48:57.559Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-12T22:48:57.559Z] 20a9df22738e: Preparing [2023-09-12T22:48:57.559Z] 3152f4639351: Preparing [2023-09-12T22:48:57.559Z] 4c6124f64742: Preparing [2023-09-12T22:48:57.559Z] 6934b2656d00: Preparing [2023-09-12T22:48:57.559Z] b2191e2be29d: Preparing [2023-09-12T22:48:57.559Z] b2191e2be29d: Layer already exists [2023-09-12T22:48:57.559Z] 4c6124f64742: Layer already exists [2023-09-12T22:48:57.559Z] 6934b2656d00: Layer already exists [2023-09-12T22:48:57.559Z] 3152f4639351: Layer already exists [2023-09-12T22:48:57.559Z] 20a9df22738e: Layer already exists [2023-09-12T22:48:57.559Z] 3.1.0-dev.12: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:57.906Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:58.247Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:48:58.247Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-12T22:48:58.247Z] 20a9df22738e: Preparing [2023-09-12T22:48:58.247Z] 3152f4639351: Preparing [2023-09-12T22:48:58.247Z] 4c6124f64742: Preparing [2023-09-12T22:48:58.247Z] 6934b2656d00: Preparing [2023-09-12T22:48:58.247Z] b2191e2be29d: Preparing [2023-09-12T22:48:58.247Z] 20a9df22738e: Layer already exists [2023-09-12T22:48:58.247Z] 3152f4639351: Layer already exists [2023-09-12T22:48:58.247Z] 4c6124f64742: Layer already exists [2023-09-12T22:48:58.247Z] b2191e2be29d: Layer already exists [2023-09-12T22:48:58.247Z] 6934b2656d00: Layer already exists [2023-09-12T22:48:58.247Z] b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:48:58.645Z] + 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-12T22:48:59.014Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-12T22:48:59.014Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-12T22:48:59.014Z] 20a9df22738e: Preparing [2023-09-12T22:48:59.014Z] 3152f4639351: Preparing [2023-09-12T22:48:59.014Z] 4c6124f64742: Preparing [2023-09-12T22:48:59.014Z] 6934b2656d00: Preparing [2023-09-12T22:48:59.014Z] b2191e2be29d: Preparing [2023-09-12T22:48:59.014Z] b2191e2be29d: Layer already exists [2023-09-12T22:48:59.014Z] 4c6124f64742: Layer already exists [2023-09-12T22:48:59.014Z] 3152f4639351: Layer already exists [2023-09-12T22:48:59.014Z] 6934b2656d00: Layer already exists [2023-09-12T22:48:59.014Z] 20a9df22738e: Layer already exists [2023-09-12T22:48:59.014Z] main: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:48:59.332Z] ===================================================== [Pipeline] echo [2023-09-12T22:48:59.340Z] taggedImages: [2023-09-12T22:48:59.340Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [2023-09-12T22:48:59.340Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-12T22:48:59.340Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 [2023-09-12T22:48:59.340Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [2023-09-12T22:48:59.340Z] - 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-12T22:48:59.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:48:59.716Z] [2023-09-12T22:48:59.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:00.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:49:00.071Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:49:00.071Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:49:00.071Z] 04944245beec: Pulling fs layer [2023-09-12T22:49:00.071Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:49:00.071Z] 765212b225bb: Pulling fs layer [2023-09-12T22:49:00.071Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:49:00.071Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:49:00.071Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:49:00.071Z] 765212b225bb: Waiting [2023-09-12T22:49:00.071Z] f23df028b6ca: Waiting [2023-09-12T22:49:00.071Z] d65c8cfc05b1: Waiting [2023-09-12T22:49:00.071Z] 2437ff75d9bd: Waiting [2023-09-12T22:49:00.359Z] 04944245beec: Verifying Checksum [2023-09-12T22:49:00.359Z] 04944245beec: Download complete [2023-09-12T22:49:00.359Z] 765212b225bb: Verifying Checksum [2023-09-12T22:49:00.359Z] 765212b225bb: Download complete [2023-09-12T22:49:00.359Z] f23df028b6ca: Verifying Checksum [2023-09-12T22:49:00.359Z] f23df028b6ca: Download complete [2023-09-12T22:49:00.359Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:49:00.359Z] d65c8cfc05b1: Download complete [2023-09-12T22:49:00.359Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:49:00.359Z] 699f458cf7ca: Download complete [2023-09-12T22:49:00.986Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:49:00.986Z] 8998bd30e6a1: Download complete [2023-09-12T22:49:02.935Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:49:02.935Z] 2437ff75d9bd: Download complete [2023-09-12T22:49:04.877Z] 8998bd30e6a1: Pull complete [2023-09-12T22:49:06.816Z] 04944245beec: Pull complete [2023-09-12T22:49:08.225Z] 699f458cf7ca: Pull complete [2023-09-12T22:49:08.225Z] 765212b225bb: Pull complete [2023-09-12T22:49:09.186Z] f23df028b6ca: Pull complete [2023-09-12T22:49:09.186Z] d65c8cfc05b1: Pull complete [2023-09-12T22:49:24.181Z] 2437ff75d9bd: Pull complete [2023-09-12T22:49:24.181Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:49:24.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:49:24.181Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:49:24.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container [2023-09-12T22:49:24.485Z] $ 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/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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-12T22:49:27.214Z] $ docker top 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:49:28.041Z] ---> job-cost.sh [2023-09-12T22:49:28.041Z] lf-activate-venv: SKIPPING [2023-09-12T22:49:28.041Z] INFO: No Stack... [2023-09-12T22:49:28.306Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:49:29.266Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:49:29.901Z] + cat /w/workspace/device-rest-go/132/archives/cost.csv [2023-09-12T22:49:29.901Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:49:29.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [2023-09-12T22:49:29.967Z] Resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] did not exist. Created. [2023-09-12T22:49:29.967Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:49:30.619Z] /w/workspace/device-rest-go/132@tmp/durable-b23c5a07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:49:30.954Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:49:30.984Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:49:31.036Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:49:31.042Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:49:31.074Z] $ docker stop --time=1 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe [2023-09-12T22:49:34.084Z] $ docker rm -f --volumes 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe [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-12T22:49:34.533Z] provisioning config files... [2023-09-12T22:49:34.540Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4516564530106804852tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:49:34.831Z] + set +x [2023-09-12T22:49:34.831Z] + curl -s https://codecov.io/bash [2023-09-12T22:49:34.831Z] + bash -s -- [2023-09-12T22:49:34.831Z] [2023-09-12T22:49:34.831Z] _____ _ [2023-09-12T22:49:34.831Z] / ____| | | [2023-09-12T22:49:34.831Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:49:34.831Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:49:34.831Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:49:34.831Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:49:34.831Z] Bash-1.0.6 [2023-09-12T22:49:34.831Z] [2023-09-12T22:49:34.831Z] [2023-09-12T22:49:34.832Z] ==> git version 2.25.1 found [2023-09-12T22:49:34.832Z] ==> 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-12T22:49:34.832Z] Release-Date: 2020-01-08 [2023-09-12T22:49:34.832Z] 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-12T22:49:34.832Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:49:34.832Z] ==> Jenkins CI detected. [2023-09-12T22:49:34.832Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-12T22:49:34.832Z] project root: . [2023-09-12T22:49:34.832Z] --> token set from env [2023-09-12T22:49:34.832Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:49:34.832Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:49:34.832Z] ==> Python coveragepy not found [2023-09-12T22:49:34.832Z] ==> Searching for coverage reports in: [2023-09-12T22:49:34.832Z] + . [2023-09-12T22:49:34.832Z] -> Found 1 reports [2023-09-12T22:49:34.832Z] ==> Detecting git/mercurial file structure [2023-09-12T22:49:35.091Z] ==> Reading reports [2023-09-12T22:49:35.091Z] + ./coverage.out bytes=14499 [2023-09-12T22:49:35.091Z] ==> Appending adjustments [2023-09-12T22:49:35.091Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:49:35.091Z] + Found adjustments [2023-09-12T22:49:35.091Z] ==> Gzipping contents [2023-09-12T22:49:35.091Z] 4.0K /tmp/codecov.6U5O30.gz [2023-09-12T22:49:35.091Z] ==> Uploading reports [2023-09-12T22:49:35.091Z] url: https://codecov.io [2023-09-12T22:49:35.091Z] query: branch=main&commit=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:49:35.091Z] -> Pinging Codecov [2023-09-12T22:49:35.091Z] 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:49:35.091Z] -> Uploading to [2023-09-12T22:49:35.091Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/4E5D53B4F1F92C436F7061BF334D961C/b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29/149edde8-0731-44b4-83c2-9841a9a338db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T224935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcf7e2eebba694ae13ceaf68e50bed3230c86f35c60ef09cd65cef4e6726d457 [2023-09-12T22:49:35.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:49:35.091Z] Dload Upload Total Spent Left Speed [2023-09-12T22:49:35.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10934 --:--:-- --:--:-- --:--:-- 10886 100 2493 0 0 100 2493 0 10563 --:--:-- --:--:-- --:--:-- 10518 [2023-09-12T22:49:35.350Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } [2023-09-12T22:49:35.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T22:49:35.571Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T22:49:35.579Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:35.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:49:35.873Z] [2023-09-12T22:49:35.873Z] 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-12T22:49:36.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:49:36.176Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T22:49:36.176Z] df9b9388f04a: Pulling fs layer [2023-09-12T22:49:36.176Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T22:49:36.176Z] 25bc292e5bac: Pulling fs layer [2023-09-12T22:49:36.176Z] 114826534d7a: Pulling fs layer [2023-09-12T22:49:36.176Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T22:49:36.176Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T22:49:36.176Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T22:49:36.176Z] 8a3aa393b2d8: Waiting [2023-09-12T22:49:36.176Z] 4657fd5d0bcf: Waiting [2023-09-12T22:49:36.176Z] 6ad1cebc031e: Waiting [2023-09-12T22:49:36.176Z] 114826534d7a: Waiting [2023-09-12T22:49:36.176Z] 25bc292e5bac: Download complete [2023-09-12T22:49:36.176Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T22:49:36.176Z] 52dc419b0ee2: Download complete [2023-09-12T22:49:36.176Z] 4657fd5d0bcf: Download complete [2023-09-12T22:49:36.176Z] df9b9388f04a: Download complete [2023-09-12T22:49:36.453Z] df9b9388f04a: Pull complete [2023-09-12T22:49:36.453Z] 52dc419b0ee2: Pull complete [2023-09-12T22:49:36.453Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T22:49:36.453Z] 6ad1cebc031e: Download complete [2023-09-12T22:49:36.453Z] 25bc292e5bac: Pull complete [2023-09-12T22:49:37.021Z] 114826534d7a: Verifying Checksum [2023-09-12T22:49:37.021Z] 114826534d7a: Download complete [2023-09-12T22:49:37.279Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T22:49:37.279Z] 8a3aa393b2d8: Download complete [2023-09-12T22:49:40.558Z] 114826534d7a: Pull complete [2023-09-12T22:49:40.558Z] 4657fd5d0bcf: Pull complete [2023-09-12T22:49:41.126Z] 6ad1cebc031e: Pull complete [2023-09-12T22:49:43.654Z] 8a3aa393b2d8: Pull complete [2023-09-12T22:49:43.654Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T22:49:43.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:49:43.654Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:49:43.741Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:49:43.769Z] $ 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-12T22:49:49.976Z] $ docker top 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T22:49:50.060Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-12T22:49:50.337Z] + set -o pipefail [2023-09-12T22:49:50.337Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f9137b0b-76a0-4fa7-9516-7d394339d5af [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] [2023-09-12T22:49:55.607Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T22:49:55.607Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T22:49:55.607Z] More details here: https://snyk.co/ue1NS [2023-09-12T22:49:55.607Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T22:49:55.607Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T22:49:55.611Z] $ docker stop --time=1 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 [2023-09-12T22:50:00.003Z] $ docker rm -f --volumes 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 [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-12T22:50:00.755Z] + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] sh [2023-09-12T22:50:01.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:50:01.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:01.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:50:01.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:01.406Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:50:01.430Z] $ 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-12T22:50:01.909Z] $ docker top 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f -eo pid,comm [2023-09-12T22:50:01.967Z] 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-12T22:50:01.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:50:02.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:50:02.000Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:50:02.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:50:02.109Z] $ docker exec 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f ssh-agent [2023-09-12T22:50:02.236Z] SSH_AUTH_SOCK=/tmp/ssh-ilPWVejK7Ofk/agent.31 [2023-09-12T22:50:02.237Z] SSH_AGENT_PID=37 [2023-09-12T22:50:02.242Z] Running ssh-add (command line suppressed) [2023-09-12T22:50:02.336Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2912904065062724370.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2912904065062724370.key) [2023-09-12T22:50:02.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:50:02.645Z] + git semver tag [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,835 [run_tag] DEBUG tag force:False [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,836 [check_head_tag] DEBUG check head tag [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,837 [execute] INFO git cat-file --batch-check [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,841 [execute] INFO git cat-file --batch [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,854 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,854 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:50:02.903Z] 2023-09-12 22:50:02,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:02.903Z] 3.1.0-dev.12 [Pipeline] } [2023-09-12T22:50:02.905Z] $ docker exec --env ******** --env ******** 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f ssh-agent -k [2023-09-12T22:50:03.012Z] unset SSH_AUTH_SOCK; [2023-09-12T22:50:03.013Z] unset SSH_AGENT_PID; [2023-09-12T22:50:03.013Z] echo Agent pid 37 killed; [2023-09-12T22:50:03.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:50:03.326Z] + git semver [Pipeline] } [2023-09-12T22:50:03.590Z] $ docker stop --time=1 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f [2023-09-12T22:50:04.870Z] $ docker rm -f --volumes 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:05.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:05.277Z] [2023-09-12T22:50:05.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:05.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:05.607Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T22:50:05.607Z] ab5ef0e58194: Pulling fs layer [2023-09-12T22:50:05.607Z] 9712f1f96733: Pulling fs layer [2023-09-12T22:50:05.607Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T22:50:05.607Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T22:50:05.607Z] e9a5061849ea: Pulling fs layer [2023-09-12T22:50:05.607Z] d747dcd14b5f: Pulling fs layer [2023-09-12T22:50:05.607Z] 2de7ff778b66: Pulling fs layer [2023-09-12T22:50:05.607Z] e9a5061849ea: Waiting [2023-09-12T22:50:05.607Z] 0d9ebad4ef96: Waiting [2023-09-12T22:50:05.607Z] 2de7ff778b66: Waiting [2023-09-12T22:50:05.607Z] 9712f1f96733: Download complete [2023-09-12T22:50:06.174Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T22:50:06.174Z] 63f879dbbcfc: Download complete [2023-09-12T22:50:06.174Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T22:50:06.174Z] 0d9ebad4ef96: Download complete [2023-09-12T22:50:06.174Z] d747dcd14b5f: Download complete [2023-09-12T22:50:06.174Z] e9a5061849ea: Verifying Checksum [2023-09-12T22:50:06.174Z] e9a5061849ea: Download complete [2023-09-12T22:50:06.430Z] ab5ef0e58194: Verifying Checksum [2023-09-12T22:50:06.430Z] ab5ef0e58194: Download complete [2023-09-12T22:50:06.430Z] 2de7ff778b66: Verifying Checksum [2023-09-12T22:50:06.430Z] 2de7ff778b66: Download complete [2023-09-12T22:50:08.957Z] ab5ef0e58194: Pull complete [2023-09-12T22:50:08.957Z] 9712f1f96733: Pull complete [2023-09-12T22:50:09.889Z] 63f879dbbcfc: Pull complete [2023-09-12T22:50:14.074Z] 0d9ebad4ef96: Pull complete [2023-09-12T22:50:14.074Z] e9a5061849ea: Pull complete [2023-09-12T22:50:14.074Z] d747dcd14b5f: Pull complete [2023-09-12T22:50:15.012Z] 2de7ff778b66: Pull complete [2023-09-12T22:50:15.012Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T22:50:15.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:15.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:15.105Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:50:15.126Z] $ 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-12T22:50:22.116Z] $ docker top 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:50:22.194Z] provisioning config files... [2023-09-12T22:50:22.202Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10769218112588564379tmp [2023-09-12T22:50:22.212Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13491142571720779914tmp [2023-09-12T22:50:22.222Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2744667802102035669tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:50:22.240Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:22.525Z] ---> sigul-configuration.sh [2023-09-12T22:50:22.525Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:50:22.525Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:50:22.525Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:50:22.525Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:50:22.525Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:50:22.525Z] gpg: CAST5 encrypted data [2023-09-12T22:50:22.525Z] gpg: encrypted with 1 passphrase [2023-09-12T22:50:22.525Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:50:22.812Z] + mkdir /home/jenkins [2023-09-12T22:50:22.812Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:50:23.101Z] + 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-12T22:50:23.109Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:23.394Z] ---> sigul-install.sh [2023-09-12T22:50:23.395Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:50:23.678Z] + git tag --list [2023-09-12T22:50:23.678Z] v1.0.0 [2023-09-12T22:50:23.678Z] v1.1.0 [2023-09-12T22:50:23.678Z] v1.1.1 [2023-09-12T22:50:23.678Z] v1.1.2 [2023-09-12T22:50:23.678Z] v1.2.0 [2023-09-12T22:50:23.678Z] v1.2.1 [2023-09-12T22:50:23.678Z] v2.0.0 [2023-09-12T22:50:23.678Z] v2.1.0 [2023-09-12T22:50:23.678Z] v2.1.1 [2023-09-12T22:50:23.678Z] v2.2.0 [2023-09-12T22:50:23.678Z] v2.3.0 [2023-09-12T22:50:23.678Z] v3.0 [2023-09-12T22:50:23.678Z] v3.0.0 [2023-09-12T22:50:23.678Z] v3.1.0-dev.1 [2023-09-12T22:50:23.678Z] v3.1.0-dev.10 [2023-09-12T22:50:23.678Z] v3.1.0-dev.11 [2023-09-12T22:50:23.678Z] v3.1.0-dev.12 [2023-09-12T22:50:23.678Z] v3.1.0-dev.2 [2023-09-12T22:50:23.678Z] v3.1.0-dev.3 [2023-09-12T22:50:23.678Z] v3.1.0-dev.4 [2023-09-12T22:50:23.678Z] v3.1.0-dev.5 [2023-09-12T22:50:23.678Z] v3.1.0-dev.6 [2023-09-12T22:50:23.678Z] v3.1.0-dev.7 [2023-09-12T22:50:23.678Z] v3.1.0-dev.8 [2023-09-12T22:50:23.678Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T22:50:23.967Z] + lftools sign git-tag v3.1.0-dev.12 [2023-09-12T22:50:24.535Z] Signing Git tag with Sigul... [2023-09-12T22:50:24.535Z] Signing v3.1.0-dev.12 [Pipeline] echo [2023-09-12T22:50:24.802Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:25.082Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:50:25.088Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:50:25.101Z] $ docker stop --time=1 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b [2023-09-12T22:50:26.424Z] $ docker rm -f --volumes 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:50:26.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:50:26.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:27.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:50:27.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:27.245Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:50:27.269Z] $ 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-12T22:50:27.617Z] $ docker top 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a -eo pid,comm [2023-09-12T22:50:27.687Z] 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-12T22:50:27.687Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:50:27.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:50:27.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:50:27.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:50:27.837Z] $ docker exec 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a ssh-agent [2023-09-12T22:50:27.949Z] SSH_AUTH_SOCK=/tmp/ssh-8fupp3XzDLQW/agent.32 [2023-09-12T22:50:27.949Z] SSH_AGENT_PID=38 [2023-09-12T22:50:27.954Z] Running ssh-add (command line suppressed) [2023-09-12T22:50:28.048Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16651024312151115989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16651024312151115989.key) [2023-09-12T22:50:28.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:50:28.358Z] + git semver bump pre [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,526 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,526 [bump_version] DEBUG bumped version:3.1.0-dev.13 [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,526 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,528 [execute] INFO git cat-file --batch-check [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,528 [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-12T22:50:28.617Z] 2023-09-12 22:50:28,533 [execute] INFO git cat-file --batch [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:50:28.617Z] 2023-09-12 22:50:28,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:28.617Z] 3.1.0-dev.13 [Pipeline] } [2023-09-12T22:50:28.617Z] $ docker exec --env ******** --env ******** 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a ssh-agent -k [2023-09-12T22:50:28.708Z] unset SSH_AUTH_SOCK; [2023-09-12T22:50:28.709Z] unset SSH_AGENT_PID; [2023-09-12T22:50:28.709Z] echo Agent pid 38 killed; [2023-09-12T22:50:28.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:50:29.031Z] + git semver [Pipeline] } [2023-09-12T22:50:29.291Z] $ docker stop --time=1 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a [2023-09-12T22:50:30.546Z] $ docker rm -f --volumes 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:50:30.902Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:50:30.902Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:31.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:50:31.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:31.262Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:50:31.281Z] $ 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-12T22:50:31.606Z] $ docker top 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 -eo pid,comm [2023-09-12T22:50:31.662Z] 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-12T22:50:31.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:50:31.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:50:31.710Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:50:31.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:50:31.819Z] $ docker exec 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 ssh-agent [2023-09-12T22:50:31.931Z] SSH_AUTH_SOCK=/tmp/ssh-M3Ii8vU64jPM/agent.31 [2023-09-12T22:50:31.932Z] SSH_AGENT_PID=37 [2023-09-12T22:50:31.936Z] Running ssh-add (command line suppressed) [2023-09-12T22:50:32.019Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16388180768349619626.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16388180768349619626.key) [2023-09-12T22:50:32.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:50:32.329Z] + git semver push [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,495 [run_push] DEBUG push [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,495 [execute] INFO git cat-file --batch-check [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,495 [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-12T22:50:32.590Z] 2023-09-12 22:50:32,499 [execute] INFO git rev-list 646704557f0b63f8bb5ffabf7e34af5603928274 -- [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,499 [execute] DEBUG Popen(['git', 'rev-list', '646704557f0b63f8bb5ffabf7e34af5603928274', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,507 [execute] INFO git fetch -v origin [2023-09-12T22:50:32.590Z] 2023-09-12 22:50:32,508 [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-12T22:50:33.159Z] 2023-09-12 22:50:32,953 [run_push] DEBUG no remote changes detected [2023-09-12T22:50:33.159Z] 2023-09-12 22:50:32,954 [execute] INFO git push origin semver [2023-09-12T22:50:33.159Z] 2023-09-12 22:50:32,954 [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-12T22:50:33.730Z] 2023-09-12 22:50:33,682 [run_push] DEBUG push all version tags [2023-09-12T22:50:33.730Z] 2023-09-12 22:50:33,682 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:50:33.730Z] 2023-09-12 22:50:33,683 [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-12T22:50:34.673Z] 2023-09-12 22:50:34,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-12T22:50:34.673Z] 3.1.0-dev.13 [Pipeline] } [2023-09-12T22:50:34.674Z] $ docker exec --env ******** --env ******** 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 ssh-agent -k [2023-09-12T22:50:34.784Z] unset SSH_AUTH_SOCK; [2023-09-12T22:50:34.784Z] unset SSH_AGENT_PID; [2023-09-12T22:50:34.784Z] echo Agent pid 37 killed; [2023-09-12T22:50:34.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:50:35.110Z] + git semver [Pipeline] } [2023-09-12T22:50:35.373Z] $ docker stop --time=1 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 [2023-09-12T22:50:36.691Z] $ docker rm -f --volumes 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 [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-12T22:50:37.323Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-12T22:50:37.323Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-12T22:50:37.323Z] total 16 [2023-09-12T22:50:37.323Z] drwxr-xr-x 3 root root 4096 Sep 12 22:41 . [2023-09-12T22:50:37.323Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. [2023-09-12T22:50:37.323Z] drwxr-xr-x 2 root root 4096 Sep 12 22:41 cost [2023-09-12T22:50:37.323Z] -rw-r--r-- 1 root root 86 Sep 12 22:41 cost.csv [2023-09-12T22:50:37.323Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-12T22:50:37.323Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-12T22:50:37.323Z] total 16 [2023-09-12T22:50:37.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:41 . [2023-09-12T22:50:37.323Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. [2023-09-12T22:50:37.323Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:41 cost [2023-09-12T22:50:37.323Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 22:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:37.609Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:38.464Z] ---> package-listing.sh [2023-09-12T22:50:38.464Z] ++ facter osfamily [2023-09-12T22:50:38.464Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:50:38.722Z] + OS_FAMILY=debian [2023-09-12T22:50:38.722Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-12T22:50:38.722Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:50:38.722Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:50:38.722Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:50:38.722Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:50:38.722Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-12T22:50:38.722Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:50:38.722Z] + case "${OS_FAMILY}" in [2023-09-12T22:50:38.722Z] + dpkg -l [2023-09-12T22:50:38.722Z] + grep '^ii' [2023-09-12T22:50:38.722Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:50:38.722Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:50:38.722Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:50:38.722Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-12T22:50:38.722Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-12T22:50:38.722Z] + 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-12T22:50:38.732Z] 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-12T22:50:39.010Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:39.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:50:39.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:39.752Z] prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container [2023-09-12T22:50:39.872Z] $ 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-12T22:50:40.090Z] $ docker top 2cd8f12ac4ab16c3a406b4ea282eb03a37b3a23fc15f2e4571d230971562b0b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:50:40.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:50:40.726Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:50:41.009Z] + ls /var/log/sa-host [2023-09-12T22:50:41.010Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:50:41.156Z] provisioning config files... [2023-09-12T22:50:41.164Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17057009381458848388tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:50:41.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:41.461Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:50:41.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:41.816Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:50:41.824Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:42.106Z] ---> sudo-logs.sh [2023-09-12T22:50:42.107Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:50:42.140Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:42.424Z] ---> job-cost.sh [2023-09-12T22:50:42.424Z] lf-activate-venv: SKIPPING [2023-09-12T22:50:42.424Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:50:42.424Z] INFO: Retrieving Stack Cost... [2023-09-12T22:50:42.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:50:43.252Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:50:43.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:43.549Z] ---> logs-deploy.sh [2023-09-12T22:50:43.550Z] lf-activate-venv: SKIPPING [2023-09-12T22:50:43.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/132 [2023-09-12T22:50:43.550Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:50:44.486Z] Archives upload complete. [2023-09-12T22:50:44.486Z] INFO: archiving logs to Nexus