Pull request #400 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f43bb704c884ba6c479f2c9ffeced9dde883b602+ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 (6fa1a5efa50bf586a7bad5aef140e9376fcfe6d5) 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-ssh1215035653341381337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5681408856388133807.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12541017229304945906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7630601654877195572.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10035559638641685369.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-400/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-400/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8910693539899519686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-5963 in /w/workspace/gexfoundry_device-rest-go_PR-400 [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/gexfoundry_device-rest-go_PR-400 # 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 Merging remotes/origin/main commit ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 into PR head commit f43bb704c884ba6c479f2c9ffeced9dde883b602 Merge succeeded, producing f43bb704c884ba6c479f2c9ffeced9dde883b602 Checking out Revision f43bb704c884ba6c479f2c9ffeced9dde883b602 (PR-400) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-19T20:57:28.709Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-19T20:57:28.924Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-19T20:57:29.045Z] ========================================================= [2024-07-19T20:57:29.046Z] EdgeX Global Pipelines Version Info [2024-07-19T20:57:29.046Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-19T20:57:29.847Z] ------------------- [2024-07-19T20:57:29.847Z] stable info: [2024-07-19T20:57:29.847Z] ------------------- [2024-07-19T20:57:29.847Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T20:57:29.847Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T20:57:29.847Z] Message: update stable to v1.0.260 [2024-07-19T20:57:30.417Z] ------------------- [2024-07-19T20:57:30.417Z] experimental info: [2024-07-19T20:57:30.417Z] ------------------- [2024-07-19T20:57:30.417Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T20:57:30.417Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-19T20:57:30.417Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-19T20:57:30.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-19T20:57:30.687Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-19T20:57:30.747Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-19T20:57:30.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-19T20:57:30.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-19T20:57:30.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-19T20:57:30.956Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-19T20:57:31.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-19T20:57:31.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-19T20:57:31.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-19T20:57:31.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-19T20:57:31.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-19T20:57:31.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-19T20:57:31.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-19T20:57:31.418Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T20:57:31.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T20:57:31.541Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T20:57:31.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T20:57:31.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-19T20:57:31.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-19T20:57:31.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-19T20:57:31.825Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-19T20:57:31.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-19T20:57:31.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-19T20:57:31.989Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-19T20:57:32.042Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-19T20:57:32.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-19T20:57:32.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-400 [Pipeline] echo [2024-07-19T20:57:32.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-400 [Pipeline] echo [2024-07-19T20:57:32.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-400 [Pipeline] echo [2024-07-19T20:57:32.326Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo [2024-07-19T20:57:32.384Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43bb70 [Pipeline] echo [2024-07-19T20:57:32.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T20:57:32.589Z] provisioning config files... [2024-07-19T20:57:32.602Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config2777219977641118368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T20:57:32.988Z] ---> ****-login.sh [2024-07-19T20:57:32.988Z] nexus3.edgexfoundry.org:10001 [2024-07-19T20:57:33.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:33.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:33.506Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:33.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:33.507Z] [2024-07-19T20:57:33.507Z] Login Succeeded [2024-07-19T20:57:33.507Z] nexus3.edgexfoundry.org:10002 [2024-07-19T20:57:33.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:33.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:33.507Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:33.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:33.507Z] [2024-07-19T20:57:33.507Z] Login Succeeded [2024-07-19T20:57:33.507Z] nexus3.edgexfoundry.org:10003 [2024-07-19T20:57:33.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:33.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:33.507Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:33.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:33.507Z] [2024-07-19T20:57:33.507Z] Login Succeeded [2024-07-19T20:57:33.507Z] nexus3.edgexfoundry.org:10004 [2024-07-19T20:57:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:33.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:33.767Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:33.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:33.767Z] [2024-07-19T20:57:33.767Z] Login Succeeded [2024-07-19T20:57:33.767Z] ****.io [2024-07-19T20:57:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:34.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:34.027Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:34.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:34.027Z] [2024-07-19T20:57:34.027Z] Login Succeeded [2024-07-19T20:57:34.027Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T20:57:34.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-19T20:57:34.741Z] + git rev-list -1 --merges f43bb704c884ba6c479f2c9ffeced9dde883b602~1..f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo [2024-07-19T20:57:34.783Z] -----------> git rev-list -1 --merges f43bb704c884ba6c479f2c9ffeced9dde883b602~1..f43bb704c884ba6c479f2c9ffeced9dde883b602 f43bb704c884ba6c479f2c9ffeced9dde883b602 [false] [Pipeline] sh [2024-07-19T20:57:35.103Z] + git log --format=format:%s -1 f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo [2024-07-19T20:57:35.142Z] ========================================================= [2024-07-19T20:57:35.142Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-19T20:57:35.142Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T20:57:35.596Z] + git log --format=format:%s -1 f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo [2024-07-19T20:57:35.631Z] [semverPrep] GIT_COMMIT: f43bb704c884ba6c479f2c9ffeced9dde883b602, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-19T20:57:35.670Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-19T20:57:36.081Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T20:57:36.081Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-19T20:57:36.081Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-19T20:57:36.081Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-19T20:57:36.081Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-19T20:57:36.081Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-19T20:57:36.081Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:57:36.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T20:57:36.597Z] [2024-07-19T20:57:36.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:57:36.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T20:57:36.994Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-19T20:57:36.994Z] b85a868b505f: Pulling fs layer [2024-07-19T20:57:36.994Z] e2be974225ed: Pulling fs layer [2024-07-19T20:57:36.994Z] 339a4e72a1f5: Pulling fs layer [2024-07-19T20:57:36.994Z] 988bab9f4d93: Pulling fs layer [2024-07-19T20:57:36.994Z] 1469e6f7b9e6: Pulling fs layer [2024-07-19T20:57:36.994Z] eaf3925da568: Pulling fs layer [2024-07-19T20:57:36.994Z] bab4dde63d76: Pulling fs layer [2024-07-19T20:57:36.994Z] bde34c3a00c8: Pulling fs layer [2024-07-19T20:57:36.994Z] b352a97aabf1: Pulling fs layer [2024-07-19T20:57:36.994Z] 4872d77fe225: Pulling fs layer [2024-07-19T20:57:36.994Z] 5851b861e8e6: Pulling fs layer [2024-07-19T20:57:36.994Z] bab4dde63d76: Waiting [2024-07-19T20:57:36.994Z] bde34c3a00c8: Waiting [2024-07-19T20:57:36.994Z] b352a97aabf1: Waiting [2024-07-19T20:57:36.994Z] 4872d77fe225: Waiting [2024-07-19T20:57:36.994Z] 5851b861e8e6: Waiting [2024-07-19T20:57:36.994Z] 988bab9f4d93: Waiting [2024-07-19T20:57:36.994Z] 1469e6f7b9e6: Waiting [2024-07-19T20:57:36.994Z] eaf3925da568: Waiting [2024-07-19T20:57:36.994Z] e2be974225ed: Verifying Checksum [2024-07-19T20:57:36.994Z] e2be974225ed: Download complete [2024-07-19T20:57:36.994Z] 988bab9f4d93: Verifying Checksum [2024-07-19T20:57:36.994Z] 988bab9f4d93: Download complete [2024-07-19T20:57:37.254Z] 1469e6f7b9e6: Verifying Checksum [2024-07-19T20:57:37.254Z] 1469e6f7b9e6: Download complete [2024-07-19T20:57:37.254Z] 339a4e72a1f5: Verifying Checksum [2024-07-19T20:57:37.254Z] 339a4e72a1f5: Download complete [2024-07-19T20:57:37.254Z] eaf3925da568: Verifying Checksum [2024-07-19T20:57:37.254Z] eaf3925da568: Download complete [2024-07-19T20:57:37.254Z] bde34c3a00c8: Verifying Checksum [2024-07-19T20:57:37.254Z] bde34c3a00c8: Download complete [2024-07-19T20:57:37.254Z] b352a97aabf1: Download complete [2024-07-19T20:57:37.254Z] 4872d77fe225: Verifying Checksum [2024-07-19T20:57:37.254Z] 4872d77fe225: Download complete [2024-07-19T20:57:37.254Z] 5851b861e8e6: Verifying Checksum [2024-07-19T20:57:37.254Z] 5851b861e8e6: Download complete [2024-07-19T20:57:37.254Z] b85a868b505f: Download complete [2024-07-19T20:57:37.511Z] bab4dde63d76: Verifying Checksum [2024-07-19T20:57:38.446Z] b85a868b505f: Pull complete [2024-07-19T20:57:38.704Z] e2be974225ed: Pull complete [2024-07-19T20:57:38.962Z] 339a4e72a1f5: Pull complete [2024-07-19T20:57:39.221Z] 988bab9f4d93: Pull complete [2024-07-19T20:57:39.479Z] 1469e6f7b9e6: Pull complete [2024-07-19T20:57:39.479Z] eaf3925da568: Pull complete [2024-07-19T20:57:41.380Z] bab4dde63d76: Pull complete [2024-07-19T20:57:41.380Z] bde34c3a00c8: Pull complete [2024-07-19T20:57:41.380Z] b352a97aabf1: Pull complete [2024-07-19T20:57:41.380Z] 4872d77fe225: Pull complete [2024-07-19T20:57:41.380Z] 5851b861e8e6: Pull complete [2024-07-19T20:57:41.380Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-19T20:57:41.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T20:57:41.380Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T20:57:41.676Z] prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container [2024-07-19T20:57:41.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@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 [2024-07-19T20:57:44.679Z] $ docker top 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f -eo pid,comm [2024-07-19T20:57:44.739Z] 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). [2024-07-19T20:57:44.739Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T20:57:45.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T20:57:45.024Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T20:57:45.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T20:57:45.138Z] $ docker exec 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent [2024-07-19T20:57:45.254Z] SSH_AUTH_SOCK=/tmp/ssh-aeGvZvQe2nqY/agent.31 [2024-07-19T20:57:45.254Z] SSH_AGENT_PID=37 [2024-07-19T20:57:45.259Z] Running ssh-add (command line suppressed) [2024-07-19T20:57:45.354Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_10136302481249906411.key (/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_10136302481249906411.key) [2024-07-19T20:57:45.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T20:57:45.721Z] + git tag --points-at HEAD [Pipeline] } [2024-07-19T20:57:45.747Z] $ docker exec --env ******** --env ******** 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent -k [2024-07-19T20:57:45.845Z] unset SSH_AUTH_SOCK; [2024-07-19T20:57:45.846Z] unset SSH_AGENT_PID; [2024-07-19T20:57:45.846Z] echo Agent pid 37 killed; [2024-07-19T20:57:45.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-19T20:57:45.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T20:57:45.974Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T20:57:46.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T20:57:46.071Z] $ docker exec 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent [2024-07-19T20:57:46.196Z] SSH_AUTH_SOCK=/tmp/ssh-F8gp3eya7dl9/agent.69 [2024-07-19T20:57:46.196Z] SSH_AGENT_PID=75 [2024-07-19T20:57:46.201Z] Running ssh-add (command line suppressed) [2024-07-19T20:57:46.295Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_3842644762782887206.key (/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_3842644762782887206.key) [2024-07-19T20:57:46.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T20:57:46.656Z] + git semver init [2024-07-19T20:57:46.915Z] 2024-07-19 20:57:46,824 [run_init] DEBUG init version:0.0.0 force:False [2024-07-19T20:57:46.915Z] 2024-07-19 20:57:46,825 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver [2024-07-19T20:57:46.915Z] 2024-07-19 20:57:46,825 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-400/.semver [2024-07-19T20:57:46.915Z] 2024-07-19 20:57:46,825 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-400/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400, universal_newlines=False, shell=None, istream=None) [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,137 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-400/.git/info/exclude [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 with force:False [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,138 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,143 [execute] INFO git cat-file --batch-check [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,150 [execute] INFO git cat-file --batch [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T20:57:48.291Z] 2024-07-19 20:57:48,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 [2024-07-19T20:57:48.291Z] 0.0.0 [Pipeline] } [2024-07-19T20:57:48.315Z] $ docker exec --env ******** --env ******** 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent -k [2024-07-19T20:57:48.415Z] unset SSH_AUTH_SOCK; [2024-07-19T20:57:48.416Z] unset SSH_AGENT_PID; [2024-07-19T20:57:48.416Z] echo Agent pid 75 killed; [2024-07-19T20:57:48.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T20:57:48.901Z] + git semver [Pipeline] } [2024-07-19T20:57:49.183Z] $ docker stop --time=1 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f [2024-07-19T20:57:50.476Z] $ docker rm -f --volumes 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T20:57:50.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-19T20:57:51.214Z] Stashed 1 file(s) [Pipeline] echo [2024-07-19T20:57:51.237Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2024-07-19T20:57:51.996Z] provisioning config files... [2024-07-19T20:57:52.006Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config12759356498382050998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T20:57:52.373Z] ---> ****-login.sh [2024-07-19T20:57:52.373Z] nexus3.edgexfoundry.org:10001 [2024-07-19T20:57:52.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:52.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:52.373Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:52.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:52.373Z] [2024-07-19T20:57:52.373Z] Login Succeeded [2024-07-19T20:57:52.373Z] nexus3.edgexfoundry.org:10002 [2024-07-19T20:57:52.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:52.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:52.374Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:52.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:52.374Z] [2024-07-19T20:57:52.374Z] Login Succeeded [2024-07-19T20:57:52.374Z] nexus3.edgexfoundry.org:10003 [2024-07-19T20:57:52.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:52.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:52.635Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:52.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:52.635Z] [2024-07-19T20:57:52.635Z] Login Succeeded [2024-07-19T20:57:52.635Z] nexus3.edgexfoundry.org:10004 [2024-07-19T20:57:52.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:52.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:52.635Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:52.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:52.635Z] [2024-07-19T20:57:52.635Z] Login Succeeded [2024-07-19T20:57:52.635Z] ****.io [2024-07-19T20:57:52.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T20:57:52.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T20:57:52.894Z] Configure a credential helper to remove this warning. See [2024-07-19T20:57:52.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T20:57:52.894Z] [2024-07-19T20:57:52.894Z] Login Succeeded [2024-07-19T20:57:52.894Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T20:57:52.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T20:57:53.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T20:57:53.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T20:57:53.279Z] ========================================================= [2024-07-19T20:57:53.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-19T20:57:53.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:57:53.794Z] + 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 . [2024-07-19T20:57:53.794Z] Sending build context to Docker daemon 16.55MB [2024-07-19T20:57:53.794Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T20:57:53.794Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T20:57:53.794Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-19T20:57:53.794Z] 619be1103602: Pulling fs layer [2024-07-19T20:57:53.794Z] 7862e08f4a3e: Pulling fs layer [2024-07-19T20:57:53.794Z] 5df492c9dc93: Pulling fs layer [2024-07-19T20:57:53.794Z] 7629e6793208: Pulling fs layer [2024-07-19T20:57:53.794Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T20:57:53.794Z] fb5054dd5b73: Pulling fs layer [2024-07-19T20:57:53.794Z] eeca6798cff9: Pulling fs layer [2024-07-19T20:57:53.794Z] aa269ceb94a6: Pulling fs layer [2024-07-19T20:57:53.794Z] ada007ff1a6a: Pulling fs layer [2024-07-19T20:57:53.794Z] 4f4fb700ef54: Waiting [2024-07-19T20:57:53.794Z] 7629e6793208: Waiting [2024-07-19T20:57:53.794Z] fb5054dd5b73: Waiting [2024-07-19T20:57:53.794Z] ada007ff1a6a: Waiting [2024-07-19T20:57:53.794Z] aa269ceb94a6: Waiting [2024-07-19T20:57:53.794Z] eeca6798cff9: Waiting [2024-07-19T20:57:54.054Z] 7862e08f4a3e: Download complete [2024-07-19T20:57:54.054Z] 7629e6793208: Verifying Checksum [2024-07-19T20:57:54.054Z] 7629e6793208: Download complete [2024-07-19T20:57:54.054Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T20:57:54.054Z] 4f4fb700ef54: Download complete [2024-07-19T20:57:54.054Z] 619be1103602: Verifying Checksum [2024-07-19T20:57:54.054Z] 619be1103602: Download complete [2024-07-19T20:57:54.054Z] fb5054dd5b73: Verifying Checksum [2024-07-19T20:57:54.054Z] fb5054dd5b73: Download complete [2024-07-19T20:57:54.054Z] eeca6798cff9: Verifying Checksum [2024-07-19T20:57:54.054Z] eeca6798cff9: Download complete [2024-07-19T20:57:54.054Z] 619be1103602: Pull complete [2024-07-19T20:57:54.312Z] ada007ff1a6a: Verifying Checksum [2024-07-19T20:57:54.312Z] ada007ff1a6a: Download complete [2024-07-19T20:57:54.312Z] 7862e08f4a3e: Pull complete [2024-07-19T20:57:54.312Z] 5df492c9dc93: Verifying Checksum [2024-07-19T20:57:54.312Z] 5df492c9dc93: Download complete [2024-07-19T20:57:54.880Z] aa269ceb94a6: Verifying Checksum [2024-07-19T20:57:54.880Z] aa269ceb94a6: Download complete [2024-07-19T20:57:57.406Z] 5df492c9dc93: Pull complete [2024-07-19T20:57:57.665Z] 7629e6793208: Pull complete [2024-07-19T20:57:57.665Z] 4f4fb700ef54: Pull complete [2024-07-19T20:57:57.665Z] fb5054dd5b73: Pull complete [2024-07-19T20:57:57.924Z] eeca6798cff9: Pull complete [2024-07-19T20:58:00.463Z] aa269ceb94a6: Pull complete [2024-07-19T20:58:00.463Z] ada007ff1a6a: Pull complete [2024-07-19T20:58:00.463Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-19T20:58:00.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-19T20:58:00.463Z] ---> f489d0715acc [2024-07-19T20:58:00.463Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T20:58:05.768Z] ---> Running in 110c176a8d41 [2024-07-19T20:58:05.768Z] Removing intermediate container 110c176a8d41 [2024-07-19T20:58:05.768Z] ---> 60d3851bc88c [2024-07-19T20:58:05.768Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T20:58:05.768Z] ---> Running in f4e3b2737d80 [2024-07-19T20:58:05.768Z] Removing intermediate container f4e3b2737d80 [2024-07-19T20:58:05.768Z] ---> 73d1f094846c [2024-07-19T20:58:05.768Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T20:58:05.768Z] ---> Running in 3564d4890fa2 [2024-07-19T20:58:05.768Z] Removing intermediate container 3564d4890fa2 [2024-07-19T20:58:05.768Z] ---> 91c981daef3c [2024-07-19T20:58:05.768Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T20:58:05.768Z] ---> Running in 86917411cec2 [2024-07-19T20:58:05.768Z] Removing intermediate container 86917411cec2 [2024-07-19T20:58:05.768Z] ---> 864e04b15d0a [2024-07-19T20:58:05.768Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T20:58:05.768Z] ---> Running in 21e513818766 [2024-07-19T20:58:05.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T20:58:06.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T20:58:06.286Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T20:58:06.286Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T20:58:06.286Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T20:58:06.286Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T20:58:06.286Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T20:58:06.286Z] OK: 268 MiB in 56 packages [2024-07-19T20:58:06.792Z] Still waiting to schedule task [2024-07-19T20:58:06.792Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-19T20:58:06.854Z] Removing intermediate container 21e513818766 [2024-07-19T20:58:06.854Z] ---> 0933bb737b9c [2024-07-19T20:58:06.854Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-19T20:58:06.854Z] ---> Running in 5ca760f0de4e [2024-07-19T20:58:06.854Z] Removing intermediate container 5ca760f0de4e [2024-07-19T20:58:06.854Z] ---> 33491e534886 [2024-07-19T20:58:06.854Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-19T20:58:07.120Z] ---> 7e8e97fd75b2 [2024-07-19T20:58:07.120Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T20:58:07.120Z] ---> Running in fe039ea15860 [2024-07-19T20:59:03.608Z] Removing intermediate container fe039ea15860 [2024-07-19T20:59:03.608Z] ---> b807805c10de [2024-07-19T20:59:03.608Z] Step 11/12 : COPY . . [2024-07-19T20:59:03.608Z] ---> eea76f39c576 [2024-07-19T20:59:03.608Z] Step 12/12 : RUN $MAKE [2024-07-19T20:59:03.608Z] ---> Running in bc8ab4640b77 [2024-07-19T20:59:03.608Z] noop [2024-07-19T20:59:03.608Z] Removing intermediate container bc8ab4640b77 [2024-07-19T20:59:03.608Z] ---> a203707130df [2024-07-19T20:59:03.608Z] Successfully built a203707130df [2024-07-19T20:59:03.608Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:59:04.537Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T20:59:04.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T20:59:04.986Z] prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container [2024-07-19T20:59:05.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T20:59:05.451Z] $ docker top b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T20:59:06.124Z] + go version [2024-07-19T20:59:06.124Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-19T20:59:06.216Z] $ docker stop --time=1 b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e [2024-07-19T20:59:07.509Z] $ docker rm -f --volumes b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:59:09.390Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T20:59:09.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T20:59:09.903Z] prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container [2024-07-19T20:59:10.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T20:59:10.418Z] $ docker top ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T20:59:11.070Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-400 [Pipeline] fileExists [Pipeline] sh [2024-07-19T20:59:11.706Z] + make test [2024-07-19T20:59:11.706Z] go test ./... -coverprofile=coverage.out ./... [2024-07-19T20:59:13.283Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-19T20:59:31.872Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-19T20:59:31.872Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-07-19T20:59:38.843Z] go vet ./... [2024-07-19T20:59:43.227Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5964 in /w/workspace/gexfoundry_device-rest-go_PR-400 [Pipeline] { [Pipeline] ws [2024-07-19T20:59:43.520Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-19T20:59:44.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T20:59:44.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T20:59:44.347Z] ./bin/test-attribution-txt.sh [2024-07-19T20:59:44.347Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T20:59:44.347Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [2024-07-19T20:59:46.827Z] The recommended git tool is: git [Pipeline] echo [2024-07-19T20:59:46.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T20:59:47.005Z] $ docker stop --time=1 ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d [2024-07-19T20:59:50.952Z] $ docker rm -f --volumes ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T20:59:51.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T20:59:52.059Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-19T20:59:53.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T20:59:54.048Z] + ls -al . [2024-07-19T20:59:54.048Z] total 248 [2024-07-19T20:59:54.048Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 20:59 . [2024-07-19T20:59:54.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:57 .. [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 19 20:57 .dockerignore [2024-07-19T20:59:54.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:59 .git [2024-07-19T20:59:54.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 .github [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 19 20:57 .gitignore [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 20:57 .golangci.yml [2024-07-19T20:59:54.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:57 .semver [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 19 20:57 Attribution.txt [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 19 20:57 CHANGELOG.md [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 19 20:57 Dockerfile [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:57 GOVERNANCE.md [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 20:57 Jenkinsfile [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 20:57 LICENSE [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 19 20:57 Makefile [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 19 20:57 OWNERS.md [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 19 20:57 README.md [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:57 VERSION [2024-07-19T20:59:54.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:57 bin [2024-07-19T20:59:54.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 cmd [2024-07-19T20:59:54.048Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 19 20:59 coverage.out [2024-07-19T20:59:54.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:57 driver [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 19 20:57 go.mod [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 20:57 go.sum [2024-07-19T20:59:54.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 openapi [2024-07-19T20:59:54.048Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 19 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T20:59:54.853Z] + 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=f43bb704c884ba6c479f2c9ffeced9dde883b602 --label arch=amd64 --label version=0.0.0 . [2024-07-19T20:59:54.853Z] Sending build context to Docker daemon 16.56MB [2024-07-19T20:59:54.853Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T20:59:54.853Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T20:59:54.853Z] ---> a203707130df [2024-07-19T20:59:54.853Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T20:59:55.158Z] ---> Running in a1024cd90f19 [2024-07-19T20:59:55.158Z] Removing intermediate container a1024cd90f19 [2024-07-19T20:59:55.158Z] ---> 85993fedaa5f [2024-07-19T20:59:55.158Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T20:59:55.158Z] ---> Running in b298ac3d7e83 [2024-07-19T20:59:55.158Z] Removing intermediate container b298ac3d7e83 [2024-07-19T20:59:55.158Z] ---> 925a257daffa [2024-07-19T20:59:55.158Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T20:59:55.451Z] ---> Running in 535ce9b5a0f2 [2024-07-19T20:59:55.451Z] Removing intermediate container 535ce9b5a0f2 [2024-07-19T20:59:55.451Z] ---> 71577d8cd346 [2024-07-19T20:59:55.451Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T20:59:55.451Z] ---> Running in f6c9a4191403 [2024-07-19T20:59:55.451Z] Removing intermediate container f6c9a4191403 [2024-07-19T20:59:55.451Z] ---> b9bcc3822970 [2024-07-19T20:59:55.451Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T20:59:55.451Z] ---> Running in 12d4765fdb13 [2024-07-19T20:59:55.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T20:59:56.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T20:59:56.112Z] using credential edgex-jenkins-ssh [2024-07-19T20:59:56.179Z] Cloning the remote Git repository [2024-07-19T20:59:56.222Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-19T20:59:56.367Z] OK: 268 MiB in 56 packages [2024-07-19T20:59:56.367Z] Removing intermediate container 12d4765fdb13 [2024-07-19T20:59:56.367Z] ---> 3956ea3394e8 [2024-07-19T20:59:56.367Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-19T20:59:56.683Z] ---> Running in 64ff7e2c7b8a [2024-07-19T20:59:56.683Z] Removing intermediate container 64ff7e2c7b8a [2024-07-19T20:59:56.683Z] ---> 77c03cbea50f [2024-07-19T20:59:56.683Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-19T20:59:56.683Z] ---> 1c00bad5c9db [2024-07-19T20:59:56.683Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T20:59:56.683Z] ---> Running in c423f8a1b15f [2024-07-19T20:59:57.304Z] Removing intermediate container c423f8a1b15f [2024-07-19T20:59:57.304Z] ---> d25f04c86a84 [2024-07-19T20:59:57.304Z] Step 11/26 : COPY . . [2024-07-19T20:59:56.353Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-19T20:59:56.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-19T20:59:56.712Z] > git --version # timeout=10 [2024-07-19T20:59:56.745Z] > git --version # 'git version 2.25.1' [2024-07-19T20:59:56.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T20:59:56.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T20:59:57.928Z] ---> 6280e6db9c44 [2024-07-19T20:59:57.928Z] Step 12/26 : RUN $MAKE [2024-07-19T20:59:57.928Z] ---> Running in af39eb7c5911 [2024-07-19T20:59:58.237Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-19T20:59:59.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-19T20:59:59.740Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T21:00:01.555Z] Merging remotes/origin/main commit ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 into PR head commit f43bb704c884ba6c479f2c9ffeced9dde883b602 [2024-07-19T21:00:01.904Z] Merge succeeded, producing f43bb704c884ba6c479f2c9ffeced9dde883b602 [2024-07-19T21:00:01.904Z] Checking out Revision f43bb704c884ba6c479f2c9ffeced9dde883b602 (PR-400) [2024-07-19T21:00:00.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-19T21:00:01.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-19T21:00:01.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T21:00:01.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-19T21:00:01.579Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T21:00:01.636Z] > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 [2024-07-19T21:00:01.781Z] > git remote # timeout=10 [2024-07-19T21:00:01.799Z] > git config --get remote.origin.url # timeout=10 [2024-07-19T21:00:01.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T21:00:01.841Z] > git merge ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 [2024-07-19T21:00:01.887Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-19T21:00:01.907Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T21:00:01.918Z] > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 [2024-07-19T21:00:02.778Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-19T21:00:02.850Z] > git --version # timeout=10 [2024-07-19T21:00:02.861Z] > git --version # 'git version 2.25.1' [2024-07-19T21:00:02.874Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T21:00:08.847Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-19T21:00:08.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T21:00:08.847Z] Dload Upload Total Spent Left Speed [2024-07-19T21:00:08.847Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-07-19T21:00:09.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-19T21:00:09.862Z] + sudo tee /etc/docker/daemon.new [2024-07-19T21:00:09.862Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-19T21:00:09.862Z] { [2024-07-19T21:00:09.862Z] "registry-mirrors": [ [2024-07-19T21:00:09.862Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-19T21:00:09.862Z] ], [2024-07-19T21:00:09.862Z] "bip": "10.250.0.254/24", [2024-07-19T21:00:09.862Z] "hosts": [ [2024-07-19T21:00:09.862Z] "tcp://0.0.0.0:5555", [2024-07-19T21:00:09.862Z] "unix:///var/run/docker.sock" [2024-07-19T21:00:09.862Z] ], [2024-07-19T21:00:09.862Z] "mtu": 1458, [2024-07-19T21:00:09.862Z] "selinux-enabled": true, [2024-07-19T21:00:09.862Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-19T21:00:09.862Z] } [Pipeline] sh [2024-07-19T21:00:10.369Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-19T21:00:10.866Z] + sudo service docker restart [2024-07-19T21:00:25.356Z] Removing intermediate container af39eb7c5911 [2024-07-19T21:00:25.356Z] ---> 580540751eab [2024-07-19T21:00:25.356Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T21:00:25.356Z] 3.18: Pulling from library/alpine [2024-07-19T21:00:25.356Z] 73baa7ef167e: Pulling fs layer [2024-07-19T21:00:25.808Z] 73baa7ef167e: Verifying Checksum [2024-07-19T21:00:25.808Z] 73baa7ef167e: Download complete [2024-07-19T21:00:25.808Z] 73baa7ef167e: Pull complete [2024-07-19T21:00:25.808Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T21:00:25.808Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T21:00:25.808Z] ---> 8fd7cac70a4a [2024-07-19T21:00:25.808Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T21:00:26.116Z] ---> Running in 377e30388cf8 [2024-07-19T21:00:26.116Z] Removing intermediate container 377e30388cf8 [2024-07-19T21:00:26.116Z] ---> 63fa89afcbcc [2024-07-19T21:00:26.116Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-19T21:00:26.116Z] ---> Running in 70eb33ed1aa2 [2024-07-19T21:00:26.116Z] Removing intermediate container 70eb33ed1aa2 [2024-07-19T21:00:26.116Z] ---> 503665720d9a [2024-07-19T21:00:26.116Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T21:00:26.116Z] ---> Running in d2d4b9ac04db [2024-07-19T21:00:26.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T21:00:26.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T21:00:26.745Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T21:00:26.745Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T21:00:26.745Z] OK: 7 MiB in 16 packages [2024-07-19T21:00:27.092Z] Removing intermediate container d2d4b9ac04db [2024-07-19T21:00:27.092Z] ---> 68ec2ac6bba9 [2024-07-19T21:00:27.092Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-19T21:00:27.092Z] ---> Running in a61119b27cae [2024-07-19T21:00:27.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T21:00:27.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T21:00:27.691Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T21:00:27.691Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T21:00:27.691Z] OK: 7 MiB in 16 packages [2024-07-19T21:00:28.288Z] Removing intermediate container a61119b27cae [2024-07-19T21:00:28.288Z] ---> 18ceeaf1fd2a [2024-07-19T21:00:28.288Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-19T21:00:29.316Z] ---> 6d545d491fda [2024-07-19T21:00:29.316Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-19T21:00:29.316Z] ---> 6041803a8ef5 [2024-07-19T21:00:29.316Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-19T21:00:29.610Z] ---> 43fc345439cd [2024-07-19T21:00:29.610Z] Step 21/26 : EXPOSE 59986 [2024-07-19T21:00:29.610Z] ---> Running in d7262e4328ab [2024-07-19T21:00:29.610Z] Removing intermediate container d7262e4328ab [2024-07-19T21:00:29.610Z] ---> 441c2ef97f31 [2024-07-19T21:00:29.610Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [Pipeline] withEnv [Pipeline] { [2024-07-19T21:00:29.917Z] ---> Running in 63cea8e93c7f [2024-07-19T21:00:29.917Z] Removing intermediate container 63cea8e93c7f [2024-07-19T21:00:29.917Z] ---> 9df0841e31c3 [2024-07-19T21:00:29.917Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-19T21:00:29.917Z] ---> Running in ddd4c8e904ab [Pipeline] configFileProvider [2024-07-19T21:00:29.932Z] provisioning config files... [2024-07-19T21:00:29.989Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3758443414956038584tmp [Pipeline] { [Pipeline] libraryResource [2024-07-19T21:00:30.196Z] Removing intermediate container ddd4c8e904ab [2024-07-19T21:00:30.196Z] ---> c5d6457b3c85 [2024-07-19T21:00:30.196Z] Step 24/26 : LABEL arch=amd64 [2024-07-19T21:00:30.196Z] ---> Running in b2cd3b760ff6 [2024-07-19T21:00:30.196Z] Removing intermediate container b2cd3b760ff6 [2024-07-19T21:00:30.196Z] ---> 21a7d531c9a0 [2024-07-19T21:00:30.196Z] Step 25/26 : LABEL git_sha=f43bb704c884ba6c479f2c9ffeced9dde883b602 [2024-07-19T21:00:30.196Z] ---> Running in 4005fd829a74 [Pipeline] sh [2024-07-19T21:00:30.500Z] Removing intermediate container 4005fd829a74 [2024-07-19T21:00:30.500Z] ---> 4011cf414e79 [2024-07-19T21:00:30.500Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T21:00:30.500Z] ---> Running in 8e7f932bc010 [2024-07-19T21:00:30.500Z] Removing intermediate container 8e7f932bc010 [2024-07-19T21:00:30.500Z] ---> 682506e9b0dd [2024-07-19T21:00:30.500Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T21:00:30.500Z] Successfully built 682506e9b0dd [2024-07-19T21:00:30.500Z] Successfully tagged device-rest:latest [Pipeline] } [2024-07-19T21:00:30.813Z] ---> ****-login.sh [2024-07-19T21:00:30.813Z] nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] } [2024-07-19T21:00:31.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2024-07-19T21:00:31.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T21:00:31.413Z] Configure a credential helper to remove this warning. See [2024-07-19T21:00:31.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T21:00:31.413Z] [2024-07-19T21:00:31.413Z] Login Succeeded [2024-07-19T21:00:31.413Z] nexus3.edgexfoundry.org:10002 [Pipeline] getContext [Pipeline] } [2024-07-19T21:00:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T21:00:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T21:00:31.718Z] Configure a credential helper to remove this warning. See [2024-07-19T21:00:31.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T21:00:31.718Z] [2024-07-19T21:00:31.718Z] Login Succeeded [2024-07-19T21:00:31.718Z] nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2024-07-19T21:00:32.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T21:00:32.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T21:00:32.049Z] Configure a credential helper to remove this warning. See [2024-07-19T21:00:32.049Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T21:00:32.049Z] [2024-07-19T21:00:32.049Z] Login Succeeded [2024-07-19T21:00:32.049Z] nexus3.edgexfoundry.org:10004 Stage "Snap" skipped due to when conditional [Pipeline] getContext [2024-07-19T21:00:32.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T21:00:32.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T21:00:32.340Z] Configure a credential helper to remove this warning. See [2024-07-19T21:00:32.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T21:00:32.340Z] [2024-07-19T21:00:32.340Z] Login Succeeded [2024-07-19T21:00:32.340Z] ****.io [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [2024-07-19T21:00:32.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [2024-07-19T21:00:32.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T21:00:32.943Z] Configure a credential helper to remove this warning. See [2024-07-19T21:00:32.943Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T21:00:32.943Z] [2024-07-19T21:00:32.943Z] Login Succeeded [2024-07-19T21:00:32.943Z] ---> ****-login.sh ends [Pipeline] { [Pipeline] } [2024-07-19T21:00:33.135Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [2024-07-19T21:00:33.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T21:00:33.627Z] [2024-07-19T21:00:33.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] // withEnv [Pipeline] unstash [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2024-07-19T21:00:34.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-07-19T21:00:34.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T21:00:34.592Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-19T21:00:34.592Z] 5eb5b503b376: Pulling fs layer [2024-07-19T21:00:34.592Z] 5c69ac0246d0: Pulling fs layer [2024-07-19T21:00:34.592Z] ec43610c2a17: Pulling fs layer [2024-07-19T21:00:34.592Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-19T21:00:34.592Z] 33b1e0a273af: Pulling fs layer [2024-07-19T21:00:34.592Z] 5d3b04190fa2: Pulling fs layer [2024-07-19T21:00:34.592Z] 2f39f015ded8: Pulling fs layer [2024-07-19T21:00:34.592Z] 5d3b04190fa2: Waiting [2024-07-19T21:00:34.592Z] 2f39f015ded8: Waiting [2024-07-19T21:00:34.592Z] 3a2ae6a8a46f: Waiting [2024-07-19T21:00:34.592Z] 5c69ac0246d0: Download complete [2024-07-19T21:00:34.592Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-19T21:00:34.592Z] 3a2ae6a8a46f: Download complete [2024-07-19T21:00:34.592Z] 33b1e0a273af: Verifying Checksum [2024-07-19T21:00:34.592Z] 33b1e0a273af: Download complete [2024-07-19T21:00:34.592Z] 5d3b04190fa2: Verifying Checksum [2024-07-19T21:00:34.592Z] 5d3b04190fa2: Download complete [2024-07-19T21:00:34.592Z] ec43610c2a17: Verifying Checksum [2024-07-19T21:00:34.592Z] ec43610c2a17: Download complete [Pipeline] echo [2024-07-19T21:00:34.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T21:00:34.834Z] ========================================================= [2024-07-19T21:00:34.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-19T21:00:34.834Z] ========================================================= [2024-07-19T21:00:34.877Z] 5eb5b503b376: Verifying Checksum [2024-07-19T21:00:34.877Z] 5eb5b503b376: Download complete [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-07-19T21:00:35.545Z] 2f39f015ded8: Verifying Checksum [2024-07-19T21:00:35.545Z] 2f39f015ded8: Download complete [Pipeline] sh [2024-07-19T21:00:35.840Z] 5eb5b503b376: Pull complete [2024-07-19T21:00:36.087Z] + 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 . [2024-07-19T21:00:36.087Z] Sending build context to Docker daemon 130.6kB [2024-07-19T21:00:36.136Z] 5c69ac0246d0: Pull complete [2024-07-19T21:00:36.394Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T21:00:36.394Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T21:00:36.394Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-19T21:00:36.394Z] c6b39de5b339: Pulling fs layer [2024-07-19T21:00:36.394Z] a69c41024577: Pulling fs layer [2024-07-19T21:00:36.394Z] d6de4b400683: Pulling fs layer [2024-07-19T21:00:36.394Z] 35cb2a7552d0: Pulling fs layer [2024-07-19T21:00:36.394Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T21:00:36.394Z] 464afbd9ba4c: Pulling fs layer [2024-07-19T21:00:36.394Z] 00f215d4a9da: Pulling fs layer [2024-07-19T21:00:36.394Z] d496ad576159: Pulling fs layer [2024-07-19T21:00:36.394Z] 4f4fb700ef54: Waiting [2024-07-19T21:00:36.394Z] 464afbd9ba4c: Waiting [2024-07-19T21:00:36.394Z] d496ad576159: Waiting [2024-07-19T21:00:36.394Z] 00f215d4a9da: Waiting [2024-07-19T21:00:36.394Z] a69c41024577: Verifying Checksum [2024-07-19T21:00:36.394Z] a69c41024577: Download complete [2024-07-19T21:00:36.394Z] 35cb2a7552d0: Verifying Checksum [2024-07-19T21:00:36.394Z] 35cb2a7552d0: Download complete [2024-07-19T21:00:36.394Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T21:00:36.394Z] 4f4fb700ef54: Download complete [2024-07-19T21:00:36.394Z] 464afbd9ba4c: Verifying Checksum [2024-07-19T21:00:36.394Z] 464afbd9ba4c: Download complete [2024-07-19T21:00:36.394Z] c6b39de5b339: Verifying Checksum [2024-07-19T21:00:36.394Z] c6b39de5b339: Download complete [2024-07-19T21:00:36.440Z] ec43610c2a17: Pull complete [2024-07-19T21:00:36.773Z] 3a2ae6a8a46f: Pull complete [2024-07-19T21:00:36.773Z] 33b1e0a273af: Pull complete [2024-07-19T21:00:36.773Z] 5d3b04190fa2: Pull complete [2024-07-19T21:00:37.069Z] d496ad576159: Verifying Checksum [2024-07-19T21:00:37.069Z] d496ad576159: Download complete [2024-07-19T21:00:37.376Z] c6b39de5b339: Pull complete [2024-07-19T21:00:38.055Z] a69c41024577: Pull complete [2024-07-19T21:00:38.361Z] d6de4b400683: Verifying Checksum [2024-07-19T21:00:38.361Z] d6de4b400683: Download complete [2024-07-19T21:00:39.443Z] 00f215d4a9da: Verifying Checksum [2024-07-19T21:00:39.443Z] 00f215d4a9da: Download complete [2024-07-19T21:00:41.322Z] 2f39f015ded8: Pull complete [2024-07-19T21:00:41.322Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-19T21:00:41.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T21:00:41.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T21:00:42.024Z] prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container [2024-07-19T21:00:42.142Z] $ 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/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-19T21:00:45.063Z] $ docker top e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:00:45.895Z] ---> job-cost.sh [2024-07-19T21:00:45.895Z] lf-activate-venv: SKIPPING [2024-07-19T21:00:45.895Z] INFO: No Stack... [2024-07-19T21:00:46.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T21:00:46.505Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T21:00:47.020Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-400/archives/cost.csv [2024-07-19T21:00:47.020Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T21:00:47.199Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [2024-07-19T21:00:47.228Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] did not exist. Created. [2024-07-19T21:00:47.252Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T21:00:48.100Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-19T21:00:48.254Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T21:00:48.416Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T21:00:48.684Z] $ docker stop --time=1 e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 [2024-07-19T21:00:49.893Z] $ docker rm -f --volumes e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-19T21:00:52.241Z] d6de4b400683: Pull complete [2024-07-19T21:00:52.241Z] 35cb2a7552d0: Pull complete [2024-07-19T21:00:52.241Z] 4f4fb700ef54: Pull complete [2024-07-19T21:00:52.241Z] 464afbd9ba4c: Pull complete [2024-07-19T21:01:00.861Z] 00f215d4a9da: Pull complete [2024-07-19T21:01:02.409Z] d496ad576159: Pull complete [2024-07-19T21:01:02.409Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-19T21:01:02.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-19T21:01:02.409Z] ---> f246e2811388 [2024-07-19T21:01:02.409Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T21:01:03.959Z] ---> Running in ff75dcbd2c99 [2024-07-19T21:01:04.258Z] Removing intermediate container ff75dcbd2c99 [2024-07-19T21:01:04.258Z] ---> 7e195e6b44b3 [2024-07-19T21:01:04.258Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T21:01:04.606Z] ---> Running in ad4c3b450eb8 [2024-07-19T21:01:04.606Z] Removing intermediate container ad4c3b450eb8 [2024-07-19T21:01:04.606Z] ---> 0f5c599ee80e [2024-07-19T21:01:04.606Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T21:01:04.935Z] ---> Running in fc49745fd497 [2024-07-19T21:01:04.935Z] Removing intermediate container fc49745fd497 [2024-07-19T21:01:04.935Z] ---> d040a1aa73b2 [2024-07-19T21:01:04.935Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T21:01:05.263Z] ---> Running in 0458d3343756 [2024-07-19T21:01:05.263Z] Removing intermediate container 0458d3343756 [2024-07-19T21:01:05.263Z] ---> 07907d18479f [2024-07-19T21:01:05.263Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T21:01:05.565Z] ---> Running in 04436455b4d6 [2024-07-19T21:01:06.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T21:01:09.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T21:01:10.506Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T21:01:10.506Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T21:01:10.506Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T21:01:10.506Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T21:01:10.506Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T21:01:10.506Z] OK: 271 MiB in 56 packages [2024-07-19T21:01:12.100Z] Removing intermediate container 04436455b4d6 [2024-07-19T21:01:12.100Z] ---> 4ac87b208aef [2024-07-19T21:01:12.100Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-19T21:01:12.100Z] ---> Running in 3df4a2429a16 [2024-07-19T21:01:12.418Z] Removing intermediate container 3df4a2429a16 [2024-07-19T21:01:12.418Z] ---> e78259a567cf [2024-07-19T21:01:12.418Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-19T21:01:13.065Z] ---> bbc3484fb8b9 [2024-07-19T21:01:13.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T21:01:13.065Z] ---> Running in f73f30e40f33 [2024-07-19T21:03:05.536Z] Removing intermediate container f73f30e40f33 [2024-07-19T21:03:05.536Z] ---> abaf0d4125de [2024-07-19T21:03:05.536Z] Step 11/12 : COPY . . [2024-07-19T21:03:05.536Z] ---> c17614bc4471 [2024-07-19T21:03:05.536Z] Step 12/12 : RUN $MAKE [2024-07-19T21:03:05.536Z] ---> Running in ca1adae44658 [2024-07-19T21:03:05.536Z] noop [2024-07-19T21:03:05.536Z] Removing intermediate container ca1adae44658 [2024-07-19T21:03:05.536Z] ---> a65ecbaf71b2 [2024-07-19T21:03:05.536Z] Successfully built a65ecbaf71b2 [2024-07-19T21:03:05.536Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:03:06.683Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T21:03:06.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T21:03:07.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2024-07-19T21:03:07.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-19T21:03:08.721Z] $ docker top 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T21:03:10.031Z] + go version [2024-07-19T21:03:10.031Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-19T21:03:10.132Z] $ docker stop --time=1 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 [2024-07-19T21:03:11.758Z] $ docker rm -f --volumes 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:03:13.829Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T21:03:13.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T21:03:14.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2024-07-19T21:03:14.648Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-19T21:03:15.863Z] $ docker top 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T21:03:16.820Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-19T21:03:17.475Z] + make test [2024-07-19T21:03:17.768Z] go test ./... -coverprofile=coverage.out ./... [2024-07-19T21:03:23.467Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-19T21:06:31.053Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-19T21:06:31.636Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements [2024-07-19T21:06:33.043Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-19T21:06:33.043Z] go vet ./... [2024-07-19T21:07:20.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T21:07:20.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T21:07:20.108Z] ./bin/test-attribution-txt.sh [2024-07-19T21:07:20.108Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T21:07:20.108Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T21:07:20.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T21:07:20.191Z] $ docker stop --time=1 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 [2024-07-19T21:07:22.173Z] $ docker rm -f --volumes 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T21:07:23.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T21:07:23.736Z] Warning: overwriting stash ‘coverage-report’ [2024-07-19T21:07:24.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T21:07:24.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T21:07:25.129Z] + ls -al . [2024-07-19T21:07:25.129Z] total 244 [2024-07-19T21:07:25.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:03 . [2024-07-19T21:07:25.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:59 .. [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 19 21:00 .dockerignore [2024-07-19T21:07:25.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:00 .git [2024-07-19T21:07:25.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 .github [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 19 21:00 .gitignore [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 21:00 .golangci.yml [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 19 21:00 Attribution.txt [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 19 21:00 CHANGELOG.md [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 19 21:00 Dockerfile [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:00 GOVERNANCE.md [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 21:00 Jenkinsfile [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 21:00 LICENSE [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 19 21:00 Makefile [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 19 21:00 OWNERS.md [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 19 21:00 README.md [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:57 VERSION [2024-07-19T21:07:25.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:00 bin [2024-07-19T21:07:25.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 cmd [2024-07-19T21:07:25.129Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 19 21:06 coverage.out [2024-07-19T21:07:25.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:00 driver [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 19 21:00 go.mod [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 21:00 go.sum [2024-07-19T21:07:25.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 openapi [2024-07-19T21:07:25.129Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 19 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:07:25.581Z] + 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=f43bb704c884ba6c479f2c9ffeced9dde883b602 --label arch=arm64 --label version=0.0.0 . [2024-07-19T21:07:25.581Z] Sending build context to Docker daemon 145.9kB [2024-07-19T21:07:25.847Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T21:07:25.847Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T21:07:25.847Z] ---> a65ecbaf71b2 [2024-07-19T21:07:25.847Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T21:07:25.847Z] ---> Running in 94b93c7ee567 [2024-07-19T21:07:26.112Z] Removing intermediate container 94b93c7ee567 [2024-07-19T21:07:26.112Z] ---> e19699e2af13 [2024-07-19T21:07:26.112Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T21:07:26.378Z] ---> Running in b515661a0593 [2024-07-19T21:07:26.643Z] Removing intermediate container b515661a0593 [2024-07-19T21:07:26.643Z] ---> f1d2aa2c2252 [2024-07-19T21:07:26.643Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T21:07:26.643Z] ---> Running in 4065706c6388 [2024-07-19T21:07:26.909Z] Removing intermediate container 4065706c6388 [2024-07-19T21:07:26.909Z] ---> f12749c8decc [2024-07-19T21:07:26.909Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T21:07:27.173Z] ---> Running in 2a67e892b53d [2024-07-19T21:07:27.437Z] Removing intermediate container 2a67e892b53d [2024-07-19T21:07:27.437Z] ---> f03576956685 [2024-07-19T21:07:27.437Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T21:07:27.437Z] ---> Running in 3f08b98fb8ec [2024-07-19T21:07:28.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T21:07:28.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T21:07:29.919Z] OK: 271 MiB in 56 packages [2024-07-19T21:07:31.322Z] Removing intermediate container 3f08b98fb8ec [2024-07-19T21:07:31.322Z] ---> edc7beb1e7ac [2024-07-19T21:07:31.322Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-19T21:07:31.322Z] ---> Running in a9bb9c858b84 [2024-07-19T21:07:31.322Z] Removing intermediate container a9bb9c858b84 [2024-07-19T21:07:31.322Z] ---> 9e4ad3a61c6e [2024-07-19T21:07:31.322Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-19T21:07:31.901Z] ---> 03e27e2f8c5a [2024-07-19T21:07:31.901Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T21:07:31.901Z] ---> Running in 7a78d4162441 [2024-07-19T21:07:34.468Z] Removing intermediate container 7a78d4162441 [2024-07-19T21:07:34.468Z] ---> 1413f472ef6e [2024-07-19T21:07:34.468Z] Step 11/26 : COPY . . [2024-07-19T21:07:34.733Z] ---> e689ac83be60 [2024-07-19T21:07:34.733Z] Step 12/26 : RUN $MAKE [2024-07-19T21:07:34.733Z] ---> Running in a33014283afc [2024-07-19T21:07:35.686Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-19T21:10:57.423Z] Removing intermediate container a33014283afc [2024-07-19T21:10:57.423Z] ---> 2b2db3e27277 [2024-07-19T21:10:57.423Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T21:10:57.423Z] 3.18: Pulling from library/alpine [2024-07-19T21:10:57.423Z] 5c905c7ebe2f: Pulling fs layer [2024-07-19T21:10:57.423Z] 5c905c7ebe2f: Verifying Checksum [2024-07-19T21:10:57.423Z] 5c905c7ebe2f: Download complete [2024-07-19T21:10:57.423Z] 5c905c7ebe2f: Pull complete [2024-07-19T21:10:57.423Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T21:10:57.423Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T21:10:57.423Z] ---> dec292d02e07 [2024-07-19T21:10:57.423Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T21:10:57.423Z] ---> Running in b9edc2bf5440 [2024-07-19T21:10:57.423Z] Removing intermediate container b9edc2bf5440 [2024-07-19T21:10:57.423Z] ---> b8793bf6d682 [2024-07-19T21:10:57.423Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-19T21:10:57.423Z] ---> Running in 4e7c7de1242f [2024-07-19T21:10:57.423Z] Removing intermediate container 4e7c7de1242f [2024-07-19T21:10:57.423Z] ---> f481ec91baf9 [2024-07-19T21:10:57.423Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T21:10:57.423Z] ---> Running in 31c8e93bb8c8 [2024-07-19T21:10:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T21:10:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T21:10:57.423Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T21:10:57.423Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T21:10:57.423Z] OK: 8 MiB in 16 packages [2024-07-19T21:10:57.423Z] Removing intermediate container 31c8e93bb8c8 [2024-07-19T21:10:57.423Z] ---> 64ed07860588 [2024-07-19T21:10:57.423Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-19T21:10:57.423Z] ---> Running in 9bb64d9246ef [2024-07-19T21:10:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T21:10:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T21:10:57.423Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T21:10:57.423Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T21:10:57.423Z] OK: 8 MiB in 16 packages [2024-07-19T21:10:57.423Z] Removing intermediate container 9bb64d9246ef [2024-07-19T21:10:57.423Z] ---> 1187dbfa3ada [2024-07-19T21:10:57.423Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-19T21:10:58.006Z] ---> 35a78cbb56a9 [2024-07-19T21:10:58.006Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-19T21:10:58.591Z] ---> 8e57cd292c50 [2024-07-19T21:10:58.591Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-19T21:10:59.173Z] ---> b74f677fb255 [2024-07-19T21:10:59.173Z] Step 21/26 : EXPOSE 59986 [2024-07-19T21:10:59.173Z] ---> Running in ea1bfd356e7e [2024-07-19T21:10:59.439Z] Removing intermediate container ea1bfd356e7e [2024-07-19T21:10:59.439Z] ---> 79147030727e [2024-07-19T21:10:59.439Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-19T21:10:59.439Z] ---> Running in 5f4994268def [2024-07-19T21:11:00.021Z] Removing intermediate container 5f4994268def [2024-07-19T21:11:00.021Z] ---> 4d738699fcf2 [2024-07-19T21:11:00.021Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-19T21:11:00.021Z] ---> Running in ec9e5aacb52b [2024-07-19T21:11:00.288Z] Removing intermediate container ec9e5aacb52b [2024-07-19T21:11:00.288Z] ---> c979be94bdb5 [2024-07-19T21:11:00.288Z] Step 24/26 : LABEL arch=arm64 [2024-07-19T21:11:00.288Z] ---> Running in 70db9d414735 [2024-07-19T21:11:00.557Z] Removing intermediate container 70db9d414735 [2024-07-19T21:11:00.557Z] ---> dd7ed0221935 [2024-07-19T21:11:00.557Z] Step 25/26 : LABEL git_sha=f43bb704c884ba6c479f2c9ffeced9dde883b602 [2024-07-19T21:11:00.557Z] ---> Running in f0b4e7a19c46 [2024-07-19T21:11:00.830Z] Removing intermediate container f0b4e7a19c46 [2024-07-19T21:11:00.830Z] ---> f5719cf43059 [2024-07-19T21:11:00.830Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T21:11:01.104Z] ---> Running in 45fc08e660f8 [2024-07-19T21:11:01.368Z] Removing intermediate container 45fc08e660f8 [2024-07-19T21:11:01.368Z] ---> 6be8a9dfaa73 [2024-07-19T21:11:01.368Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T21:11:01.368Z] Successfully built 6be8a9dfaa73 [2024-07-19T21:11:01.368Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:11:02.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T21:11:02.288Z] [2024-07-19T21:11:02.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:11:02.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T21:11:02.974Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-19T21:11:02.974Z] 8998bd30e6a1: Pulling fs layer [2024-07-19T21:11:02.974Z] 04944245beec: Pulling fs layer [2024-07-19T21:11:02.974Z] 699f458cf7ca: Pulling fs layer [2024-07-19T21:11:02.974Z] 765212b225bb: Pulling fs layer [2024-07-19T21:11:02.974Z] f23df028b6ca: Pulling fs layer [2024-07-19T21:11:02.974Z] d65c8cfc05b1: Pulling fs layer [2024-07-19T21:11:02.974Z] 2437ff75d9bd: Pulling fs layer [2024-07-19T21:11:02.974Z] f23df028b6ca: Waiting [2024-07-19T21:11:02.974Z] d65c8cfc05b1: Waiting [2024-07-19T21:11:02.974Z] 2437ff75d9bd: Waiting [2024-07-19T21:11:02.974Z] 765212b225bb: Waiting [2024-07-19T21:11:02.974Z] 04944245beec: Verifying Checksum [2024-07-19T21:11:02.974Z] 04944245beec: Download complete [2024-07-19T21:11:02.974Z] 765212b225bb: Verifying Checksum [2024-07-19T21:11:02.974Z] 765212b225bb: Download complete [2024-07-19T21:11:02.974Z] f23df028b6ca: Download complete [2024-07-19T21:11:02.974Z] d65c8cfc05b1: Verifying Checksum [2024-07-19T21:11:02.974Z] d65c8cfc05b1: Download complete [2024-07-19T21:11:03.243Z] 699f458cf7ca: Verifying Checksum [2024-07-19T21:11:03.243Z] 699f458cf7ca: Download complete [2024-07-19T21:11:03.508Z] 8998bd30e6a1: Download complete [2024-07-19T21:11:06.112Z] 2437ff75d9bd: Verifying Checksum [2024-07-19T21:11:06.112Z] 2437ff75d9bd: Download complete [2024-07-19T21:11:08.074Z] 8998bd30e6a1: Pull complete [2024-07-19T21:11:08.661Z] 04944245beec: Pull complete [2024-07-19T21:11:10.075Z] 699f458cf7ca: Pull complete [2024-07-19T21:11:10.075Z] 765212b225bb: Pull complete [2024-07-19T21:11:11.057Z] f23df028b6ca: Pull complete [2024-07-19T21:11:11.326Z] d65c8cfc05b1: Pull complete [2024-07-19T21:11:29.553Z] 2437ff75d9bd: Pull complete [2024-07-19T21:11:29.553Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-19T21:11:29.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T21:11:29.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T21:11:29.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2024-07-19T21:11:29.946Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-19T21:11:32.611Z] $ docker top d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:33.548Z] ---> job-cost.sh [2024-07-19T21:11:33.548Z] lf-activate-venv: SKIPPING [2024-07-19T21:11:33.548Z] INFO: No Stack... [2024-07-19T21:11:34.137Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-19T21:11:34.722Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T21:11:35.433Z] + cut -d, -f6 [2024-07-19T21:11:35.433Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2024-07-19T21:11:35.514Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [2024-07-19T21:11:35.523Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] did not exist. Created. [2024-07-19T21:11:35.529Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T21:11:36.296Z] /w/workspace/device-rest-go/1@tmp/durable-f649987c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-19T21:11:36.979Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-19T21:11:37.033Z] Warning: overwriting stash ‘stack-cost’ [2024-07-19T21:11:37.076Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T21:11:37.096Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T21:11:37.181Z] $ docker stop --time=1 d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d [2024-07-19T21:11:38.662Z] $ docker rm -f --volumes d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d [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 [2024-07-19T21:11:39.936Z] provisioning config files... [2024-07-19T21:11:39.968Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config10867734235543490930tmp [Pipeline] { [Pipeline] sh [2024-07-19T21:11:40.492Z] + set +x [2024-07-19T21:11:40.492Z] + curl -s https://codecov.io/bash [2024-07-19T21:11:40.492Z] + bash -s -- [2024-07-19T21:11:40.492Z] [2024-07-19T21:11:40.492Z] _____ _ [2024-07-19T21:11:40.492Z] / ____| | | [2024-07-19T21:11:40.492Z] | | ___ __| | ___ ___ _____ __ [2024-07-19T21:11:40.492Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-19T21:11:40.492Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-19T21:11:40.492Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-19T21:11:40.492Z] Bash-1.0.6 [2024-07-19T21:11:40.492Z] [2024-07-19T21:11:40.492Z] [2024-07-19T21:11:40.492Z] ==> git version 2.25.1 found [2024-07-19T21:11:40.492Z] ==> 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 [2024-07-19T21:11:40.492Z] Release-Date: 2020-01-08 [2024-07-19T21:11:40.492Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-19T21:11:40.492Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-19T21:11:40.492Z] ==> Jenkins CI detected. [2024-07-19T21:11:40.492Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-400 [2024-07-19T21:11:40.492Z] project root: . [2024-07-19T21:11:40.492Z] --> token set from env [2024-07-19T21:11:40.492Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-19T21:11:40.758Z] ==> Running gcov in . (disable via -X gcov) [2024-07-19T21:11:40.758Z] ==> Python coveragepy not found [2024-07-19T21:11:40.758Z] ==> Searching for coverage reports in: [2024-07-19T21:11:40.758Z] + . [2024-07-19T21:11:40.758Z] -> Found 1 reports [2024-07-19T21:11:40.758Z] ==> Detecting git/mercurial file structure [2024-07-19T21:11:40.758Z] ==> Reading reports [2024-07-19T21:11:40.758Z] + ./coverage.out bytes=14499 [2024-07-19T21:11:40.758Z] ==> Appending adjustments [2024-07-19T21:11:40.758Z] https://docs.codecov.io/docs/fixing-reports [2024-07-19T21:11:40.758Z] + Found adjustments [2024-07-19T21:11:40.758Z] ==> Gzipping contents [2024-07-19T21:11:40.758Z] 4.0K /tmp/codecov.17YjV6.gz [2024-07-19T21:11:40.758Z] ==> Uploading reports [2024-07-19T21:11:40.758Z] url: https://codecov.io [2024-07-19T21:11:40.758Z] query: branch=PR-400&commit=f43bb704c884ba6c479f2c9ffeced9dde883b602&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-400%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=400&job=&cmd_args= [2024-07-19T21:11:40.758Z] -> Pinging Codecov [2024-07-19T21:11:40.758Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-400&commit=f43bb704c884ba6c479f2c9ffeced9dde883b602&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-400%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=400&job=&cmd_args= [2024-07-19T21:11:41.025Z] -> Uploading to [2024-07-19T21:11:41.025Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-19/4E5D53B4F1F92C436F7061BF334D961C/f43bb704c884ba6c479f2c9ffeced9dde883b602/87b643fc-dfc8-4150-8630-b03f7ffa8cd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T211140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=944592fade2058eab747eb433b66483cf8e49aee930c8045afbb4661e201c4cd [2024-07-19T21:11:41.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T21:11:41.025Z] Dload Upload Total Spent Left Speed [2024-07-19T21:11:41.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9358 --:--:-- --:--:-- --:--:-- 9358 [2024-07-19T21:11:41.292Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] } [2024-07-19T21:11:41.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-19T21:11:43.686Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-400/archives ] [2024-07-19T21:11:43.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-400/archives [2024-07-19T21:11:43.686Z] total 16 [2024-07-19T21:11:43.686Z] drwxr-xr-x 3 root root 4096 Jul 19 21:00 . [2024-07-19T21:11:43.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:00 .. [2024-07-19T21:11:43.686Z] drwxr-xr-x 2 root root 4096 Jul 19 21:00 cost [2024-07-19T21:11:43.686Z] -rw-r--r-- 1 root root 86 Jul 19 21:00 cost.csv [2024-07-19T21:11:43.686Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-400/archives [2024-07-19T21:11:43.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-400/archives [2024-07-19T21:11:43.686Z] total 16 [2024-07-19T21:11:43.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:00 . [2024-07-19T21:11:43.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:00 .. [2024-07-19T21:11:43.686Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 21:00 cost [2024-07-19T21:11:43.686Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 19 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:44.030Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:44.946Z] ---> package-listing.sh [2024-07-19T21:11:44.946Z] ++ facter osfamily [2024-07-19T21:11:44.946Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-19T21:11:45.206Z] + OS_FAMILY=debian [2024-07-19T21:11:45.206Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-400 [2024-07-19T21:11:45.206Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-19T21:11:45.206Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-19T21:11:45.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-19T21:11:45.206Z] + PACKAGES=/tmp/packages_start.txt [2024-07-19T21:11:45.206Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-400 ']' [2024-07-19T21:11:45.206Z] + PACKAGES=/tmp/packages_end.txt [2024-07-19T21:11:45.206Z] + case "${OS_FAMILY}" in [2024-07-19T21:11:45.206Z] + dpkg -l [2024-07-19T21:11:45.206Z] + grep '^ii' [2024-07-19T21:11:45.206Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-19T21:11:45.206Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-19T21:11:45.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-19T21:11:45.206Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-400 ']' [2024-07-19T21:11:45.206Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-400/archives/ [2024-07-19T21:11:45.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-400/archives/ [Pipeline] echo [2024-07-19T21:11:45.245Z] 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/gexfoundry_device-rest-go_PR-400/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-19T21:11:45.551Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T21:11:46.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T21:11:46.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T21:11:46.385Z] prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container [2024-07-19T21:11:46.411Z] $ 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/gexfoundry_device-rest-go_PR-400/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-19T21:11:46.600Z] $ docker top e575f095f5435450d3a8cf35d8c81fdf8bf7492bc5fff66109e7ad4aa51b16d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T21:11:47.021Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-19T21:11:47.346Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-19T21:11:47.662Z] + ls /var/log/sa-host [2024-07-19T21:11:47.662Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T21:11:47.914Z] provisioning config files... [2024-07-19T21:11:47.935Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config9530297578864283055tmp [Pipeline] { [Pipeline] echo [2024-07-19T21:11:47.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:48.336Z] ---> create-netrc.sh [Pipeline] } [2024-07-19T21:11:48.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:48.799Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-19T21:11:48.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:49.171Z] ---> sudo-logs.sh [2024-07-19T21:11:49.171Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-19T21:11:49.272Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:49.592Z] ---> job-cost.sh [2024-07-19T21:11:49.592Z] lf-activate-venv: SKIPPING [2024-07-19T21:11:49.592Z] DEBUG: total: 0.2199999988079071 [2024-07-19T21:11:49.592Z] INFO: Retrieving Stack Cost... [2024-07-19T21:11:50.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T21:11:50.423Z] INFO: Archiving Costs [Pipeline] echo [2024-07-19T21:11:50.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T21:11:50.792Z] ---> logs-deploy.sh [2024-07-19T21:11:50.792Z] lf-activate-venv: SKIPPING [2024-07-19T21:11:50.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-400/1 [2024-07-19T21:11:50.792Z] INFO: archiving workspace using pattern(s): [2024-07-19T21:11:51.732Z] Archives upload complete. [2024-07-19T21:11:51.732Z] INFO: archiving logs to Nexus