Pull request #401 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12+f16f1098eb92bf801dde80d57265cdf1f99e8d64 (2d4f0d5a3595f6d90a49112365086f8e796c0017) 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-ssh1848239282669053598.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-ssh5469139707711629827.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-401/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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9920397325275009818.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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12759670783758977739.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-ssh11899869990072411385.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-401/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-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13692655156567049335.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-6357 in /w/workspace/gexfoundry_device-rest-go_PR-401 [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-401 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 Merge succeeded, producing 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 Checking out Revision 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 (PR-401) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # 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 f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-24T20:48:52.265Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-24T20:48:52.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-24T20:48:52.642Z] ========================================================= [2024-07-24T20:48:52.642Z] EdgeX Global Pipelines Version Info [2024-07-24T20:48:52.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-24T20:48:53.400Z] ------------------- [2024-07-24T20:48:53.400Z] stable info: [2024-07-24T20:48:53.400Z] ------------------- [2024-07-24T20:48:53.400Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-24T20:48:53.400Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-24T20:48:53.400Z] Message: update stable to v1.0.260 [2024-07-24T20:48:53.970Z] ------------------- [2024-07-24T20:48:53.970Z] experimental info: [2024-07-24T20:48:53.970Z] ------------------- [2024-07-24T20:48:53.970Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-24T20:48:53.970Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-24T20:48:53.970Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-24T20:48:54.223Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-24T20:48:54.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-24T20:48:54.360Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-24T20:48:54.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-24T20:48:54.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-24T20:48:54.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-24T20:48:54.624Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-24T20:48:54.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-24T20:48:54.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-24T20:48:54.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-24T20:48:54.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-24T20:48:54.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-24T20:48:54.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-24T20:48:55.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-24T20:48:55.068Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-24T20:48:55.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-24T20:48:55.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-24T20:48:55.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-24T20:48:55.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-24T20:48:55.359Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-24T20:48:55.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-24T20:48:55.476Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-24T20:48:55.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-24T20:48:55.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-24T20:48:55.662Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-24T20:48:55.719Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-24T20:48:55.778Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-24T20:48:55.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo [2024-07-24T20:48:55.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo [2024-07-24T20:48:55.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo [2024-07-24T20:48:56.012Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo [2024-07-24T20:48:56.070Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 331b8e5 [Pipeline] echo [2024-07-24T20:48:56.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T20:48:56.291Z] provisioning config files... [2024-07-24T20:48:56.317Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config8722767854357170289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T20:48:56.699Z] ---> ****-login.sh [2024-07-24T20:48:56.699Z] nexus3.edgexfoundry.org:10001 [2024-07-24T20:48:56.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:48:56.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:48:56.965Z] Configure a credential helper to remove this warning. See [2024-07-24T20:48:56.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:48:56.965Z] [2024-07-24T20:48:56.965Z] Login Succeeded [2024-07-24T20:48:56.965Z] nexus3.edgexfoundry.org:10002 [2024-07-24T20:48:56.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:48:57.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:48:57.226Z] Configure a credential helper to remove this warning. See [2024-07-24T20:48:57.226Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:48:57.226Z] [2024-07-24T20:48:57.226Z] Login Succeeded [2024-07-24T20:48:57.226Z] nexus3.edgexfoundry.org:10003 [2024-07-24T20:48:57.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:48:57.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:48:57.227Z] Configure a credential helper to remove this warning. See [2024-07-24T20:48:57.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:48:57.227Z] [2024-07-24T20:48:57.227Z] Login Succeeded [2024-07-24T20:48:57.227Z] nexus3.edgexfoundry.org:10004 [2024-07-24T20:48:57.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:48:57.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:48:57.488Z] Configure a credential helper to remove this warning. See [2024-07-24T20:48:57.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:48:57.488Z] [2024-07-24T20:48:57.488Z] Login Succeeded [2024-07-24T20:48:57.488Z] ****.io [2024-07-24T20:48:57.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:48:57.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:48:57.749Z] Configure a credential helper to remove this warning. See [2024-07-24T20:48:57.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:48:57.749Z] [2024-07-24T20:48:57.749Z] Login Succeeded [2024-07-24T20:48:57.749Z] ---> ****-login.sh ends [Pipeline] } [2024-07-24T20:48:57.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-24T20:48:58.526Z] + git rev-list -1 --merges 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12~1..331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo [2024-07-24T20:48:58.580Z] -----------> git rev-list -1 --merges 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12~1..331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [false] [Pipeline] sh [2024-07-24T20:48:59.004Z] + git log --format=format:%s -1 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo [2024-07-24T20:48:59.053Z] ========================================================= [2024-07-24T20:48:59.053Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-24T20:48:59.053Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T20:48:59.503Z] + git log --format=format:%s -1 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo [2024-07-24T20:48:59.546Z] [semverPrep] GIT_COMMIT: 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-24T20:48:59.589Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-24T20:49:00.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-24T20:49:00.017Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-24T20:49:00.017Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-24T20:49:00.017Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-24T20:49:00.017Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-07-24T20:49:00.017Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-24T20:49:00.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:49:00.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T20:49:00.543Z] [2024-07-24T20:49:00.543Z] 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-24T20:49:00.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T20:49:00.943Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-24T20:49:00.943Z] b85a868b505f: Pulling fs layer [2024-07-24T20:49:00.943Z] e2be974225ed: Pulling fs layer [2024-07-24T20:49:00.943Z] 339a4e72a1f5: Pulling fs layer [2024-07-24T20:49:00.943Z] 988bab9f4d93: Pulling fs layer [2024-07-24T20:49:00.943Z] 1469e6f7b9e6: Pulling fs layer [2024-07-24T20:49:00.943Z] eaf3925da568: Pulling fs layer [2024-07-24T20:49:00.943Z] bab4dde63d76: Pulling fs layer [2024-07-24T20:49:00.943Z] bde34c3a00c8: Pulling fs layer [2024-07-24T20:49:00.943Z] b352a97aabf1: Pulling fs layer [2024-07-24T20:49:00.943Z] 4872d77fe225: Pulling fs layer [2024-07-24T20:49:00.943Z] 5851b861e8e6: Pulling fs layer [2024-07-24T20:49:00.943Z] 1469e6f7b9e6: Waiting [2024-07-24T20:49:00.943Z] eaf3925da568: Waiting [2024-07-24T20:49:00.943Z] bab4dde63d76: Waiting [2024-07-24T20:49:00.943Z] bde34c3a00c8: Waiting [2024-07-24T20:49:00.943Z] 4872d77fe225: Waiting [2024-07-24T20:49:00.943Z] b352a97aabf1: Waiting [2024-07-24T20:49:00.943Z] 988bab9f4d93: Waiting [2024-07-24T20:49:00.943Z] e2be974225ed: Download complete [2024-07-24T20:49:00.943Z] 988bab9f4d93: Verifying Checksum [2024-07-24T20:49:00.943Z] 988bab9f4d93: Download complete [2024-07-24T20:49:00.943Z] 1469e6f7b9e6: Verifying Checksum [2024-07-24T20:49:00.943Z] 1469e6f7b9e6: Download complete [2024-07-24T20:49:00.943Z] eaf3925da568: Download complete [2024-07-24T20:49:01.203Z] 339a4e72a1f5: Verifying Checksum [2024-07-24T20:49:01.203Z] 339a4e72a1f5: Download complete [2024-07-24T20:49:01.203Z] bde34c3a00c8: Verifying Checksum [2024-07-24T20:49:01.203Z] bde34c3a00c8: Download complete [2024-07-24T20:49:01.203Z] b352a97aabf1: Verifying Checksum [2024-07-24T20:49:01.203Z] b352a97aabf1: Download complete [2024-07-24T20:49:01.203Z] 4872d77fe225: Download complete [2024-07-24T20:49:01.203Z] 5851b861e8e6: Verifying Checksum [2024-07-24T20:49:01.203Z] 5851b861e8e6: Download complete [2024-07-24T20:49:01.203Z] b85a868b505f: Download complete [2024-07-24T20:49:01.460Z] bab4dde63d76: Verifying Checksum [2024-07-24T20:49:01.460Z] bab4dde63d76: Download complete [2024-07-24T20:49:02.397Z] b85a868b505f: Pull complete [2024-07-24T20:49:02.657Z] e2be974225ed: Pull complete [2024-07-24T20:49:02.918Z] 339a4e72a1f5: Pull complete [2024-07-24T20:49:03.178Z] 988bab9f4d93: Pull complete [2024-07-24T20:49:03.439Z] 1469e6f7b9e6: Pull complete [2024-07-24T20:49:03.439Z] eaf3925da568: Pull complete [2024-07-24T20:49:05.344Z] bab4dde63d76: Pull complete [2024-07-24T20:49:05.344Z] bde34c3a00c8: Pull complete [2024-07-24T20:49:05.344Z] b352a97aabf1: Pull complete [2024-07-24T20:49:05.344Z] 4872d77fe225: Pull complete [2024-07-24T20:49:05.344Z] 5851b861e8e6: Pull complete [2024-07-24T20:49:05.344Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-24T20:49:05.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T20:49:05.344Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:49:05.686Z] prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container [2024-07-24T20:49:05.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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-24T20:49:07.996Z] $ docker top be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 -eo pid,comm [2024-07-24T20:49:08.058Z] 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-24T20:49:08.058Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-24T20:49:08.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T20:49:08.244Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T20:49:08.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T20:49:08.354Z] $ docker exec be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent [2024-07-24T20:49:08.464Z] SSH_AUTH_SOCK=/tmp/ssh-oLw05vUwfjUX/agent.33 [2024-07-24T20:49:08.464Z] SSH_AGENT_PID=39 [2024-07-24T20:49:08.471Z] Running ssh-add (command line suppressed) [2024-07-24T20:49:08.571Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_2631980336606270012.key (/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_2631980336606270012.key) [2024-07-24T20:49:08.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T20:49:08.948Z] + git tag --points-at HEAD [Pipeline] } [2024-07-24T20:49:08.974Z] $ docker exec --env ******** --env ******** be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent -k [2024-07-24T20:49:09.087Z] unset SSH_AUTH_SOCK; [2024-07-24T20:49:09.087Z] unset SSH_AGENT_PID; [2024-07-24T20:49:09.087Z] echo Agent pid 39 killed; [2024-07-24T20:49:09.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-24T20:49:09.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T20:49:09.232Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T20:49:09.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T20:49:09.351Z] $ docker exec be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent [2024-07-24T20:49:09.471Z] SSH_AUTH_SOCK=/tmp/ssh-zagvx2agAGEz/agent.72 [2024-07-24T20:49:09.471Z] SSH_AGENT_PID=78 [2024-07-24T20:49:09.475Z] Running ssh-add (command line suppressed) [2024-07-24T20:49:09.567Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_8119044707792933208.key (/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_8119044707792933208.key) [2024-07-24T20:49:09.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T20:49:09.938Z] + git semver init [2024-07-24T20:49:10.197Z] 2024-07-24 20:49:10,119 [run_init] DEBUG init version:0.0.0 force:False [2024-07-24T20:49:10.197Z] 2024-07-24 20:49:10,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver [2024-07-24T20:49:10.197Z] 2024-07-24 20:49:10,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-401/.semver [2024-07-24T20:49:10.197Z] 2024-07-24 20:49:10,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-401/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401, universal_newlines=False, shell=None, istream=None) [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,458 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-401/.git/info/exclude [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 with force:False [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,459 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,463 [execute] INFO git cat-file --batch-check [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,470 [execute] INFO git cat-file --batch [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) [2024-07-24T20:49:11.578Z] 2024-07-24 20:49:11,474 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 [2024-07-24T20:49:11.578Z] 0.0.0 [Pipeline] } [2024-07-24T20:49:11.602Z] $ docker exec --env ******** --env ******** be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent -k [2024-07-24T20:49:11.695Z] unset SSH_AUTH_SOCK; [2024-07-24T20:49:11.695Z] unset SSH_AGENT_PID; [2024-07-24T20:49:11.695Z] echo Agent pid 78 killed; [2024-07-24T20:49:11.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-24T20:49:12.175Z] + git semver [Pipeline] } [2024-07-24T20:49:12.458Z] $ docker stop --time=1 be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 [2024-07-24T20:49:13.885Z] $ docker rm -f --volumes be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T20:49:14.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-24T20:49:14.628Z] Stashed 1 file(s) [Pipeline] echo [2024-07-24T20:49:14.656Z] [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-24T20:49:15.394Z] provisioning config files... [2024-07-24T20:49:15.404Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config7203364575365526868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T20:49:15.782Z] ---> ****-login.sh [2024-07-24T20:49:15.782Z] nexus3.edgexfoundry.org:10001 [2024-07-24T20:49:15.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:49:15.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:49:15.782Z] Configure a credential helper to remove this warning. See [2024-07-24T20:49:15.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:49:15.782Z] [2024-07-24T20:49:15.782Z] Login Succeeded [2024-07-24T20:49:15.782Z] nexus3.edgexfoundry.org:10002 [2024-07-24T20:49:16.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:49:16.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:49:16.042Z] Configure a credential helper to remove this warning. See [2024-07-24T20:49:16.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:49:16.042Z] [2024-07-24T20:49:16.042Z] Login Succeeded [2024-07-24T20:49:16.042Z] nexus3.edgexfoundry.org:10003 [2024-07-24T20:49:16.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:49:16.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:49:16.042Z] Configure a credential helper to remove this warning. See [2024-07-24T20:49:16.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:49:16.042Z] [2024-07-24T20:49:16.042Z] Login Succeeded [2024-07-24T20:49:16.042Z] nexus3.edgexfoundry.org:10004 [2024-07-24T20:49:16.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:49:16.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:49:16.301Z] Configure a credential helper to remove this warning. See [2024-07-24T20:49:16.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:49:16.301Z] [2024-07-24T20:49:16.301Z] Login Succeeded [2024-07-24T20:49:16.301Z] ****.io [2024-07-24T20:49:16.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:49:16.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:49:16.561Z] Configure a credential helper to remove this warning. See [2024-07-24T20:49:16.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:49:16.561Z] [2024-07-24T20:49:16.561Z] Login Succeeded [2024-07-24T20:49:16.561Z] ---> ****-login.sh ends [Pipeline] } [2024-07-24T20:49:16.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-24T20:49:16.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T20:49:16.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T20:49:16.930Z] ========================================================= [2024-07-24T20:49:16.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-24T20:49:16.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:49:17.444Z] + 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-24T20:49:17.444Z] Sending build context to Docker daemon 16.55MB [2024-07-24T20:49:17.444Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T20:49:17.444Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-24T20:49:17.444Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-24T20:49:17.444Z] 619be1103602: Pulling fs layer [2024-07-24T20:49:17.444Z] 7862e08f4a3e: Pulling fs layer [2024-07-24T20:49:17.444Z] 5df492c9dc93: Pulling fs layer [2024-07-24T20:49:17.444Z] 7629e6793208: Pulling fs layer [2024-07-24T20:49:17.444Z] 4f4fb700ef54: Pulling fs layer [2024-07-24T20:49:17.444Z] fb5054dd5b73: Pulling fs layer [2024-07-24T20:49:17.444Z] eeca6798cff9: Pulling fs layer [2024-07-24T20:49:17.444Z] aa269ceb94a6: Pulling fs layer [2024-07-24T20:49:17.444Z] ada007ff1a6a: Pulling fs layer [2024-07-24T20:49:17.444Z] 4f4fb700ef54: Waiting [2024-07-24T20:49:17.444Z] aa269ceb94a6: Waiting [2024-07-24T20:49:17.444Z] ada007ff1a6a: Waiting [2024-07-24T20:49:17.444Z] 7629e6793208: Waiting [2024-07-24T20:49:17.716Z] 7862e08f4a3e: Verifying Checksum [2024-07-24T20:49:17.716Z] 7862e08f4a3e: Download complete [2024-07-24T20:49:17.716Z] 619be1103602: Verifying Checksum [2024-07-24T20:49:17.716Z] 619be1103602: Download complete [2024-07-24T20:49:17.716Z] fb5054dd5b73: Verifying Checksum [2024-07-24T20:49:17.716Z] fb5054dd5b73: Download complete [2024-07-24T20:49:17.716Z] 4f4fb700ef54: Verifying Checksum [2024-07-24T20:49:17.716Z] 4f4fb700ef54: Download complete [2024-07-24T20:49:17.716Z] eeca6798cff9: Verifying Checksum [2024-07-24T20:49:17.716Z] eeca6798cff9: Download complete [2024-07-24T20:49:17.976Z] 619be1103602: Pull complete [2024-07-24T20:49:17.976Z] ada007ff1a6a: Verifying Checksum [2024-07-24T20:49:17.976Z] ada007ff1a6a: Download complete [2024-07-24T20:49:17.976Z] 7862e08f4a3e: Pull complete [2024-07-24T20:49:18.553Z] 5df492c9dc93: Verifying Checksum [2024-07-24T20:49:18.553Z] aa269ceb94a6: Verifying Checksum [2024-07-24T20:49:18.553Z] aa269ceb94a6: Download complete [2024-07-24T20:49:22.744Z] 5df492c9dc93: Pull complete [2024-07-24T20:49:22.744Z] 7629e6793208: Pull complete [2024-07-24T20:49:22.744Z] 4f4fb700ef54: Pull complete [2024-07-24T20:49:22.744Z] fb5054dd5b73: Pull complete [2024-07-24T20:49:22.744Z] eeca6798cff9: Pull complete [2024-07-24T20:49:24.648Z] aa269ceb94a6: Pull complete [2024-07-24T20:49:25.220Z] ada007ff1a6a: Pull complete [2024-07-24T20:49:25.220Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-24T20:49:25.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-24T20:49:25.220Z] ---> f489d0715acc [2024-07-24T20:49:25.220Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-24T20:49:28.519Z] ---> Running in 0e586e77aedf [2024-07-24T20:49:28.519Z] Removing intermediate container 0e586e77aedf [2024-07-24T20:49:28.519Z] ---> 40c7cd5a2e90 [2024-07-24T20:49:28.519Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-24T20:49:28.519Z] ---> Running in c9fd4c189773 [2024-07-24T20:49:28.779Z] Removing intermediate container c9fd4c189773 [2024-07-24T20:49:28.779Z] ---> c204aaf9965f [2024-07-24T20:49:28.779Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-24T20:49:28.779Z] ---> Running in 9a1f83d5d210 [2024-07-24T20:49:28.779Z] Removing intermediate container 9a1f83d5d210 [2024-07-24T20:49:28.779Z] ---> 9080e9c53558 [2024-07-24T20:49:28.779Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-24T20:49:28.779Z] ---> Running in f4442cc7d616 [2024-07-24T20:49:28.779Z] Removing intermediate container f4442cc7d616 [2024-07-24T20:49:28.779Z] ---> b67c5a26277d [2024-07-24T20:49:28.779Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-24T20:49:28.779Z] ---> Running in 22bd4fb77cab [2024-07-24T20:49:29.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T20:49:29.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T20:49:29.613Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-24T20:49:29.613Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-24T20:49:29.613Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-24T20:49:29.613Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-24T20:49:29.873Z] Executing busybox-1.36.1-r5.trigger [2024-07-24T20:49:29.873Z] OK: 268 MiB in 56 packages [2024-07-24T20:49:30.131Z] Removing intermediate container 22bd4fb77cab [2024-07-24T20:49:30.131Z] ---> be49b7a9bff2 [2024-07-24T20:49:30.131Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-24T20:49:30.131Z] ---> Running in f7a8b9a62b1d [2024-07-24T20:49:30.182Z] Still waiting to schedule task [2024-07-24T20:49:30.182Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-24T20:49:30.390Z] Removing intermediate container f7a8b9a62b1d [2024-07-24T20:49:30.390Z] ---> 54c165c22410 [2024-07-24T20:49:30.390Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-24T20:49:30.390Z] ---> 7d514711d8b1 [2024-07-24T20:49:30.390Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T20:49:30.390Z] ---> Running in 94abe2f8d0c2 [2024-07-24T20:50:38.236Z] Removing intermediate container 94abe2f8d0c2 [2024-07-24T20:50:38.236Z] ---> c9ee4326edac [2024-07-24T20:50:38.236Z] Step 11/12 : COPY . . [2024-07-24T20:50:38.236Z] ---> dc36f04473e6 [2024-07-24T20:50:38.236Z] Step 12/12 : RUN $MAKE [2024-07-24T20:50:38.236Z] ---> Running in d4ca9c595964 [2024-07-24T20:50:38.236Z] noop [2024-07-24T20:50:38.236Z] Removing intermediate container d4ca9c595964 [2024-07-24T20:50:38.236Z] ---> 796bd16af762 [2024-07-24T20:50:38.236Z] Successfully built 796bd16af762 [2024-07-24T20:50:38.236Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:50:38.733Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-24T20:50:38.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:50:38.910Z] prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container [2024-07-24T20:50:38.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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-24T20:50:39.296Z] $ docker top c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T20:50:39.715Z] + go version [2024-07-24T20:50:39.715Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-24T20:50:39.749Z] $ docker stop --time=1 c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b [2024-07-24T20:50:40.996Z] $ docker rm -f --volumes c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:50:41.827Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-24T20:50:41.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:50:42.003Z] prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container [2024-07-24T20:50:42.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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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-24T20:50:42.360Z] $ docker top 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T20:50:42.768Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-401 [Pipeline] fileExists [Pipeline] sh [2024-07-24T20:50:43.153Z] + make test [2024-07-24T20:50:43.153Z] go test ./... -coverprofile=coverage.out ./... [2024-07-24T20:50:44.529Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-24T20:51:02.601Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-24T20:51:02.601Z] ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements [2024-07-24T20:51:06.194Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6358 in /w/workspace/gexfoundry_device-rest-go_PR-401 [Pipeline] { [Pipeline] ws [2024-07-24T20:51:06.279Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-24T20:51:06.376Z] The recommended git tool is: git [2024-07-24T20:51:10.778Z] go vet ./... [2024-07-24T20:51:10.931Z] using credential edgex-jenkins-ssh [2024-07-24T20:51:10.954Z] Cloning the remote Git repository [2024-07-24T20:51:10.992Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-24T20:51:11.079Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-24T20:51:11.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-24T20:51:11.217Z] > git --version # timeout=10 [2024-07-24T20:51:11.244Z] > git --version # 'git version 2.25.1' [2024-07-24T20:51:11.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-24T20:51:11.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-24T20:51:14.964Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-24T20:51:14.964Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-24T20:51:14.964Z] ./bin/test-attribution-txt.sh [2024-07-24T20:51:14.964Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-24T20:51:14.964Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-24T20:51:14.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-24T20:51:14.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-24T20:51:14.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-24T20:51:14.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-24T20:51:14.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-24T20:51:14.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-24T20:51:15.222Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-24T20:51:15.223Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-24T20:51:15.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-24T20:51:15.312Z] $ docker stop --time=1 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 [2024-07-24T20:51:15.391Z] Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [2024-07-24T20:51:15.635Z] Merge succeeded, producing 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [2024-07-24T20:51:15.636Z] Checking out Revision 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 (PR-401) [2024-07-24T20:51:16.103Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-24T20:51:16.145Z] > git --version # timeout=10 [2024-07-24T20:51:16.156Z] > git --version # 'git version 2.25.1' [2024-07-24T20:51:16.175Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-24T20:51:15.400Z] > git config core.sparsecheckout # timeout=10 [2024-07-24T20:51:15.465Z] > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 [2024-07-24T20:51:15.548Z] > git remote # timeout=10 [2024-07-24T20:51:15.563Z] > git config --get remote.origin.url # timeout=10 [2024-07-24T20:51:15.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-24T20:51:15.597Z] > git merge f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 [2024-07-24T20:51:15.619Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-24T20:51:15.636Z] > git config core.sparsecheckout # timeout=10 [2024-07-24T20:51:15.649Z] > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 [2024-07-24T20:51:18.240Z] $ docker rm -f --volumes 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T20:51:18.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-24T20:51:18.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-24T20:51:19.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-24T20:51:19.999Z] + ls -al . [2024-07-24T20:51:19.999Z] total 248 [2024-07-24T20:51:19.999Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 20:50 . [2024-07-24T20:51:19.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 20:48 .. [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 20:48 .dockerignore [2024-07-24T20:51:19.999Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:51 .git [2024-07-24T20:51:19.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 .github [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 24 20:48 .gitignore [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 24 20:48 .golangci.yml [2024-07-24T20:51:19.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 20:49 .semver [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 24 20:48 Attribution.txt [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 24 20:48 CHANGELOG.md [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 24 20:48 Dockerfile [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 20:48 GOVERNANCE.md [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 24 20:48 Jenkinsfile [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 20:48 LICENSE [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 24 20:48 Makefile [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 24 20:48 OWNERS.md [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 24 20:48 README.md [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 20:49 VERSION [2024-07-24T20:51:19.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:48 bin [2024-07-24T20:51:19.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 cmd [2024-07-24T20:51:19.999Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 24 20:51 coverage.out [2024-07-24T20:51:19.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:48 driver [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 24 20:48 go.mod [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 24 20:48 go.sum [2024-07-24T20:51:19.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 openapi [2024-07-24T20:51:19.999Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-07-24T20:51:20.488Z] + 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=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 --label arch=amd64 --label version=0.0.0 . [2024-07-24T20:51:20.488Z] Sending build context to Docker daemon 16.57MB [2024-07-24T20:51:20.488Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T20:51:20.488Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-24T20:51:20.488Z] ---> 796bd16af762 [2024-07-24T20:51:20.488Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T20:51:20.749Z] ---> Running in 7c8a02b5032c [2024-07-24T20:51:21.011Z] Removing intermediate container 7c8a02b5032c [2024-07-24T20:51:21.011Z] ---> 7ae7bf9e3caf [2024-07-24T20:51:21.011Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-24T20:51:21.011Z] ---> Running in e79dd4c431c7 [2024-07-24T20:51:21.011Z] Removing intermediate container e79dd4c431c7 [2024-07-24T20:51:21.011Z] ---> a310e76b7052 [2024-07-24T20:51:21.011Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-24T20:51:21.011Z] ---> Running in a64e48b6bb5e [2024-07-24T20:51:21.011Z] Removing intermediate container a64e48b6bb5e [2024-07-24T20:51:21.011Z] ---> e684bad1cbc8 [2024-07-24T20:51:21.011Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-24T20:51:21.011Z] ---> Running in 4cb0658ec8b2 [2024-07-24T20:51:21.200Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-24T20:51:21.200Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-24T20:51:21.200Z] Dload Upload Total Spent Left Speed [2024-07-24T20:51:21.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-07-24T20:51:21.270Z] Removing intermediate container 4cb0658ec8b2 [2024-07-24T20:51:21.270Z] ---> b6b789567470 [2024-07-24T20:51:21.270Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-24T20:51:21.270Z] ---> Running in 5ef90920c94c [2024-07-24T20:51:21.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:21.556Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-24T20:51:21.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:21.907Z] + sudo tee /etc/docker/daemon.new [2024-07-24T20:51:21.907Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-24T20:51:21.907Z] { [2024-07-24T20:51:21.907Z] "registry-mirrors": [ [2024-07-24T20:51:21.907Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-24T20:51:21.907Z] ], [2024-07-24T20:51:21.907Z] "bip": "10.250.0.254/24", [2024-07-24T20:51:21.907Z] "hosts": [ [2024-07-24T20:51:21.907Z] "tcp://0.0.0.0:5555", [2024-07-24T20:51:21.907Z] "unix:///var/run/docker.sock" [2024-07-24T20:51:21.907Z] ], [2024-07-24T20:51:21.907Z] "mtu": 1458, [2024-07-24T20:51:21.907Z] "selinux-enabled": true, [2024-07-24T20:51:21.907Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-24T20:51:21.907Z] } [Pipeline] sh [2024-07-24T20:51:22.050Z] OK: 268 MiB in 56 packages [2024-07-24T20:51:22.250Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-24T20:51:22.308Z] Removing intermediate container 5ef90920c94c [2024-07-24T20:51:22.308Z] ---> 1920930be380 [2024-07-24T20:51:22.308Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-24T20:51:22.308Z] ---> Running in c55ffd789748 [2024-07-24T20:51:22.567Z] Removing intermediate container c55ffd789748 [2024-07-24T20:51:22.567Z] ---> f95256384924 [2024-07-24T20:51:22.567Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-24T20:51:22.567Z] ---> 92fd4eac6ae4 [2024-07-24T20:51:22.567Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T20:51:22.567Z] ---> Running in 64e5185536ce [2024-07-24T20:51:22.603Z] + sudo service docker restart [2024-07-24T20:51:23.137Z] Removing intermediate container 64e5185536ce [2024-07-24T20:51:23.137Z] ---> fcff8a44ca1a [2024-07-24T20:51:23.137Z] Step 11/26 : COPY . . [2024-07-24T20:51:23.705Z] ---> ac8e8e794f74 [2024-07-24T20:51:23.705Z] Step 12/26 : RUN $MAKE [2024-07-24T20:51:23.965Z] ---> Running in d458b21f5cd9 [2024-07-24T20:51:23.965Z] 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.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T20:51:40.957Z] provisioning config files... [2024-07-24T20:51:40.980Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3730011795238198896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T20:51:41.472Z] ---> ****-login.sh [2024-07-24T20:51:41.472Z] nexus3.edgexfoundry.org:10001 [2024-07-24T20:51:41.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:51:42.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:51:42.013Z] Configure a credential helper to remove this warning. See [2024-07-24T20:51:42.013Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:51:42.013Z] [2024-07-24T20:51:42.013Z] Login Succeeded [2024-07-24T20:51:42.013Z] nexus3.edgexfoundry.org:10002 [2024-07-24T20:51:42.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:51:42.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:51:42.551Z] Configure a credential helper to remove this warning. See [2024-07-24T20:51:42.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:51:42.551Z] [2024-07-24T20:51:42.551Z] Login Succeeded [2024-07-24T20:51:42.551Z] nexus3.edgexfoundry.org:10003 [2024-07-24T20:51:42.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:51:42.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:51:42.830Z] Configure a credential helper to remove this warning. See [2024-07-24T20:51:42.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:51:42.830Z] [2024-07-24T20:51:42.830Z] Login Succeeded [2024-07-24T20:51:42.830Z] nexus3.edgexfoundry.org:10004 [2024-07-24T20:51:43.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:51:43.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:51:43.098Z] Configure a credential helper to remove this warning. See [2024-07-24T20:51:43.098Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:51:43.098Z] [2024-07-24T20:51:43.098Z] Login Succeeded [2024-07-24T20:51:43.098Z] ****.io [2024-07-24T20:51:43.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T20:51:43.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T20:51:43.633Z] Configure a credential helper to remove this warning. See [2024-07-24T20:51:43.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T20:51:43.633Z] [2024-07-24T20:51:43.633Z] Login Succeeded [2024-07-24T20:51:43.633Z] ---> ****-login.sh ends [Pipeline] } [2024-07-24T20:51:43.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-24T20:51:44.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T20:51:44.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T20:51:44.237Z] ========================================================= [2024-07-24T20:51:44.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-24T20:51:44.237Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:51:44.811Z] + 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-24T20:51:44.811Z] Sending build context to Docker daemon 130.6kB [2024-07-24T20:51:45.082Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T20:51:45.082Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-24T20:51:45.082Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-24T20:51:45.082Z] c6b39de5b339: Pulling fs layer [2024-07-24T20:51:45.082Z] a69c41024577: Pulling fs layer [2024-07-24T20:51:45.082Z] d6de4b400683: Pulling fs layer [2024-07-24T20:51:45.082Z] 35cb2a7552d0: Pulling fs layer [2024-07-24T20:51:45.082Z] 4f4fb700ef54: Pulling fs layer [2024-07-24T20:51:45.082Z] 464afbd9ba4c: Pulling fs layer [2024-07-24T20:51:45.082Z] 00f215d4a9da: Pulling fs layer [2024-07-24T20:51:45.082Z] d496ad576159: Pulling fs layer [2024-07-24T20:51:45.082Z] 4f4fb700ef54: Waiting [2024-07-24T20:51:45.082Z] 464afbd9ba4c: Waiting [2024-07-24T20:51:45.082Z] 35cb2a7552d0: Waiting [2024-07-24T20:51:45.082Z] 00f215d4a9da: Waiting [2024-07-24T20:51:45.082Z] d496ad576159: Waiting [2024-07-24T20:51:45.353Z] a69c41024577: Download complete [2024-07-24T20:51:45.353Z] 35cb2a7552d0: Verifying Checksum [2024-07-24T20:51:45.353Z] 35cb2a7552d0: Download complete [2024-07-24T20:51:45.353Z] 4f4fb700ef54: Verifying Checksum [2024-07-24T20:51:45.353Z] 4f4fb700ef54: Download complete [2024-07-24T20:51:45.353Z] 464afbd9ba4c: Verifying Checksum [2024-07-24T20:51:45.353Z] 464afbd9ba4c: Download complete [2024-07-24T20:51:45.353Z] c6b39de5b339: Verifying Checksum [2024-07-24T20:51:45.353Z] c6b39de5b339: Download complete [2024-07-24T20:51:45.623Z] d496ad576159: Verifying Checksum [2024-07-24T20:51:45.623Z] d496ad576159: Download complete [2024-07-24T20:51:46.211Z] c6b39de5b339: Pull complete [2024-07-24T20:51:46.801Z] a69c41024577: Pull complete [2024-07-24T20:51:47.069Z] d6de4b400683: Verifying Checksum [2024-07-24T20:51:47.069Z] d6de4b400683: Download complete [2024-07-24T20:51:48.478Z] 00f215d4a9da: Verifying Checksum [2024-07-24T20:51:48.478Z] 00f215d4a9da: Download complete [2024-07-24T20:51:56.114Z] Removing intermediate container d458b21f5cd9 [2024-07-24T20:51:56.114Z] ---> bf08b861930a [2024-07-24T20:51:56.114Z] Step 13/26 : FROM alpine:3.18 [2024-07-24T20:51:56.114Z] 3.18: Pulling from library/alpine [2024-07-24T20:51:56.114Z] 930bdd4d222e: Pulling fs layer [2024-07-24T20:51:56.114Z] 930bdd4d222e: Verifying Checksum [2024-07-24T20:51:56.114Z] 930bdd4d222e: Download complete [2024-07-24T20:51:56.114Z] 930bdd4d222e: Pull complete [2024-07-24T20:51:56.114Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-24T20:51:56.114Z] Status: Downloaded newer image for alpine:3.18 [2024-07-24T20:51:56.114Z] ---> 18f865063206 [2024-07-24T20:51:56.114Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T20:51:56.114Z] ---> Running in 0aef75d33329 [2024-07-24T20:51:56.114Z] Removing intermediate container 0aef75d33329 [2024-07-24T20:51:56.114Z] ---> 8769568c1d61 [2024-07-24T20:51:56.114Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-24T20:51:56.114Z] ---> Running in 342b023d19ee [2024-07-24T20:51:56.114Z] Removing intermediate container 342b023d19ee [2024-07-24T20:51:56.114Z] ---> 63dc269786e4 [2024-07-24T20:51:56.114Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-24T20:51:56.114Z] ---> Running in bbed8279c75c [2024-07-24T20:51:56.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:56.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:56.114Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-24T20:51:56.114Z] Executing busybox-1.36.1-r7.trigger [2024-07-24T20:51:56.114Z] OK: 7 MiB in 16 packages [2024-07-24T20:51:56.114Z] Removing intermediate container bbed8279c75c [2024-07-24T20:51:56.114Z] ---> e5eec8453658 [2024-07-24T20:51:56.114Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-24T20:51:56.114Z] ---> Running in 003802818c3b [2024-07-24T20:51:56.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:56.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T20:51:56.993Z] OK: 7 MiB in 16 packages [2024-07-24T20:51:56.993Z] Removing intermediate container 003802818c3b [2024-07-24T20:51:56.993Z] ---> 8c41cf18c5e1 [2024-07-24T20:51:56.993Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-24T20:51:58.293Z] ---> d3fe0ac5984f [2024-07-24T20:51:58.293Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-24T20:51:58.293Z] ---> f9619fc224ad [2024-07-24T20:51:58.293Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-24T20:51:58.293Z] ---> 323c4dc82077 [2024-07-24T20:51:58.293Z] Step 21/26 : EXPOSE 59986 [2024-07-24T20:51:58.293Z] ---> Running in 16ed21600ea7 [2024-07-24T20:51:58.293Z] Removing intermediate container 16ed21600ea7 [2024-07-24T20:51:58.293Z] ---> a85099025107 [2024-07-24T20:51:58.293Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-24T20:51:58.293Z] ---> Running in a814598e88b1 [2024-07-24T20:51:58.293Z] Removing intermediate container a814598e88b1 [2024-07-24T20:51:58.293Z] ---> 32ddeb68d336 [2024-07-24T20:51:58.293Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-24T20:51:58.293Z] ---> Running in fa4d48d8b0b4 [2024-07-24T20:51:58.293Z] Removing intermediate container fa4d48d8b0b4 [2024-07-24T20:51:58.293Z] ---> 3d0afdfd254d [2024-07-24T20:51:58.293Z] Step 24/26 : LABEL arch=amd64 [2024-07-24T20:51:58.293Z] ---> Running in a3e08c787071 [2024-07-24T20:51:58.293Z] Removing intermediate container a3e08c787071 [2024-07-24T20:51:58.293Z] ---> eba595a2ab17 [2024-07-24T20:51:58.293Z] Step 25/26 : LABEL git_sha=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [2024-07-24T20:51:58.553Z] ---> Running in 5e6f8035bfcb [2024-07-24T20:51:58.553Z] Removing intermediate container 5e6f8035bfcb [2024-07-24T20:51:58.553Z] ---> 2da2548fbedb [2024-07-24T20:51:58.553Z] Step 26/26 : LABEL version=0.0.0 [2024-07-24T20:51:58.553Z] ---> Running in 4f8eea3434f6 [2024-07-24T20:51:58.553Z] Removing intermediate container 4f8eea3434f6 [2024-07-24T20:51:58.553Z] ---> 6c2b96f60737 [2024-07-24T20:51:58.553Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-24T20:51:58.553Z] Successfully built 6c2b96f60737 [2024-07-24T20:51:58.553Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:51:59.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T20:51:59.618Z] [2024-07-24T20:51:59.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:52:00.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T20:52:00.024Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-24T20:52:00.024Z] 5eb5b503b376: Pulling fs layer [2024-07-24T20:52:00.024Z] 5c69ac0246d0: Pulling fs layer [2024-07-24T20:52:00.024Z] ec43610c2a17: Pulling fs layer [2024-07-24T20:52:00.024Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-24T20:52:00.024Z] 33b1e0a273af: Pulling fs layer [2024-07-24T20:52:00.024Z] 5d3b04190fa2: Pulling fs layer [2024-07-24T20:52:00.024Z] 2f39f015ded8: Pulling fs layer [2024-07-24T20:52:00.024Z] 33b1e0a273af: Waiting [2024-07-24T20:52:00.024Z] 3a2ae6a8a46f: Waiting [2024-07-24T20:52:00.024Z] 5d3b04190fa2: Waiting [2024-07-24T20:52:00.024Z] 5c69ac0246d0: Download complete [2024-07-24T20:52:00.024Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-24T20:52:00.024Z] 3a2ae6a8a46f: Download complete [2024-07-24T20:52:00.024Z] 33b1e0a273af: Verifying Checksum [2024-07-24T20:52:00.024Z] 33b1e0a273af: Download complete [2024-07-24T20:52:00.024Z] 5d3b04190fa2: Verifying Checksum [2024-07-24T20:52:00.024Z] 5d3b04190fa2: Download complete [2024-07-24T20:52:00.024Z] ec43610c2a17: Verifying Checksum [2024-07-24T20:52:00.024Z] ec43610c2a17: Download complete [2024-07-24T20:52:00.283Z] 5eb5b503b376: Verifying Checksum [2024-07-24T20:52:00.283Z] 5eb5b503b376: Download complete [2024-07-24T20:52:00.777Z] d6de4b400683: Pull complete [2024-07-24T20:52:00.778Z] 35cb2a7552d0: Pull complete [2024-07-24T20:52:00.778Z] 4f4fb700ef54: Pull complete [2024-07-24T20:52:00.778Z] 464afbd9ba4c: Pull complete [2024-07-24T20:52:00.849Z] 2f39f015ded8: Verifying Checksum [2024-07-24T20:52:00.849Z] 2f39f015ded8: Download complete [2024-07-24T20:52:01.414Z] 5eb5b503b376: Pull complete [2024-07-24T20:52:01.414Z] 5c69ac0246d0: Pull complete [2024-07-24T20:52:01.982Z] ec43610c2a17: Pull complete [2024-07-24T20:52:01.982Z] 3a2ae6a8a46f: Pull complete [2024-07-24T20:52:02.242Z] 33b1e0a273af: Pull complete [2024-07-24T20:52:02.242Z] 5d3b04190fa2: Pull complete [2024-07-24T20:52:06.427Z] 2f39f015ded8: Pull complete [2024-07-24T20:52:06.427Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-24T20:52:06.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T20:52:06.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:52:06.692Z] prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container [2024-07-24T20:52:06.725Z] $ 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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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-24T20:52:08.984Z] 00f215d4a9da: Pull complete [2024-07-24T20:52:10.397Z] d496ad576159: Pull complete [2024-07-24T20:52:10.397Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-24T20:52:10.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-24T20:52:10.397Z] ---> f246e2811388 [2024-07-24T20:52:10.397Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-24T20:52:11.027Z] $ docker top 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T20:52:11.555Z] ---> job-cost.sh [2024-07-24T20:52:11.555Z] lf-activate-venv: SKIPPING [2024-07-24T20:52:11.555Z] INFO: No Stack... [2024-07-24T20:52:11.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-24T20:52:12.072Z] INFO: Archiving Costs [Pipeline] sh [2024-07-24T20:52:12.347Z] ---> Running in d2b32546ea6c [2024-07-24T20:52:12.347Z] Removing intermediate container d2b32546ea6c [2024-07-24T20:52:12.347Z] ---> ac8cf876dc3c [2024-07-24T20:52:12.347Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-24T20:52:12.347Z] ---> Running in ec015d803ec4 [2024-07-24T20:52:12.397Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-401/archives/cost.csv [2024-07-24T20:52:12.397Z] + cut -d, -f6 [Pipeline] lock [2024-07-24T20:52:12.451Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [2024-07-24T20:52:12.458Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] did not exist. Created. [2024-07-24T20:52:12.469Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-24T20:52:12.613Z] Removing intermediate container ec015d803ec4 [2024-07-24T20:52:12.613Z] ---> 296a0889c7d0 [2024-07-24T20:52:12.613Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-24T20:52:12.884Z] ---> Running in defcaa27599b [2024-07-24T20:52:12.885Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-24T20:52:12.969Z] Stashed 1 file(s) [Pipeline] } [2024-07-24T20:52:13.018Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-24T20:52:13.120Z] $ docker stop --time=1 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 [2024-07-24T20:52:13.151Z] Removing intermediate container defcaa27599b [2024-07-24T20:52:13.151Z] ---> 7bdfdb0b8669 [2024-07-24T20:52:13.151Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-24T20:52:13.151Z] ---> Running in 27db329fd981 [2024-07-24T20:52:13.421Z] Removing intermediate container 27db329fd981 [2024-07-24T20:52:13.421Z] ---> 4a6c26d7d558 [2024-07-24T20:52:13.421Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-24T20:52:13.421Z] ---> Running in d412e40951a8 [2024-07-24T20:52:14.263Z] $ docker rm -f --volumes 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-24T20:52:14.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T20:52:15.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T20:52:16.063Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-24T20:52:16.063Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-24T20:52:16.063Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-24T20:52:16.063Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-24T20:52:16.063Z] Executing busybox-1.36.1-r5.trigger [2024-07-24T20:52:16.063Z] OK: 271 MiB in 56 packages [2024-07-24T20:52:17.031Z] Removing intermediate container d412e40951a8 [2024-07-24T20:52:17.031Z] ---> eeb5e8c37745 [2024-07-24T20:52:17.031Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-24T20:52:17.031Z] ---> Running in af0da521c088 [2024-07-24T20:52:17.306Z] Removing intermediate container af0da521c088 [2024-07-24T20:52:17.306Z] ---> 44ed0adda536 [2024-07-24T20:52:17.306Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-24T20:52:17.895Z] ---> 95670f212cd2 [2024-07-24T20:52:17.895Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T20:52:17.895Z] ---> Running in 5f8d6d743e7e [2024-07-24T20:54:09.576Z] Removing intermediate container 5f8d6d743e7e [2024-07-24T20:54:09.576Z] ---> 6135223e8332 [2024-07-24T20:54:09.576Z] Step 11/12 : COPY . . [2024-07-24T20:54:09.576Z] ---> 4c4a662b6ae9 [2024-07-24T20:54:09.576Z] Step 12/12 : RUN $MAKE [2024-07-24T20:54:09.576Z] ---> Running in b63b94a147e1 [2024-07-24T20:54:09.576Z] noop [2024-07-24T20:54:09.576Z] Removing intermediate container b63b94a147e1 [2024-07-24T20:54:09.576Z] ---> a7c57bd5ba73 [2024-07-24T20:54:09.576Z] Successfully built a7c57bd5ba73 [2024-07-24T20:54:09.576Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:54:10.112Z] + docker inspect -f . ci-base-image-arm64 [2024-07-24T20:54:10.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:54:10.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container [2024-07-24T20:54:10.459Z] $ 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 ******** ci-base-image-arm64 cat [2024-07-24T20:54:11.715Z] $ docker top cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T20:54:12.625Z] + go version [2024-07-24T20:54:12.625Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-24T20:54:12.666Z] $ docker stop --time=1 cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea [2024-07-24T20:54:14.282Z] $ docker rm -f --volumes cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:54:15.236Z] + docker inspect -f . ci-base-image-arm64 [2024-07-24T20:54:15.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T20:54:15.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container [2024-07-24T20:54:15.561Z] $ 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 ******** ci-base-image-arm64 cat [2024-07-24T20:54:16.655Z] $ docker top 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T20:54:17.232Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-24T20:54:17.923Z] + make test [2024-07-24T20:54:18.194Z] go test ./... -coverprofile=coverage.out ./... [2024-07-24T20:54:23.539Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-24T20:58:00.592Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-24T20:58:00.592Z] ok github.com/edgexfoundry/device-rest-go/driver 0.036s coverage: 33.2% of statements [2024-07-24T20:58:00.592Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-24T20:58:00.592Z] go vet ./... [2024-07-24T20:58:47.465Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-24T20:58:47.465Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-24T20:58:47.465Z] ./bin/test-attribution-txt.sh [2024-07-24T20:58:47.465Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-24T20:58:47.465Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-24T20:58:47.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-24T20:58:47.561Z] $ docker stop --time=1 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 [2024-07-24T20:58:49.366Z] $ docker rm -f --volumes 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T20:58:50.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-24T20:58:50.967Z] Warning: overwriting stash ‘coverage-report’ [2024-07-24T20:58:51.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T20:58:52.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-24T20:58:52.363Z] + ls -al . [2024-07-24T20:58:52.363Z] total 244 [2024-07-24T20:58:52.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:54 . [2024-07-24T20:58:52.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 20:51 .. [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 20:51 .dockerignore [2024-07-24T20:58:52.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:51 .git [2024-07-24T20:58:52.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 .github [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 24 20:51 .gitignore [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 24 20:51 .golangci.yml [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 24 20:51 Attribution.txt [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 24 20:51 CHANGELOG.md [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 24 20:51 Dockerfile [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 20:51 GOVERNANCE.md [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 24 20:51 Jenkinsfile [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 20:51 LICENSE [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 24 20:51 Makefile [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 24 20:51 OWNERS.md [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 24 20:51 README.md [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 20:49 VERSION [2024-07-24T20:58:52.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:51 bin [2024-07-24T20:58:52.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 cmd [2024-07-24T20:58:52.363Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 24 20:57 coverage.out [2024-07-24T20:58:52.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:51 driver [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 24 20:51 go.mod [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 24 20:51 go.sum [2024-07-24T20:58:52.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 openapi [2024-07-24T20:58:52.363Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T20:58:52.809Z] + 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=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 --label arch=arm64 --label version=0.0.0 . [2024-07-24T20:58:52.809Z] Sending build context to Docker daemon 145.9kB [2024-07-24T20:58:53.075Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T20:58:53.075Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-24T20:58:53.075Z] ---> a7c57bd5ba73 [2024-07-24T20:58:53.075Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-24T20:58:53.075Z] ---> Running in 60b9a1667cac [2024-07-24T20:58:53.342Z] Removing intermediate container 60b9a1667cac [2024-07-24T20:58:53.342Z] ---> f207ba837ee7 [2024-07-24T20:58:53.342Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-24T20:58:53.342Z] ---> Running in 35513ecf3e5e [2024-07-24T20:58:53.607Z] Removing intermediate container 35513ecf3e5e [2024-07-24T20:58:53.607Z] ---> 81db48107978 [2024-07-24T20:58:53.607Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-24T20:58:53.871Z] ---> Running in 3a9ec9cb56b9 [2024-07-24T20:58:54.136Z] Removing intermediate container 3a9ec9cb56b9 [2024-07-24T20:58:54.136Z] ---> 5fe07b2f602b [2024-07-24T20:58:54.136Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-24T20:58:54.136Z] ---> Running in 95cab9abed5a [2024-07-24T20:58:54.402Z] Removing intermediate container 95cab9abed5a [2024-07-24T20:58:54.402Z] ---> 0dbbd2111c98 [2024-07-24T20:58:54.402Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-24T20:58:54.402Z] ---> Running in 5e93c8d69ad0 [2024-07-24T20:58:55.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T20:58:55.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T20:58:56.912Z] OK: 271 MiB in 56 packages [2024-07-24T20:58:57.876Z] Removing intermediate container 5e93c8d69ad0 [2024-07-24T20:58:57.876Z] ---> c92cf6592971 [2024-07-24T20:58:57.876Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-24T20:58:57.876Z] ---> Running in 9ec9a0096b3f [2024-07-24T20:58:58.141Z] Removing intermediate container 9ec9a0096b3f [2024-07-24T20:58:58.141Z] ---> 7b9833d98686 [2024-07-24T20:58:58.141Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-24T20:58:58.722Z] ---> 416c4c819028 [2024-07-24T20:58:58.722Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T20:58:58.722Z] ---> Running in 8902d6890730 [2024-07-24T20:59:00.662Z] Removing intermediate container 8902d6890730 [2024-07-24T20:59:00.662Z] ---> 8d6cca039066 [2024-07-24T20:59:00.662Z] Step 11/26 : COPY . . [2024-07-24T20:59:01.247Z] ---> b28a1ff920e2 [2024-07-24T20:59:01.247Z] Step 12/26 : RUN $MAKE [2024-07-24T20:59:01.516Z] ---> Running in e0afc98d409d [2024-07-24T20:59:02.477Z] 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.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-24T21:02:24.205Z] Removing intermediate container e0afc98d409d [2024-07-24T21:02:24.205Z] ---> 12eea3d15d27 [2024-07-24T21:02:24.205Z] Step 13/26 : FROM alpine:3.18 [2024-07-24T21:02:24.205Z] 3.18: Pulling from library/alpine [2024-07-24T21:02:24.205Z] 4983c3fe2029: Pulling fs layer [2024-07-24T21:02:24.205Z] 4983c3fe2029: Pull complete [2024-07-24T21:02:24.205Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-24T21:02:24.205Z] Status: Downloaded newer image for alpine:3.18 [2024-07-24T21:02:24.205Z] ---> a0237000ae83 [2024-07-24T21:02:24.205Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T21:02:24.205Z] ---> Running in 74d7b61f0d52 [2024-07-24T21:02:24.205Z] Removing intermediate container 74d7b61f0d52 [2024-07-24T21:02:24.205Z] ---> b56683512803 [2024-07-24T21:02:24.205Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-24T21:02:24.205Z] ---> Running in 4923a78e68de [2024-07-24T21:02:24.205Z] Removing intermediate container 4923a78e68de [2024-07-24T21:02:24.205Z] ---> 26c5a8ea744e [2024-07-24T21:02:24.205Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-24T21:02:24.205Z] ---> Running in 2aa948857d44 [2024-07-24T21:02:24.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T21:02:24.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T21:02:24.205Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-24T21:02:24.205Z] Executing busybox-1.36.1-r7.trigger [2024-07-24T21:02:24.205Z] OK: 8 MiB in 16 packages [2024-07-24T21:02:24.205Z] Removing intermediate container 2aa948857d44 [2024-07-24T21:02:24.205Z] ---> 68f70f03cb88 [2024-07-24T21:02:24.205Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-24T21:02:24.205Z] ---> Running in 7ede6098cf2a [2024-07-24T21:02:24.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T21:02:24.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T21:02:24.205Z] OK: 8 MiB in 16 packages [2024-07-24T21:02:24.477Z] Removing intermediate container 7ede6098cf2a [2024-07-24T21:02:24.477Z] ---> 3b6e75da79ce [2024-07-24T21:02:24.477Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-24T21:02:25.892Z] ---> 3beabfe11b5e [2024-07-24T21:02:25.892Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-24T21:02:26.475Z] ---> bbaf984a2884 [2024-07-24T21:02:26.475Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-24T21:02:27.061Z] ---> 6a043900e29d [2024-07-24T21:02:27.061Z] Step 21/26 : EXPOSE 59986 [2024-07-24T21:02:27.061Z] ---> Running in ad789b67523d [2024-07-24T21:02:27.329Z] Removing intermediate container ad789b67523d [2024-07-24T21:02:27.329Z] ---> 41965d03a925 [2024-07-24T21:02:27.329Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-24T21:02:27.329Z] ---> Running in c3fcb64da707 [2024-07-24T21:02:27.916Z] Removing intermediate container c3fcb64da707 [2024-07-24T21:02:27.916Z] ---> 51cd54696c3d [2024-07-24T21:02:27.916Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-24T21:02:27.916Z] ---> Running in c44101136593 [2024-07-24T21:02:28.184Z] Removing intermediate container c44101136593 [2024-07-24T21:02:28.184Z] ---> 72e36b73a151 [2024-07-24T21:02:28.184Z] Step 24/26 : LABEL arch=arm64 [2024-07-24T21:02:28.184Z] ---> Running in 190ff295335c [2024-07-24T21:02:28.452Z] Removing intermediate container 190ff295335c [2024-07-24T21:02:28.452Z] ---> 9533195b5d02 [2024-07-24T21:02:28.452Z] Step 25/26 : LABEL git_sha=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [2024-07-24T21:02:28.452Z] ---> Running in 35d3145dd05c [2024-07-24T21:02:28.719Z] Removing intermediate container 35d3145dd05c [2024-07-24T21:02:28.719Z] ---> 26b3eb3a9cc7 [2024-07-24T21:02:28.719Z] Step 26/26 : LABEL version=0.0.0 [2024-07-24T21:02:28.986Z] ---> Running in ee070d1f39e7 [2024-07-24T21:02:29.251Z] Removing intermediate container ee070d1f39e7 [2024-07-24T21:02:29.251Z] ---> d523415ea983 [2024-07-24T21:02:29.251Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-24T21:02:29.251Z] Successfully built d523415ea983 [2024-07-24T21:02:29.251Z] 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-24T21:02:30.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T21:02:30.228Z] [2024-07-24T21:02:30.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T21:02:30.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T21:02:30.647Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-24T21:02:30.647Z] 8998bd30e6a1: Pulling fs layer [2024-07-24T21:02:30.647Z] 04944245beec: Pulling fs layer [2024-07-24T21:02:30.647Z] 699f458cf7ca: Pulling fs layer [2024-07-24T21:02:30.647Z] 765212b225bb: Pulling fs layer [2024-07-24T21:02:30.647Z] f23df028b6ca: Pulling fs layer [2024-07-24T21:02:30.647Z] d65c8cfc05b1: Pulling fs layer [2024-07-24T21:02:30.647Z] 2437ff75d9bd: Pulling fs layer [2024-07-24T21:02:30.647Z] f23df028b6ca: Waiting [2024-07-24T21:02:30.647Z] 765212b225bb: Waiting [2024-07-24T21:02:30.647Z] d65c8cfc05b1: Waiting [2024-07-24T21:02:30.914Z] 04944245beec: Verifying Checksum [2024-07-24T21:02:30.914Z] 04944245beec: Download complete [2024-07-24T21:02:30.914Z] 765212b225bb: Verifying Checksum [2024-07-24T21:02:30.914Z] 765212b225bb: Download complete [2024-07-24T21:02:30.914Z] f23df028b6ca: Download complete [2024-07-24T21:02:30.914Z] d65c8cfc05b1: Verifying Checksum [2024-07-24T21:02:30.914Z] d65c8cfc05b1: Download complete [2024-07-24T21:02:30.914Z] 699f458cf7ca: Verifying Checksum [2024-07-24T21:02:30.914Z] 699f458cf7ca: Download complete [2024-07-24T21:02:31.496Z] 8998bd30e6a1: Verifying Checksum [2024-07-24T21:02:31.496Z] 8998bd30e6a1: Download complete [2024-07-24T21:02:34.075Z] 2437ff75d9bd: Verifying Checksum [2024-07-24T21:02:34.075Z] 2437ff75d9bd: Download complete [2024-07-24T21:02:36.009Z] 8998bd30e6a1: Pull complete [2024-07-24T21:02:36.595Z] 04944245beec: Pull complete [2024-07-24T21:02:37.998Z] 699f458cf7ca: Pull complete [2024-07-24T21:02:38.262Z] 765212b225bb: Pull complete [2024-07-24T21:02:39.224Z] f23df028b6ca: Pull complete [2024-07-24T21:02:39.225Z] d65c8cfc05b1: Pull complete [2024-07-24T21:02:57.425Z] 2437ff75d9bd: Pull complete [2024-07-24T21:02:57.425Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-24T21:02:57.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T21:02:57.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T21:02:57.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container [2024-07-24T21:02:57.848Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-24T21:03:00.574Z] $ docker top 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:01.488Z] ---> job-cost.sh [2024-07-24T21:03:01.488Z] lf-activate-venv: SKIPPING [2024-07-24T21:03:01.488Z] INFO: No Stack... [2024-07-24T21:03:02.070Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-24T21:03:02.653Z] INFO: Archiving Costs [Pipeline] sh [2024-07-24T21:03:03.314Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-07-24T21:03:03.315Z] + cut -d, -f6 [Pipeline] lock [2024-07-24T21:03:03.403Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [2024-07-24T21:03:03.410Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] did not exist. Created. [2024-07-24T21:03:03.417Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-24T21:03:04.171Z] /w/workspace/device-rest-go/1@tmp/durable-2ae7ca5b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-24T21:03:04.839Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-24T21:03:04.883Z] Warning: overwriting stash ‘stack-cost’ [2024-07-24T21:03:04.929Z] Stashed 1 file(s) [Pipeline] } [2024-07-24T21:03:04.956Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-24T21:03:05.048Z] $ docker stop --time=1 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 [2024-07-24T21:03:06.573Z] $ docker rm -f --volumes 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 [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-24T21:03:07.735Z] provisioning config files... [2024-07-24T21:03:07.742Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config4984551103480569180tmp [Pipeline] { [Pipeline] sh [2024-07-24T21:03:08.087Z] + set +x [2024-07-24T21:03:08.087Z] + bash -s -- [2024-07-24T21:03:08.087Z] + curl -s https://codecov.io/bash [2024-07-24T21:03:08.087Z] [2024-07-24T21:03:08.087Z] _____ _ [2024-07-24T21:03:08.087Z] / ____| | | [2024-07-24T21:03:08.087Z] | | ___ __| | ___ ___ _____ __ [2024-07-24T21:03:08.087Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-24T21:03:08.087Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-24T21:03:08.087Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-24T21:03:08.087Z] Bash-1.0.6 [2024-07-24T21:03:08.087Z] [2024-07-24T21:03:08.087Z] [2024-07-24T21:03:08.087Z] ==> git version 2.25.1 found [2024-07-24T21:03:08.087Z] ==> 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-24T21:03:08.087Z] Release-Date: 2020-01-08 [2024-07-24T21:03:08.087Z] 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-24T21:03:08.087Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-24T21:03:08.087Z] ==> Jenkins CI detected. [2024-07-24T21:03:08.087Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-401 [2024-07-24T21:03:08.087Z] project root: . [2024-07-24T21:03:08.087Z] --> token set from env [2024-07-24T21:03:08.087Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-24T21:03:08.087Z] ==> Running gcov in . (disable via -X gcov) [2024-07-24T21:03:08.087Z] ==> Python coveragepy not found [2024-07-24T21:03:08.087Z] ==> Searching for coverage reports in: [2024-07-24T21:03:08.087Z] + . [2024-07-24T21:03:08.087Z] -> Found 1 reports [2024-07-24T21:03:08.087Z] ==> Detecting git/mercurial file structure [2024-07-24T21:03:08.347Z] ==> Reading reports [2024-07-24T21:03:08.347Z] + ./coverage.out bytes=14499 [2024-07-24T21:03:08.347Z] ==> Appending adjustments [2024-07-24T21:03:08.347Z] https://docs.codecov.io/docs/fixing-reports [2024-07-24T21:03:08.347Z] + Found adjustments [2024-07-24T21:03:08.347Z] ==> Gzipping contents [2024-07-24T21:03:08.347Z] 4.0K /tmp/codecov.1JIdM1.gz [2024-07-24T21:03:08.347Z] ==> Uploading reports [2024-07-24T21:03:08.347Z] url: https://codecov.io [2024-07-24T21:03:08.347Z] query: branch=PR-401&commit=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=401&job=&cmd_args= [2024-07-24T21:03:08.347Z] -> Pinging Codecov [2024-07-24T21:03:08.347Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-401&commit=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=401&job=&cmd_args= [2024-07-24T21:03:08.347Z] -> Uploading to [2024-07-24T21:03:08.347Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-24/4E5D53B4F1F92C436F7061BF334D961C/331b8e53a1291bb67ad4f1577d3f5a50eefbaf12/67ee5100-eb9f-4a5c-a5e6-4cea4c28cb08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240724%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240724T210308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=675446aa704074e70ae95b824d93d09920bd1004fa8317616cc746026523c7b3 [2024-07-24T21:03:08.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-24T21:03:08.347Z] Dload Upload Total Spent Left Speed [2024-07-24T21:03:08.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 10361 --:--:-- --:--:-- --:--:-- 10315 [2024-07-24T21:03:08.606Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] } [2024-07-24T21:03:08.658Z] 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-24T21:03:10.938Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-401/archives ] [2024-07-24T21:03:10.938Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-401/archives [2024-07-24T21:03:10.938Z] total 16 [2024-07-24T21:03:10.938Z] drwxr-xr-x 3 root root 4096 Jul 24 20:52 . [2024-07-24T21:03:10.938Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 20:52 .. [2024-07-24T21:03:10.938Z] drwxr-xr-x 2 root root 4096 Jul 24 20:52 cost [2024-07-24T21:03:10.938Z] -rw-r--r-- 1 root root 86 Jul 24 20:52 cost.csv [2024-07-24T21:03:10.938Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-401/archives [2024-07-24T21:03:10.938Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-401/archives [2024-07-24T21:03:10.938Z] total 16 [2024-07-24T21:03:10.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 20:52 . [2024-07-24T21:03:10.938Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 20:52 .. [2024-07-24T21:03:10.938Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 20:52 cost [2024-07-24T21:03:10.938Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 24 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:11.288Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:12.199Z] ---> package-listing.sh [2024-07-24T21:03:12.199Z] ++ facter osfamily [2024-07-24T21:03:12.199Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-24T21:03:12.458Z] + OS_FAMILY=debian [2024-07-24T21:03:12.459Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-401 [2024-07-24T21:03:12.459Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-24T21:03:12.459Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-24T21:03:12.459Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-24T21:03:12.459Z] + PACKAGES=/tmp/packages_start.txt [2024-07-24T21:03:12.459Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-401 ']' [2024-07-24T21:03:12.459Z] + PACKAGES=/tmp/packages_end.txt [2024-07-24T21:03:12.459Z] + case "${OS_FAMILY}" in [2024-07-24T21:03:12.459Z] + dpkg -l [2024-07-24T21:03:12.459Z] + grep '^ii' [2024-07-24T21:03:12.459Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-24T21:03:12.459Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-24T21:03:12.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-24T21:03:12.459Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-401 ']' [2024-07-24T21:03:12.459Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-401/archives/ [2024-07-24T21:03:12.459Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-401/archives/ [Pipeline] echo [2024-07-24T21:03:12.499Z] 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-24T21:03:12.801Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T21:03:13.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T21:03:13.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T21:03:13.675Z] prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container [2024-07-24T21:03:13.741Z] $ 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-401/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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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-24T21:03:13.948Z] $ docker top f9cbb407a59b38304326b93905069994c1bc4457d02afaba8a4cd24482e731a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T21:03:14.357Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-24T21:03:14.673Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-24T21:03:14.997Z] + ls /var/log/sa-host [2024-07-24T21:03:14.997Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T21:03:15.256Z] provisioning config files... [2024-07-24T21:03:15.268Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config6322546071972170880tmp [Pipeline] { [Pipeline] echo [2024-07-24T21:03:15.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:15.667Z] ---> create-netrc.sh [Pipeline] } [2024-07-24T21:03:15.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:16.135Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-24T21:03:16.185Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:16.510Z] ---> sudo-logs.sh [2024-07-24T21:03:16.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-24T21:03:16.619Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:16.944Z] ---> job-cost.sh [2024-07-24T21:03:16.944Z] lf-activate-venv: SKIPPING [2024-07-24T21:03:16.944Z] DEBUG: total: 0.2199999988079071 [2024-07-24T21:03:16.944Z] INFO: Retrieving Stack Cost... [2024-07-24T21:03:17.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-24T21:03:17.465Z] INFO: Archiving Costs [Pipeline] echo [2024-07-24T21:03:17.510Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T21:03:17.833Z] ---> logs-deploy.sh [2024-07-24T21:03:17.833Z] lf-activate-venv: SKIPPING [2024-07-24T21:03:17.833Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-401/1 [2024-07-24T21:03:17.833Z] INFO: archiving workspace using pattern(s): [2024-07-24T21:03:18.771Z] Archives upload complete. [2024-07-24T21:03:18.771Z] INFO: archiving logs to Nexus