Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 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-ssh4625793119943020064.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-ssh17828821655984353740.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-ssh4456824941175031267.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-ssh68141101005033488.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-ssh12430373227630895621.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24104 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 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371)" > 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 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba # timeout=10 > git rev-list --no-walk 96614595ba73594199dee70385f2da41578defd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-05T21:06:23.549Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-05T21:06:23.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-05T21:06:23.671Z] ========================================================= [2023-12-05T21:06:23.671Z] EdgeX Global Pipelines Version Info [2023-12-05T21:06:23.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:06:24.400Z] ------------------- [2023-12-05T21:06:24.400Z] stable info: [2023-12-05T21:06:24.400Z] ------------------- [2023-12-05T21:06:24.400Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-05T21:06:24.400Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-05T21:06:24.400Z] Message: update stable to v1.0.258 [2023-12-05T21:06:24.973Z] ------------------- [2023-12-05T21:06:24.973Z] experimental info: [2023-12-05T21:06:24.973Z] ------------------- [2023-12-05T21:06:24.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-05T21:06:24.973Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-05T21:06:24.973Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-05T21:06:25.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-05T21:06:25.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-05T21:06:25.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-05T21:06:25.119Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-05T21:06:25.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-05T21:06:25.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-05T21:06:25.200Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-05T21:06:25.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-05T21:06:25.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-05T21:06:25.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-05T21:06:25.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-05T21:06:25.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-05T21:06:25.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-05T21:06:25.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-05T21:06:25.434Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-05T21:06:25.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-05T21:06:25.503Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-05T21:06:25.536Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-05T21:06:25.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-05T21:06:25.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-05T21:06:25.630Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-05T21:06:25.664Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-05T21:06:25.694Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-05T21:06:25.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-05T21:06:25.770Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-05T21:06:25.808Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-05T21:06:25.842Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-05T21:06:25.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-12-05T21:06:25.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-12-05T21:06:25.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-12-05T21:06:25.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo [2023-12-05T21:06:26.033Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aba5f4c [Pipeline] echo [2023-12-05T21:06:26.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:06:26.153Z] provisioning config files... [2023-12-05T21:06:26.168Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11115394280566975790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:06:26.512Z] ---> ****-login.sh [2023-12-05T21:06:26.512Z] nexus3.edgexfoundry.org:10001 [2023-12-05T21:06:26.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:27.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:27.033Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:27.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:27.033Z] [2023-12-05T21:06:27.033Z] Login Succeeded [2023-12-05T21:06:27.033Z] nexus3.edgexfoundry.org:10002 [2023-12-05T21:06:27.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:27.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:27.293Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:27.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:27.293Z] [2023-12-05T21:06:27.293Z] Login Succeeded [2023-12-05T21:06:27.293Z] nexus3.edgexfoundry.org:10003 [2023-12-05T21:06:27.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:27.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:27.294Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:27.294Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:27.294Z] [2023-12-05T21:06:27.294Z] Login Succeeded [2023-12-05T21:06:27.294Z] nexus3.edgexfoundry.org:10004 [2023-12-05T21:06:27.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:27.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:27.554Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:27.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:27.554Z] [2023-12-05T21:06:27.554Z] Login Succeeded [2023-12-05T21:06:27.554Z] ****.io [2023-12-05T21:06:27.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:27.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:27.816Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:27.816Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:27.816Z] [2023-12-05T21:06:27.816Z] Login Succeeded [2023-12-05T21:06:27.816Z] ---> ****-login.sh ends [Pipeline] } [2023-12-05T21:06:27.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-05T21:06:28.305Z] + git rev-list -1 --merges aba5f4cc438774234c64a3e3d3941f8bbfaf4eba~1..aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo [2023-12-05T21:06:28.333Z] -----------> git rev-list -1 --merges aba5f4cc438774234c64a3e3d3941f8bbfaf4eba~1..aba5f4cc438774234c64a3e3d3941f8bbfaf4eba aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [false] [Pipeline] sh [2023-12-05T21:06:28.635Z] + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo [2023-12-05T21:06:28.649Z] ========================================================= [2023-12-05T21:06:28.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-05T21:06:28.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-05T21:06:29.019Z] + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo [2023-12-05T21:06:29.030Z] [semverPrep] GIT_COMMIT: aba5f4cc438774234c64a3e3d3941f8bbfaf4eba, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371) [Pipeline] echo [2023-12-05T21:06:29.056Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-05T21:06:29.457Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-05T21:06:29.457Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-05T21:06:29.457Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-05T21:06:29.457Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-05T21:06:29.457Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-05T21:06:29.457Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-05T21:06:29.457Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:06:29.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:06:29.931Z] [2023-12-05T21:06:29.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:06:30.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:06:30.255Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-05T21:06:30.255Z] b85a868b505f: Pulling fs layer [2023-12-05T21:06:30.255Z] e2be974225ed: Pulling fs layer [2023-12-05T21:06:30.255Z] 339a4e72a1f5: Pulling fs layer [2023-12-05T21:06:30.255Z] 988bab9f4d93: Pulling fs layer [2023-12-05T21:06:30.255Z] 1469e6f7b9e6: Pulling fs layer [2023-12-05T21:06:30.255Z] eaf3925da568: Pulling fs layer [2023-12-05T21:06:30.255Z] bab4dde63d76: Pulling fs layer [2023-12-05T21:06:30.255Z] bde34c3a00c8: Pulling fs layer [2023-12-05T21:06:30.255Z] b352a97aabf1: Pulling fs layer [2023-12-05T21:06:30.255Z] 4872d77fe225: Pulling fs layer [2023-12-05T21:06:30.255Z] 988bab9f4d93: Waiting [2023-12-05T21:06:30.255Z] bab4dde63d76: Waiting [2023-12-05T21:06:30.255Z] eaf3925da568: Waiting [2023-12-05T21:06:30.255Z] 1469e6f7b9e6: Waiting [2023-12-05T21:06:30.255Z] b352a97aabf1: Waiting [2023-12-05T21:06:30.255Z] bde34c3a00c8: Waiting [2023-12-05T21:06:30.255Z] 5851b861e8e6: Pulling fs layer [2023-12-05T21:06:30.255Z] 4872d77fe225: Waiting [2023-12-05T21:06:30.255Z] 5851b861e8e6: Waiting [2023-12-05T21:06:30.255Z] e2be974225ed: Download complete [2023-12-05T21:06:30.255Z] 988bab9f4d93: Verifying Checksum [2023-12-05T21:06:30.255Z] 988bab9f4d93: Download complete [2023-12-05T21:06:30.255Z] 1469e6f7b9e6: Verifying Checksum [2023-12-05T21:06:30.255Z] 1469e6f7b9e6: Download complete [2023-12-05T21:06:30.255Z] eaf3925da568: Download complete [2023-12-05T21:06:30.255Z] 339a4e72a1f5: Verifying Checksum [2023-12-05T21:06:30.255Z] 339a4e72a1f5: Download complete [2023-12-05T21:06:30.521Z] b352a97aabf1: Download complete [2023-12-05T21:06:30.521Z] 4872d77fe225: Download complete [2023-12-05T21:06:30.521Z] 5851b861e8e6: Download complete [2023-12-05T21:06:30.521Z] b85a868b505f: Verifying Checksum [2023-12-05T21:06:30.521Z] b85a868b505f: Download complete [2023-12-05T21:06:30.786Z] bab4dde63d76: Verifying Checksum [2023-12-05T21:06:30.786Z] bab4dde63d76: Download complete [2023-12-05T21:06:31.726Z] b85a868b505f: Pull complete [2023-12-05T21:06:31.989Z] e2be974225ed: Pull complete [2023-12-05T21:06:32.560Z] 339a4e72a1f5: Pull complete [2023-12-05T21:06:32.560Z] 988bab9f4d93: Pull complete [2023-12-05T21:06:32.819Z] 1469e6f7b9e6: Pull complete [2023-12-05T21:06:32.819Z] eaf3925da568: Pull complete [2023-12-05T21:06:34.726Z] bab4dde63d76: Pull complete [2023-12-05T21:06:34.726Z] bde34c3a00c8: Pull complete [2023-12-05T21:06:34.726Z] b352a97aabf1: Pull complete [2023-12-05T21:06:34.726Z] 4872d77fe225: Pull complete [2023-12-05T21:06:34.986Z] 5851b861e8e6: Pull complete [2023-12-05T21:06:34.986Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-05T21:06:34.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:06:34.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:06:35.180Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:06:35.207Z] $ 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-12-05T21:06:38.891Z] $ docker top 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 -eo pid,comm [2023-12-05T21:06:38.953Z] 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-12-05T21:06:38.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-05T21:06:39.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-05T21:06:39.065Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-05T21:06:39.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-05T21:06:39.183Z] $ docker exec 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent [2023-12-05T21:06:39.291Z] SSH_AUTH_SOCK=/tmp/ssh-YbjQpStjmeHP/agent.31 [2023-12-05T21:06:39.291Z] SSH_AGENT_PID=37 [2023-12-05T21:06:39.299Z] Running ssh-add (command line suppressed) [2023-12-05T21:06:39.393Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8353666175872923531.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8353666175872923531.key) [2023-12-05T21:06:39.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-05T21:06:39.720Z] + git tag --points-at HEAD [Pipeline] } [2023-12-05T21:06:39.729Z] $ docker exec --env ******** --env ******** 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent -k [2023-12-05T21:06:39.816Z] unset SSH_AUTH_SOCK; [2023-12-05T21:06:39.816Z] unset SSH_AGENT_PID; [2023-12-05T21:06:39.816Z] echo Agent pid 37 killed; [2023-12-05T21:06:39.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-05T21:06:39.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-05T21:06:39.896Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-05T21:06:40.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-05T21:06:40.005Z] $ docker exec 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent [2023-12-05T21:06:40.113Z] SSH_AUTH_SOCK=/tmp/ssh-W4I6UTeKd12j/agent.69 [2023-12-05T21:06:40.113Z] SSH_AGENT_PID=75 [2023-12-05T21:06:40.118Z] Running ssh-add (command line suppressed) [2023-12-05T21:06:40.217Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3980707080226777270.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3980707080226777270.key) [2023-12-05T21:06:40.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-05T21:06:40.542Z] + git semver init [2023-12-05T21:06:40.802Z] 2023-12-05 21:06:40,719 [run_init] DEBUG init version:0.0.0 force:False [2023-12-05T21:06:40.802Z] 2023-12-05 21:06:40,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-05T21:06:40.802Z] 2023-12-05 21:06:40,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-05T21:06:40.802Z] 2023-12-05 21:06:40,720 [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-12-05T21:06:42.710Z] 2023-12-05 21:06:42,241 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-12-05T21:06:42.710Z] 2023-12-05 21:06:42,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-12-05T21:06:42.710Z] 2023-12-05 21:06:42,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:06:42.710Z] 2023-12-05 21:06:42,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:06:42.710Z] 3.2.0-dev.3 [Pipeline] } [2023-12-05T21:06:42.726Z] $ docker exec --env ******** --env ******** 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent -k [2023-12-05T21:06:42.825Z] unset SSH_AUTH_SOCK; [2023-12-05T21:06:42.825Z] unset SSH_AGENT_PID; [2023-12-05T21:06:42.825Z] echo Agent pid 75 killed; [2023-12-05T21:06:42.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-05T21:06:43.228Z] + git semver [Pipeline] } [2023-12-05T21:06:43.505Z] $ docker stop --time=1 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 [2023-12-05T21:06:44.804Z] $ docker rm -f --volumes 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-05T21:06:45.189Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-05T21:06:45.465Z] Stashed 1 file(s) [Pipeline] echo [2023-12-05T21:06:45.468Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.3 [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-12-05T21:06:45.846Z] provisioning config files... [2023-12-05T21:06:45.858Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13678913181040946983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:06:46.192Z] ---> ****-login.sh [2023-12-05T21:06:46.192Z] nexus3.edgexfoundry.org:10001 [2023-12-05T21:06:46.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:46.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:46.192Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:46.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:46.192Z] [2023-12-05T21:06:46.192Z] Login Succeeded [2023-12-05T21:06:46.192Z] nexus3.edgexfoundry.org:10002 [2023-12-05T21:06:46.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:46.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:46.192Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:46.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:46.192Z] [2023-12-05T21:06:46.192Z] Login Succeeded [2023-12-05T21:06:46.192Z] nexus3.edgexfoundry.org:10003 [2023-12-05T21:06:46.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:46.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:46.453Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:46.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:46.453Z] [2023-12-05T21:06:46.453Z] Login Succeeded [2023-12-05T21:06:46.453Z] nexus3.edgexfoundry.org:10004 [2023-12-05T21:06:46.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:46.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:46.454Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:46.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:46.454Z] [2023-12-05T21:06:46.454Z] Login Succeeded [2023-12-05T21:06:46.454Z] ****.io [2023-12-05T21:06:46.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:06:46.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:06:46.715Z] Configure a credential helper to remove this warning. See [2023-12-05T21:06:46.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:06:46.715Z] [2023-12-05T21:06:46.715Z] Login Succeeded [2023-12-05T21:06:46.715Z] ---> ****-login.sh ends [Pipeline] } [2023-12-05T21:06:46.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-05T21:06:46.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:06:46.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:06:46.967Z] ========================================================= [2023-12-05T21:06:46.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-05T21:06:46.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:06:47.389Z] + 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-12-05T21:06:47.389Z] Sending build context to Docker daemon 16.34MB [2023-12-05T21:06:47.389Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-05T21:06:47.389Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-05T21:06:47.389Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-05T21:06:47.389Z] 7264a8db6415: Pulling fs layer [2023-12-05T21:06:47.389Z] c4d48a809fc2: Pulling fs layer [2023-12-05T21:06:47.389Z] 4f1c88b9dad5: Pulling fs layer [2023-12-05T21:06:47.389Z] ad3a456e5733: Pulling fs layer [2023-12-05T21:06:47.389Z] 69c7f0334f64: Pulling fs layer [2023-12-05T21:06:47.389Z] 1f1c1a5573a3: Pulling fs layer [2023-12-05T21:06:47.389Z] ce7588e14bc9: Pulling fs layer [2023-12-05T21:06:47.389Z] b5e4710f87ac: Pulling fs layer [2023-12-05T21:06:47.389Z] ad3a456e5733: Waiting [2023-12-05T21:06:47.389Z] b5e4710f87ac: Waiting [2023-12-05T21:06:47.389Z] 69c7f0334f64: Waiting [2023-12-05T21:06:47.389Z] 1f1c1a5573a3: Waiting [2023-12-05T21:06:47.389Z] ce7588e14bc9: Waiting [2023-12-05T21:06:47.648Z] c4d48a809fc2: Verifying Checksum [2023-12-05T21:06:47.648Z] c4d48a809fc2: Download complete [2023-12-05T21:06:47.648Z] ad3a456e5733: Verifying Checksum [2023-12-05T21:06:47.648Z] ad3a456e5733: Download complete [2023-12-05T21:06:47.648Z] 69c7f0334f64: Verifying Checksum [2023-12-05T21:06:47.648Z] 69c7f0334f64: Download complete [2023-12-05T21:06:47.648Z] 7264a8db6415: Verifying Checksum [2023-12-05T21:06:47.648Z] 7264a8db6415: Download complete [2023-12-05T21:06:47.648Z] 1f1c1a5573a3: Verifying Checksum [2023-12-05T21:06:47.648Z] 1f1c1a5573a3: Download complete [2023-12-05T21:06:47.648Z] 7264a8db6415: Pull complete [2023-12-05T21:06:47.907Z] b5e4710f87ac: Verifying Checksum [2023-12-05T21:06:47.907Z] b5e4710f87ac: Download complete [2023-12-05T21:06:47.907Z] c4d48a809fc2: Pull complete [2023-12-05T21:06:47.907Z] 4f1c88b9dad5: Verifying Checksum [2023-12-05T21:06:47.907Z] 4f1c88b9dad5: Download complete [2023-12-05T21:06:48.476Z] ce7588e14bc9: Verifying Checksum [2023-12-05T21:06:48.476Z] ce7588e14bc9: Download complete [2023-12-05T21:06:51.008Z] 4f1c88b9dad5: Pull complete [2023-12-05T21:06:51.008Z] ad3a456e5733: Pull complete [2023-12-05T21:06:51.008Z] 69c7f0334f64: Pull complete [2023-12-05T21:06:51.266Z] 1f1c1a5573a3: Pull complete [2023-12-05T21:06:53.805Z] ce7588e14bc9: Pull complete [2023-12-05T21:06:53.805Z] b5e4710f87ac: Pull complete [2023-12-05T21:06:53.805Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-05T21:06:53.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-05T21:06:53.805Z] ---> 88b5674ff536 [2023-12-05T21:06:53.805Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-05T21:06:59.179Z] ---> Running in f74dfec8e57c [2023-12-05T21:06:59.179Z] Removing intermediate container f74dfec8e57c [2023-12-05T21:06:59.179Z] ---> 3662e6fa2dba [2023-12-05T21:06:59.179Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-05T21:06:59.179Z] ---> Running in 9bb2b6a1e3b3 [2023-12-05T21:06:59.179Z] Removing intermediate container 9bb2b6a1e3b3 [2023-12-05T21:06:59.179Z] ---> 2d8e1d5fcab0 [2023-12-05T21:06:59.179Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-05T21:06:59.179Z] ---> Running in 9635963d4f7a [2023-12-05T21:06:59.179Z] Removing intermediate container 9635963d4f7a [2023-12-05T21:06:59.179Z] ---> d78d0dcd197f [2023-12-05T21:06:59.179Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-05T21:06:59.179Z] ---> Running in 9c2ae5aa9c9f [2023-12-05T21:06:59.179Z] Removing intermediate container 9c2ae5aa9c9f [2023-12-05T21:06:59.179Z] ---> a749a37dbc0d [2023-12-05T21:06:59.179Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-05T21:06:59.438Z] ---> Running in a7914c926eb2 [2023-12-05T21:06:59.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-05T21:06:59.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-05T21:06:59.956Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-05T21:06:59.956Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-05T21:06:59.956Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-05T21:06:59.956Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-05T21:06:59.956Z] Executing busybox-1.36.1-r5.trigger [2023-12-05T21:06:59.956Z] OK: 268 MiB in 56 packages [2023-12-05T21:07:00.524Z] Removing intermediate container a7914c926eb2 [2023-12-05T21:07:00.524Z] ---> 839cdf132663 [2023-12-05T21:07:00.524Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-05T21:07:00.524Z] ---> Running in b172a2ee1e36 [2023-12-05T21:07:00.524Z] Removing intermediate container b172a2ee1e36 [2023-12-05T21:07:00.524Z] ---> dc3d1424737a [2023-12-05T21:07:00.524Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-05T21:07:00.732Z] Still waiting to schedule task [2023-12-05T21:07:00.732Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-05T21:07:00.784Z] ---> 6de748cda81e [2023-12-05T21:07:00.784Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-05T21:07:00.784Z] ---> Running in afb4b360e576 [2023-12-05T21:07:47.649Z] Removing intermediate container afb4b360e576 [2023-12-05T21:07:47.649Z] ---> f51706760a0d [2023-12-05T21:07:47.649Z] Step 11/12 : COPY . . [2023-12-05T21:07:47.649Z] ---> b8f143b7b6c6 [2023-12-05T21:07:47.649Z] Step 12/12 : RUN $MAKE [2023-12-05T21:07:47.649Z] ---> Running in cb5c9ef64368 [2023-12-05T21:07:47.649Z] noop [2023-12-05T21:07:47.649Z] Removing intermediate container cb5c9ef64368 [2023-12-05T21:07:47.649Z] ---> adc79f46a8c6 [2023-12-05T21:07:47.649Z] Successfully built adc79f46a8c6 [2023-12-05T21:07:47.649Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:07:48.028Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-05T21:07:48.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:07:48.138Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:07:48.171Z] $ 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-12-05T21:07:48.523Z] $ docker top f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-05T21:07:48.909Z] + go version [2023-12-05T21:07:48.909Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-05T21:07:48.926Z] $ docker stop --time=1 f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 [2023-12-05T21:07:50.169Z] $ docker rm -f --volumes f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:07:50.761Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-05T21:07:50.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:07:50.876Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:07:50.913Z] $ 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-12-05T21:07:51.221Z] $ docker top 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-05T21:07:51.601Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-12-05T21:07:51.926Z] + make test [2023-12-05T21:07:51.926Z] go test ./... -coverprofile=coverage.out ./... [2023-12-05T21:07:53.304Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-05T21:08:03.267Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-05T21:08:03.267Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 33.2% of statements [2023-12-05T21:08:09.825Z] go vet ./... [2023-12-05T21:08:13.105Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-05T21:08:13.105Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-05T21:08:13.105Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-05T21:08:13.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-05T21:08:13.153Z] $ docker stop --time=1 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba [2023-12-05T21:08:16.779Z] $ docker rm -f --volumes 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-05T21:08:17.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-05T21:08:17.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-05T21:08:17.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-05T21:08:18.226Z] + ls -al . [2023-12-05T21:08:18.226Z] total 180 [2023-12-05T21:08:18.226Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 21:07 . [2023-12-05T21:08:18.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 21:06 .. [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 21:06 .dockerignore [2023-12-05T21:08:18.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:08 .git [2023-12-05T21:08:18.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 .github [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 21:06 .gitignore [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 21:06 .golangci.yml [2023-12-05T21:08:18.226Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 21:06 .semver [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 21:06 Attribution.txt [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 21:06 CHANGELOG.md [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 21:06 Dockerfile [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 21:06 GOVERNANCE.md [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 21:06 Jenkinsfile [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 21:06 LICENSE [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 21:06 Makefile [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 21:06 OWNERS.md [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 21:06 README.md [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 21:06 VERSION [2023-12-05T21:08:18.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:06 bin [2023-12-05T21:08:18.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 cmd [2023-12-05T21:08:18.226Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 21:08 coverage.out [2023-12-05T21:08:18.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:06 driver [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 21:06 go.mod [2023-12-05T21:08:18.226Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 21:06 go.sum [2023-12-05T21:08:18.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 openapi [2023-12-05T21:08:18.227Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:18.586Z] + 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=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba --label arch=amd64 --label version=3.2.0-dev.3 . [2023-12-05T21:08:18.586Z] Sending build context to Docker daemon 16.36MB [2023-12-05T21:08:18.586Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-05T21:08:18.586Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-05T21:08:18.586Z] ---> adc79f46a8c6 [2023-12-05T21:08:18.586Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-05T21:08:18.846Z] ---> Running in fddc90b12f71 [2023-12-05T21:08:18.846Z] Removing intermediate container fddc90b12f71 [2023-12-05T21:08:18.846Z] ---> 7688b7774141 [2023-12-05T21:08:18.846Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-05T21:08:18.846Z] ---> Running in 7adb5995cccc [2023-12-05T21:08:19.105Z] Removing intermediate container 7adb5995cccc [2023-12-05T21:08:19.105Z] ---> a5600074ae49 [2023-12-05T21:08:19.105Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-05T21:08:19.105Z] ---> Running in 93a9ba0a1229 [2023-12-05T21:08:19.105Z] Removing intermediate container 93a9ba0a1229 [2023-12-05T21:08:19.105Z] ---> 6009260fe874 [2023-12-05T21:08:19.105Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-05T21:08:19.105Z] ---> Running in 2df2615f568d [2023-12-05T21:08:19.105Z] Removing intermediate container 2df2615f568d [2023-12-05T21:08:19.105Z] ---> a61bf3fe1c2b [2023-12-05T21:08:19.105Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-05T21:08:19.105Z] ---> Running in ca6efe507ba6 [2023-12-05T21:08:19.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:19.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:19.880Z] OK: 268 MiB in 56 packages [2023-12-05T21:08:20.138Z] Removing intermediate container ca6efe507ba6 [2023-12-05T21:08:20.138Z] ---> 2d2bc2455fd3 [2023-12-05T21:08:20.138Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-05T21:08:20.138Z] ---> Running in 98c523364e4a [2023-12-05T21:08:20.138Z] Removing intermediate container 98c523364e4a [2023-12-05T21:08:20.138Z] ---> 79a0de63d5db [2023-12-05T21:08:20.138Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-05T21:08:20.398Z] ---> fee6ad4b6746 [2023-12-05T21:08:20.398Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-05T21:08:20.398Z] ---> Running in 47f909ac628c [2023-12-05T21:08:20.967Z] Removing intermediate container 47f909ac628c [2023-12-05T21:08:20.967Z] ---> d7fbcee8b24f [2023-12-05T21:08:20.967Z] Step 11/26 : COPY . . [2023-12-05T21:08:21.555Z] ---> 27398653af54 [2023-12-05T21:08:21.555Z] Step 12/26 : RUN $MAKE [2023-12-05T21:08:21.555Z] ---> Running in 463a2c3c6019 [2023-12-05T21:08:21.555Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-05T21:08:43.714Z] Removing intermediate container 463a2c3c6019 [2023-12-05T21:08:43.714Z] ---> 2b9f2414dda0 [2023-12-05T21:08:43.714Z] Step 13/26 : FROM alpine:3.18 [2023-12-05T21:08:43.714Z] 3.18: Pulling from library/alpine [2023-12-05T21:08:43.714Z] c926b61bad3b: Pulling fs layer [2023-12-05T21:08:43.714Z] c926b61bad3b: Download complete [2023-12-05T21:08:43.714Z] c926b61bad3b: Pull complete [2023-12-05T21:08:43.714Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-05T21:08:43.714Z] Status: Downloaded newer image for alpine:3.18 [2023-12-05T21:08:43.714Z] ---> b541f2080109 [2023-12-05T21:08:43.714Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-05T21:08:43.714Z] ---> Running in 9bbd9fbd99b3 [2023-12-05T21:08:43.714Z] Removing intermediate container 9bbd9fbd99b3 [2023-12-05T21:08:43.714Z] ---> a57d21eef45f [2023-12-05T21:08:43.714Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-05T21:08:43.714Z] ---> Running in 950706fb0f4f [2023-12-05T21:08:43.714Z] Removing intermediate container 950706fb0f4f [2023-12-05T21:08:43.714Z] ---> 7d48980d33df [2023-12-05T21:08:43.714Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-05T21:08:43.714Z] ---> Running in 89d5c24e1f37 [2023-12-05T21:08:43.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:43.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:44.228Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-05T21:08:44.228Z] Executing busybox-1.36.1-r5.trigger [2023-12-05T21:08:44.228Z] OK: 7 MiB in 16 packages [2023-12-05T21:08:44.487Z] Removing intermediate container 89d5c24e1f37 [2023-12-05T21:08:44.487Z] ---> 9e3de53d9e24 [2023-12-05T21:08:44.487Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-05T21:08:44.487Z] ---> Running in 299e5d5ddbf1 [2023-12-05T21:08:44.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:45.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-05T21:08:45.007Z] OK: 7 MiB in 16 packages [2023-12-05T21:08:45.051Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24106 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-12-05T21:08:45.088Z] Running in /w/workspace/device-rest-go/155 [Pipeline] { [Pipeline] checkout [2023-12-05T21:08:45.574Z] Removing intermediate container 299e5d5ddbf1 [2023-12-05T21:08:45.575Z] ---> 0e3a2e8e7505 [2023-12-05T21:08:45.575Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-05T21:08:46.543Z] ---> 7bbd35f14846 [2023-12-05T21:08:46.543Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-05T21:08:46.543Z] ---> 08b58ef164ab [2023-12-05T21:08:46.543Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-05T21:08:46.543Z] ---> ef01b44dac69 [2023-12-05T21:08:46.543Z] Step 21/26 : EXPOSE 59986 [2023-12-05T21:08:46.543Z] ---> Running in 65eaa7865ffa [2023-12-05T21:08:46.803Z] Removing intermediate container 65eaa7865ffa [2023-12-05T21:08:46.803Z] ---> 25784b6f9c3b [2023-12-05T21:08:46.803Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-05T21:08:46.803Z] ---> Running in 3cf0f7bf9aa3 [2023-12-05T21:08:46.803Z] Removing intermediate container 3cf0f7bf9aa3 [2023-12-05T21:08:46.803Z] ---> b20d7305ac57 [2023-12-05T21:08:46.803Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-05T21:08:46.803Z] ---> Running in 12c3343e52eb [2023-12-05T21:08:46.803Z] Removing intermediate container 12c3343e52eb [2023-12-05T21:08:46.803Z] ---> d328c28df361 [2023-12-05T21:08:46.803Z] Step 24/26 : LABEL arch=amd64 [2023-12-05T21:08:46.803Z] ---> Running in 7330717f5f35 [2023-12-05T21:08:47.062Z] Removing intermediate container 7330717f5f35 [2023-12-05T21:08:47.062Z] ---> 72dfeda2432b [2023-12-05T21:08:47.062Z] Step 25/26 : LABEL git_sha=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:08:47.062Z] ---> Running in f1986d3bf460 [2023-12-05T21:08:47.062Z] Removing intermediate container f1986d3bf460 [2023-12-05T21:08:47.062Z] ---> ebcd7cdef831 [2023-12-05T21:08:47.062Z] Step 26/26 : LABEL version=3.2.0-dev.3 [2023-12-05T21:08:47.062Z] ---> Running in 493c6ab905ed [2023-12-05T21:08:47.062Z] Removing intermediate container 493c6ab905ed [2023-12-05T21:08:47.062Z] ---> e0d5bfb48375 [2023-12-05T21:08:47.062Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-05T21:08:47.062Z] Successfully built e0d5bfb48375 [2023-12-05T21:08:47.062Z] Successfully tagged device-rest:latest [2023-12-05T21:08:48.156Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:08:48.431Z] provisioning config files... [2023-12-05T21:08:48.445Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2502216061387681141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:08:48.774Z] ---> ****-login.sh [2023-12-05T21:08:48.774Z] nexus3.edgexfoundry.org:10001 [2023-12-05T21:08:48.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:08:48.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:08:48.774Z] Configure a credential helper to remove this warning. See [2023-12-05T21:08:48.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:08:48.774Z] [2023-12-05T21:08:48.774Z] Login Succeeded [2023-12-05T21:08:48.774Z] nexus3.edgexfoundry.org:10002 [2023-12-05T21:08:48.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:08:48.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:08:48.774Z] Configure a credential helper to remove this warning. See [2023-12-05T21:08:48.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:08:48.774Z] [2023-12-05T21:08:48.774Z] Login Succeeded [2023-12-05T21:08:48.774Z] nexus3.edgexfoundry.org:10003 [2023-12-05T21:08:49.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:08:49.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:08:49.036Z] Configure a credential helper to remove this warning. See [2023-12-05T21:08:49.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:08:49.036Z] [2023-12-05T21:08:49.036Z] Login Succeeded [2023-12-05T21:08:49.036Z] nexus3.edgexfoundry.org:10004 [2023-12-05T21:08:49.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:08:49.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:08:49.036Z] Configure a credential helper to remove this warning. See [2023-12-05T21:08:49.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:08:49.036Z] [2023-12-05T21:08:49.036Z] Login Succeeded [2023-12-05T21:08:49.036Z] ****.io [2023-12-05T21:08:49.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:08:49.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:08:49.604Z] Configure a credential helper to remove this warning. See [2023-12-05T21:08:49.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:08:49.604Z] [2023-12-05T21:08:49.604Z] Login Succeeded [2023-12-05T21:08:49.604Z] ---> ****-login.sh ends [Pipeline] } [2023-12-05T21:08:49.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-05T21:08:49.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:08:49.793Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-12-05T21:08:49.793Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:08:49.793Z] latest [2023-12-05T21:08:49.793Z] 3.2.0-dev.3 [2023-12-05T21:08:49.793Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:08:49.793Z] main [2023-12-05T21:08:49.793Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:50.299Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:50.739Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:08:50.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-05T21:08:50.739Z] 71c0b7c3881d: Preparing [2023-12-05T21:08:50.739Z] b876f536c02e: Preparing [2023-12-05T21:08:50.739Z] a2ab01e69eb4: Preparing [2023-12-05T21:08:50.739Z] 52eb0786bca2: Preparing [2023-12-05T21:08:50.739Z] f75f4e2b257a: Preparing [2023-12-05T21:08:50.739Z] 9fe9a137fd00: Preparing [2023-12-05T21:08:50.739Z] 9fe9a137fd00: Waiting [2023-12-05T21:08:50.739Z] b876f536c02e: Pushed [2023-12-05T21:08:50.739Z] 9fe9a137fd00: Layer already exists [2023-12-05T21:08:50.739Z] 52eb0786bca2: Pushed [2023-12-05T21:08:50.739Z] 71c0b7c3881d: Pushed [2023-12-05T21:08:50.739Z] f75f4e2b257a: Pushed [2023-12-05T21:08:52.973Z] using credential edgex-jenkins-ssh [2023-12-05T21:08:52.993Z] Cloning the remote Git repository [2023-12-05T21:08:53.272Z] a2ab01e69eb4: Pushed [2023-12-05T21:08:53.532Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:53.922Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:53.032Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-05T21:08:53.122Z] > git init /w/workspace/device-rest-go/155 # timeout=10 [2023-12-05T21:08:53.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-05T21:08:53.260Z] > git --version # timeout=10 [2023-12-05T21:08:53.279Z] > git --version # 'git version 2.25.1' [2023-12-05T21:08:53.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-05T21:08:53.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-05T21:08:54.302Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-05T21:08:54.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-05T21:08:54.302Z] 71c0b7c3881d: Preparing [2023-12-05T21:08:54.302Z] b876f536c02e: Preparing [2023-12-05T21:08:54.302Z] a2ab01e69eb4: Preparing [2023-12-05T21:08:54.302Z] 52eb0786bca2: Preparing [2023-12-05T21:08:54.302Z] f75f4e2b257a: Preparing [2023-12-05T21:08:54.302Z] 9fe9a137fd00: Preparing [2023-12-05T21:08:54.302Z] b876f536c02e: Layer already exists [2023-12-05T21:08:54.302Z] 52eb0786bca2: Layer already exists [2023-12-05T21:08:54.302Z] 71c0b7c3881d: Layer already exists [2023-12-05T21:08:54.302Z] a2ab01e69eb4: Layer already exists [2023-12-05T21:08:54.302Z] f75f4e2b257a: Layer already exists [2023-12-05T21:08:54.302Z] 9fe9a137fd00: Layer already exists [2023-12-05T21:08:54.302Z] latest: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:54.716Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:55.111Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 [2023-12-05T21:08:55.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-05T21:08:55.111Z] 71c0b7c3881d: Preparing [2023-12-05T21:08:55.111Z] b876f536c02e: Preparing [2023-12-05T21:08:55.111Z] a2ab01e69eb4: Preparing [2023-12-05T21:08:55.111Z] 52eb0786bca2: Preparing [2023-12-05T21:08:55.111Z] f75f4e2b257a: Preparing [2023-12-05T21:08:55.111Z] 9fe9a137fd00: Preparing [2023-12-05T21:08:55.111Z] 9fe9a137fd00: Waiting [2023-12-05T21:08:55.111Z] 52eb0786bca2: Layer already exists [2023-12-05T21:08:55.111Z] 71c0b7c3881d: Layer already exists [2023-12-05T21:08:55.111Z] a2ab01e69eb4: Layer already exists [2023-12-05T21:08:55.111Z] b876f536c02e: Layer already exists [2023-12-05T21:08:55.111Z] f75f4e2b257a: Layer already exists [2023-12-05T21:08:55.111Z] 9fe9a137fd00: Layer already exists [2023-12-05T21:08:55.111Z] 3.2.0-dev.3: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:55.508Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:55.899Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:08:55.899Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-05T21:08:55.899Z] 71c0b7c3881d: Preparing [2023-12-05T21:08:55.899Z] b876f536c02e: Preparing [2023-12-05T21:08:55.899Z] a2ab01e69eb4: Preparing [2023-12-05T21:08:55.899Z] 52eb0786bca2: Preparing [2023-12-05T21:08:55.899Z] f75f4e2b257a: Preparing [2023-12-05T21:08:55.899Z] 9fe9a137fd00: Preparing [2023-12-05T21:08:55.899Z] 9fe9a137fd00: Waiting [2023-12-05T21:08:55.899Z] 52eb0786bca2: Layer already exists [2023-12-05T21:08:55.899Z] f75f4e2b257a: Layer already exists [2023-12-05T21:08:55.899Z] b876f536c02e: Layer already exists [2023-12-05T21:08:55.899Z] 71c0b7c3881d: Layer already exists [2023-12-05T21:08:55.899Z] a2ab01e69eb4: Layer already exists [2023-12-05T21:08:55.899Z] 9fe9a137fd00: Layer already exists [2023-12-05T21:08:55.899Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:56.285Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:56.672Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-12-05T21:08:56.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-05T21:08:56.672Z] 71c0b7c3881d: Preparing [2023-12-05T21:08:56.672Z] b876f536c02e: Preparing [2023-12-05T21:08:56.672Z] a2ab01e69eb4: Preparing [2023-12-05T21:08:56.672Z] 52eb0786bca2: Preparing [2023-12-05T21:08:56.672Z] f75f4e2b257a: Preparing [2023-12-05T21:08:56.672Z] 9fe9a137fd00: Preparing [2023-12-05T21:08:56.672Z] 9fe9a137fd00: Waiting [2023-12-05T21:08:56.672Z] 52eb0786bca2: Layer already exists [2023-12-05T21:08:56.672Z] b876f536c02e: Layer already exists [2023-12-05T21:08:56.672Z] 71c0b7c3881d: Layer already exists [2023-12-05T21:08:56.672Z] f75f4e2b257a: Layer already exists [2023-12-05T21:08:56.672Z] a2ab01e69eb4: Layer already exists [2023-12-05T21:08:56.672Z] 9fe9a137fd00: Layer already exists [2023-12-05T21:08:56.672Z] main: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-05T21:08:56.897Z] ===================================================== [Pipeline] echo [2023-12-05T21:08:56.938Z] taggedImages: [2023-12-05T21:08:56.938Z] - nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:08:56.938Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-05T21:08:56.938Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 [2023-12-05T21:08:56.938Z] - nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:08:56.938Z] - 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-12-05T21:08:57.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-05T21:08:57.604Z] [2023-12-05T21:08:57.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:08:57.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-05T21:08:57.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-05T21:08:58.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-05T21:08:58.718Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-05T21:08:58.718Z] 5eb5b503b376: Pulling fs layer [2023-12-05T21:08:58.718Z] 5c69ac0246d0: Pulling fs layer [2023-12-05T21:08:58.718Z] ec43610c2a17: Pulling fs layer [2023-12-05T21:08:58.718Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-05T21:08:58.718Z] 33b1e0a273af: Pulling fs layer [2023-12-05T21:08:58.718Z] 5d3b04190fa2: Pulling fs layer [2023-12-05T21:08:58.718Z] 2f39f015ded8: Pulling fs layer [2023-12-05T21:08:58.718Z] 5d3b04190fa2: Waiting [2023-12-05T21:08:58.718Z] 33b1e0a273af: Waiting [2023-12-05T21:08:58.718Z] 2f39f015ded8: Waiting [2023-12-05T21:08:58.718Z] 3a2ae6a8a46f: Waiting [2023-12-05T21:08:58.718Z] 5c69ac0246d0: Download complete [2023-12-05T21:08:58.718Z] 3a2ae6a8a46f: Download complete [2023-12-05T21:08:58.718Z] 33b1e0a273af: Verifying Checksum [2023-12-05T21:08:58.718Z] 33b1e0a273af: Download complete [2023-12-05T21:08:58.718Z] 5d3b04190fa2: Verifying Checksum [2023-12-05T21:08:58.718Z] 5d3b04190fa2: Download complete [2023-12-05T21:08:58.718Z] ec43610c2a17: Download complete [2023-12-05T21:08:58.976Z] 5eb5b503b376: Verifying Checksum [2023-12-05T21:08:58.976Z] 5eb5b503b376: Download complete [2023-12-05T21:08:59.362Z] Avoid second fetch [2023-12-05T21:08:59.363Z] Checking out Revision aba5f4cc438774234c64a3e3d3941f8bbfaf4eba (main) [2023-12-05T21:08:59.546Z] 2f39f015ded8: Download complete [2023-12-05T21:08:59.378Z] > git config core.sparsecheckout # timeout=10 [2023-12-05T21:08:59.438Z] > git checkout -f aba5f4cc438774234c64a3e3d3941f8bbfaf4eba # timeout=10 [2023-12-05T21:08:59.943Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371)" [2023-12-05T21:09:00.298Z] [2023-12-05T21:09:00.298Z] GitHub has been notified of this commit’s build result [2023-12-05T21:09:00.298Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-12-05T21:09:00.479Z] 5eb5b503b376: Pull complete [2023-12-05T21:09:00.479Z] 5c69ac0246d0: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-05T21:09:00.746Z] ec43610c2a17: Pull complete [2023-12-05T21:09:00.746Z] 3a2ae6a8a46f: Pull complete [2023-12-05T21:09:01.004Z] 33b1e0a273af: Pull complete [2023-12-05T21:09:01.004Z] 5d3b04190fa2: Pull complete [2023-12-05T21:09:01.043Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-05T21:09:01.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-05T21:09:01.043Z] Dload Upload Total Spent Left Speed [2023-12-05T21:09:01.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 85114 [Pipeline] sh [2023-12-05T21:09:01.403Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-05T21:09:01.749Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-12-05T21:09:01.749Z] [2023-12-05T21:09:01.749Z] { [2023-12-05T21:09:01.749Z] "registry-mirrors": [ [2023-12-05T21:09:01.749Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-05T21:09:01.749Z] ], [2023-12-05T21:09:01.749Z] "bip": "10.250.0.254/24", [2023-12-05T21:09:01.749Z] "hosts": [ [2023-12-05T21:09:01.749Z] "tcp://0.0.0.0:5555", [2023-12-05T21:09:01.749Z] "unix:///var/run/docker.sock" [2023-12-05T21:09:01.749Z] ], [2023-12-05T21:09:01.749Z] "mtu": 1458, [2023-12-05T21:09:01.749Z] "selinux-enabled": true, [2023-12-05T21:09:01.749Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-05T21:09:01.749Z] } [Pipeline] sh [2023-12-05T21:09:02.145Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-05T21:09:02.525Z] + sudo service docker restart [2023-12-05T21:09:05.185Z] 2f39f015ded8: Pull complete [2023-12-05T21:09:05.185Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-05T21:09:05.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-05T21:09:05.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:09:05.410Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:09:05.442Z] $ 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-12-05T21:09:11.611Z] $ docker top 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:09:12.097Z] ---> job-cost.sh [2023-12-05T21:09:12.097Z] lf-activate-venv: SKIPPING [2023-12-05T21:09:12.097Z] INFO: No Stack... [2023-12-05T21:09:12.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-05T21:09:12.927Z] INFO: Archiving Costs [Pipeline] sh [2023-12-05T21:09:13.216Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-12-05T21:09:13.216Z] + cut -d, -f6 [Pipeline] lock [2023-12-05T21:09:13.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [2023-12-05T21:09:13.238Z] Resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] did not exist. Created. [2023-12-05T21:09:13.238Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-05T21:09:13.613Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-05T21:09:13.681Z] Stashed 1 file(s) [Pipeline] } [2023-12-05T21:09:13.688Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-05T21:09:13.787Z] $ docker stop --time=1 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 [2023-12-05T21:09:14.935Z] $ docker rm -f --volumes 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:09:20.810Z] provisioning config files... [2023-12-05T21:09:20.833Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/155@tmp/config3265889372269421072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:09:21.294Z] ---> ****-login.sh [2023-12-05T21:09:21.294Z] nexus3.edgexfoundry.org:10001 [2023-12-05T21:09:21.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:09:21.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:09:21.833Z] Configure a credential helper to remove this warning. See [2023-12-05T21:09:21.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:09:21.833Z] [2023-12-05T21:09:21.833Z] Login Succeeded [2023-12-05T21:09:21.833Z] nexus3.edgexfoundry.org:10002 [2023-12-05T21:09:22.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:09:22.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:09:22.101Z] Configure a credential helper to remove this warning. See [2023-12-05T21:09:22.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:09:22.101Z] [2023-12-05T21:09:22.101Z] Login Succeeded [2023-12-05T21:09:22.101Z] nexus3.edgexfoundry.org:10003 [2023-12-05T21:09:22.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:09:22.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:09:22.369Z] Configure a credential helper to remove this warning. See [2023-12-05T21:09:22.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:09:22.369Z] [2023-12-05T21:09:24.952Z] Login Succeeded [2023-12-05T21:09:24.952Z] nexus3.edgexfoundry.org:10004 [2023-12-05T21:09:25.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:09:25.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:09:25.221Z] Configure a credential helper to remove this warning. See [2023-12-05T21:09:25.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:09:25.221Z] [2023-12-05T21:09:25.221Z] Login Succeeded [2023-12-05T21:09:25.221Z] ****.io [2023-12-05T21:09:25.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:09:25.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:09:25.755Z] Configure a credential helper to remove this warning. See [2023-12-05T21:09:25.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:09:25.755Z] [2023-12-05T21:09:25.755Z] Login Succeeded [2023-12-05T21:09:25.755Z] ---> ****-login.sh ends [Pipeline] } [2023-12-05T21:09:25.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-05T21:09:26.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:09:26.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:09:26.338Z] ========================================================= [2023-12-05T21:09:26.338Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-05T21:09:26.338Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:09:27.027Z] + 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-12-05T21:09:28.001Z] #0 building with "default" instance using docker driver [2023-12-05T21:09:28.001Z] [2023-12-05T21:09:28.001Z] #1 [internal] load build definition from Dockerfile [2023-12-05T21:09:28.001Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-05T21:09:28.001Z] #1 DONE 0.1s [2023-12-05T21:09:28.001Z] [2023-12-05T21:09:28.001Z] #2 [internal] load .dockerignore [2023-12-05T21:09:28.001Z] #2 transferring context: 193B 0.0s done [2023-12-05T21:09:28.001Z] #2 DONE 0.1s [2023-12-05T21:09:28.274Z] [2023-12-05T21:09:28.274Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-05T21:09:28.274Z] #3 DONE 0.1s [2023-12-05T21:09:28.274Z] [2023-12-05T21:09:28.274Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-05T21:09:28.274Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-05T21:09:28.544Z] #4 ... [2023-12-05T21:09:28.544Z] [2023-12-05T21:09:28.544Z] #5 [internal] load build context [2023-12-05T21:09:28.544Z] #5 transferring context: 95.80kB 0.0s done [2023-12-05T21:09:28.544Z] #5 DONE 0.1s [2023-12-05T21:09:28.544Z] [2023-12-05T21:09:28.544Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-05T21:09:28.544Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2023-12-05T21:09:28.544Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-05T21:09:28.544Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done [2023-12-05T21:09:28.544Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-05T21:09:28.544Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-05T21:09:28.544Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-05T21:09:28.544Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-05T21:09:28.544Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-05T21:09:28.544Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.18MB / 63.99MB 0.3s [2023-12-05T21:09:28.544Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-05T21:09:28.544Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s [2023-12-05T21:09:28.544Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s [2023-12-05T21:09:28.544Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s [2023-12-05T21:09:28.544Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.72MB / 11.40MB 0.4s [2023-12-05T21:09:28.816Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s [2023-12-05T21:09:28.816Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s [2023-12-05T21:09:28.816Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.5s [2023-12-05T21:09:29.089Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 0.7s [2023-12-05T21:09:29.089Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-05T21:09:29.089Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.7s [2023-12-05T21:09:29.089Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2023-12-05T21:09:29.089Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s [2023-12-05T21:09:29.089Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.8s [2023-12-05T21:09:29.089Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-05T21:09:29.089Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s [2023-12-05T21:09:29.361Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.0s [2023-12-05T21:09:29.361Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 1.0s [2023-12-05T21:09:29.361Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-05T21:09:29.361Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.38MB / 63.99MB 1.2s [2023-12-05T21:09:29.361Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.2s [2023-12-05T21:09:29.639Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.98MB / 63.99MB 1.3s [2023-12-05T21:09:29.639Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.3s [2023-12-05T21:09:29.639Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.4s [2023-12-05T21:09:29.639Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s [2023-12-05T21:09:29.909Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done [2023-12-05T21:09:29.909Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s [2023-12-05T21:09:29.909Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-05T21:09:29.909Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.7s [2023-12-05T21:09:30.177Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.8s [2023-12-05T21:09:30.177Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.87MB / 97.63MB 1.9s [2023-12-05T21:09:30.447Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.0s [2023-12-05T21:09:30.447Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s [2023-12-05T21:09:30.715Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done [2023-12-05T21:09:36.069Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s [2023-12-05T21:09:41.426Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s [2023-12-05T21:09:46.775Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done [2023-12-05T21:09:48.722Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-05T21:09:48.722Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-05T21:09:48.722Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-05T21:09:54.060Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-05T21:09:57.407Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done [2023-12-05T21:09:57.408Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2023-12-05T21:09:59.348Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done [2023-12-05T21:09:59.617Z] #4 DONE 31.2s [2023-12-05T21:09:59.617Z] [2023-12-05T21:09:59.617Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-05T21:10:00.203Z] #6 0.712 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-05T21:10:00.477Z] #6 1.094 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-05T21:10:01.439Z] #6 2.025 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-05T21:10:01.439Z] #6 2.050 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-05T21:10:01.439Z] #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-05T21:10:01.439Z] #6 2.127 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-05T21:10:01.710Z] #6 2.153 Executing busybox-1.36.1-r5.trigger [2023-12-05T21:10:01.710Z] #6 2.191 OK: 271 MiB in 56 packages [2023-12-05T21:10:03.668Z] #6 DONE 3.9s [2023-12-05T21:10:03.668Z] [2023-12-05T21:10:03.668Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-05T21:10:03.668Z] #7 DONE 0.1s [2023-12-05T21:10:03.668Z] [2023-12-05T21:10:03.668Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-05T21:10:03.668Z] #8 DONE 0.1s [2023-12-05T21:10:03.668Z] [2023-12-05T21:10:03.668Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-05T21:10:25.723Z] #9 DONE 22.1s [2023-12-05T21:10:25.723Z] [2023-12-05T21:10:25.723Z] #10 [builder 6/7] COPY . . [2023-12-05T21:10:25.723Z] #10 DONE 0.1s [2023-12-05T21:10:25.989Z] [2023-12-05T21:10:25.989Z] #11 [builder 7/7] RUN echo noop [2023-12-05T21:10:26.257Z] #11 0.592 noop [2023-12-05T21:10:26.524Z] #11 DONE 0.7s [2023-12-05T21:10:26.524Z] [2023-12-05T21:10:26.524Z] #12 exporting to image [2023-12-05T21:10:26.524Z] #12 exporting layers [2023-12-05T21:10:53.188Z] #12 exporting layers 24.3s done [2023-12-05T21:10:53.188Z] #12 writing image sha256:fc6c6af11f23a605823cc87bfaefed7d9807d5adb457e2358c348cefb2e3d9bf done [2023-12-05T21:10:53.188Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-05T21:10:53.188Z] #12 DONE 24.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:10:53.640Z] + docker inspect -f . ci-base-image-arm64 [2023-12-05T21:10:53.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:10:53.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container [2023-12-05T21:10:53.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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-12-05T21:10:55.055Z] $ docker top 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-05T21:10:55.591Z] + go version [2023-12-05T21:10:55.857Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-05T21:10:55.876Z] $ docker stop --time=1 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 [2023-12-05T21:10:57.406Z] $ docker rm -f --volumes 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:10:58.241Z] + docker inspect -f . ci-base-image-arm64 [2023-12-05T21:10:58.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:10:58.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container [2023-12-05T21:10:58.527Z] $ 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/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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-12-05T21:10:59.464Z] $ docker top 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-05T21:11:00.015Z] + git config --global --add safe.directory /w/workspace/device-rest-go/155 [Pipeline] fileExists [Pipeline] sh [2023-12-05T21:11:00.381Z] + make test [2023-12-05T21:11:00.381Z] go test ./... -coverprofile=coverage.out ./... [2023-12-05T21:11:05.726Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-05T21:12:02.339Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-05T21:12:02.339Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-12-05T21:12:02.339Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-05T21:12:02.339Z] go vet ./... [2023-12-05T21:12:08.983Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-05T21:12:08.983Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-05T21:12:08.983Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-05T21:12:09.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-05T21:12:09.055Z] $ docker stop --time=1 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 [2023-12-05T21:12:10.930Z] $ docker rm -f --volumes 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-05T21:12:12.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-05T21:12:12.183Z] Warning: overwriting stash ‘coverage-report’ [2023-12-05T21:12:12.560Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-05T21:12:13.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-05T21:12:13.477Z] + ls -al . [2023-12-05T21:12:13.477Z] total 176 [2023-12-05T21:12:13.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:11 . [2023-12-05T21:12:13.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 21:08 .. [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 21:08 .dockerignore [2023-12-05T21:12:13.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:08 .git [2023-12-05T21:12:13.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 .github [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 21:08 .gitignore [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 21:08 .golangci.yml [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 21:08 Attribution.txt [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 21:08 CHANGELOG.md [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 21:08 Dockerfile [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 21:08 GOVERNANCE.md [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 21:08 Jenkinsfile [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 21:08 LICENSE [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 21:08 Makefile [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 21:08 OWNERS.md [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 21:08 README.md [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 21:06 VERSION [2023-12-05T21:12:13.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:08 bin [2023-12-05T21:12:13.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 cmd [2023-12-05T21:12:13.477Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 21:11 coverage.out [2023-12-05T21:12:13.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:08 driver [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 21:08 go.mod [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 21:08 go.sum [2023-12-05T21:12:13.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 openapi [2023-12-05T21:12:13.477Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:12:13.892Z] + 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=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba --label arch=arm64 --label version=3.2.0-dev.3 . [2023-12-05T21:12:14.477Z] #0 building with "default" instance using docker driver [2023-12-05T21:12:14.477Z] [2023-12-05T21:12:14.477Z] #1 [internal] load build definition from Dockerfile [2023-12-05T21:12:14.477Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-05T21:12:14.743Z] #1 DONE 0.0s [2023-12-05T21:12:14.743Z] [2023-12-05T21:12:14.743Z] #2 [internal] load .dockerignore [2023-12-05T21:12:14.743Z] #2 transferring context: 193B 0.0s done [2023-12-05T21:12:14.743Z] #2 DONE 0.0s [2023-12-05T21:12:14.743Z] [2023-12-05T21:12:14.743Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-05T21:12:14.743Z] #3 DONE 0.0s [2023-12-05T21:12:14.743Z] [2023-12-05T21:12:14.743Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-05T21:12:14.743Z] #4 DONE 0.2s [2023-12-05T21:12:15.010Z] [2023-12-05T21:12:15.010Z] #5 [internal] load build context [2023-12-05T21:12:15.010Z] #5 transferring context: 16.04kB 0.0s done [2023-12-05T21:12:15.010Z] #5 DONE 0.1s [2023-12-05T21:12:15.010Z] [2023-12-05T21:12:15.010Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-05T21:12:15.010Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-05T21:12:15.010Z] #6 ... [2023-12-05T21:12:15.010Z] [2023-12-05T21:12:15.010Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-05T21:12:15.010Z] #7 DONE 0.2s [2023-12-05T21:12:15.010Z] [2023-12-05T21:12:15.010Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-05T21:12:15.010Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-05T21:12:15.010Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-05T21:12:15.010Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-05T21:12:15.010Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-05T21:12:15.010Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-05T21:12:15.010Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-05T21:12:15.591Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-05T21:12:16.549Z] #6 DONE 1.6s [2023-12-05T21:12:16.549Z] [2023-12-05T21:12:16.549Z] #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-05T21:12:16.549Z] #8 0.688 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:16.549Z] #8 1.070 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:17.130Z] #8 2.213 OK: 271 MiB in 56 packages [2023-12-05T21:12:17.714Z] #8 DONE 2.5s [2023-12-05T21:12:17.714Z] [2023-12-05T21:12:17.714Z] #9 [builder 3/7] WORKDIR /device-rest-go [2023-12-05T21:12:17.714Z] #9 DONE 0.1s [2023-12-05T21:12:17.714Z] [2023-12-05T21:12:17.714Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-05T21:12:17.714Z] #10 0.650 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:17.714Z] #10 0.958 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:17.714Z] #10 ... [2023-12-05T21:12:17.714Z] [2023-12-05T21:12:17.714Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-05T21:12:17.714Z] #11 DONE 0.1s [2023-12-05T21:12:17.980Z] [2023-12-05T21:12:17.980Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-05T21:12:18.943Z] #12 ... [2023-12-05T21:12:18.943Z] [2023-12-05T21:12:18.943Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-05T21:12:18.943Z] #10 2.054 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-05T21:12:18.943Z] #10 2.065 Executing busybox-1.36.1-r5.trigger [2023-12-05T21:12:18.943Z] #10 2.092 OK: 8 MiB in 16 packages [2023-12-05T21:12:18.943Z] #10 DONE 2.4s [2023-12-05T21:12:18.943Z] [2023-12-05T21:12:18.943Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-05T21:12:18.943Z] #13 ... [2023-12-05T21:12:18.943Z] [2023-12-05T21:12:18.943Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-05T21:12:18.943Z] #12 DONE 1.2s [2023-12-05T21:12:19.214Z] [2023-12-05T21:12:19.214Z] #14 [builder 6/7] COPY . . [2023-12-05T21:12:19.214Z] #14 DONE 0.1s [2023-12-05T21:12:19.214Z] [2023-12-05T21:12:19.214Z] #15 [builder 7/7] RUN make build [2023-12-05T21:12:20.168Z] #15 0.764 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-05T21:12:21.575Z] #15 ... [2023-12-05T21:12:21.575Z] [2023-12-05T21:12:21.575Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-05T21:12:21.575Z] #13 0.950 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:21.575Z] #13 1.280 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-05T21:12:21.575Z] #13 2.370 OK: 8 MiB in 16 packages [2023-12-05T21:12:21.575Z] #13 DONE 2.7s [2023-12-05T21:12:21.844Z] [2023-12-05T21:12:21.844Z] #15 [builder 7/7] RUN make build [2023-12-05T21:13:29.684Z] #15 DONE 59.5s [2023-12-05T21:13:29.684Z] [2023-12-05T21:13:29.684Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-05T21:13:29.684Z] #16 DONE 0.3s [2023-12-05T21:13:29.684Z] [2023-12-05T21:13:29.684Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-05T21:13:29.684Z] #17 DONE 0.1s [2023-12-05T21:13:29.684Z] [2023-12-05T21:13:29.684Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-05T21:13:29.684Z] #18 DONE 0.1s [2023-12-05T21:13:29.684Z] [2023-12-05T21:13:29.684Z] #19 exporting to image [2023-12-05T21:13:29.684Z] #19 exporting layers [2023-12-05T21:13:29.684Z] #19 exporting layers 0.4s done [2023-12-05T21:13:29.684Z] #19 writing image sha256:38386bcf9058c105d6a4a0025d4fab68a1065951bbbf785c94445a2baa55ad48 done [2023-12-05T21:13:29.684Z] #19 naming to docker.io/library/device-rest-arm64 done [2023-12-05T21:13:29.684Z] #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:13:30.172Z] provisioning config files... [2023-12-05T21:13:30.184Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/155@tmp/config7838669556729316297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:13:30.582Z] ---> ****-login.sh [2023-12-05T21:13:30.582Z] nexus3.edgexfoundry.org:10001 [2023-12-05T21:13:30.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:13:30.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:13:30.846Z] Configure a credential helper to remove this warning. See [2023-12-05T21:13:30.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:13:30.846Z] [2023-12-05T21:13:30.846Z] Login Succeeded [2023-12-05T21:13:30.846Z] nexus3.edgexfoundry.org:10002 [2023-12-05T21:13:30.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:13:31.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:13:31.112Z] Configure a credential helper to remove this warning. See [2023-12-05T21:13:31.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:13:31.112Z] [2023-12-05T21:13:31.112Z] Login Succeeded [2023-12-05T21:13:31.112Z] nexus3.edgexfoundry.org:10003 [2023-12-05T21:13:31.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:13:31.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:13:31.378Z] Configure a credential helper to remove this warning. See [2023-12-05T21:13:31.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:13:31.378Z] [2023-12-05T21:13:31.378Z] Login Succeeded [2023-12-05T21:13:31.378Z] nexus3.edgexfoundry.org:10004 [2023-12-05T21:13:31.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:13:31.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:13:31.645Z] Configure a credential helper to remove this warning. See [2023-12-05T21:13:31.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:13:31.645Z] [2023-12-05T21:13:31.645Z] Login Succeeded [2023-12-05T21:13:31.645Z] ****.io [2023-12-05T21:13:31.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-05T21:13:31.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-05T21:13:31.910Z] Configure a credential helper to remove this warning. See [2023-12-05T21:13:31.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-05T21:13:31.910Z] [2023-12-05T21:13:31.910Z] Login Succeeded [2023-12-05T21:13:31.910Z] ---> ****-login.sh ends [Pipeline] } [2023-12-05T21:13:31.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-05T21:13:32.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-05T21:13:32.182Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-12-05T21:13:32.182Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:13:32.182Z] latest [2023-12-05T21:13:32.182Z] 3.2.0-dev.3 [2023-12-05T21:13:32.182Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:13:32.182Z] main [2023-12-05T21:13:32.182Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:32.733Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:33.206Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:13:33.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-05T21:13:33.206Z] 74eea95596a2: Preparing [2023-12-05T21:13:33.206Z] 688889418fe9: Preparing [2023-12-05T21:13:33.206Z] 0e53aee71f19: Preparing [2023-12-05T21:13:33.206Z] d50c9557ea89: Preparing [2023-12-05T21:13:33.206Z] 5582a577b597: Preparing [2023-12-05T21:13:33.206Z] 0faf9b67be60: Preparing [2023-12-05T21:13:33.206Z] 0faf9b67be60: Waiting [2023-12-05T21:13:33.471Z] d50c9557ea89: Pushed [2023-12-05T21:13:33.471Z] 5582a577b597: Pushed [2023-12-05T21:13:33.471Z] 688889418fe9: Pushed [2023-12-05T21:13:33.471Z] 74eea95596a2: Pushed [2023-12-05T21:13:33.471Z] 0faf9b67be60: Layer already exists [2023-12-05T21:13:40.097Z] 0e53aee71f19: Pushed [2023-12-05T21:13:40.097Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:40.582Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:41.057Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-05T21:13:41.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-05T21:13:41.057Z] 74eea95596a2: Preparing [2023-12-05T21:13:41.057Z] 688889418fe9: Preparing [2023-12-05T21:13:41.057Z] 0e53aee71f19: Preparing [2023-12-05T21:13:41.057Z] d50c9557ea89: Preparing [2023-12-05T21:13:41.057Z] 5582a577b597: Preparing [2023-12-05T21:13:41.057Z] 0faf9b67be60: Preparing [2023-12-05T21:13:41.057Z] 0faf9b67be60: Waiting [2023-12-05T21:13:41.057Z] 0e53aee71f19: Layer already exists [2023-12-05T21:13:41.057Z] d50c9557ea89: Layer already exists [2023-12-05T21:13:41.057Z] 74eea95596a2: Layer already exists [2023-12-05T21:13:41.057Z] 5582a577b597: Layer already exists [2023-12-05T21:13:41.057Z] 688889418fe9: Layer already exists [2023-12-05T21:13:41.057Z] 0faf9b67be60: Layer already exists [2023-12-05T21:13:41.322Z] latest: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:41.806Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:42.291Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 [2023-12-05T21:13:42.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-05T21:13:42.291Z] 74eea95596a2: Preparing [2023-12-05T21:13:42.291Z] 688889418fe9: Preparing [2023-12-05T21:13:42.291Z] 0e53aee71f19: Preparing [2023-12-05T21:13:42.291Z] d50c9557ea89: Preparing [2023-12-05T21:13:42.291Z] 5582a577b597: Preparing [2023-12-05T21:13:42.291Z] 0faf9b67be60: Preparing [2023-12-05T21:13:42.291Z] 0faf9b67be60: Waiting [2023-12-05T21:13:42.291Z] 74eea95596a2: Layer already exists [2023-12-05T21:13:42.291Z] 5582a577b597: Layer already exists [2023-12-05T21:13:42.291Z] d50c9557ea89: Layer already exists [2023-12-05T21:13:42.291Z] 688889418fe9: Layer already exists [2023-12-05T21:13:42.291Z] 0e53aee71f19: Layer already exists [2023-12-05T21:13:42.291Z] 0faf9b67be60: Layer already exists [2023-12-05T21:13:42.556Z] 3.2.0-dev.3: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:43.024Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:43.493Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:13:43.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-05T21:13:43.493Z] 74eea95596a2: Preparing [2023-12-05T21:13:43.493Z] 688889418fe9: Preparing [2023-12-05T21:13:43.493Z] 0e53aee71f19: Preparing [2023-12-05T21:13:43.493Z] d50c9557ea89: Preparing [2023-12-05T21:13:43.493Z] 5582a577b597: Preparing [2023-12-05T21:13:43.493Z] 0faf9b67be60: Preparing [2023-12-05T21:13:43.493Z] 0faf9b67be60: Waiting [2023-12-05T21:13:43.493Z] 688889418fe9: Layer already exists [2023-12-05T21:13:43.493Z] 0e53aee71f19: Layer already exists [2023-12-05T21:13:43.493Z] 5582a577b597: Layer already exists [2023-12-05T21:13:43.493Z] 74eea95596a2: Layer already exists [2023-12-05T21:13:43.493Z] d50c9557ea89: Layer already exists [2023-12-05T21:13:43.493Z] 0faf9b67be60: Layer already exists [2023-12-05T21:13:43.756Z] aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:44.243Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:44.710Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-12-05T21:13:44.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-05T21:13:44.710Z] 74eea95596a2: Preparing [2023-12-05T21:13:44.710Z] 688889418fe9: Preparing [2023-12-05T21:13:44.710Z] 0e53aee71f19: Preparing [2023-12-05T21:13:44.710Z] d50c9557ea89: Preparing [2023-12-05T21:13:44.710Z] 5582a577b597: Preparing [2023-12-05T21:13:44.710Z] 0faf9b67be60: Preparing [2023-12-05T21:13:44.710Z] 0faf9b67be60: Waiting [2023-12-05T21:13:44.710Z] 688889418fe9: Layer already exists [2023-12-05T21:13:44.710Z] 5582a577b597: Layer already exists [2023-12-05T21:13:44.710Z] 0e53aee71f19: Layer already exists [2023-12-05T21:13:44.710Z] d50c9557ea89: Layer already exists [2023-12-05T21:13:44.710Z] 74eea95596a2: Layer already exists [2023-12-05T21:13:44.710Z] 0faf9b67be60: Layer already exists [2023-12-05T21:13:44.972Z] main: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-05T21:13:45.333Z] ===================================================== [Pipeline] echo [2023-12-05T21:13:45.395Z] taggedImages: [2023-12-05T21:13:45.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [2023-12-05T21:13:45.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-05T21:13:45.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 [2023-12-05T21:13:45.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [2023-12-05T21:13:45.395Z] - 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-12-05T21:13:46.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-05T21:13:46.022Z] [2023-12-05T21:13:46.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:13:46.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-05T21:13:46.398Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-05T21:13:46.398Z] 8998bd30e6a1: Pulling fs layer [2023-12-05T21:13:46.398Z] 04944245beec: Pulling fs layer [2023-12-05T21:13:46.398Z] 699f458cf7ca: Pulling fs layer [2023-12-05T21:13:46.664Z] 765212b225bb: Pulling fs layer [2023-12-05T21:13:46.665Z] f23df028b6ca: Pulling fs layer [2023-12-05T21:13:46.665Z] d65c8cfc05b1: Pulling fs layer [2023-12-05T21:13:46.665Z] 2437ff75d9bd: Pulling fs layer [2023-12-05T21:13:46.665Z] 765212b225bb: Waiting [2023-12-05T21:13:46.665Z] f23df028b6ca: Waiting [2023-12-05T21:13:46.665Z] 2437ff75d9bd: Waiting [2023-12-05T21:13:46.665Z] 04944245beec: Verifying Checksum [2023-12-05T21:13:46.665Z] 04944245beec: Download complete [2023-12-05T21:13:46.665Z] 765212b225bb: Verifying Checksum [2023-12-05T21:13:46.665Z] 765212b225bb: Download complete [2023-12-05T21:13:46.665Z] f23df028b6ca: Verifying Checksum [2023-12-05T21:13:46.665Z] f23df028b6ca: Download complete [2023-12-05T21:13:46.665Z] d65c8cfc05b1: Download complete [2023-12-05T21:13:46.934Z] 699f458cf7ca: Verifying Checksum [2023-12-05T21:13:46.934Z] 699f458cf7ca: Download complete [2023-12-05T21:13:47.202Z] 8998bd30e6a1: Verifying Checksum [2023-12-05T21:13:47.202Z] 8998bd30e6a1: Download complete [2023-12-05T21:13:49.140Z] 2437ff75d9bd: Verifying Checksum [2023-12-05T21:13:49.140Z] 2437ff75d9bd: Download complete [2023-12-05T21:13:53.381Z] 8998bd30e6a1: Pull complete [2023-12-05T21:13:56.701Z] 04944245beec: Pull complete [2023-12-05T21:13:58.103Z] 699f458cf7ca: Pull complete [2023-12-05T21:13:58.103Z] 765212b225bb: Pull complete [2023-12-05T21:13:59.062Z] f23df028b6ca: Pull complete [2023-12-05T21:13:59.329Z] d65c8cfc05b1: Pull complete [2023-12-05T21:14:21.377Z] 2437ff75d9bd: Pull complete [2023-12-05T21:14:21.377Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-05T21:14:21.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-05T21:14:21.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:14:21.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container [2023-12-05T21:14:21.795Z] $ 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/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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-12-05T21:14:25.390Z] $ docker top 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:14:25.943Z] ---> job-cost.sh [2023-12-05T21:14:26.208Z] lf-activate-venv: SKIPPING [2023-12-05T21:14:26.208Z] INFO: No Stack... [2023-12-05T21:14:26.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-05T21:14:27.424Z] INFO: Archiving Costs [Pipeline] sh [2023-12-05T21:14:27.739Z] + + cutcat -d, /w/workspace/device-rest-go/155/archives/cost.csv -f6 [2023-12-05T21:14:27.739Z] [Pipeline] lock [2023-12-05T21:14:27.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [2023-12-05T21:14:27.799Z] Resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] did not exist. Created. [2023-12-05T21:14:27.799Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-05T21:14:28.228Z] /w/workspace/device-rest-go/155@tmp/durable-8173b770/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-05T21:14:28.543Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-05T21:14:28.609Z] Warning: overwriting stash ‘stack-cost’ [2023-12-05T21:14:28.656Z] Stashed 1 file(s) [Pipeline] } [2023-12-05T21:14:28.662Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-05T21:14:28.772Z] $ docker stop --time=1 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc [2023-12-05T21:14:30.135Z] $ docker rm -f --volumes 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc [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-12-05T21:14:31.517Z] provisioning config files... [2023-12-05T21:14:31.523Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10424364186302200560tmp [Pipeline] { [Pipeline] sh [2023-12-05T21:14:31.906Z] + set +x [2023-12-05T21:14:31.906Z] + curl -s https://codecov.io/bash [2023-12-05T21:14:31.906Z] + bash -s -- [2023-12-05T21:14:31.906Z] [2023-12-05T21:14:31.906Z] _____ _ [2023-12-05T21:14:31.906Z] / ____| | | [2023-12-05T21:14:31.906Z] | | ___ __| | ___ ___ _____ __ [2023-12-05T21:14:31.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-05T21:14:31.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-05T21:14:31.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-05T21:14:31.906Z] Bash-1.0.6 [2023-12-05T21:14:31.906Z] [2023-12-05T21:14:31.906Z] [2023-12-05T21:14:31.906Z] ==> git version 2.25.1 found [2023-12-05T21:14:31.906Z] ==> 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-12-05T21:14:31.906Z] Release-Date: 2020-01-08 [2023-12-05T21:14:31.906Z] 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-12-05T21:14:31.906Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-05T21:14:31.906Z] ==> Jenkins CI detected. [2023-12-05T21:14:31.906Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-12-05T21:14:31.906Z] project root: . [2023-12-05T21:14:31.906Z] --> token set from env [2023-12-05T21:14:31.906Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-05T21:14:31.906Z] ==> Running gcov in . (disable via -X gcov) [2023-12-05T21:14:31.906Z] ==> Python coveragepy not found [2023-12-05T21:14:31.906Z] ==> Searching for coverage reports in: [2023-12-05T21:14:31.906Z] + . [2023-12-05T21:14:31.906Z] -> Found 1 reports [2023-12-05T21:14:31.906Z] ==> Detecting git/mercurial file structure [2023-12-05T21:14:31.906Z] ==> Reading reports [2023-12-05T21:14:32.166Z] + ./coverage.out bytes=14499 [2023-12-05T21:14:32.166Z] ==> Appending adjustments [2023-12-05T21:14:32.166Z] https://docs.codecov.io/docs/fixing-reports [2023-12-05T21:14:32.166Z] + Found adjustments [2023-12-05T21:14:32.166Z] ==> Gzipping contents [2023-12-05T21:14:32.166Z] 4.0K /tmp/codecov.Tqck99.gz [2023-12-05T21:14:32.166Z] ==> Uploading reports [2023-12-05T21:14:32.166Z] url: https://codecov.io [2023-12-05T21:14:32.166Z] query: branch=main&commit=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-05T21:14:32.166Z] -> Pinging Codecov [2023-12-05T21:14:32.166Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-05T21:14:32.166Z] -> Uploading to [2023-12-05T21:14:32.166Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-05/4E5D53B4F1F92C436F7061BF334D961C/aba5f4cc438774234c64a3e3d3941f8bbfaf4eba/24d5fe79-521c-4b31-af5b-9582efc65d17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T211432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f47ae24d78e81ddc17e45f0fa37fa494f7a90ed03208e1186cc4528e86d0eba4 [2023-12-05T21:14:32.166Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-05T21:14:32.166Z] Dload Upload Total Spent Left Speed [2023-12-05T21:14:32.426Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10135 --:--:-- --:--:-- --:--:-- 10135 [2023-12-05T21:14:32.426Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } [2023-12-05T21:14:32.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-12-05T21:14:32.859Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-12-05T21:14:32.872Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:14:33.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-05T21:14:33.313Z] [2023-12-05T21:14:33.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:14:33.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-05T21:14:33.683Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-12-05T21:14:33.683Z] df9b9388f04a: Pulling fs layer [2023-12-05T21:14:33.683Z] 52dc419b0ee2: Pulling fs layer [2023-12-05T21:14:33.683Z] 25bc292e5bac: Pulling fs layer [2023-12-05T21:14:33.683Z] 114826534d7a: Pulling fs layer [2023-12-05T21:14:33.683Z] 4657fd5d0bcf: Pulling fs layer [2023-12-05T21:14:33.683Z] 6ad1cebc031e: Pulling fs layer [2023-12-05T21:14:33.683Z] 8a3aa393b2d8: Pulling fs layer [2023-12-05T21:14:33.683Z] 4657fd5d0bcf: Waiting [2023-12-05T21:14:33.683Z] 114826534d7a: Waiting [2023-12-05T21:14:33.683Z] 6ad1cebc031e: Waiting [2023-12-05T21:14:33.683Z] 25bc292e5bac: Verifying Checksum [2023-12-05T21:14:33.683Z] 25bc292e5bac: Download complete [2023-12-05T21:14:33.683Z] 52dc419b0ee2: Verifying Checksum [2023-12-05T21:14:33.683Z] 52dc419b0ee2: Download complete [2023-12-05T21:14:33.683Z] 4657fd5d0bcf: Download complete [2023-12-05T21:14:33.683Z] df9b9388f04a: Download complete [2023-12-05T21:14:33.947Z] df9b9388f04a: Pull complete [2023-12-05T21:14:33.947Z] 6ad1cebc031e: Verifying Checksum [2023-12-05T21:14:33.947Z] 6ad1cebc031e: Download complete [2023-12-05T21:14:33.947Z] 52dc419b0ee2: Pull complete [2023-12-05T21:14:33.947Z] 25bc292e5bac: Pull complete [2023-12-05T21:14:34.514Z] 8a3aa393b2d8: Verifying Checksum [2023-12-05T21:14:34.514Z] 8a3aa393b2d8: Download complete [2023-12-05T21:14:34.514Z] 114826534d7a: Verifying Checksum [2023-12-05T21:14:34.514Z] 114826534d7a: Download complete [2023-12-05T21:14:37.798Z] 114826534d7a: Pull complete [2023-12-05T21:14:37.798Z] 4657fd5d0bcf: Pull complete [2023-12-05T21:14:38.056Z] 6ad1cebc031e: Pull complete [2023-12-05T21:14:41.338Z] 8a3aa393b2d8: Pull complete [2023-12-05T21:14:41.338Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-12-05T21:14:41.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-05T21:14:41.338Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:14:41.632Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:14:41.680Z] $ 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-12-05T21:14:50.261Z] $ docker top fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-12-05T21:14:50.410Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-12-05T21:14:50.691Z] + set -o pipefail [2023-12-05T21:14:50.691Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-12-05T21:14:55.967Z] [2023-12-05T21:14:55.967Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-12-05T21:14:55.967Z] [2023-12-05T21:14:55.967Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0fab4b6a-137b-4d89-94b5-c80d73ea8bed [2023-12-05T21:14:55.967Z] [2023-12-05T21:14:55.967Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-12-05T21:14:55.967Z] [2023-12-05T21:14:56.226Z] [2023-12-05T21:14:56.226Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-12-05T21:14:56.226Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-12-05T21:14:56.226Z] More details here: https://snyk.co/ue1NS [2023-12-05T21:14:56.226Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-12-05T21:14:56.226Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-12-05T21:14:56.247Z] $ docker stop --time=1 fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 [2023-12-05T21:15:01.293Z] $ docker rm -f --volumes fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 [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-12-05T21:15:02.883Z] + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] sh [2023-12-05T21:15:03.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-05T21:15:03.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:03.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:15:03.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:15:03.807Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:15:03.848Z] $ 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-12-05T21:15:04.302Z] $ docker top fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab -eo pid,comm [2023-12-05T21:15:04.336Z] 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-12-05T21:15:04.336Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-05T21:15:04.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-05T21:15:04.544Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-05T21:15:04.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-05T21:15:04.672Z] $ docker exec fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab ssh-agent [2023-12-05T21:15:04.768Z] SSH_AUTH_SOCK=/tmp/ssh-wQiYFq83nqtj/agent.32 [2023-12-05T21:15:04.768Z] SSH_AGENT_PID=38 [2023-12-05T21:15:04.775Z] Running ssh-add (command line suppressed) [2023-12-05T21:15:04.893Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5682477562044011513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5682477562044011513.key) [2023-12-05T21:15:04.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-05T21:15:05.246Z] + git semver tag [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,422 [run_tag] DEBUG tag force:False [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,422 [check_head_tag] DEBUG check head tag [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,423 [execute] INFO git cat-file --batch-check [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,428 [execute] INFO git cat-file --batch [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,441 [execute] INFO git tag -a v3.2.0-dev.3 -m v3.2.0-dev.3 [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,441 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.3', '-m', 'v3.2.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-12-05T21:15:05.506Z] 2023-12-05 21:15:05,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:05.506Z] 3.2.0-dev.3 [Pipeline] } [2023-12-05T21:15:05.524Z] $ docker exec --env ******** --env ******** fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab ssh-agent -k [2023-12-05T21:15:05.623Z] unset SSH_AUTH_SOCK; [2023-12-05T21:15:05.623Z] unset SSH_AGENT_PID; [2023-12-05T21:15:05.623Z] echo Agent pid 38 killed; [2023-12-05T21:15:05.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-05T21:15:06.128Z] + git semver [Pipeline] } [2023-12-05T21:15:06.409Z] $ docker stop --time=1 fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab [2023-12-05T21:15:07.653Z] $ docker rm -f --volumes fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:08.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-05T21:15:08.269Z] [2023-12-05T21:15:08.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:08.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-05T21:15:08.624Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-12-05T21:15:08.624Z] ab5ef0e58194: Pulling fs layer [2023-12-05T21:15:08.625Z] 9712f1f96733: Pulling fs layer [2023-12-05T21:15:08.625Z] 63f879dbbcfc: Pulling fs layer [2023-12-05T21:15:08.625Z] 0d9ebad4ef96: Pulling fs layer [2023-12-05T21:15:08.625Z] e9a5061849ea: Pulling fs layer [2023-12-05T21:15:08.625Z] d747dcd14b5f: Pulling fs layer [2023-12-05T21:15:08.625Z] 2de7ff778b66: Pulling fs layer [2023-12-05T21:15:08.625Z] 0d9ebad4ef96: Waiting [2023-12-05T21:15:08.625Z] d747dcd14b5f: Waiting [2023-12-05T21:15:08.625Z] 2de7ff778b66: Waiting [2023-12-05T21:15:08.625Z] e9a5061849ea: Waiting [2023-12-05T21:15:08.625Z] 9712f1f96733: Verifying Checksum [2023-12-05T21:15:08.625Z] 9712f1f96733: Download complete [2023-12-05T21:15:08.886Z] 63f879dbbcfc: Verifying Checksum [2023-12-05T21:15:08.886Z] 63f879dbbcfc: Download complete [2023-12-05T21:15:09.145Z] e9a5061849ea: Verifying Checksum [2023-12-05T21:15:09.145Z] e9a5061849ea: Download complete [2023-12-05T21:15:09.145Z] d747dcd14b5f: Verifying Checksum [2023-12-05T21:15:09.145Z] d747dcd14b5f: Download complete [2023-12-05T21:15:09.145Z] 0d9ebad4ef96: Verifying Checksum [2023-12-05T21:15:09.145Z] 0d9ebad4ef96: Download complete [2023-12-05T21:15:09.145Z] ab5ef0e58194: Verifying Checksum [2023-12-05T21:15:09.145Z] ab5ef0e58194: Download complete [2023-12-05T21:15:09.145Z] 2de7ff778b66: Verifying Checksum [2023-12-05T21:15:09.145Z] 2de7ff778b66: Download complete [2023-12-05T21:15:12.431Z] ab5ef0e58194: Pull complete [2023-12-05T21:15:12.431Z] 9712f1f96733: Pull complete [2023-12-05T21:15:12.689Z] 63f879dbbcfc: Pull complete [2023-12-05T21:15:15.970Z] 0d9ebad4ef96: Pull complete [2023-12-05T21:15:16.227Z] e9a5061849ea: Pull complete [2023-12-05T21:15:16.227Z] d747dcd14b5f: Pull complete [2023-12-05T21:15:17.161Z] 2de7ff778b66: Pull complete [2023-12-05T21:15:17.161Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-12-05T21:15:17.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-05T21:15:17.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:15:17.454Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:15:17.491Z] $ 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-12-05T21:15:23.671Z] $ docker top 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:15:23.837Z] provisioning config files... [2023-12-05T21:15:23.844Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6484901728415978743tmp [2023-12-05T21:15:23.854Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6026956130471993095tmp [2023-12-05T21:15:23.865Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9227184591806314237tmp [Pipeline] { [Pipeline] echo [2023-12-05T21:15:23.956Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:24.248Z] ---> sigul-configuration.sh [2023-12-05T21:15:24.249Z] gpg: directory `/root/.gnupg' created [2023-12-05T21:15:24.249Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-12-05T21:15:24.249Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-12-05T21:15:24.249Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-12-05T21:15:24.249Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-12-05T21:15:24.249Z] gpg: CAST5 encrypted data [2023-12-05T21:15:24.249Z] gpg: encrypted with 1 passphrase [2023-12-05T21:15:24.249Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-12-05T21:15:24.541Z] + mkdir /home/jenkins [2023-12-05T21:15:24.541Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-12-05T21:15:24.838Z] + 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-12-05T21:15:24.849Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:25.139Z] ---> sigul-install.sh [2023-12-05T21:15:25.140Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-12-05T21:15:25.436Z] + git tag --list [2023-12-05T21:15:25.436Z] v1.0.0 [2023-12-05T21:15:25.436Z] v1.1.0 [2023-12-05T21:15:25.436Z] v1.1.1 [2023-12-05T21:15:25.436Z] v1.1.2 [2023-12-05T21:15:25.436Z] v1.2.0 [2023-12-05T21:15:25.436Z] v1.2.1 [2023-12-05T21:15:25.436Z] v2.0.0 [2023-12-05T21:15:25.436Z] v2.1.0 [2023-12-05T21:15:25.436Z] v2.1.1 [2023-12-05T21:15:25.436Z] v2.2.0 [2023-12-05T21:15:25.436Z] v2.3.0 [2023-12-05T21:15:25.436Z] v3.0 [2023-12-05T21:15:25.436Z] v3.0.0 [2023-12-05T21:15:25.436Z] v3.1 [2023-12-05T21:15:25.436Z] v3.1.0 [2023-12-05T21:15:25.436Z] v3.1.0-dev.1 [2023-12-05T21:15:25.436Z] v3.1.0-dev.10 [2023-12-05T21:15:25.436Z] v3.1.0-dev.11 [2023-12-05T21:15:25.436Z] v3.1.0-dev.12 [2023-12-05T21:15:25.436Z] v3.1.0-dev.13 [2023-12-05T21:15:25.436Z] v3.1.0-dev.14 [2023-12-05T21:15:25.436Z] v3.1.0-dev.15 [2023-12-05T21:15:25.436Z] v3.1.0-dev.16 [2023-12-05T21:15:25.436Z] v3.1.0-dev.17 [2023-12-05T21:15:25.436Z] v3.1.0-dev.18 [2023-12-05T21:15:25.436Z] v3.1.0-dev.19 [2023-12-05T21:15:25.436Z] v3.1.0-dev.2 [2023-12-05T21:15:25.436Z] v3.1.0-dev.20 [2023-12-05T21:15:25.436Z] v3.1.0-dev.21 [2023-12-05T21:15:25.436Z] v3.1.0-dev.22 [2023-12-05T21:15:25.436Z] v3.1.0-dev.23 [2023-12-05T21:15:25.436Z] v3.1.0-dev.24 [2023-12-05T21:15:25.436Z] v3.1.0-dev.25 [2023-12-05T21:15:25.436Z] v3.1.0-dev.26 [2023-12-05T21:15:25.436Z] v3.1.0-dev.27 [2023-12-05T21:15:25.436Z] v3.1.0-dev.28 [2023-12-05T21:15:25.436Z] v3.1.0-dev.29 [2023-12-05T21:15:25.436Z] v3.1.0-dev.3 [2023-12-05T21:15:25.436Z] v3.1.0-dev.30 [2023-12-05T21:15:25.436Z] v3.1.0-dev.31 [2023-12-05T21:15:25.436Z] v3.1.0-dev.32 [2023-12-05T21:15:25.436Z] v3.1.0-dev.4 [2023-12-05T21:15:25.436Z] v3.1.0-dev.5 [2023-12-05T21:15:25.436Z] v3.1.0-dev.6 [2023-12-05T21:15:25.436Z] v3.1.0-dev.7 [2023-12-05T21:15:25.436Z] v3.1.0-dev.8 [2023-12-05T21:15:25.436Z] v3.1.0-dev.9 [2023-12-05T21:15:25.436Z] v3.2.0-dev.1 [2023-12-05T21:15:25.436Z] v3.2.0-dev.2 [2023-12-05T21:15:25.436Z] v3.2.0-dev.3 [Pipeline] sh [2023-12-05T21:15:25.728Z] + lftools sign git-tag v3.2.0-dev.3 [2023-12-05T21:15:26.293Z] Signing Git tag with Sigul... [2023-12-05T21:15:26.294Z] Signing v3.2.0-dev.3 [Pipeline] echo [2023-12-05T21:15:26.565Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:26.854Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-12-05T21:15:26.861Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-12-05T21:15:27.000Z] $ docker stop --time=1 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 [2023-12-05T21:15:28.273Z] $ docker rm -f --volumes 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-12-05T21:15:29.156Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-05T21:15:29.157Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:29.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:15:29.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:15:29.695Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:15:29.731Z] $ 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-12-05T21:15:30.055Z] $ docker top 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 -eo pid,comm [2023-12-05T21:15:30.090Z] 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-12-05T21:15:30.090Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-05T21:15:30.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-05T21:15:30.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-05T21:15:30.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-05T21:15:30.441Z] $ docker exec 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 ssh-agent [2023-12-05T21:15:30.546Z] SSH_AUTH_SOCK=/tmp/ssh-i7W99n698NPU/agent.32 [2023-12-05T21:15:30.546Z] SSH_AGENT_PID=38 [2023-12-05T21:15:30.551Z] Running ssh-add (command line suppressed) [2023-12-05T21:15:30.653Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3110051410362687426.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3110051410362687426.key) [2023-12-05T21:15:30.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-05T21:15:31.005Z] + git semver bump pre [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,233 [bump_version] DEBUG bumping version:3.2.0-dev.3 on axis:pre with prefix:dev [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,233 [bump_version] DEBUG bumped version:3.2.0-dev.4 [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,233 [write_version] DEBUG write version:3.2.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,234 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,235 [execute] INFO git cat-file --batch-check [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,241 [execute] INFO git cat-file --batch [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-05T21:15:31.264Z] 2023-12-05 21:15:31,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:31.264Z] 3.2.0-dev.4 [Pipeline] } [2023-12-05T21:15:31.281Z] $ docker exec --env ******** --env ******** 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 ssh-agent -k [2023-12-05T21:15:31.379Z] unset SSH_AUTH_SOCK; [2023-12-05T21:15:31.379Z] unset SSH_AGENT_PID; [2023-12-05T21:15:31.379Z] echo Agent pid 38 killed; [2023-12-05T21:15:31.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-05T21:15:31.928Z] + git semver [Pipeline] } [2023-12-05T21:15:32.210Z] $ docker stop --time=1 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 [2023-12-05T21:15:33.456Z] $ docker rm -f --volumes 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-05T21:15:33.969Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-05T21:15:33.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:34.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-05T21:15:34.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:15:34.514Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:15:34.554Z] $ 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-12-05T21:15:34.894Z] $ docker top 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-05T21:15:35.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-05T21:15:35.162Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-05T21:15:35.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-05T21:15:35.290Z] $ docker exec 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 ssh-agent [2023-12-05T21:15:35.392Z] SSH_AUTH_SOCK=/tmp/ssh-jwWM3MCwaYKP/agent.32 [2023-12-05T21:15:35.392Z] SSH_AGENT_PID=38 [2023-12-05T21:15:35.397Z] Running ssh-add (command line suppressed) [2023-12-05T21:15:35.498Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14986305040172322466.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14986305040172322466.key) [2023-12-05T21:15:35.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-05T21:15:35.851Z] + git semver push [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,045 [run_push] DEBUG push [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,046 [execute] INFO git cat-file --batch-check [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,050 [execute] INFO git rev-list a8646b35195ff256c582fcf4c4b9c58e5e6a0b2d -- [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,050 [execute] DEBUG Popen(['git', 'rev-list', 'a8646b35195ff256c582fcf4c4b9c58e5e6a0b2d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,059 [execute] INFO git fetch -v origin [2023-12-05T21:15:36.110Z] 2023-12-05 21:15:36,059 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-12-05T21:15:36.678Z] 2023-12-05 21:15:36,614 [run_push] DEBUG no remote changes detected [2023-12-05T21:15:36.678Z] 2023-12-05 21:15:36,614 [execute] INFO git push origin semver [2023-12-05T21:15:36.678Z] 2023-12-05 21:15:36,615 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-05T21:15:37.616Z] 2023-12-05 21:15:37,398 [run_push] DEBUG push all version tags [2023-12-05T21:15:37.616Z] 2023-12-05 21:15:37,399 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-12-05T21:15:37.616Z] 2023-12-05 21:15:37,400 [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-12-05T21:15:38.184Z] 2023-12-05 21:15:38,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-05T21:15:38.184Z] 3.2.0-dev.4 [Pipeline] } [2023-12-05T21:15:38.461Z] $ docker exec --env ******** --env ******** 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 ssh-agent -k [2023-12-05T21:15:38.550Z] unset SSH_AUTH_SOCK; [2023-12-05T21:15:38.550Z] unset SSH_AGENT_PID; [2023-12-05T21:15:38.550Z] echo Agent pid 38 killed; [2023-12-05T21:15:38.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-05T21:15:39.095Z] + git semver [Pipeline] } [2023-12-05T21:15:39.378Z] $ docker stop --time=1 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 [2023-12-05T21:15:40.659Z] $ docker rm -f --volumes 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 [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-12-05T21:15:42.226Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-12-05T21:15:42.226Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-05T21:15:42.226Z] total 16 [2023-12-05T21:15:42.226Z] drwxr-xr-x 3 root root 4096 Dec 5 21:09 . [2023-12-05T21:15:42.226Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 21:15 .. [2023-12-05T21:15:42.226Z] drwxr-xr-x 2 root root 4096 Dec 5 21:09 cost [2023-12-05T21:15:42.226Z] -rw-r--r-- 1 root root 86 Dec 5 21:09 cost.csv [2023-12-05T21:15:42.226Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-05T21:15:42.226Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-05T21:15:42.226Z] total 16 [2023-12-05T21:15:42.226Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 21:09 . [2023-12-05T21:15:42.226Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 21:15 .. [2023-12-05T21:15:42.226Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 21:09 cost [2023-12-05T21:15:42.226Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 5 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:42.520Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:43.381Z] ---> package-listing.sh [2023-12-05T21:15:43.381Z] ++ facter osfamily [2023-12-05T21:15:43.381Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-05T21:15:43.641Z] + OS_FAMILY=debian [2023-12-05T21:15:43.641Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-12-05T21:15:43.641Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-05T21:15:43.641Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-05T21:15:43.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-05T21:15:43.641Z] + PACKAGES=/tmp/packages_start.txt [2023-12-05T21:15:43.641Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-05T21:15:43.641Z] + PACKAGES=/tmp/packages_end.txt [2023-12-05T21:15:43.641Z] + case "${OS_FAMILY}" in [2023-12-05T21:15:43.641Z] + dpkg -l [2023-12-05T21:15:43.641Z] + grep '^ii' [2023-12-05T21:15:43.641Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-05T21:15:43.641Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-05T21:15:43.641Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-05T21:15:43.641Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-05T21:15:43.641Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-12-05T21:15:43.641Z] + 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-12-05T21:15:43.651Z] 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-12-05T21:15:43.928Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-05T21:15:44.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-05T21:15:44.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-05T21:15:44.744Z] prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container [2023-12-05T21:15:44.780Z] $ 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-12-05T21:15:45.020Z] $ docker top 1ab5d834033a273681083f134be15e058f72fb40ae92d6ec65c9b9efd46c0b0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-05T21:15:45.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-05T21:15:45.864Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-05T21:15:46.147Z] + ls /var/log/sa-host [2023-12-05T21:15:46.147Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-05T21:15:46.276Z] provisioning config files... [2023-12-05T21:15:46.285Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3093240716619703442tmp [Pipeline] { [Pipeline] echo [2023-12-05T21:15:46.411Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:46.697Z] ---> create-netrc.sh [Pipeline] } [2023-12-05T21:15:46.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:47.148Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-05T21:15:47.158Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:47.442Z] ---> sudo-logs.sh [2023-12-05T21:15:47.443Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-05T21:15:47.563Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:47.843Z] ---> job-cost.sh [2023-12-05T21:15:47.843Z] lf-activate-venv: SKIPPING [2023-12-05T21:15:47.843Z] DEBUG: total: 0.2199999988079071 [2023-12-05T21:15:47.843Z] INFO: Retrieving Stack Cost... [2023-12-05T21:15:48.102Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-05T21:15:48.670Z] INFO: Archiving Costs [Pipeline] echo [2023-12-05T21:15:48.683Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-05T21:15:48.967Z] ---> logs-deploy.sh [2023-12-05T21:15:48.967Z] lf-activate-venv: SKIPPING [2023-12-05T21:15:48.967Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/155 [2023-12-05T21:15:48.967Z] INFO: archiving workspace using pattern(s): [2023-12-05T21:15:49.905Z] Archives upload complete. [2023-12-05T21:15:49.905Z] INFO: archiving logs to Nexus [2023-12-05T21:15:50.473Z] ---> uname -a: [2023-12-05T21:15:50.473Z] Linux prd-ubuntu20-04-docker-8c-8g-24104 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-12-05T21:15:50.473Z] [2023-12-05T21:15:50.473Z]