Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e4c43928dd74877e01497a451c4b89b2b600e8c 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-ssh13845557731861396183.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12000758311980149327.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh10435605124559448002.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9671920647162439456.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-ssh16869617857176462208.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 ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2460’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2488’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2632’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5106’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5115’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5118’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5120’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5045’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-5047’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-5048’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5128 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0e4c43928dd74877e01497a451c4b89b2b600e8c (main) Commit message: "build: Update to latest 3.2.0 dev go-mods (#369)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 > git rev-list --no-walk 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T20:29:22.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T20:29:22.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T20:29:22.466Z] ========================================================= [2023-11-28T20:29:22.466Z] EdgeX Global Pipelines Version Info [2023-11-28T20:29:22.466Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:29:23.201Z] ------------------- [2023-11-28T20:29:23.201Z] stable info: [2023-11-28T20:29:23.201Z] ------------------- [2023-11-28T20:29:23.201Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T20:29:23.201Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T20:29:23.201Z] Message: update stable to v1.0.258 [2023-11-28T20:29:23.774Z] ------------------- [2023-11-28T20:29:23.774Z] experimental info: [2023-11-28T20:29:23.774Z] ------------------- [2023-11-28T20:29:23.774Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T20:29:23.774Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T20:29:23.774Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T20:29:23.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-28T20:29:23.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-28T20:29:23.919Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T20:29:23.945Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T20:29:23.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T20:29:23.995Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T20:29:24.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T20:29:24.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T20:29:24.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T20:29:24.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T20:29:24.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T20:29:24.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-28T20:29:24.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T20:29:24.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T20:29:24.284Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T20:29:24.321Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T20:29:24.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T20:29:24.401Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T20:29:24.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T20:29:24.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T20:29:24.509Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T20:29:24.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T20:29:24.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T20:29:24.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T20:29:24.661Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T20:29:24.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T20:29:24.737Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T20:29:24.776Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-28T20:29:24.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-28T20:29:24.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-28T20:29:24.897Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo [2023-11-28T20:29:24.943Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e4c439 [Pipeline] echo [2023-11-28T20:29:24.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:29:25.068Z] provisioning config files... [2023-11-28T20:29:25.084Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3411848502008843137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:29:25.658Z] ---> ****-login.sh [2023-11-28T20:29:25.658Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:29:26.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:26.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:26.227Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:26.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:26.227Z] [2023-11-28T20:29:26.227Z] Login Succeeded [2023-11-28T20:29:26.227Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:29:26.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:26.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:26.227Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:26.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:26.227Z] [2023-11-28T20:29:26.227Z] Login Succeeded [2023-11-28T20:29:26.227Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:29:26.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:26.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:26.508Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:26.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:26.508Z] [2023-11-28T20:29:26.508Z] Login Succeeded [2023-11-28T20:29:26.508Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:29:26.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:26.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:26.508Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:26.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:26.508Z] [2023-11-28T20:29:26.508Z] Login Succeeded [2023-11-28T20:29:26.508Z] ****.io [2023-11-28T20:29:26.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:26.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:26.769Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:26.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:26.769Z] [2023-11-28T20:29:26.769Z] Login Succeeded [2023-11-28T20:29:26.769Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:29:26.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T20:29:27.292Z] + git rev-list -1 --merges 0e4c43928dd74877e01497a451c4b89b2b600e8c~1..0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo [2023-11-28T20:29:27.318Z] -----------> git rev-list -1 --merges 0e4c43928dd74877e01497a451c4b89b2b600e8c~1..0e4c43928dd74877e01497a451c4b89b2b600e8c 0e4c43928dd74877e01497a451c4b89b2b600e8c [false] [Pipeline] sh [2023-11-28T20:29:27.621Z] + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo [2023-11-28T20:29:27.634Z] ========================================================= [2023-11-28T20:29:27.634Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T20:29:27.634Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:29:28.004Z] + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo [2023-11-28T20:29:28.017Z] [semverPrep] GIT_COMMIT: 0e4c43928dd74877e01497a451c4b89b2b600e8c, Commit Message: build: Update to latest 3.2.0 dev go-mods (#369) [Pipeline] echo [2023-11-28T20:29:28.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T20:29:28.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T20:29:28.425Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T20:29:28.425Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T20:29:28.425Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T20:29:28.425Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T20:29:28.425Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T20:29:28.425Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:29:28.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:29:28.801Z] [2023-11-28T20:29:28.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:29:29.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:29:29.198Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T20:29:29.198Z] b85a868b505f: Pulling fs layer [2023-11-28T20:29:29.198Z] e2be974225ed: Pulling fs layer [2023-11-28T20:29:29.198Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T20:29:29.198Z] 988bab9f4d93: Pulling fs layer [2023-11-28T20:29:29.198Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T20:29:29.198Z] eaf3925da568: Pulling fs layer [2023-11-28T20:29:29.198Z] bab4dde63d76: Pulling fs layer [2023-11-28T20:29:29.198Z] bde34c3a00c8: Pulling fs layer [2023-11-28T20:29:29.198Z] b352a97aabf1: Pulling fs layer [2023-11-28T20:29:29.198Z] 4872d77fe225: Pulling fs layer [2023-11-28T20:29:29.198Z] 5851b861e8e6: Pulling fs layer [2023-11-28T20:29:29.198Z] bab4dde63d76: Waiting [2023-11-28T20:29:29.198Z] bde34c3a00c8: Waiting [2023-11-28T20:29:29.198Z] b352a97aabf1: Waiting [2023-11-28T20:29:29.198Z] 4872d77fe225: Waiting [2023-11-28T20:29:29.198Z] 5851b861e8e6: Waiting [2023-11-28T20:29:29.198Z] 988bab9f4d93: Waiting [2023-11-28T20:29:29.198Z] 1469e6f7b9e6: Waiting [2023-11-28T20:29:29.198Z] eaf3925da568: Waiting [2023-11-28T20:29:29.198Z] e2be974225ed: Verifying Checksum [2023-11-28T20:29:29.198Z] e2be974225ed: Download complete [2023-11-28T20:29:29.198Z] 988bab9f4d93: Verifying Checksum [2023-11-28T20:29:29.198Z] 988bab9f4d93: Download complete [2023-11-28T20:29:29.198Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T20:29:29.198Z] 1469e6f7b9e6: Download complete [2023-11-28T20:29:29.198Z] eaf3925da568: Verifying Checksum [2023-11-28T20:29:29.198Z] eaf3925da568: Download complete [2023-11-28T20:29:29.456Z] 339a4e72a1f5: Download complete [2023-11-28T20:29:29.456Z] b352a97aabf1: Verifying Checksum [2023-11-28T20:29:29.456Z] b352a97aabf1: Download complete [2023-11-28T20:29:29.456Z] 4872d77fe225: Verifying Checksum [2023-11-28T20:29:29.456Z] 4872d77fe225: Download complete [2023-11-28T20:29:29.456Z] 5851b861e8e6: Download complete [2023-11-28T20:29:29.456Z] b85a868b505f: Verifying Checksum [2023-11-28T20:29:29.456Z] b85a868b505f: Download complete [2023-11-28T20:29:29.715Z] bab4dde63d76: Verifying Checksum [2023-11-28T20:29:29.715Z] bab4dde63d76: Download complete [2023-11-28T20:29:31.091Z] b85a868b505f: Pull complete [2023-11-28T20:29:31.091Z] e2be974225ed: Pull complete [2023-11-28T20:29:31.350Z] 339a4e72a1f5: Pull complete [2023-11-28T20:29:31.608Z] 988bab9f4d93: Pull complete [2023-11-28T20:29:31.866Z] 1469e6f7b9e6: Pull complete [2023-11-28T20:29:31.866Z] eaf3925da568: Pull complete [2023-11-28T20:29:33.769Z] bab4dde63d76: Pull complete [2023-11-28T20:29:33.769Z] bde34c3a00c8: Pull complete [2023-11-28T20:29:34.028Z] b352a97aabf1: Pull complete [2023-11-28T20:29:34.028Z] 4872d77fe225: Pull complete [2023-11-28T20:29:34.028Z] 5851b861e8e6: Pull complete [2023-11-28T20:29:34.289Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T20:29:34.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:29:34.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:29:34.484Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T20:29:34.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T20:29:37.123Z] $ docker top 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 -eo pid,comm [2023-11-28T20:29:37.183Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-28T20:29:37.183Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T20:29:37.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T20:29:37.278Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T20:29:37.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T20:29:37.399Z] $ docker exec 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent [2023-11-28T20:29:37.498Z] SSH_AUTH_SOCK=/tmp/ssh-OOQW0KVtmH2k/agent.32 [2023-11-28T20:29:37.498Z] SSH_AGENT_PID=38 [2023-11-28T20:29:37.503Z] Running ssh-add (command line suppressed) [2023-11-28T20:29:37.593Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12614981914698775692.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12614981914698775692.key) [2023-11-28T20:29:37.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T20:29:37.914Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T20:29:37.922Z] $ docker exec --env ******** --env ******** 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent -k [2023-11-28T20:29:38.026Z] unset SSH_AUTH_SOCK; [2023-11-28T20:29:38.027Z] unset SSH_AGENT_PID; [2023-11-28T20:29:38.027Z] echo Agent pid 38 killed; [2023-11-28T20:29:38.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T20:29:38.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T20:29:38.110Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T20:29:38.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T20:29:38.222Z] $ docker exec 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent [2023-11-28T20:29:38.332Z] SSH_AUTH_SOCK=/tmp/ssh-d74AmxnDBM86/agent.70 [2023-11-28T20:29:38.332Z] SSH_AGENT_PID=76 [2023-11-28T20:29:38.336Z] Running ssh-add (command line suppressed) [2023-11-28T20:29:38.451Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10510878912144713280.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10510878912144713280.key) [2023-11-28T20:29:38.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T20:29:38.775Z] + git semver init [2023-11-28T20:29:39.034Z] 2023-11-28 20:29:38,922 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T20:29:39.034Z] 2023-11-28 20:29:38,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-28T20:29:39.034Z] 2023-11-28 20:29:38,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-28T20:29:39.034Z] 2023-11-28 20:29:38,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-28T20:29:40.978Z] 2023-11-28 20:29:40,533 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-28T20:29:40.978Z] 2023-11-28 20:29:40,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-28T20:29:40.978Z] 2023-11-28 20:29:40,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T20:29:40.978Z] 2023-11-28 20:29:40,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T20:29:40.978Z] 3.2.0-dev.1 [Pipeline] } [2023-11-28T20:29:40.985Z] $ docker exec --env ******** --env ******** 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent -k [2023-11-28T20:29:41.089Z] unset SSH_AUTH_SOCK; [2023-11-28T20:29:41.090Z] unset SSH_AGENT_PID; [2023-11-28T20:29:41.090Z] echo Agent pid 76 killed; [2023-11-28T20:29:41.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T20:29:41.477Z] + git semver [Pipeline] } [2023-11-28T20:29:41.746Z] $ docker stop --time=1 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 [2023-11-28T20:29:43.450Z] $ docker rm -f --volumes 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:29:43.852Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T20:29:44.147Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T20:29:44.150Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:29:44.550Z] provisioning config files... [2023-11-28T20:29:44.559Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18064849214838827860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:29:44.887Z] ---> ****-login.sh [2023-11-28T20:29:44.887Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:29:44.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:44.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:44.887Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:44.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:44.887Z] [2023-11-28T20:29:44.887Z] Login Succeeded [2023-11-28T20:29:44.887Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:29:44.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:44.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:44.887Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:44.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:44.887Z] [2023-11-28T20:29:44.887Z] Login Succeeded [2023-11-28T20:29:44.887Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:29:45.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:45.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:45.146Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:45.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:45.146Z] [2023-11-28T20:29:45.146Z] Login Succeeded [2023-11-28T20:29:45.146Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:29:45.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:45.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:45.146Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:45.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:45.146Z] [2023-11-28T20:29:45.146Z] Login Succeeded [2023-11-28T20:29:45.405Z] ****.io [2023-11-28T20:29:45.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:29:45.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:29:45.665Z] Configure a credential helper to remove this warning. See [2023-11-28T20:29:45.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:29:45.665Z] [2023-11-28T20:29:45.665Z] Login Succeeded [2023-11-28T20:29:45.665Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:29:45.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T20:29:45.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:29:45.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:29:45.910Z] ========================================================= [2023-11-28T20:29:45.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T20:29:45.910Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:29:46.312Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T20:29:46.312Z] Sending build context to Docker daemon 16.34MB [2023-11-28T20:29:46.312Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:29:46.312Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T20:29:46.312Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T20:29:46.312Z] 7264a8db6415: Pulling fs layer [2023-11-28T20:29:46.312Z] c4d48a809fc2: Pulling fs layer [2023-11-28T20:29:46.312Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T20:29:46.312Z] ad3a456e5733: Pulling fs layer [2023-11-28T20:29:46.312Z] 69c7f0334f64: Pulling fs layer [2023-11-28T20:29:46.312Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T20:29:46.312Z] ce7588e14bc9: Pulling fs layer [2023-11-28T20:29:46.312Z] 69c7f0334f64: Waiting [2023-11-28T20:29:46.312Z] ad3a456e5733: Waiting [2023-11-28T20:29:46.312Z] 1f1c1a5573a3: Waiting [2023-11-28T20:29:46.312Z] b5e4710f87ac: Pulling fs layer [2023-11-28T20:29:46.312Z] ce7588e14bc9: Waiting [2023-11-28T20:29:46.572Z] c4d48a809fc2: Verifying Checksum [2023-11-28T20:29:46.572Z] c4d48a809fc2: Download complete [2023-11-28T20:29:46.572Z] ad3a456e5733: Verifying Checksum [2023-11-28T20:29:46.572Z] ad3a456e5733: Download complete [2023-11-28T20:29:46.572Z] 69c7f0334f64: Verifying Checksum [2023-11-28T20:29:46.572Z] 69c7f0334f64: Download complete [2023-11-28T20:29:46.572Z] 7264a8db6415: Download complete [2023-11-28T20:29:46.572Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T20:29:46.572Z] 1f1c1a5573a3: Download complete [2023-11-28T20:29:46.572Z] 7264a8db6415: Pull complete [2023-11-28T20:29:46.829Z] b5e4710f87ac: Verifying Checksum [2023-11-28T20:29:46.829Z] c4d48a809fc2: Pull complete [2023-11-28T20:29:46.829Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T20:29:46.829Z] 4f1c88b9dad5: Download complete [2023-11-28T20:29:47.393Z] ce7588e14bc9: Verifying Checksum [2023-11-28T20:29:47.393Z] ce7588e14bc9: Download complete [2023-11-28T20:29:50.681Z] 4f1c88b9dad5: Pull complete [2023-11-28T20:29:50.681Z] ad3a456e5733: Pull complete [2023-11-28T20:29:50.681Z] 69c7f0334f64: Pull complete [2023-11-28T20:29:50.681Z] 1f1c1a5573a3: Pull complete [2023-11-28T20:29:52.589Z] ce7588e14bc9: Pull complete [2023-11-28T20:29:53.155Z] b5e4710f87ac: Pull complete [2023-11-28T20:29:53.155Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T20:29:53.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T20:29:53.155Z] ---> 88b5674ff536 [2023-11-28T20:29:53.155Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:29:56.544Z] ---> Running in 395f4de96f1b [2023-11-28T20:29:56.804Z] Removing intermediate container 395f4de96f1b [2023-11-28T20:29:56.804Z] ---> 6afdb4a3eef1 [2023-11-28T20:29:56.804Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:29:56.804Z] ---> Running in 8f3d8305f977 [2023-11-28T20:29:56.804Z] Removing intermediate container 8f3d8305f977 [2023-11-28T20:29:56.804Z] ---> 3a9632ac4b28 [2023-11-28T20:29:56.804Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:29:56.804Z] ---> Running in d5c0ec4d353c [2023-11-28T20:29:57.066Z] Removing intermediate container d5c0ec4d353c [2023-11-28T20:29:57.066Z] ---> 7a13ba2145ac [2023-11-28T20:29:57.066Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:29:57.066Z] ---> Running in 960b69c2b96c [2023-11-28T20:29:57.066Z] Removing intermediate container 960b69c2b96c [2023-11-28T20:29:57.066Z] ---> 1fb1bde3dcf2 [2023-11-28T20:29:57.066Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:29:57.066Z] ---> Running in 5190742d9904 [2023-11-28T20:29:57.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:29:57.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:29:57.837Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T20:29:57.837Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T20:29:57.837Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T20:29:57.837Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T20:29:57.837Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:29:57.837Z] OK: 268 MiB in 56 packages [2023-11-28T20:29:58.779Z] Removing intermediate container 5190742d9904 [2023-11-28T20:29:58.779Z] ---> 78d797afd20a [2023-11-28T20:29:58.779Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T20:29:58.779Z] ---> Running in 0722dbd7a66a [2023-11-28T20:29:58.779Z] Removing intermediate container 0722dbd7a66a [2023-11-28T20:29:58.779Z] ---> 8e21b850bd15 [2023-11-28T20:29:58.779Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T20:29:58.779Z] ---> 401a4aa8e32f [2023-11-28T20:29:58.779Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:29:58.779Z] ---> Running in 80afcd97c469 [2023-11-28T20:29:59.459Z] Still waiting to schedule task [2023-11-28T20:29:59.459Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-28T20:30:37.526Z] Removing intermediate container 80afcd97c469 [2023-11-28T20:30:37.526Z] ---> 73da7a85c00f [2023-11-28T20:30:37.526Z] Step 11/12 : COPY . . [2023-11-28T20:30:37.526Z] ---> 558ef6d3ff5b [2023-11-28T20:30:37.526Z] Step 12/12 : RUN $MAKE [2023-11-28T20:30:37.526Z] ---> Running in 84129a13a8e8 [2023-11-28T20:30:37.526Z] noop [2023-11-28T20:30:37.526Z] Removing intermediate container 84129a13a8e8 [2023-11-28T20:30:37.526Z] ---> f9851f8799ae [2023-11-28T20:30:37.526Z] Successfully built f9851f8799ae [2023-11-28T20:30:37.526Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:30:37.902Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T20:30:37.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:30:38.016Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T20:30:38.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T20:30:38.387Z] $ docker top 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:30:38.770Z] + go version [2023-11-28T20:30:38.770Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T20:30:38.784Z] $ docker stop --time=1 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e [2023-11-28T20:30:40.026Z] $ docker rm -f --volumes 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:30:40.635Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T20:30:40.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:30:40.748Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T20:30:40.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T20:30:41.095Z] $ docker top a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:30:41.480Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-28T20:30:41.792Z] + make test [2023-11-28T20:30:41.792Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T20:30:43.194Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T20:30:52.102Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T20:30:52.102Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2023-11-28T20:30:58.652Z] go vet ./... [2023-11-28T20:31:01.179Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T20:31:01.179Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T20:31:01.179Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T20:31:01.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T20:31:01.231Z] $ docker stop --time=1 a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 [2023-11-28T20:31:03.966Z] $ docker rm -f --volumes a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:31:04.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T20:31:04.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T20:31:05.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T20:31:05.342Z] + ls -al . [2023-11-28T20:31:05.342Z] total 180 [2023-11-28T20:31:05.342Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:30 . [2023-11-28T20:31:05.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:29 .. [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 20:29 .dockerignore [2023-11-28T20:31:05.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:30 .git [2023-11-28T20:31:05.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 .github [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:29 .gitignore [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:29 .golangci.yml [2023-11-28T20:31:05.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:29 .semver [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 20:29 Attribution.txt [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 20:29 CHANGELOG.md [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 20:29 Dockerfile [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:29 GOVERNANCE.md [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 20:29 Jenkinsfile [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:29 LICENSE [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 20:29 Makefile [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:29 OWNERS.md [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 20:29 README.md [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION [2023-11-28T20:31:05.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:29 bin [2023-11-28T20:31:05.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 cmd [2023-11-28T20:31:05.342Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:30 coverage.out [2023-11-28T20:31:05.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:29 driver [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 20:29 go.mod [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:29 go.sum [2023-11-28T20:31:05.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 openapi [2023-11-28T20:31:05.342Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:05.692Z] + 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=0e4c43928dd74877e01497a451c4b89b2b600e8c --label arch=amd64 --label version=3.2.0-dev.1 . [2023-11-28T20:31:05.692Z] Sending build context to Docker daemon 16.36MB [2023-11-28T20:31:05.692Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:31:05.692Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T20:31:05.692Z] ---> f9851f8799ae [2023-11-28T20:31:05.692Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:31:05.950Z] ---> Running in 867ef00f7d1e [2023-11-28T20:31:05.950Z] Removing intermediate container 867ef00f7d1e [2023-11-28T20:31:05.950Z] ---> d5ffe247e17b [2023-11-28T20:31:05.950Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:31:05.950Z] ---> Running in cc3bac0deed5 [2023-11-28T20:31:05.950Z] Removing intermediate container cc3bac0deed5 [2023-11-28T20:31:05.950Z] ---> f06bdc49bd10 [2023-11-28T20:31:05.950Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:31:05.950Z] ---> Running in 934e2f58a96a [2023-11-28T20:31:06.208Z] Removing intermediate container 934e2f58a96a [2023-11-28T20:31:06.208Z] ---> 2f3610557304 [2023-11-28T20:31:06.208Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:31:06.208Z] ---> Running in da84c4ee9797 [2023-11-28T20:31:06.466Z] Removing intermediate container da84c4ee9797 [2023-11-28T20:31:06.466Z] ---> 3554fd315f06 [2023-11-28T20:31:06.466Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:31:06.466Z] ---> Running in 6ebf8ccc9f14 [2023-11-28T20:31:06.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:07.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:07.005Z] OK: 268 MiB in 56 packages [2023-11-28T20:31:07.573Z] Removing intermediate container 6ebf8ccc9f14 [2023-11-28T20:31:07.573Z] ---> 5ca7d693d9d0 [2023-11-28T20:31:07.573Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T20:31:07.573Z] ---> Running in f43d36aed4ad [2023-11-28T20:31:07.573Z] Removing intermediate container f43d36aed4ad [2023-11-28T20:31:07.573Z] ---> df799be00b02 [2023-11-28T20:31:07.573Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T20:31:07.573Z] ---> d05ee488d7d9 [2023-11-28T20:31:07.573Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:31:07.573Z] ---> Running in 0bc98bcd4fb9 [2023-11-28T20:31:08.508Z] Removing intermediate container 0bc98bcd4fb9 [2023-11-28T20:31:08.508Z] ---> 328eb8444bfb [2023-11-28T20:31:08.508Z] Step 11/26 : COPY . . [2023-11-28T20:31:09.074Z] ---> 1e063ca56ff3 [2023-11-28T20:31:09.074Z] Step 12/26 : RUN $MAKE [2023-11-28T20:31:09.074Z] ---> Running in 462824a84d35 [2023-11-28T20:31:09.333Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T20:31:27.415Z] Removing intermediate container 462824a84d35 [2023-11-28T20:31:27.415Z] ---> f04c87d328e3 [2023-11-28T20:31:27.415Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T20:31:28.348Z] 3.18: Pulling from library/alpine [2023-11-28T20:31:28.348Z] 96526aa774ef: Pulling fs layer [2023-11-28T20:31:28.606Z] 96526aa774ef: Verifying Checksum [2023-11-28T20:31:28.606Z] 96526aa774ef: Download complete [2023-11-28T20:31:28.606Z] 96526aa774ef: Pull complete [2023-11-28T20:31:28.606Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T20:31:28.606Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T20:31:28.606Z] ---> 8ca4688f4f35 [2023-11-28T20:31:28.606Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T20:31:28.864Z] ---> Running in 946c33af2132 [2023-11-28T20:31:28.864Z] Removing intermediate container 946c33af2132 [2023-11-28T20:31:28.864Z] ---> a7cb23bcdb18 [2023-11-28T20:31:28.864Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T20:31:28.864Z] ---> Running in ca2aaa4274a0 [2023-11-28T20:31:28.864Z] Removing intermediate container ca2aaa4274a0 [2023-11-28T20:31:28.864Z] ---> 7b8a0b28bdef [2023-11-28T20:31:28.864Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T20:31:29.122Z] ---> Running in 30397850dcf3 [2023-11-28T20:31:29.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:29.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:29.640Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T20:31:29.640Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T20:31:29.640Z] OK: 7 MiB in 16 packages [2023-11-28T20:31:29.899Z] Removing intermediate container 30397850dcf3 [2023-11-28T20:31:29.899Z] ---> 9f6516fcef8c [2023-11-28T20:31:29.899Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T20:31:29.899Z] ---> Running in 57d43a225841 [2023-11-28T20:31:30.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:30.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:31:30.416Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:31:30.416Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:31:30.416Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T20:31:30.416Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:31:30.416Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:31:30.416Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:31:30.416Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:31:30.416Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:31:30.416Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:31:30.416Z] OK: 7 MiB in 16 packages [2023-11-28T20:31:30.983Z] Removing intermediate container 57d43a225841 [2023-11-28T20:31:30.983Z] ---> 952660981271 [2023-11-28T20:31:30.983Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T20:31:31.919Z] ---> 8fb94d17985f [2023-11-28T20:31:31.919Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T20:31:31.919Z] ---> 46d514133b2a [2023-11-28T20:31:31.919Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T20:31:31.919Z] ---> 91137b52fa1c [2023-11-28T20:31:31.919Z] Step 21/26 : EXPOSE 59986 [2023-11-28T20:31:32.180Z] ---> Running in 4c0f80d6d67e [2023-11-28T20:31:32.180Z] Removing intermediate container 4c0f80d6d67e [2023-11-28T20:31:32.180Z] ---> 80e6e8ca1283 [2023-11-28T20:31:32.180Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T20:31:32.180Z] ---> Running in 936a61eecc45 [2023-11-28T20:31:32.180Z] Removing intermediate container 936a61eecc45 [2023-11-28T20:31:32.180Z] ---> 966ec330b4d3 [2023-11-28T20:31:32.180Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T20:31:32.180Z] ---> Running in 79cf1ae04e94 [2023-11-28T20:31:32.180Z] Removing intermediate container 79cf1ae04e94 [2023-11-28T20:31:32.180Z] ---> 2c4073d67ff8 [2023-11-28T20:31:32.180Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T20:31:32.180Z] ---> Running in 44d3529f222d [2023-11-28T20:31:32.439Z] Removing intermediate container 44d3529f222d [2023-11-28T20:31:32.439Z] ---> 836776259567 [2023-11-28T20:31:32.439Z] Step 25/26 : LABEL git_sha=0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T20:31:32.439Z] ---> Running in 5f72b4f554b1 [2023-11-28T20:31:32.439Z] Removing intermediate container 5f72b4f554b1 [2023-11-28T20:31:32.439Z] ---> abed22dbc627 [2023-11-28T20:31:32.439Z] Step 26/26 : LABEL version=3.2.0-dev.1 [2023-11-28T20:31:32.439Z] ---> Running in 773ccd507b7b [2023-11-28T20:31:32.439Z] Removing intermediate container 773ccd507b7b [2023-11-28T20:31:32.439Z] ---> bfbdd6820560 [2023-11-28T20:31:32.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T20:31:32.439Z] Successfully built bfbdd6820560 [2023-11-28T20:31:32.439Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:31:32.684Z] provisioning config files... [2023-11-28T20:31:32.693Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14423356092966740345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:31:33.024Z] ---> ****-login.sh [2023-11-28T20:31:33.024Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:31:33.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:31:33.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:31:33.024Z] Configure a credential helper to remove this warning. See [2023-11-28T20:31:33.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:31:33.024Z] [2023-11-28T20:31:33.024Z] Login Succeeded [2023-11-28T20:31:33.024Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:31:33.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:31:33.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:31:33.024Z] Configure a credential helper to remove this warning. See [2023-11-28T20:31:33.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:31:33.024Z] [2023-11-28T20:31:33.024Z] Login Succeeded [2023-11-28T20:31:33.024Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:31:33.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:31:33.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:31:33.284Z] Configure a credential helper to remove this warning. See [2023-11-28T20:31:33.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:31:33.284Z] [2023-11-28T20:31:33.284Z] Login Succeeded [2023-11-28T20:31:33.284Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:31:33.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:31:33.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:31:33.284Z] Configure a credential helper to remove this warning. See [2023-11-28T20:31:33.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:31:33.284Z] [2023-11-28T20:31:33.284Z] Login Succeeded [2023-11-28T20:31:33.284Z] ****.io [2023-11-28T20:31:33.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:31:33.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:31:33.545Z] Configure a credential helper to remove this warning. See [2023-11-28T20:31:33.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:31:33.545Z] [2023-11-28T20:31:33.545Z] Login Succeeded [2023-11-28T20:31:33.545Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:31:33.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-28T20:31:33.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:31:33.720Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-28T20:31:33.720Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T20:31:33.720Z] latest [2023-11-28T20:31:33.720Z] 3.2.0-dev.1 [2023-11-28T20:31:33.720Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T20:31:33.720Z] main [2023-11-28T20:31:33.720Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:34.158Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:34.546Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T20:31:34.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-28T20:31:34.546Z] 306a707ef0a6: Preparing [2023-11-28T20:31:34.546Z] f55ae9a0da19: Preparing [2023-11-28T20:31:34.546Z] 08bea6532aa8: Preparing [2023-11-28T20:31:34.546Z] 69b91300a0b2: Preparing [2023-11-28T20:31:34.546Z] e69eb5d59f01: Preparing [2023-11-28T20:31:34.546Z] cc2447e1835a: Preparing [2023-11-28T20:31:34.546Z] cc2447e1835a: Waiting [2023-11-28T20:31:34.546Z] f55ae9a0da19: Pushed [2023-11-28T20:31:34.546Z] 306a707ef0a6: Pushed [2023-11-28T20:31:34.546Z] e69eb5d59f01: Pushed [2023-11-28T20:31:34.546Z] cc2447e1835a: Layer already exists [2023-11-28T20:31:35.112Z] 69b91300a0b2: Pushed [2023-11-28T20:31:37.010Z] 08bea6532aa8: Pushed [2023-11-28T20:31:37.269Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:37.670Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:38.126Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-28T20:31:38.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-28T20:31:38.127Z] 306a707ef0a6: Preparing [2023-11-28T20:31:38.127Z] f55ae9a0da19: Preparing [2023-11-28T20:31:38.127Z] 08bea6532aa8: Preparing [2023-11-28T20:31:38.127Z] 69b91300a0b2: Preparing [2023-11-28T20:31:38.127Z] e69eb5d59f01: Preparing [2023-11-28T20:31:38.127Z] cc2447e1835a: Preparing [2023-11-28T20:31:38.127Z] cc2447e1835a: Waiting [2023-11-28T20:31:38.127Z] f55ae9a0da19: Layer already exists [2023-11-28T20:31:38.127Z] e69eb5d59f01: Layer already exists [2023-11-28T20:31:38.127Z] 69b91300a0b2: Layer already exists [2023-11-28T20:31:38.127Z] 306a707ef0a6: Layer already exists [2023-11-28T20:31:38.127Z] 08bea6532aa8: Layer already exists [2023-11-28T20:31:38.127Z] cc2447e1835a: Layer already exists [2023-11-28T20:31:38.127Z] latest: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:38.517Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:38.913Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 [2023-11-28T20:31:38.914Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-28T20:31:38.914Z] 306a707ef0a6: Preparing [2023-11-28T20:31:38.914Z] f55ae9a0da19: Preparing [2023-11-28T20:31:38.914Z] 08bea6532aa8: Preparing [2023-11-28T20:31:38.914Z] 69b91300a0b2: Preparing [2023-11-28T20:31:38.914Z] e69eb5d59f01: Preparing [2023-11-28T20:31:38.914Z] cc2447e1835a: Preparing [2023-11-28T20:31:38.914Z] cc2447e1835a: Waiting [2023-11-28T20:31:38.914Z] 69b91300a0b2: Layer already exists [2023-11-28T20:31:38.914Z] f55ae9a0da19: Layer already exists [2023-11-28T20:31:38.914Z] 306a707ef0a6: Layer already exists [2023-11-28T20:31:38.914Z] e69eb5d59f01: Layer already exists [2023-11-28T20:31:38.914Z] 08bea6532aa8: Layer already exists [2023-11-28T20:31:38.914Z] cc2447e1835a: Layer already exists [2023-11-28T20:31:38.914Z] 3.2.0-dev.1: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:39.302Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:39.699Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T20:31:39.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-28T20:31:39.699Z] 306a707ef0a6: Preparing [2023-11-28T20:31:39.699Z] f55ae9a0da19: Preparing [2023-11-28T20:31:39.699Z] 08bea6532aa8: Preparing [2023-11-28T20:31:39.699Z] 69b91300a0b2: Preparing [2023-11-28T20:31:39.699Z] e69eb5d59f01: Preparing [2023-11-28T20:31:39.699Z] cc2447e1835a: Preparing [2023-11-28T20:31:39.699Z] cc2447e1835a: Waiting [2023-11-28T20:31:39.699Z] 69b91300a0b2: Layer already exists [2023-11-28T20:31:39.699Z] 08bea6532aa8: Layer already exists [2023-11-28T20:31:39.699Z] f55ae9a0da19: Layer already exists [2023-11-28T20:31:39.699Z] 306a707ef0a6: Layer already exists [2023-11-28T20:31:39.699Z] e69eb5d59f01: Layer already exists [2023-11-28T20:31:39.699Z] cc2447e1835a: Layer already exists [2023-11-28T20:31:39.699Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:40.147Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:40.637Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-28T20:31:40.637Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-28T20:31:40.637Z] 306a707ef0a6: Preparing [2023-11-28T20:31:40.637Z] f55ae9a0da19: Preparing [2023-11-28T20:31:40.637Z] 08bea6532aa8: Preparing [2023-11-28T20:31:40.637Z] 69b91300a0b2: Preparing [2023-11-28T20:31:40.637Z] e69eb5d59f01: Preparing [2023-11-28T20:31:40.637Z] cc2447e1835a: Preparing [2023-11-28T20:31:40.637Z] cc2447e1835a: Waiting [2023-11-28T20:31:40.637Z] 69b91300a0b2: Layer already exists [2023-11-28T20:31:40.637Z] 306a707ef0a6: Layer already exists [2023-11-28T20:31:40.637Z] 08bea6532aa8: Layer already exists [2023-11-28T20:31:40.637Z] f55ae9a0da19: Layer already exists [2023-11-28T20:31:40.637Z] e69eb5d59f01: Layer already exists [2023-11-28T20:31:40.637Z] cc2447e1835a: Layer already exists [2023-11-28T20:31:40.637Z] main: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-28T20:31:40.874Z] ===================================================== [Pipeline] echo [2023-11-28T20:31:40.920Z] taggedImages: [2023-11-28T20:31:40.920Z] - nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T20:31:40.920Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-28T20:31:40.920Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 [2023-11-28T20:31:40.920Z] - nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T20:31:40.920Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:41.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:31:41.604Z] [2023-11-28T20:31:41.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:31:41.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:31:42.191Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T20:31:42.191Z] 5eb5b503b376: Pulling fs layer [2023-11-28T20:31:42.191Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T20:31:42.191Z] ec43610c2a17: Pulling fs layer [2023-11-28T20:31:42.191Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T20:31:42.191Z] 33b1e0a273af: Pulling fs layer [2023-11-28T20:31:42.191Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T20:31:42.191Z] 2f39f015ded8: Pulling fs layer [2023-11-28T20:31:42.191Z] 3a2ae6a8a46f: Waiting [2023-11-28T20:31:42.191Z] 33b1e0a273af: Waiting [2023-11-28T20:31:42.191Z] 5d3b04190fa2: Waiting [2023-11-28T20:31:42.191Z] 2f39f015ded8: Waiting [2023-11-28T20:31:42.191Z] 5c69ac0246d0: Verifying Checksum [2023-11-28T20:31:42.191Z] 5c69ac0246d0: Download complete [2023-11-28T20:31:42.191Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T20:31:42.191Z] 3a2ae6a8a46f: Download complete [2023-11-28T20:31:42.191Z] 33b1e0a273af: Verifying Checksum [2023-11-28T20:31:42.191Z] 33b1e0a273af: Download complete [2023-11-28T20:31:42.191Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T20:31:42.191Z] 5d3b04190fa2: Download complete [2023-11-28T20:31:42.191Z] ec43610c2a17: Verifying Checksum [2023-11-28T20:31:42.191Z] ec43610c2a17: Download complete [2023-11-28T20:31:42.450Z] 5eb5b503b376: Verifying Checksum [2023-11-28T20:31:42.450Z] 5eb5b503b376: Download complete [2023-11-28T20:31:43.016Z] 2f39f015ded8: Download complete [2023-11-28T20:31:43.581Z] 5eb5b503b376: Pull complete [2023-11-28T20:31:43.581Z] 5c69ac0246d0: Pull complete [2023-11-28T20:31:44.145Z] ec43610c2a17: Pull complete [2023-11-28T20:31:44.145Z] 3a2ae6a8a46f: Pull complete [2023-11-28T20:31:44.403Z] 33b1e0a273af: Pull complete [2023-11-28T20:31:44.660Z] 5d3b04190fa2: Pull complete [2023-11-28T20:31:48.952Z] 2f39f015ded8: Pull complete [2023-11-28T20:31:48.952Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T20:31:48.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:31:48.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:31:49.151Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T20:31:49.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T20:31:53.140Z] $ docker top 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:31:53.601Z] ---> job-cost.sh [2023-11-28T20:31:53.601Z] lf-activate-venv: SKIPPING [2023-11-28T20:31:53.601Z] INFO: No Stack... [2023-11-28T20:31:53.858Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T20:31:54.116Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T20:31:54.398Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-28T20:31:54.398Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T20:31:54.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [2023-11-28T20:31:54.416Z] Resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] did not exist. Created. [2023-11-28T20:31:54.416Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T20:31:54.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T20:31:54.809Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T20:31:54.851Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T20:31:54.934Z] $ docker stop --time=1 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b [2023-11-28T20:31:56.078Z] $ docker rm -f --volumes 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T21:16:56.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7682 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-28T21:16:56.306Z] Running in /w/workspace/device-rest-go/153 [Pipeline] { [Pipeline] checkout [2023-11-28T21:16:56.370Z] The recommended git tool is: git [2023-11-28T21:17:01.715Z] using credential edgex-jenkins-ssh [2023-11-28T21:17:01.735Z] Cloning the remote Git repository [2023-11-28T21:17:01.784Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T21:17:01.889Z] > git init /w/workspace/device-rest-go/153 # timeout=10 [2023-11-28T21:17:02.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T21:17:02.026Z] > git --version # timeout=10 [2023-11-28T21:17:02.051Z] > git --version # 'git version 2.25.1' [2023-11-28T21:17:02.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T21:17:02.205Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T21:17:04.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-28T21:17:04.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T21:17:05.677Z] Avoid second fetch [2023-11-28T21:17:05.677Z] Checking out Revision 0e4c43928dd74877e01497a451c4b89b2b600e8c (main) [2023-11-28T21:17:06.250Z] Commit message: "build: Update to latest 3.2.0 dev go-mods (#369)" [Pipeline] withEnv [Pipeline] { [2023-11-28T21:17:05.695Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T21:17:05.763Z] > git checkout -f 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T21:17:07.321Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T21:17:07.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T21:17:07.321Z] Dload Upload Total Spent Left Speed [2023-11-28T21:17:07.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh [2023-11-28T21:17:07.658Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T21:17:07.998Z] + sudo tee /etc/docker/daemon.new [2023-11-28T21:17:07.998Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T21:17:07.998Z] { [2023-11-28T21:17:07.998Z] "registry-mirrors": [ [2023-11-28T21:17:07.998Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T21:17:07.998Z] ], [2023-11-28T21:17:07.998Z] "bip": "10.250.0.254/24", [2023-11-28T21:17:07.998Z] "hosts": [ [2023-11-28T21:17:07.998Z] "tcp://0.0.0.0:5555", [2023-11-28T21:17:07.998Z] "unix:///var/run/docker.sock" [2023-11-28T21:17:07.998Z] ], [2023-11-28T21:17:07.998Z] "mtu": 1458, [2023-11-28T21:17:07.998Z] "selinux-enabled": true, [2023-11-28T21:17:07.998Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T21:17:07.998Z] } [Pipeline] sh [2023-11-28T21:17:08.334Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T21:17:08.671Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T21:17:26.981Z] provisioning config files... [2023-11-28T21:17:27.011Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/153@tmp/config7568833461293631383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:17:27.502Z] ---> ****-login.sh [2023-11-28T21:17:27.502Z] nexus3.edgexfoundry.org:10001 [2023-11-28T21:17:27.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:17:28.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:17:28.050Z] Configure a credential helper to remove this warning. See [2023-11-28T21:17:28.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:17:28.050Z] [2023-11-28T21:17:28.051Z] Login Succeeded [2023-11-28T21:17:28.051Z] nexus3.edgexfoundry.org:10002 [2023-11-28T21:17:28.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:17:28.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:17:28.593Z] Configure a credential helper to remove this warning. See [2023-11-28T21:17:28.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:17:28.593Z] [2023-11-28T21:17:28.593Z] Login Succeeded [2023-11-28T21:17:28.593Z] nexus3.edgexfoundry.org:10003 [2023-11-28T21:17:28.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:17:28.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:17:28.874Z] Configure a credential helper to remove this warning. See [2023-11-28T21:17:28.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:17:28.874Z] [2023-11-28T21:17:28.874Z] Login Succeeded [2023-11-28T21:17:28.874Z] nexus3.edgexfoundry.org:10004 [2023-11-28T21:17:29.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:17:29.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:17:29.145Z] Configure a credential helper to remove this warning. See [2023-11-28T21:17:29.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:17:29.146Z] [2023-11-28T21:17:29.146Z] Login Succeeded [2023-11-28T21:17:29.433Z] ****.io [2023-11-28T21:17:29.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:17:30.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:17:30.032Z] Configure a credential helper to remove this warning. See [2023-11-28T21:17:30.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:17:30.032Z] [2023-11-28T21:17:30.032Z] Login Succeeded [2023-11-28T21:17:30.033Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T21:17:30.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T21:17:30.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T21:17:30.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T21:17:30.613Z] ========================================================= [2023-11-28T21:17:30.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T21:17:30.613Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:17:31.122Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T21:17:31.122Z] Sending build context to Docker daemon 127.5kB [2023-11-28T21:17:31.397Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T21:17:31.397Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T21:17:31.667Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T21:17:31.667Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T21:17:31.667Z] 5d54e960e981: Pulling fs layer [2023-11-28T21:17:31.667Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T21:17:31.667Z] f0e02332f6b5: Pulling fs layer [2023-11-28T21:17:31.667Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T21:17:31.667Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T21:17:31.667Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T21:17:31.667Z] f0e02332f6b5: Waiting [2023-11-28T21:17:31.667Z] 872ee5b61b7b: Waiting [2023-11-28T21:17:31.667Z] 0c6a40ed1a82: Waiting [2023-11-28T21:17:31.667Z] 94ae7d8d031c: Waiting [2023-11-28T21:17:31.667Z] 5d54e960e981: Verifying Checksum [2023-11-28T21:17:31.667Z] 5d54e960e981: Download complete [2023-11-28T21:17:31.667Z] f0e02332f6b5: Verifying Checksum [2023-11-28T21:17:31.667Z] f0e02332f6b5: Download complete [2023-11-28T21:17:31.667Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T21:17:31.667Z] 872ee5b61b7b: Download complete [2023-11-28T21:17:31.667Z] 9fda8d8052c6: Download complete [2023-11-28T21:17:32.260Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T21:17:32.260Z] 94ae7d8d031c: Download complete [2023-11-28T21:17:32.532Z] 9fda8d8052c6: Pull complete [2023-11-28T21:17:33.161Z] 5d54e960e981: Pull complete [2023-11-28T21:17:33.433Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T21:17:33.433Z] c4a7e357bf2a: Download complete [2023-11-28T21:17:34.852Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T21:17:34.852Z] 0c6a40ed1a82: Download complete [2023-11-28T21:17:47.192Z] c4a7e357bf2a: Pull complete [2023-11-28T21:17:47.192Z] f0e02332f6b5: Pull complete [2023-11-28T21:17:47.192Z] 872ee5b61b7b: Pull complete [2023-11-28T21:17:55.420Z] 0c6a40ed1a82: Pull complete [2023-11-28T21:17:57.376Z] 94ae7d8d031c: Pull complete [2023-11-28T21:17:57.376Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T21:17:57.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T21:17:57.376Z] ---> 86de565de09d [2023-11-28T21:17:57.376Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T21:17:57.960Z] ---> Running in 53737fb9eb72 [2023-11-28T21:17:58.236Z] Removing intermediate container 53737fb9eb72 [2023-11-28T21:17:58.236Z] ---> b66d45d3cd40 [2023-11-28T21:17:58.236Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T21:17:58.503Z] ---> Running in abd8a4c37666 [2023-11-28T21:17:58.784Z] Removing intermediate container abd8a4c37666 [2023-11-28T21:17:58.784Z] ---> 30ca94e3b36c [2023-11-28T21:17:58.784Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T21:17:58.784Z] ---> Running in 315a18bfdce8 [2023-11-28T21:17:59.053Z] Removing intermediate container 315a18bfdce8 [2023-11-28T21:17:59.053Z] ---> 9150239431db [2023-11-28T21:17:59.053Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T21:17:59.321Z] ---> Running in ff42f519a592 [2023-11-28T21:17:59.589Z] Removing intermediate container ff42f519a592 [2023-11-28T21:17:59.589Z] ---> 8a20cb32d54d [2023-11-28T21:17:59.589Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T21:17:59.589Z] ---> Running in 4434f560022b [2023-11-28T21:18:01.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T21:18:01.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T21:18:02.423Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T21:18:02.424Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T21:18:02.424Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T21:18:02.424Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T21:18:02.424Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T21:18:02.424Z] OK: 271 MiB in 56 packages [2023-11-28T21:18:06.688Z] Removing intermediate container 4434f560022b [2023-11-28T21:18:06.688Z] ---> daa2ce5e0f25 [2023-11-28T21:18:06.688Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T21:18:06.688Z] ---> Running in b1a98f47ced8 [2023-11-28T21:18:06.688Z] Removing intermediate container b1a98f47ced8 [2023-11-28T21:18:06.688Z] ---> 5b9bc1199ab6 [2023-11-28T21:18:06.688Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T21:18:07.282Z] ---> 8bb04db753ec [2023-11-28T21:18:07.282Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T21:18:07.282Z] ---> Running in b6227430e767 [2023-11-28T21:19:29.057Z] Removing intermediate container b6227430e767 [2023-11-28T21:19:29.057Z] ---> 3a57f61d79c9 [2023-11-28T21:19:29.057Z] Step 11/12 : COPY . . [2023-11-28T21:19:29.057Z] ---> b3758ad7e274 [2023-11-28T21:19:29.057Z] Step 12/12 : RUN $MAKE [2023-11-28T21:19:29.057Z] ---> Running in f6a0a9927263 [2023-11-28T21:19:29.057Z] noop [2023-11-28T21:19:29.664Z] Removing intermediate container f6a0a9927263 [2023-11-28T21:19:29.664Z] ---> 977263def456 [2023-11-28T21:19:29.664Z] Successfully built 977263def456 [2023-11-28T21:19:29.664Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:19:30.157Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T21:19:30.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:19:30.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container [2023-11-28T21:19:30.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T21:19:35.623Z] $ docker top 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T21:19:36.524Z] + go version [2023-11-28T21:19:36.524Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T21:19:36.544Z] $ docker stop --time=1 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de [2023-11-28T21:19:38.150Z] $ docker rm -f --volumes 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:19:39.021Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T21:19:39.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:19:39.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container [2023-11-28T21:19:39.329Z] $ 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/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T21:19:40.501Z] $ docker top 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T21:19:41.400Z] + git config --global --add safe.directory /w/workspace/device-rest-go/153 [Pipeline] fileExists [Pipeline] sh [2023-11-28T21:19:41.782Z] + make test [2023-11-28T21:19:41.782Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T21:19:46.041Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T21:21:22.689Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T21:21:22.689Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-11-28T21:21:22.689Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T21:21:22.689Z] go vet ./... [2023-11-28T21:21:49.406Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T21:21:49.406Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T21:21:49.406Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T21:21:49.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T21:21:49.478Z] $ docker stop --time=1 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 [2023-11-28T21:21:51.488Z] $ docker rm -f --volumes 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T21:21:52.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T21:21:52.930Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T21:21:53.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T21:21:54.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T21:21:54.359Z] + ls -al . [2023-11-28T21:21:54.360Z] total 176 [2023-11-28T21:21:54.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 21:19 . [2023-11-28T21:21:54.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 21:17 .. [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 21:17 .dockerignore [2023-11-28T21:21:54.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 21:17 .git [2023-11-28T21:21:54.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 .github [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 21:17 .gitignore [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 21:17 .golangci.yml [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 21:17 Attribution.txt [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 21:17 CHANGELOG.md [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 21:17 Dockerfile [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 21:17 GOVERNANCE.md [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 21:17 Jenkinsfile [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 21:17 LICENSE [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 21:17 Makefile [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 21:17 OWNERS.md [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 21:17 README.md [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION [2023-11-28T21:21:54.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 21:17 bin [2023-11-28T21:21:54.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 cmd [2023-11-28T21:21:54.360Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 21:21 coverage.out [2023-11-28T21:21:54.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 21:17 driver [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 21:17 go.mod [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 21:17 go.sum [2023-11-28T21:21:54.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 openapi [2023-11-28T21:21:54.360Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 21:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:21:54.783Z] + 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=0e4c43928dd74877e01497a451c4b89b2b600e8c --label arch=arm64 --label version=3.2.0-dev.1 . [2023-11-28T21:21:54.783Z] Sending build context to Docker daemon 142.8kB [2023-11-28T21:21:55.049Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T21:21:55.049Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T21:21:55.049Z] ---> 977263def456 [2023-11-28T21:21:55.049Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T21:21:55.049Z] ---> Running in 440b87daab05 [2023-11-28T21:21:55.321Z] Removing intermediate container 440b87daab05 [2023-11-28T21:21:55.321Z] ---> 996fea8c32af [2023-11-28T21:21:55.321Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T21:21:55.588Z] ---> Running in 30136025b4a9 [2023-11-28T21:21:55.854Z] Removing intermediate container 30136025b4a9 [2023-11-28T21:21:55.854Z] ---> 93bae94b42b7 [2023-11-28T21:21:55.854Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T21:21:55.854Z] ---> Running in d44175860558 [2023-11-28T21:21:56.123Z] Removing intermediate container d44175860558 [2023-11-28T21:21:56.123Z] ---> c8027aa26dc8 [2023-11-28T21:21:56.123Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T21:21:56.392Z] ---> Running in c520ddc1ca0b [2023-11-28T21:21:56.661Z] Removing intermediate container c520ddc1ca0b [2023-11-28T21:21:56.661Z] ---> 207d8486b458 [2023-11-28T21:21:56.661Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T21:21:56.661Z] ---> Running in 6a7eddb9118c [2023-11-28T21:21:57.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T21:21:58.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T21:21:59.167Z] OK: 271 MiB in 56 packages [2023-11-28T21:22:04.508Z] Removing intermediate container 6a7eddb9118c [2023-11-28T21:22:04.508Z] ---> 588bd5d7551c [2023-11-28T21:22:04.508Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T21:22:04.508Z] ---> Running in fbc4c1531132 [2023-11-28T21:22:04.508Z] Removing intermediate container fbc4c1531132 [2023-11-28T21:22:04.508Z] ---> ae8a78560f85 [2023-11-28T21:22:04.508Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T21:22:05.089Z] ---> e50a8be0f9dd [2023-11-28T21:22:05.089Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T21:22:05.089Z] ---> Running in fdc949f62891 [2023-11-28T21:22:07.671Z] Removing intermediate container fdc949f62891 [2023-11-28T21:22:07.671Z] ---> 9ea76ab31348 [2023-11-28T21:22:07.671Z] Step 11/26 : COPY . . [2023-11-28T21:22:08.253Z] ---> ada20c322f60 [2023-11-28T21:22:08.253Z] Step 12/26 : RUN $MAKE [2023-11-28T21:22:08.253Z] ---> Running in 9396d88b808a [2023-11-28T21:22:09.212Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T21:24:00.901Z] Removing intermediate container 9396d88b808a [2023-11-28T21:24:00.901Z] ---> 7cf7dd987e5b [2023-11-28T21:24:00.901Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T21:24:00.901Z] 3.18: Pulling from library/alpine [2023-11-28T21:24:01.862Z] 579b34f0a95b: Pulling fs layer [2023-11-28T21:24:02.129Z] 579b34f0a95b: Verifying Checksum [2023-11-28T21:24:02.129Z] 579b34f0a95b: Download complete [2023-11-28T21:24:02.729Z] 579b34f0a95b: Pull complete [2023-11-28T21:24:02.729Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T21:24:02.729Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T21:24:02.729Z] ---> 3cc203321400 [2023-11-28T21:24:02.729Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T21:24:02.997Z] ---> Running in 4dd91c63d1b3 [2023-11-28T21:24:03.266Z] Removing intermediate container 4dd91c63d1b3 [2023-11-28T21:24:03.267Z] ---> 592a80e4a895 [2023-11-28T21:24:03.267Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T21:24:03.267Z] ---> Running in 7c1748542479 [2023-11-28T21:24:03.533Z] Removing intermediate container 7c1748542479 [2023-11-28T21:24:03.533Z] ---> 1d829a915125 [2023-11-28T21:24:03.533Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T21:24:03.533Z] ---> Running in 737a0e58af97 [2023-11-28T21:24:04.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T21:24:05.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T21:24:06.045Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T21:24:06.045Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T21:24:06.045Z] OK: 8 MiB in 16 packages [2023-11-28T21:24:07.021Z] Removing intermediate container 737a0e58af97 [2023-11-28T21:24:07.021Z] ---> 6f150b1b8ecb [2023-11-28T21:24:07.021Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T21:24:07.021Z] ---> Running in e92b9b859cda [2023-11-28T21:24:07.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T21:24:08.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T21:24:09.215Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T21:24:09.215Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T21:24:09.215Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T21:24:09.483Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T21:24:09.483Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T21:24:09.483Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T21:24:09.483Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T21:24:09.483Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T21:24:09.483Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T21:24:09.483Z] OK: 8 MiB in 16 packages [2023-11-28T21:24:10.891Z] Removing intermediate container e92b9b859cda [2023-11-28T21:24:10.891Z] ---> e06e7a72d28a [2023-11-28T21:24:10.891Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T21:24:12.294Z] ---> 6c91a296bef5 [2023-11-28T21:24:12.294Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T21:24:15.641Z] ---> 2b8da55b443f [2023-11-28T21:24:15.641Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T21:24:16.226Z] ---> 3d1c3e7686c7 [2023-11-28T21:24:16.226Z] Step 21/26 : EXPOSE 59986 [2023-11-28T21:24:16.226Z] ---> Running in 8f66fe982e6a [2023-11-28T21:24:16.493Z] Removing intermediate container 8f66fe982e6a [2023-11-28T21:24:16.493Z] ---> 742f51fedcf1 [2023-11-28T21:24:16.493Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T21:24:16.493Z] ---> Running in 11705f48eeed [2023-11-28T21:24:16.761Z] Removing intermediate container 11705f48eeed [2023-11-28T21:24:16.761Z] ---> c10221d99199 [2023-11-28T21:24:16.761Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T21:24:17.034Z] ---> Running in 2a710e0a2b5f [2023-11-28T21:24:17.303Z] Removing intermediate container 2a710e0a2b5f [2023-11-28T21:24:17.303Z] ---> d82f506ba73e [2023-11-28T21:24:17.303Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T21:24:17.303Z] ---> Running in 5407be00260f [2023-11-28T21:24:17.570Z] Removing intermediate container 5407be00260f [2023-11-28T21:24:17.570Z] ---> 269db97d957f [2023-11-28T21:24:17.570Z] Step 25/26 : LABEL git_sha=0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T21:24:17.570Z] ---> Running in af7999e36f1e [2023-11-28T21:24:17.839Z] Removing intermediate container af7999e36f1e [2023-11-28T21:24:17.839Z] ---> 148bd4ebcc03 [2023-11-28T21:24:17.839Z] Step 26/26 : LABEL version=3.2.0-dev.1 [2023-11-28T21:24:18.106Z] ---> Running in 1893dbf0beec [2023-11-28T21:24:18.373Z] Removing intermediate container 1893dbf0beec [2023-11-28T21:24:18.373Z] ---> ee66d4739c2b [2023-11-28T21:24:18.373Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T21:24:18.373Z] Successfully built ee66d4739c2b [2023-11-28T21:24:18.373Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T21:24:18.855Z] provisioning config files... [2023-11-28T21:24:18.871Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/153@tmp/config765254441398312898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:24:19.260Z] ---> ****-login.sh [2023-11-28T21:24:19.260Z] nexus3.edgexfoundry.org:10001 [2023-11-28T21:24:19.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:24:19.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:24:19.526Z] Configure a credential helper to remove this warning. See [2023-11-28T21:24:19.526Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:24:19.526Z] [2023-11-28T21:24:19.526Z] Login Succeeded [2023-11-28T21:24:19.526Z] nexus3.edgexfoundry.org:10002 [2023-11-28T21:24:19.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:24:19.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:24:19.793Z] Configure a credential helper to remove this warning. See [2023-11-28T21:24:19.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:24:19.793Z] [2023-11-28T21:24:19.793Z] Login Succeeded [2023-11-28T21:24:19.793Z] nexus3.edgexfoundry.org:10003 [2023-11-28T21:24:20.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:24:20.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:24:20.327Z] Configure a credential helper to remove this warning. See [2023-11-28T21:24:20.327Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:24:20.327Z] [2023-11-28T21:24:20.327Z] Login Succeeded [2023-11-28T21:24:20.327Z] nexus3.edgexfoundry.org:10004 [2023-11-28T21:24:20.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:24:20.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:24:20.593Z] Configure a credential helper to remove this warning. See [2023-11-28T21:24:20.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:24:20.593Z] [2023-11-28T21:24:20.593Z] Login Succeeded [2023-11-28T21:24:20.593Z] ****.io [2023-11-28T21:24:20.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T21:24:21.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T21:24:21.124Z] Configure a credential helper to remove this warning. See [2023-11-28T21:24:21.124Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T21:24:21.124Z] [2023-11-28T21:24:21.124Z] Login Succeeded [2023-11-28T21:24:21.124Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T21:24:21.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-28T21:24:21.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T21:24:21.404Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-28T21:24:21.404Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T21:24:21.404Z] latest [2023-11-28T21:24:21.404Z] 3.2.0-dev.1 [2023-11-28T21:24:21.404Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T21:24:21.404Z] main [2023-11-28T21:24:21.404Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:21.974Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:22.435Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T21:24:22.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-28T21:24:22.435Z] dc640ed0db0f: Preparing [2023-11-28T21:24:22.435Z] de129ebcb86a: Preparing [2023-11-28T21:24:22.435Z] 1c5c10e77b47: Preparing [2023-11-28T21:24:22.435Z] 4954a7f68489: Preparing [2023-11-28T21:24:22.435Z] 3756e8e242d8: Preparing [2023-11-28T21:24:22.435Z] 5f4d9fc4d98d: Preparing [2023-11-28T21:24:22.435Z] 5f4d9fc4d98d: Waiting [2023-11-28T21:24:22.702Z] de129ebcb86a: Pushed [2023-11-28T21:24:22.702Z] 3756e8e242d8: Pushed [2023-11-28T21:24:22.702Z] dc640ed0db0f: Pushed [2023-11-28T21:24:22.702Z] 5f4d9fc4d98d: Layer already exists [2023-11-28T21:24:24.102Z] 4954a7f68489: Pushed [2023-11-28T21:24:28.342Z] 1c5c10e77b47: Pushed [2023-11-28T21:24:28.609Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:29.076Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:31.068Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-28T21:24:31.068Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-28T21:24:31.068Z] dc640ed0db0f: Preparing [2023-11-28T21:24:31.068Z] de129ebcb86a: Preparing [2023-11-28T21:24:31.068Z] 1c5c10e77b47: Preparing [2023-11-28T21:24:31.068Z] 4954a7f68489: Preparing [2023-11-28T21:24:31.068Z] 3756e8e242d8: Preparing [2023-11-28T21:24:31.068Z] 5f4d9fc4d98d: Preparing [2023-11-28T21:24:31.068Z] 5f4d9fc4d98d: Waiting [2023-11-28T21:24:31.068Z] 1c5c10e77b47: Layer already exists [2023-11-28T21:24:31.068Z] 4954a7f68489: Layer already exists [2023-11-28T21:24:31.068Z] dc640ed0db0f: Layer already exists [2023-11-28T21:24:31.068Z] de129ebcb86a: Layer already exists [2023-11-28T21:24:31.068Z] 3756e8e242d8: Layer already exists [2023-11-28T21:24:31.068Z] 5f4d9fc4d98d: Layer already exists [2023-11-28T21:24:31.068Z] latest: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:31.566Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:32.052Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 [2023-11-28T21:24:32.052Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-28T21:24:32.052Z] dc640ed0db0f: Preparing [2023-11-28T21:24:32.052Z] de129ebcb86a: Preparing [2023-11-28T21:24:32.052Z] 1c5c10e77b47: Preparing [2023-11-28T21:24:32.052Z] 4954a7f68489: Preparing [2023-11-28T21:24:32.052Z] 3756e8e242d8: Preparing [2023-11-28T21:24:32.052Z] 5f4d9fc4d98d: Preparing [2023-11-28T21:24:32.052Z] 5f4d9fc4d98d: Waiting [2023-11-28T21:24:32.052Z] 3756e8e242d8: Layer already exists [2023-11-28T21:24:32.052Z] 1c5c10e77b47: Layer already exists [2023-11-28T21:24:32.052Z] de129ebcb86a: Layer already exists [2023-11-28T21:24:32.052Z] 4954a7f68489: Layer already exists [2023-11-28T21:24:32.052Z] dc640ed0db0f: Layer already exists [2023-11-28T21:24:32.052Z] 5f4d9fc4d98d: Layer already exists [2023-11-28T21:24:32.332Z] 3.2.0-dev.1: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:32.816Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:33.286Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T21:24:33.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-28T21:24:33.286Z] dc640ed0db0f: Preparing [2023-11-28T21:24:33.286Z] de129ebcb86a: Preparing [2023-11-28T21:24:33.286Z] 1c5c10e77b47: Preparing [2023-11-28T21:24:33.286Z] 4954a7f68489: Preparing [2023-11-28T21:24:33.286Z] 3756e8e242d8: Preparing [2023-11-28T21:24:33.286Z] 5f4d9fc4d98d: Preparing [2023-11-28T21:24:33.286Z] 5f4d9fc4d98d: Waiting [2023-11-28T21:24:33.286Z] de129ebcb86a: Layer already exists [2023-11-28T21:24:33.286Z] 1c5c10e77b47: Layer already exists [2023-11-28T21:24:33.286Z] 4954a7f68489: Layer already exists [2023-11-28T21:24:33.286Z] 3756e8e242d8: Layer already exists [2023-11-28T21:24:33.286Z] dc640ed0db0f: Layer already exists [2023-11-28T21:24:33.286Z] 5f4d9fc4d98d: Layer already exists [2023-11-28T21:24:33.553Z] 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:34.024Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:34.496Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-28T21:24:34.496Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-28T21:24:34.496Z] dc640ed0db0f: Preparing [2023-11-28T21:24:34.496Z] de129ebcb86a: Preparing [2023-11-28T21:24:34.496Z] 1c5c10e77b47: Preparing [2023-11-28T21:24:34.496Z] 4954a7f68489: Preparing [2023-11-28T21:24:34.496Z] 3756e8e242d8: Preparing [2023-11-28T21:24:34.496Z] 5f4d9fc4d98d: Preparing [2023-11-28T21:24:34.496Z] 5f4d9fc4d98d: Waiting [2023-11-28T21:24:34.496Z] dc640ed0db0f: Layer already exists [2023-11-28T21:24:34.496Z] de129ebcb86a: Layer already exists [2023-11-28T21:24:34.496Z] 3756e8e242d8: Layer already exists [2023-11-28T21:24:34.496Z] 1c5c10e77b47: Layer already exists [2023-11-28T21:24:34.496Z] 4954a7f68489: Layer already exists [2023-11-28T21:24:34.496Z] 5f4d9fc4d98d: Layer already exists [2023-11-28T21:24:34.760Z] main: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-28T21:24:35.087Z] ===================================================== [Pipeline] echo [2023-11-28T21:24:35.141Z] taggedImages: [2023-11-28T21:24:35.141Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c [2023-11-28T21:24:35.141Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-28T21:24:35.141Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 [2023-11-28T21:24:35.141Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [2023-11-28T21:24:35.141Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:35.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T21:24:35.779Z] [2023-11-28T21:24:35.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:24:36.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T21:24:36.146Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T21:24:36.146Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T21:24:36.146Z] 04944245beec: Pulling fs layer [2023-11-28T21:24:36.146Z] 699f458cf7ca: Pulling fs layer [2023-11-28T21:24:36.146Z] 765212b225bb: Pulling fs layer [2023-11-28T21:24:36.146Z] f23df028b6ca: Pulling fs layer [2023-11-28T21:24:36.146Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T21:24:36.146Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T21:24:36.146Z] f23df028b6ca: Waiting [2023-11-28T21:24:36.146Z] d65c8cfc05b1: Waiting [2023-11-28T21:24:36.146Z] 2437ff75d9bd: Waiting [2023-11-28T21:24:36.146Z] 765212b225bb: Waiting [2023-11-28T21:24:36.414Z] 04944245beec: Verifying Checksum [2023-11-28T21:24:36.414Z] 04944245beec: Download complete [2023-11-28T21:24:36.414Z] 765212b225bb: Verifying Checksum [2023-11-28T21:24:36.414Z] 765212b225bb: Download complete [2023-11-28T21:24:36.414Z] f23df028b6ca: Download complete [2023-11-28T21:24:36.414Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T21:24:36.414Z] d65c8cfc05b1: Download complete [2023-11-28T21:24:36.682Z] 699f458cf7ca: Verifying Checksum [2023-11-28T21:24:36.682Z] 699f458cf7ca: Download complete [2023-11-28T21:24:36.951Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T21:24:36.951Z] 8998bd30e6a1: Download complete [2023-11-28T21:24:39.536Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T21:24:39.536Z] 2437ff75d9bd: Download complete [2023-11-28T21:24:44.877Z] 8998bd30e6a1: Pull complete [2023-11-28T21:24:44.877Z] 04944245beec: Pull complete [2023-11-28T21:24:46.291Z] 699f458cf7ca: Pull complete [2023-11-28T21:24:46.291Z] 765212b225bb: Pull complete [2023-11-28T21:24:47.249Z] f23df028b6ca: Pull complete [2023-11-28T21:24:47.514Z] d65c8cfc05b1: Pull complete [2023-11-28T21:25:05.724Z] 2437ff75d9bd: Pull complete [2023-11-28T21:25:05.724Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T21:25:05.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T21:25:05.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:25:06.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container [2023-11-28T21:25:06.151Z] $ 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/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T21:25:13.008Z] $ docker top 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:25:13.944Z] ---> job-cost.sh [2023-11-28T21:25:13.944Z] lf-activate-venv: SKIPPING [2023-11-28T21:25:13.944Z] INFO: No Stack... [2023-11-28T21:25:14.208Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T21:25:15.161Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T21:25:15.790Z] + cat /w/workspace/device-rest-go/153/archives/cost.csv [2023-11-28T21:25:15.790Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T21:25:15.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [2023-11-28T21:25:15.867Z] Resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] did not exist. Created. [2023-11-28T21:25:15.867Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T21:25:16.294Z] /w/workspace/device-rest-go/153@tmp/durable-a2857d52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T21:25:16.929Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T21:25:16.945Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T21:25:16.989Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T21:25:17.020Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T21:25:17.132Z] $ docker stop --time=1 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e [2023-11-28T21:25:18.610Z] $ docker rm -f --volumes 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-28T21:25:20.022Z] provisioning config files... [2023-11-28T21:25:20.029Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15387809518132778928tmp [Pipeline] { [Pipeline] sh [2023-11-28T21:25:20.418Z] + set +x [2023-11-28T21:25:20.418Z] + bash -s -- [2023-11-28T21:25:20.418Z] + curl -s https://codecov.io/bash [2023-11-28T21:25:20.418Z] [2023-11-28T21:25:20.418Z] _____ _ [2023-11-28T21:25:20.418Z] / ____| | | [2023-11-28T21:25:20.418Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T21:25:20.418Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T21:25:20.418Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T21:25:20.418Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T21:25:20.418Z] Bash-1.0.6 [2023-11-28T21:25:20.418Z] [2023-11-28T21:25:20.418Z] [2023-11-28T21:25:20.418Z] ==> git version 2.25.1 found [2023-11-28T21:25:20.418Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-28T21:25:20.418Z] Release-Date: 2020-01-08 [2023-11-28T21:25:20.418Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-28T21:25:20.418Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T21:25:20.418Z] ==> Jenkins CI detected. [2023-11-28T21:25:20.418Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-28T21:25:20.418Z] project root: . [2023-11-28T21:25:20.418Z] --> token set from env [2023-11-28T21:25:20.418Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T21:25:20.418Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T21:25:20.418Z] ==> Python coveragepy not found [2023-11-28T21:25:20.418Z] ==> Searching for coverage reports in: [2023-11-28T21:25:20.418Z] + . [2023-11-28T21:25:20.418Z] -> Found 1 reports [2023-11-28T21:25:20.677Z] ==> Detecting git/mercurial file structure [2023-11-28T21:25:20.677Z] ==> Reading reports [2023-11-28T21:25:20.677Z] + ./coverage.out bytes=14499 [2023-11-28T21:25:20.677Z] ==> Appending adjustments [2023-11-28T21:25:20.677Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T21:25:20.677Z] + Found adjustments [2023-11-28T21:25:20.677Z] ==> Gzipping contents [2023-11-28T21:25:20.677Z] 4.0K /tmp/codecov.yauCiJ.gz [2023-11-28T21:25:20.677Z] ==> Uploading reports [2023-11-28T21:25:20.677Z] url: https://codecov.io [2023-11-28T21:25:20.677Z] query: branch=main&commit=0e4c43928dd74877e01497a451c4b89b2b600e8c&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-28T21:25:20.677Z] -> Pinging Codecov [2023-11-28T21:25:20.678Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0e4c43928dd74877e01497a451c4b89b2b600e8c&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-28T21:25:20.936Z] -> Uploading to [2023-11-28T21:25:20.936Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/0e4c43928dd74877e01497a451c4b89b2b600e8c/1bd93ed4-633c-4895-b916-ae8d4be39b95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T212520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79e38da3494dd44c38305e479cd4c0a10283196f9d8a5df26092a5f8120c9c75 [2023-11-28T21:25:20.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T21:25:20.936Z] Dload Upload Total Spent Left Speed [2023-11-28T21:25:21.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9961 --:--:-- --:--:-- --:--:-- 9961 [2023-11-28T21:25:21.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } [2023-11-28T21:25:21.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-28T21:25:21.643Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-28T21:25:21.654Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:25:22.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T21:25:22.089Z] [2023-11-28T21:25:22.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:25:22.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T21:25:22.443Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-28T21:25:22.443Z] df9b9388f04a: Pulling fs layer [2023-11-28T21:25:22.443Z] 52dc419b0ee2: Pulling fs layer [2023-11-28T21:25:22.443Z] 25bc292e5bac: Pulling fs layer [2023-11-28T21:25:22.443Z] 114826534d7a: Pulling fs layer [2023-11-28T21:25:22.443Z] 4657fd5d0bcf: Pulling fs layer [2023-11-28T21:25:22.443Z] 6ad1cebc031e: Pulling fs layer [2023-11-28T21:25:22.443Z] 8a3aa393b2d8: Pulling fs layer [2023-11-28T21:25:22.443Z] 114826534d7a: Waiting [2023-11-28T21:25:22.443Z] 4657fd5d0bcf: Waiting [2023-11-28T21:25:22.443Z] 6ad1cebc031e: Waiting [2023-11-28T21:25:22.443Z] 8a3aa393b2d8: Waiting [2023-11-28T21:25:22.443Z] 25bc292e5bac: Download complete [2023-11-28T21:25:22.443Z] 52dc419b0ee2: Verifying Checksum [2023-11-28T21:25:22.443Z] 52dc419b0ee2: Download complete [2023-11-28T21:25:22.443Z] 4657fd5d0bcf: Verifying Checksum [2023-11-28T21:25:22.443Z] 4657fd5d0bcf: Download complete [2023-11-28T21:25:22.443Z] df9b9388f04a: Download complete [2023-11-28T21:25:22.701Z] df9b9388f04a: Pull complete [2023-11-28T21:25:22.701Z] 6ad1cebc031e: Verifying Checksum [2023-11-28T21:25:22.701Z] 6ad1cebc031e: Download complete [2023-11-28T21:25:22.701Z] 52dc419b0ee2: Pull complete [2023-11-28T21:25:22.702Z] 25bc292e5bac: Pull complete [2023-11-28T21:25:23.266Z] 114826534d7a: Verifying Checksum [2023-11-28T21:25:23.266Z] 114826534d7a: Download complete [2023-11-28T21:25:23.266Z] 8a3aa393b2d8: Verifying Checksum [2023-11-28T21:25:23.266Z] 8a3aa393b2d8: Download complete [2023-11-28T21:25:26.054Z] 114826534d7a: Pull complete [2023-11-28T21:25:26.312Z] 4657fd5d0bcf: Pull complete [2023-11-28T21:25:26.569Z] 6ad1cebc031e: Pull complete [2023-11-28T21:25:29.100Z] 8a3aa393b2d8: Pull complete [2023-11-28T21:25:29.100Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-28T21:25:29.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T21:25:29.100Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:25:29.384Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:25:29.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-28T21:25:33.727Z] $ docker top 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-28T21:25:33.886Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-28T21:25:34.168Z] + set -o pipefail [2023-11-28T21:25:34.168Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-28T21:25:39.440Z] [2023-11-28T21:25:39.440Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-28T21:25:39.440Z] [2023-11-28T21:25:39.440Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/db7323d8-3f76-458d-80f7-95cbc8be6c51 [2023-11-28T21:25:39.440Z] [2023-11-28T21:25:39.440Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-28T21:25:39.440Z] [2023-11-28T21:25:39.440Z] [2023-11-28T21:25:39.441Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-28T21:25:39.441Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-28T21:25:39.441Z] More details here: https://snyk.co/ue1NS [2023-11-28T21:25:39.441Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-28T21:25:39.441Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-28T21:25:39.457Z] $ docker stop --time=1 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 [2023-11-28T21:25:43.317Z] $ docker rm -f --volumes 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T21:25:44.807Z] + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] sh [2023-11-28T21:25:45.103Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T21:25:45.103Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:25:45.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T21:25:45.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:25:45.630Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:25:45.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T21:25:46.093Z] $ docker top a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T21:25:46.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T21:25:46.343Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T21:25:46.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T21:25:46.464Z] $ docker exec a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f ssh-agent [2023-11-28T21:25:46.562Z] SSH_AUTH_SOCK=/tmp/ssh-sUGeloPMiLI6/agent.32 [2023-11-28T21:25:46.562Z] SSH_AGENT_PID=38 [2023-11-28T21:25:46.568Z] Running ssh-add (command line suppressed) [2023-11-28T21:25:46.667Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7320840886268311694.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7320840886268311694.key) [2023-11-28T21:25:46.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T21:25:47.012Z] + git semver tag [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,179 [run_tag] DEBUG tag force:False [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,179 [check_head_tag] DEBUG check head tag [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,180 [execute] INFO git cat-file --batch-check [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,184 [execute] INFO git cat-file --batch [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,201 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,201 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,201 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-28T21:25:47.271Z] 2023-11-28 21:25:47,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:25:47.271Z] 3.2.0-dev.1 [Pipeline] } [2023-11-28T21:25:47.285Z] $ docker exec --env ******** --env ******** a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f ssh-agent -k [2023-11-28T21:25:47.381Z] unset SSH_AUTH_SOCK; [2023-11-28T21:25:47.382Z] unset SSH_AGENT_PID; [2023-11-28T21:25:47.382Z] echo Agent pid 38 killed; [2023-11-28T21:25:47.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T21:25:47.889Z] + git semver [Pipeline] } [2023-11-28T21:25:48.167Z] $ docker stop --time=1 a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f [2023-11-28T21:25:49.448Z] $ docker rm -f --volumes a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:25:50.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T21:25:50.109Z] [2023-11-28T21:25:50.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:25:50.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T21:25:50.454Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-28T21:25:50.454Z] ab5ef0e58194: Pulling fs layer [2023-11-28T21:25:50.454Z] 9712f1f96733: Pulling fs layer [2023-11-28T21:25:50.454Z] 63f879dbbcfc: Pulling fs layer [2023-11-28T21:25:50.454Z] 0d9ebad4ef96: Pulling fs layer [2023-11-28T21:25:50.454Z] e9a5061849ea: Pulling fs layer [2023-11-28T21:25:50.454Z] d747dcd14b5f: Pulling fs layer [2023-11-28T21:25:50.454Z] 2de7ff778b66: Pulling fs layer [2023-11-28T21:25:50.454Z] e9a5061849ea: Waiting [2023-11-28T21:25:50.454Z] 0d9ebad4ef96: Waiting [2023-11-28T21:25:50.454Z] 2de7ff778b66: Waiting [2023-11-28T21:25:50.454Z] d747dcd14b5f: Waiting [2023-11-28T21:25:50.454Z] 9712f1f96733: Verifying Checksum [2023-11-28T21:25:50.454Z] 9712f1f96733: Download complete [2023-11-28T21:25:50.713Z] 63f879dbbcfc: Verifying Checksum [2023-11-28T21:25:50.713Z] 63f879dbbcfc: Download complete [2023-11-28T21:25:50.970Z] e9a5061849ea: Verifying Checksum [2023-11-28T21:25:50.970Z] e9a5061849ea: Download complete [2023-11-28T21:25:50.970Z] ab5ef0e58194: Verifying Checksum [2023-11-28T21:25:50.970Z] ab5ef0e58194: Download complete [2023-11-28T21:25:50.970Z] d747dcd14b5f: Verifying Checksum [2023-11-28T21:25:50.970Z] d747dcd14b5f: Download complete [2023-11-28T21:25:50.970Z] 0d9ebad4ef96: Verifying Checksum [2023-11-28T21:25:50.970Z] 0d9ebad4ef96: Download complete [2023-11-28T21:25:50.970Z] 2de7ff778b66: Verifying Checksum [2023-11-28T21:25:50.970Z] 2de7ff778b66: Download complete [2023-11-28T21:25:53.503Z] ab5ef0e58194: Pull complete [2023-11-28T21:25:53.503Z] 9712f1f96733: Pull complete [2023-11-28T21:25:54.070Z] 63f879dbbcfc: Pull complete [2023-11-28T21:25:57.356Z] 0d9ebad4ef96: Pull complete [2023-11-28T21:25:57.614Z] e9a5061849ea: Pull complete [2023-11-28T21:25:57.614Z] d747dcd14b5f: Pull complete [2023-11-28T21:25:58.550Z] 2de7ff778b66: Pull complete [2023-11-28T21:25:58.550Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-28T21:25:58.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T21:25:58.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:25:58.857Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:25:58.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-28T21:26:03.872Z] $ docker top 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-28T21:26:04.039Z] provisioning config files... [2023-11-28T21:26:04.053Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10085537531374173645tmp [2023-11-28T21:26:04.073Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13863287722511364227tmp [2023-11-28T21:26:04.093Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5694088754048425367tmp [Pipeline] { [Pipeline] echo [2023-11-28T21:26:04.164Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:04.456Z] ---> sigul-configuration.sh [2023-11-28T21:26:04.456Z] gpg: directory `/root/.gnupg' created [2023-11-28T21:26:04.456Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-28T21:26:04.456Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-28T21:26:04.456Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-28T21:26:04.456Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-28T21:26:04.456Z] gpg: CAST5 encrypted data [2023-11-28T21:26:04.456Z] gpg: encrypted with 1 passphrase [2023-11-28T21:26:04.456Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-28T21:26:04.749Z] + mkdir /home/jenkins [2023-11-28T21:26:04.750Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-28T21:26:05.048Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-28T21:26:05.063Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:05.360Z] ---> sigul-install.sh [2023-11-28T21:26:05.360Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-28T21:26:05.652Z] + git tag --list [2023-11-28T21:26:05.652Z] v1.0.0 [2023-11-28T21:26:05.652Z] v1.1.0 [2023-11-28T21:26:05.652Z] v1.1.1 [2023-11-28T21:26:05.652Z] v1.1.2 [2023-11-28T21:26:05.652Z] v1.2.0 [2023-11-28T21:26:05.652Z] v1.2.1 [2023-11-28T21:26:05.652Z] v2.0.0 [2023-11-28T21:26:05.652Z] v2.1.0 [2023-11-28T21:26:05.652Z] v2.1.1 [2023-11-28T21:26:05.652Z] v2.2.0 [2023-11-28T21:26:05.652Z] v2.3.0 [2023-11-28T21:26:05.652Z] v3.0 [2023-11-28T21:26:05.652Z] v3.0.0 [2023-11-28T21:26:05.652Z] v3.1 [2023-11-28T21:26:05.652Z] v3.1.0 [2023-11-28T21:26:05.652Z] v3.1.0-dev.1 [2023-11-28T21:26:05.652Z] v3.1.0-dev.10 [2023-11-28T21:26:05.652Z] v3.1.0-dev.11 [2023-11-28T21:26:05.652Z] v3.1.0-dev.12 [2023-11-28T21:26:05.652Z] v3.1.0-dev.13 [2023-11-28T21:26:05.652Z] v3.1.0-dev.14 [2023-11-28T21:26:05.652Z] v3.1.0-dev.15 [2023-11-28T21:26:05.652Z] v3.1.0-dev.16 [2023-11-28T21:26:05.652Z] v3.1.0-dev.17 [2023-11-28T21:26:05.652Z] v3.1.0-dev.18 [2023-11-28T21:26:05.652Z] v3.1.0-dev.19 [2023-11-28T21:26:05.652Z] v3.1.0-dev.2 [2023-11-28T21:26:05.652Z] v3.1.0-dev.20 [2023-11-28T21:26:05.652Z] v3.1.0-dev.21 [2023-11-28T21:26:05.652Z] v3.1.0-dev.22 [2023-11-28T21:26:05.652Z] v3.1.0-dev.23 [2023-11-28T21:26:05.652Z] v3.1.0-dev.24 [2023-11-28T21:26:05.652Z] v3.1.0-dev.25 [2023-11-28T21:26:05.652Z] v3.1.0-dev.26 [2023-11-28T21:26:05.652Z] v3.1.0-dev.27 [2023-11-28T21:26:05.652Z] v3.1.0-dev.28 [2023-11-28T21:26:05.652Z] v3.1.0-dev.29 [2023-11-28T21:26:05.652Z] v3.1.0-dev.3 [2023-11-28T21:26:05.652Z] v3.1.0-dev.30 [2023-11-28T21:26:05.652Z] v3.1.0-dev.31 [2023-11-28T21:26:05.652Z] v3.1.0-dev.32 [2023-11-28T21:26:05.652Z] v3.1.0-dev.4 [2023-11-28T21:26:05.652Z] v3.1.0-dev.5 [2023-11-28T21:26:05.652Z] v3.1.0-dev.6 [2023-11-28T21:26:05.652Z] v3.1.0-dev.7 [2023-11-28T21:26:05.652Z] v3.1.0-dev.8 [2023-11-28T21:26:05.652Z] v3.1.0-dev.9 [2023-11-28T21:26:05.652Z] v3.2.0-dev.1 [Pipeline] sh [2023-11-28T21:26:05.946Z] + lftools sign git-tag v3.2.0-dev.1 [2023-11-28T21:26:06.514Z] Signing Git tag with Sigul... [2023-11-28T21:26:06.514Z] Signing v3.2.0-dev.1 [Pipeline] echo [2023-11-28T21:26:06.784Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:07.078Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-28T21:26:07.086Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-28T21:26:07.229Z] $ docker stop --time=1 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 [2023-11-28T21:26:08.467Z] $ docker rm -f --volumes 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-28T21:26:09.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T21:26:09.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:26:09.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T21:26:09.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:26:09.896Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:26:09.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T21:26:10.265Z] $ docker top 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T21:26:10.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T21:26:10.531Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T21:26:10.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T21:26:10.680Z] $ docker exec 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 ssh-agent [2023-11-28T21:26:10.780Z] SSH_AUTH_SOCK=/tmp/ssh-QwD3iHHz9Rhj/agent.32 [2023-11-28T21:26:10.780Z] SSH_AGENT_PID=38 [2023-11-28T21:26:10.785Z] Running ssh-add (command line suppressed) [2023-11-28T21:26:10.905Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13646185173459107299.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13646185173459107299.key) [2023-11-28T21:26:10.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T21:26:11.256Z] + git semver bump pre [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,425 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,426 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,426 [bump_version] DEBUG bumped version:3.2.0-dev.2 [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,426 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,426 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,428 [execute] INFO git cat-file --batch-check [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,433 [execute] INFO git cat-file --batch [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T21:26:11.516Z] 2023-11-28 21:26:11,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:26:11.516Z] 3.2.0-dev.2 [Pipeline] } [2023-11-28T21:26:11.530Z] $ docker exec --env ******** --env ******** 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 ssh-agent -k [2023-11-28T21:26:11.629Z] unset SSH_AUTH_SOCK; [2023-11-28T21:26:11.630Z] unset SSH_AGENT_PID; [2023-11-28T21:26:11.630Z] echo Agent pid 38 killed; [2023-11-28T21:26:11.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T21:26:12.151Z] + git semver [Pipeline] } [2023-11-28T21:26:12.428Z] $ docker stop --time=1 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 [2023-11-28T21:26:13.688Z] $ docker rm -f --volumes 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T21:26:14.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T21:26:14.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:26:14.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T21:26:14.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:26:14.723Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:26:14.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T21:26:15.079Z] $ docker top 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T21:26:15.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T21:26:15.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T21:26:15.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T21:26:15.454Z] $ docker exec 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a ssh-agent [2023-11-28T21:26:15.557Z] SSH_AUTH_SOCK=/tmp/ssh-9UFdI6VX08Xy/agent.32 [2023-11-28T21:26:15.557Z] SSH_AGENT_PID=38 [2023-11-28T21:26:15.561Z] Running ssh-add (command line suppressed) [2023-11-28T21:26:15.666Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9967754537436968870.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9967754537436968870.key) [2023-11-28T21:26:15.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T21:26:16.077Z] + git semver push [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,204 [run_push] DEBUG push [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,204 [execute] INFO git cat-file --batch-check [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,208 [execute] INFO git rev-list 11264532ffbc65f85f945026c6f13f2a68bfdb88 -- [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,208 [execute] DEBUG Popen(['git', 'rev-list', '11264532ffbc65f85f945026c6f13f2a68bfdb88', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,215 [execute] INFO git fetch -v origin [2023-11-28T21:26:16.349Z] 2023-11-28 21:26:16,216 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-28T21:26:16.958Z] 2023-11-28 21:26:16,764 [run_push] DEBUG no remote changes detected [2023-11-28T21:26:16.958Z] 2023-11-28 21:26:16,765 [execute] INFO git push origin semver [2023-11-28T21:26:16.958Z] 2023-11-28 21:26:16,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-28T21:26:17.917Z] 2023-11-28 21:26:17,556 [run_push] DEBUG push all version tags [2023-11-28T21:26:17.917Z] 2023-11-28 21:26:17,556 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-28T21:26:17.917Z] 2023-11-28 21:26:17,556 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-28T21:26:18.485Z] 2023-11-28 21:26:18,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-28T21:26:18.485Z] 3.2.0-dev.2 [Pipeline] } [2023-11-28T21:26:18.500Z] $ docker exec --env ******** --env ******** 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a ssh-agent -k [2023-11-28T21:26:18.593Z] unset SSH_AUTH_SOCK; [2023-11-28T21:26:18.593Z] unset SSH_AGENT_PID; [2023-11-28T21:26:18.593Z] echo Agent pid 38 killed; [2023-11-28T21:26:18.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T21:26:19.113Z] + git semver [Pipeline] } [2023-11-28T21:26:19.391Z] $ docker stop --time=1 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a [2023-11-28T21:26:20.664Z] $ docker rm -f --volumes 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-28T21:26:22.292Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-28T21:26:22.292Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-28T21:26:22.292Z] total 16 [2023-11-28T21:26:22.292Z] drwxr-xr-x 3 root root 4096 Nov 28 20:31 . [2023-11-28T21:26:22.292Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:26 .. [2023-11-28T21:26:22.292Z] drwxr-xr-x 2 root root 4096 Nov 28 20:31 cost [2023-11-28T21:26:22.292Z] -rw-r--r-- 1 root root 86 Nov 28 20:31 cost.csv [2023-11-28T21:26:22.292Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-28T21:26:22.292Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-28T21:26:22.292Z] total 16 [2023-11-28T21:26:22.292Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:31 . [2023-11-28T21:26:22.292Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:26 .. [2023-11-28T21:26:22.292Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:31 cost [2023-11-28T21:26:22.292Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:22.578Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:23.439Z] ---> package-listing.sh [2023-11-28T21:26:23.439Z] ++ facter osfamily [2023-11-28T21:26:23.439Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T21:26:23.698Z] + OS_FAMILY=debian [2023-11-28T21:26:23.698Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-28T21:26:23.698Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T21:26:23.698Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T21:26:23.698Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T21:26:23.698Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T21:26:23.698Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-28T21:26:23.698Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T21:26:23.698Z] + case "${OS_FAMILY}" in [2023-11-28T21:26:23.698Z] + dpkg -l [2023-11-28T21:26:23.698Z] + grep '^ii' [2023-11-28T21:26:23.698Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T21:26:23.698Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T21:26:23.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T21:26:23.698Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-28T21:26:23.698Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-28T21:26:23.698Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-11-28T21:26:23.708Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T21:26:23.987Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T21:26:24.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T21:26:24.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T21:26:24.805Z] prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container [2023-11-28T21:26:24.838Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T21:26:25.029Z] $ docker top 8d63c5b130f632b419a9634af0e1c657863eb3104e27abeacbc4f97f94db7235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T21:26:25.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T21:26:25.762Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T21:26:26.043Z] + ls /var/log/sa-host [2023-11-28T21:26:26.043Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T21:26:26.236Z] provisioning config files... [2023-11-28T21:26:26.243Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8317256955143839576tmp [Pipeline] { [Pipeline] echo [2023-11-28T21:26:26.368Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:26.643Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T21:26:26.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:27.102Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T21:26:27.111Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:27.394Z] ---> sudo-logs.sh [2023-11-28T21:26:27.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T21:26:27.677Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:27.958Z] ---> job-cost.sh [2023-11-28T21:26:27.958Z] lf-activate-venv: SKIPPING [2023-11-28T21:26:27.958Z] DEBUG: total: 0.2199999988079071 [2023-11-28T21:26:27.958Z] INFO: Retrieving Stack Cost... [2023-11-28T21:26:28.217Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T21:26:28.784Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T21:26:28.793Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T21:26:29.074Z] ---> logs-deploy.sh [2023-11-28T21:26:29.074Z] lf-activate-venv: SKIPPING [2023-11-28T21:26:29.074Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/153 [2023-11-28T21:26:29.074Z] INFO: archiving workspace using pattern(s): [2023-11-28T21:26:30.009Z] Archives upload complete. [2023-11-28T21:26:30.009Z] INFO: archiving logs to Nexus