Pull request #394 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d39e8acd6d0ca5f8303af77612d0bd789b577bfc+21994e07934c8f95cd7e226e9631b4cfe7f28119 (9021b859c303117f8085d533ff3fc88f05e26e4e) 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-ssh8501925470013730095.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-ssh17951007174244730857.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-394/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-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6024178268450900873.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-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10134243648371763715.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-ssh9683979470195094396.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-394/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-394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10084163696173196345.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4388 in /w/workspace/gexfoundry_device-rest-go_PR-394 [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-394 # 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 Merging remotes/origin/main commit 21994e07934c8f95cd7e226e9631b4cfe7f28119 into PR head commit d39e8acd6d0ca5f8303af77612d0bd789b577bfc Merge succeeded, producing d39e8acd6d0ca5f8303af77612d0bd789b577bfc Checking out Revision d39e8acd6d0ca5f8303af77612d0bd789b577bfc (PR-394) 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 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/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d39e8acd6d0ca5f8303af77612d0bd789b577bfc # 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 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d39e8acd6d0ca5f8303af77612d0bd789b577bfc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-25T20:20:43.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-25T20:20:43.468Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-25T20:20:43.597Z] ========================================================= [2024-06-25T20:20:43.598Z] EdgeX Global Pipelines Version Info [2024-06-25T20:20:43.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:20:44.746Z] ------------------- [2024-06-25T20:20:44.746Z] stable info: [2024-06-25T20:20:44.746Z] ------------------- [2024-06-25T20:20:44.746Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T20:20:44.746Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T20:20:44.746Z] Message: update stable to v1.0.260 [2024-06-25T20:20:45.008Z] ------------------- [2024-06-25T20:20:45.008Z] experimental info: [2024-06-25T20:20:45.008Z] ------------------- [2024-06-25T20:20:45.008Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T20:20:45.008Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-25T20:20:45.008Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-25T20:20:45.215Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-06-25T20:20:45.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-06-25T20:20:45.329Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-25T20:20:45.385Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-25T20:20:45.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-25T20:20:45.503Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-25T20:20:45.561Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-25T20:20:45.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-25T20:20:45.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-25T20:20:45.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-25T20:20:45.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-25T20:20:45.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-06-25T20:20:45.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-25T20:20:45.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-25T20:20:46.034Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T20:20:46.092Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T20:20:46.155Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T20:20:46.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T20:20:46.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-25T20:20:46.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-25T20:20:46.386Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-06-25T20:20:46.446Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-06-25T20:20:46.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-25T20:20:46.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-25T20:20:46.631Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-25T20:20:46.694Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-25T20:20:46.756Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-25T20:20:46.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-394 [Pipeline] echo [2024-06-25T20:20:46.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-394 [Pipeline] echo [2024-06-25T20:20:46.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-394 [Pipeline] echo [2024-06-25T20:20:47.004Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d39e8acd6d0ca5f8303af77612d0bd789b577bfc [Pipeline] echo [2024-06-25T20:20:47.058Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d39e8ac [Pipeline] echo [2024-06-25T20:20:47.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T20:20:47.262Z] provisioning config files... [2024-06-25T20:20:47.278Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/config14934883841286884172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:20:47.671Z] ---> ****-login.sh [2024-06-25T20:20:47.671Z] nexus3.edgexfoundry.org:10001 [2024-06-25T20:20:47.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:20:47.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:20:47.931Z] Configure a credential helper to remove this warning. See [2024-06-25T20:20:47.931Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:20:47.931Z] [2024-06-25T20:20:47.931Z] Login Succeeded [2024-06-25T20:20:47.931Z] nexus3.edgexfoundry.org:10002 [2024-06-25T20:20:48.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:20:48.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:20:48.191Z] Configure a credential helper to remove this warning. See [2024-06-25T20:20:48.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:20:48.191Z] [2024-06-25T20:20:48.191Z] Login Succeeded [2024-06-25T20:20:48.191Z] nexus3.edgexfoundry.org:10003 [2024-06-25T20:20:48.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:20:48.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:20:48.191Z] Configure a credential helper to remove this warning. See [2024-06-25T20:20:48.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:20:48.192Z] [2024-06-25T20:20:48.192Z] Login Succeeded [2024-06-25T20:20:48.192Z] nexus3.edgexfoundry.org:10004 [2024-06-25T20:20:48.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:20:48.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:20:48.452Z] Configure a credential helper to remove this warning. See [2024-06-25T20:20:48.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:20:48.452Z] [2024-06-25T20:20:48.452Z] Login Succeeded [2024-06-25T20:20:48.452Z] ****.io [2024-06-25T20:20:48.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:20:48.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:20:48.713Z] Configure a credential helper to remove this warning. See [2024-06-25T20:20:48.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:20:48.713Z] [2024-06-25T20:20:48.713Z] Login Succeeded [2024-06-25T20:20:48.713Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T20:20:48.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-25T20:20:49.444Z] + git rev-list -1 --merges d39e8acd6d0ca5f8303af77612d0bd789b577bfc~1..d39e8acd6d0ca5f8303af77612d0bd789b577bfc [Pipeline] echo [2024-06-25T20:20:49.495Z] -----------> git rev-list -1 --merges d39e8acd6d0ca5f8303af77612d0bd789b577bfc~1..d39e8acd6d0ca5f8303af77612d0bd789b577bfc d39e8acd6d0ca5f8303af77612d0bd789b577bfc [false] [Pipeline] sh [2024-06-25T20:20:49.817Z] + git log --format=format:%s -1 d39e8acd6d0ca5f8303af77612d0bd789b577bfc [Pipeline] echo [2024-06-25T20:20:49.859Z] ========================================================= [2024-06-25T20:20:49.859Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-25T20:20:49.859Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T20:20:50.326Z] + git log --format=format:%s -1 d39e8acd6d0ca5f8303af77612d0bd789b577bfc [Pipeline] echo [2024-06-25T20:20:50.368Z] [semverPrep] GIT_COMMIT: d39e8acd6d0ca5f8303af77612d0bd789b577bfc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-06-25T20:20:50.410Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-25T20:20:50.839Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T20:20:50.839Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-25T20:20:50.839Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-25T20:20:50.839Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-25T20:20:50.839Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-25T20:20:50.839Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-25T20:20:50.839Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:20:51.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T20:20:51.473Z] [2024-06-25T20:20:51.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:20:51.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T20:20:51.859Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-25T20:20:51.859Z] b85a868b505f: Pulling fs layer [2024-06-25T20:20:51.859Z] e2be974225ed: Pulling fs layer [2024-06-25T20:20:51.859Z] 339a4e72a1f5: Pulling fs layer [2024-06-25T20:20:51.859Z] 988bab9f4d93: Pulling fs layer [2024-06-25T20:20:51.859Z] 1469e6f7b9e6: Pulling fs layer [2024-06-25T20:20:51.859Z] eaf3925da568: Pulling fs layer [2024-06-25T20:20:51.859Z] bab4dde63d76: Pulling fs layer [2024-06-25T20:20:51.859Z] bde34c3a00c8: Pulling fs layer [2024-06-25T20:20:51.859Z] b352a97aabf1: Pulling fs layer [2024-06-25T20:20:51.859Z] 4872d77fe225: Pulling fs layer [2024-06-25T20:20:51.859Z] 5851b861e8e6: Pulling fs layer [2024-06-25T20:20:51.859Z] bab4dde63d76: Waiting [2024-06-25T20:20:51.859Z] bde34c3a00c8: Waiting [2024-06-25T20:20:51.859Z] 5851b861e8e6: Waiting [2024-06-25T20:20:51.859Z] b352a97aabf1: Waiting [2024-06-25T20:20:51.859Z] 4872d77fe225: Waiting [2024-06-25T20:20:51.859Z] 988bab9f4d93: Waiting [2024-06-25T20:20:51.859Z] 1469e6f7b9e6: Waiting [2024-06-25T20:20:51.859Z] eaf3925da568: Waiting [2024-06-25T20:20:51.859Z] e2be974225ed: Verifying Checksum [2024-06-25T20:20:51.859Z] e2be974225ed: Download complete [2024-06-25T20:20:51.859Z] 988bab9f4d93: Verifying Checksum [2024-06-25T20:20:51.859Z] 988bab9f4d93: Download complete [2024-06-25T20:20:52.120Z] 1469e6f7b9e6: Verifying Checksum [2024-06-25T20:20:52.120Z] 1469e6f7b9e6: Download complete [2024-06-25T20:20:52.120Z] 339a4e72a1f5: Verifying Checksum [2024-06-25T20:20:52.120Z] 339a4e72a1f5: Download complete [2024-06-25T20:20:52.120Z] eaf3925da568: Verifying Checksum [2024-06-25T20:20:52.120Z] eaf3925da568: Download complete [2024-06-25T20:20:52.120Z] bde34c3a00c8: Download complete [2024-06-25T20:20:52.120Z] b352a97aabf1: Verifying Checksum [2024-06-25T20:20:52.120Z] b352a97aabf1: Download complete [2024-06-25T20:20:52.120Z] 4872d77fe225: Verifying Checksum [2024-06-25T20:20:52.120Z] 4872d77fe225: Download complete [2024-06-25T20:20:52.120Z] 5851b861e8e6: Download complete [2024-06-25T20:20:52.120Z] b85a868b505f: Verifying Checksum [2024-06-25T20:20:52.120Z] b85a868b505f: Download complete [2024-06-25T20:20:52.387Z] bab4dde63d76: Verifying Checksum [2024-06-25T20:20:52.387Z] bab4dde63d76: Download complete [2024-06-25T20:20:53.325Z] b85a868b505f: Pull complete [2024-06-25T20:20:53.584Z] e2be974225ed: Pull complete [2024-06-25T20:20:53.844Z] 339a4e72a1f5: Pull complete [2024-06-25T20:20:54.103Z] 988bab9f4d93: Pull complete [2024-06-25T20:20:54.103Z] 1469e6f7b9e6: Pull complete [2024-06-25T20:20:54.361Z] eaf3925da568: Pull complete [2024-06-25T20:20:55.738Z] bab4dde63d76: Pull complete [2024-06-25T20:20:55.999Z] bde34c3a00c8: Pull complete [2024-06-25T20:20:55.999Z] b352a97aabf1: Pull complete [2024-06-25T20:20:55.999Z] 4872d77fe225: Pull complete [2024-06-25T20:20:55.999Z] 5851b861e8e6: Pull complete [2024-06-25T20:20:56.258Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-25T20:20:56.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T20:20:56.258Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:20:56.538Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2024-06-25T20:20:56.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-394 -v /w/workspace/gexfoundry_device-rest-go_PR-394:/w/workspace/gexfoundry_device-rest-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-394@tmp:/w/workspace/gexfoundry_device-rest-go_PR-394@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-06-25T20:20:58.349Z] $ docker top dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb -eo pid,comm [2024-06-25T20:20:58.408Z] 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-06-25T20:20:58.408Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T20:20:58.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T20:20:58.566Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T20:20:58.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T20:20:58.662Z] $ docker exec dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb ssh-agent [2024-06-25T20:20:58.758Z] SSH_AUTH_SOCK=/tmp/ssh-GyKPCdDdXMGk/agent.32 [2024-06-25T20:20:58.758Z] SSH_AGENT_PID=38 [2024-06-25T20:20:58.764Z] Running ssh-add (command line suppressed) [2024-06-25T20:20:58.867Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-394@tmp/private_key_8416706993293001081.key (/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/private_key_8416706993293001081.key) [2024-06-25T20:20:58.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T20:20:59.221Z] + git tag --points-at HEAD [Pipeline] } [2024-06-25T20:20:59.242Z] $ docker exec --env ******** --env ******** dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb ssh-agent -k [2024-06-25T20:20:59.332Z] unset SSH_AUTH_SOCK; [2024-06-25T20:20:59.332Z] unset SSH_AGENT_PID; [2024-06-25T20:20:59.332Z] echo Agent pid 38 killed; [2024-06-25T20:20:59.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-25T20:20:59.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T20:20:59.444Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T20:20:59.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T20:20:59.550Z] $ docker exec dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb ssh-agent [2024-06-25T20:20:59.656Z] SSH_AUTH_SOCK=/tmp/ssh-X75UWgbifzZ5/agent.72 [2024-06-25T20:20:59.656Z] SSH_AGENT_PID=78 [2024-06-25T20:20:59.660Z] Running ssh-add (command line suppressed) [2024-06-25T20:20:59.750Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-394@tmp/private_key_7539661028819416214.key (/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/private_key_7539661028819416214.key) [2024-06-25T20:20:59.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T20:21:00.118Z] + git semver init [2024-06-25T20:21:00.379Z] 2024-06-25 20:21:00,287 [run_init] DEBUG init version:0.0.0 force:False [2024-06-25T20:21:00.379Z] 2024-06-25 20:21:00,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-394/.semver [2024-06-25T20:21:00.379Z] 2024-06-25 20:21:00,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-394/.semver [2024-06-25T20:21:00.379Z] 2024-06-25 20:21:00,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-394/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-394, universal_newlines=False, shell=None, istream=None) [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,565 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-394/.git/info/exclude [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,565 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-394/.semver/PR-394 with force:False [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,566 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-394/.semver/PR-394 [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,570 [execute] INFO git cat-file --batch-check [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,575 [execute] INFO git cat-file --batch [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T20:21:01.758Z] 2024-06-25 20:21:01,580 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-394/.semver/PR-394 [2024-06-25T20:21:01.758Z] 0.0.0 [Pipeline] } [2024-06-25T20:21:01.788Z] $ docker exec --env ******** --env ******** dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb ssh-agent -k [2024-06-25T20:21:01.874Z] unset SSH_AUTH_SOCK; [2024-06-25T20:21:01.874Z] unset SSH_AGENT_PID; [2024-06-25T20:21:01.874Z] echo Agent pid 78 killed; [2024-06-25T20:21:01.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T20:21:02.344Z] + git semver [Pipeline] } [2024-06-25T20:21:02.628Z] $ docker stop --time=1 dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb [2024-06-25T20:21:03.920Z] $ docker rm -f --volumes dddc6ad62e5d56e6da5e49b1b7f7ac0c41a738a8d169367a606e4dade82543eb [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T20:21:04.339Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-25T20:21:04.649Z] Stashed 1 file(s) [Pipeline] echo [2024-06-25T20:21:04.672Z] [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-06-25T20:21:05.384Z] provisioning config files... [2024-06-25T20:21:05.394Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/config15512173773327145090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:21:05.763Z] ---> ****-login.sh [2024-06-25T20:21:05.763Z] nexus3.edgexfoundry.org:10001 [2024-06-25T20:21:05.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:21:05.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:21:05.763Z] Configure a credential helper to remove this warning. See [2024-06-25T20:21:05.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:21:05.763Z] [2024-06-25T20:21:05.763Z] Login Succeeded [2024-06-25T20:21:05.763Z] nexus3.edgexfoundry.org:10002 [2024-06-25T20:21:05.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:21:05.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:21:05.763Z] Configure a credential helper to remove this warning. See [2024-06-25T20:21:05.764Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:21:05.764Z] [2024-06-25T20:21:05.764Z] Login Succeeded [2024-06-25T20:21:05.764Z] nexus3.edgexfoundry.org:10003 [2024-06-25T20:21:06.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:21:06.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:21:06.023Z] Configure a credential helper to remove this warning. See [2024-06-25T20:21:06.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:21:06.023Z] [2024-06-25T20:21:06.023Z] Login Succeeded [2024-06-25T20:21:06.023Z] nexus3.edgexfoundry.org:10004 [2024-06-25T20:21:06.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:21:06.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:21:06.023Z] Configure a credential helper to remove this warning. See [2024-06-25T20:21:06.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:21:06.023Z] [2024-06-25T20:21:06.023Z] Login Succeeded [2024-06-25T20:21:06.023Z] ****.io [2024-06-25T20:21:06.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:21:06.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:21:06.282Z] Configure a credential helper to remove this warning. See [2024-06-25T20:21:06.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:21:06.282Z] [2024-06-25T20:21:06.282Z] Login Succeeded [2024-06-25T20:21:06.282Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T20:21:06.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T20:21:06.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T20:21:06.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T20:21:06.644Z] ========================================================= [2024-06-25T20:21:06.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-25T20:21:06.644Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:21:07.184Z] + 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-06-25T20:21:07.184Z] Sending build context to Docker daemon 18.19MB [2024-06-25T20:21:07.184Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T20:21:07.184Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-25T20:21:07.184Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-25T20:21:07.184Z] 619be1103602: Pulling fs layer [2024-06-25T20:21:07.184Z] 7862e08f4a3e: Pulling fs layer [2024-06-25T20:21:07.184Z] 5df492c9dc93: Pulling fs layer [2024-06-25T20:21:07.184Z] 7629e6793208: Pulling fs layer [2024-06-25T20:21:07.184Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T20:21:07.184Z] fb5054dd5b73: Pulling fs layer [2024-06-25T20:21:07.184Z] eeca6798cff9: Pulling fs layer [2024-06-25T20:21:07.184Z] aa269ceb94a6: Pulling fs layer [2024-06-25T20:21:07.184Z] ada007ff1a6a: Pulling fs layer [2024-06-25T20:21:07.184Z] aa269ceb94a6: Waiting [2024-06-25T20:21:07.184Z] ada007ff1a6a: Waiting [2024-06-25T20:21:07.184Z] fb5054dd5b73: Waiting [2024-06-25T20:21:07.184Z] 7629e6793208: Waiting [2024-06-25T20:21:07.184Z] eeca6798cff9: Waiting [2024-06-25T20:21:07.184Z] 4f4fb700ef54: Waiting [2024-06-25T20:21:07.184Z] 7862e08f4a3e: Download complete [2024-06-25T20:21:07.445Z] 7629e6793208: Download complete [2024-06-25T20:21:07.445Z] 4f4fb700ef54: Download complete [2024-06-25T20:21:07.445Z] fb5054dd5b73: Download complete [2024-06-25T20:21:07.445Z] 619be1103602: Download complete [2024-06-25T20:21:07.445Z] eeca6798cff9: Verifying Checksum [2024-06-25T20:21:07.445Z] eeca6798cff9: Download complete [2024-06-25T20:21:07.445Z] 619be1103602: Pull complete [2024-06-25T20:21:07.704Z] 7862e08f4a3e: Pull complete [2024-06-25T20:21:07.704Z] ada007ff1a6a: Verifying Checksum [2024-06-25T20:21:07.704Z] ada007ff1a6a: Download complete [2024-06-25T20:21:07.963Z] 5df492c9dc93: Download complete [2024-06-25T20:21:08.527Z] aa269ceb94a6: Verifying Checksum [2024-06-25T20:21:08.527Z] aa269ceb94a6: Download complete [2024-06-25T20:21:11.054Z] 5df492c9dc93: Pull complete [2024-06-25T20:21:11.054Z] 7629e6793208: Pull complete [2024-06-25T20:21:11.054Z] 4f4fb700ef54: Pull complete [2024-06-25T20:21:11.054Z] fb5054dd5b73: Pull complete [2024-06-25T20:21:11.314Z] eeca6798cff9: Pull complete [2024-06-25T20:21:13.846Z] aa269ceb94a6: Pull complete [2024-06-25T20:21:14.105Z] ada007ff1a6a: Pull complete [2024-06-25T20:21:14.105Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-25T20:21:14.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-25T20:21:14.105Z] ---> f489d0715acc [2024-06-25T20:21:14.105Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-06-25T20:21:16.010Z] ---> Running in 391f455db415 [2024-06-25T20:21:16.010Z] Removing intermediate container 391f455db415 [2024-06-25T20:21:16.010Z] ---> 56424a8127b3 [2024-06-25T20:21:16.010Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T20:21:16.010Z] ---> Running in 8acc5e49f73f [2024-06-25T20:21:16.272Z] Removing intermediate container 8acc5e49f73f [2024-06-25T20:21:16.272Z] ---> efdeb1da110d [2024-06-25T20:21:16.272Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T20:21:16.272Z] ---> Running in 9cfb65d3c32c [2024-06-25T20:21:16.272Z] Removing intermediate container 9cfb65d3c32c [2024-06-25T20:21:16.272Z] ---> 9452ee9ecbb8 [2024-06-25T20:21:16.272Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T20:21:16.272Z] ---> Running in 36f1011d5d10 [2024-06-25T20:21:16.272Z] Removing intermediate container 36f1011d5d10 [2024-06-25T20:21:16.272Z] ---> 48ad299a4c16 [2024-06-25T20:21:16.272Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T20:21:16.537Z] ---> Running in 591400d1ee73 [2024-06-25T20:21:16.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T20:21:16.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T20:21:17.057Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T20:21:17.057Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-25T20:21:17.057Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T20:21:17.057Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T20:21:17.057Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T20:21:17.057Z] OK: 268 MiB in 56 packages [2024-06-25T20:21:17.634Z] Removing intermediate container 591400d1ee73 [2024-06-25T20:21:17.634Z] ---> 97f89b961c69 [2024-06-25T20:21:17.634Z] Step 8/12 : WORKDIR /device-rest-go [2024-06-25T20:21:17.634Z] ---> Running in 8882b2a865bf [2024-06-25T20:21:17.634Z] Removing intermediate container 8882b2a865bf [2024-06-25T20:21:17.634Z] ---> dd2b61103641 [2024-06-25T20:21:17.634Z] Step 9/12 : COPY go.mod vendor* ./ [2024-06-25T20:21:17.634Z] ---> 21bbd46c1dec [2024-06-25T20:21:17.634Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T20:21:17.893Z] ---> Running in fac885aca692 [2024-06-25T20:21:20.159Z] Still waiting to schedule task [2024-06-25T20:21:20.159Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-25T20:22:14.189Z] Removing intermediate container fac885aca692 [2024-06-25T20:22:14.189Z] ---> a41c74332e7c [2024-06-25T20:22:14.189Z] Step 11/12 : COPY . . [2024-06-25T20:22:14.189Z] ---> 129083782965 [2024-06-25T20:22:14.189Z] Step 12/12 : RUN $MAKE [2024-06-25T20:22:14.189Z] ---> Running in cc19557c653d [2024-06-25T20:22:14.189Z] noop [2024-06-25T20:22:14.189Z] Removing intermediate container cc19557c653d [2024-06-25T20:22:14.189Z] ---> 69bdfa1bdd2c [2024-06-25T20:22:14.189Z] Successfully built 69bdfa1bdd2c [2024-06-25T20:22:14.189Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:22:14.672Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T20:22:14.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:22:14.836Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2024-06-25T20:22:14.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-394 -v /w/workspace/gexfoundry_device-rest-go_PR-394:/w/workspace/gexfoundry_device-rest-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-394@tmp:/w/workspace/gexfoundry_device-rest-go_PR-394@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-06-25T20:22:15.255Z] $ docker top 1a588da42ae418b29be790647b4625590a9746a4eb41aa2c1e8d58db019691c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T20:22:15.661Z] + go version [2024-06-25T20:22:15.661Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-25T20:22:15.700Z] $ docker stop --time=1 1a588da42ae418b29be790647b4625590a9746a4eb41aa2c1e8d58db019691c1 [2024-06-25T20:22:17.004Z] $ docker rm -f --volumes 1a588da42ae418b29be790647b4625590a9746a4eb41aa2c1e8d58db019691c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:22:17.793Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T20:22:17.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:22:17.971Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2024-06-25T20:22:18.005Z] $ 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-394 -v /w/workspace/gexfoundry_device-rest-go_PR-394:/w/workspace/gexfoundry_device-rest-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-394@tmp:/w/workspace/gexfoundry_device-rest-go_PR-394@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-06-25T20:22:18.308Z] $ docker top 42863da7c0dfad09decdedb3dc48a42223cd9862e10cec4e0e73b9fb0e39261a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T20:22:18.719Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-394 [Pipeline] fileExists [Pipeline] sh [2024-06-25T20:22:19.118Z] + make test [2024-06-25T20:22:19.118Z] go test ./... -coverprofile=coverage.out ./... [2024-06-25T20:22:21.023Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-06-25T20:22:39.108Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-06-25T20:22:39.108Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-06-25T20:22:45.664Z] go vet ./... [2024-06-25T20:22:50.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T20:22:50.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T20:22:50.932Z] ./bin/test-attribution-txt.sh [2024-06-25T20:22:50.932Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T20:22:50.932Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T20:22:50.933Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T20:22:50.933Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T20:22:50.933Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T20:22:50.933Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T20:22:51.191Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T20:22:51.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T20:22:51.285Z] $ docker stop --time=1 42863da7c0dfad09decdedb3dc48a42223cd9862e10cec4e0e73b9fb0e39261a [2024-06-25T20:22:53.428Z] $ docker rm -f --volumes 42863da7c0dfad09decdedb3dc48a42223cd9862e10cec4e0e73b9fb0e39261a [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T20:22:54.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T20:22:54.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-25T20:22:54.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T20:22:55.216Z] + ls -al . [2024-06-25T20:22:55.216Z] total 248 [2024-06-25T20:22:55.216Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 20:22 . [2024-06-25T20:22:55.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 20:20 .. [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 25 20:20 .dockerignore [2024-06-25T20:22:55.216Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 20:22 .git [2024-06-25T20:22:55.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:20 .github [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 25 20:20 .gitignore [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 20:20 .golangci.yml [2024-06-25T20:22:55.216Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 20:21 .semver [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jun 25 20:20 Attribution.txt [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jun 25 20:20 CHANGELOG.md [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jun 25 20:20 Dockerfile [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 20:20 GOVERNANCE.md [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 25 20:20 Jenkinsfile [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 20:20 LICENSE [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jun 25 20:20 Makefile [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 25 20:20 OWNERS.md [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 25 20:20 README.md [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 20:21 VERSION [2024-06-25T20:22:55.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 20:20 bin [2024-06-25T20:22:55.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:20 cmd [2024-06-25T20:22:55.216Z] -rw-r--r-- 1 jenkins jenkins 14499 Jun 25 20:22 coverage.out [2024-06-25T20:22:55.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 20:20 driver [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 7190 Jun 25 20:20 go.mod [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jun 25 20:20 go.sum [2024-06-25T20:22:55.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:20 openapi [2024-06-25T20:22:55.216Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 25 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:22:55.652Z] + 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=d39e8acd6d0ca5f8303af77612d0bd789b577bfc --label arch=amd64 --label version=0.0.0 . [2024-06-25T20:22:55.653Z] Sending build context to Docker daemon 18.2MB [2024-06-25T20:22:55.653Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T20:22:55.653Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-25T20:22:55.653Z] ---> 69bdfa1bdd2c [2024-06-25T20:22:55.653Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-06-25T20:22:55.653Z] ---> Running in 511dc5c2e1c6 [2024-06-25T20:22:55.914Z] Removing intermediate container 511dc5c2e1c6 [2024-06-25T20:22:55.914Z] ---> 0e5d5bc44477 [2024-06-25T20:22:55.914Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T20:22:55.914Z] ---> Running in 8b8bd076bbb6 [2024-06-25T20:22:55.914Z] Removing intermediate container 8b8bd076bbb6 [2024-06-25T20:22:55.914Z] ---> 39c931edbe79 [2024-06-25T20:22:55.914Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T20:22:55.914Z] ---> Running in 5056fe10522b [2024-06-25T20:22:55.914Z] Removing intermediate container 5056fe10522b [2024-06-25T20:22:55.914Z] ---> 6558ac6ac2ad [2024-06-25T20:22:55.914Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T20:22:55.914Z] ---> Running in 7ef2d090e6c1 [2024-06-25T20:22:56.173Z] Removing intermediate container 7ef2d090e6c1 [2024-06-25T20:22:56.173Z] ---> 52927e38280f [2024-06-25T20:22:56.173Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T20:22:56.173Z] ---> Running in 6400cbef6d15 [2024-06-25T20:22:56.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T20:22:56.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T20:22:56.954Z] OK: 268 MiB in 56 packages [2024-06-25T20:22:57.213Z] Removing intermediate container 6400cbef6d15 [2024-06-25T20:22:57.213Z] ---> f2c8f4d9994b [2024-06-25T20:22:57.213Z] Step 8/26 : WORKDIR /device-rest-go [2024-06-25T20:22:57.213Z] ---> Running in 9789bb3484a3 [2024-06-25T20:22:57.214Z] Removing intermediate container 9789bb3484a3 [2024-06-25T20:22:57.214Z] ---> eaa9432fa8be [2024-06-25T20:22:57.214Z] Step 9/26 : COPY go.mod vendor* ./ [2024-06-25T20:22:57.472Z] ---> 849c99b29cd1 [2024-06-25T20:22:57.472Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T20:22:57.472Z] ---> Running in 2dfde9912a46 [2024-06-25T20:22:58.041Z] Removing intermediate container 2dfde9912a46 [2024-06-25T20:22:58.041Z] ---> af62643c9980 [2024-06-25T20:22:58.041Z] Step 11/26 : COPY . . [2024-06-25T20:22:58.298Z] ---> c2093827fece [2024-06-25T20:22:58.298Z] Step 12/26 : RUN $MAKE [2024-06-25T20:22:58.298Z] ---> Running in 6dc6bcb1f7eb [2024-06-25T20:22:58.556Z] 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-06-25T20:23:03.014Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4389 in /w/workspace/gexfoundry_device-rest-go_PR-394 [Pipeline] { [Pipeline] ws [2024-06-25T20:23:03.089Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-06-25T20:23:03.196Z] The recommended git tool is: git [2024-06-25T20:23:11.055Z] using credential edgex-jenkins-ssh [2024-06-25T20:23:11.085Z] Cloning the remote Git repository [2024-06-25T20:23:11.129Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-06-25T20:23:11.253Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-06-25T20:23:11.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-06-25T20:23:11.442Z] > git --version # timeout=10 [2024-06-25T20:23:11.480Z] > git --version # 'git version 2.25.1' [2024-06-25T20:23:11.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T20:23:11.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T20:23:14.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-06-25T20:23:14.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T20:23:16.671Z] Merging remotes/origin/main commit 21994e07934c8f95cd7e226e9631b4cfe7f28119 into PR head commit d39e8acd6d0ca5f8303af77612d0bd789b577bfc [2024-06-25T20:23:16.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-06-25T20:23:16.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-06-25T20:23:16.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T20:23:16.143Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-25T20:23:16.691Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T20:23:16.982Z] Merge succeeded, producing d39e8acd6d0ca5f8303af77612d0bd789b577bfc [2024-06-25T20:23:16.984Z] Checking out Revision d39e8acd6d0ca5f8303af77612d0bd789b577bfc (PR-394) [2024-06-25T20:23:17.688Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-06-25T20:23:17.748Z] > git --version # timeout=10 [2024-06-25T20:23:17.768Z] > git --version # 'git version 2.25.1' [2024-06-25T20:23:17.832Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T20:23:16.772Z] > git checkout -f d39e8acd6d0ca5f8303af77612d0bd789b577bfc # timeout=10 [2024-06-25T20:23:16.841Z] > git remote # timeout=10 [2024-06-25T20:23:16.863Z] > git config --get remote.origin.url # timeout=10 [2024-06-25T20:23:16.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T20:23:16.908Z] > git merge 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 [2024-06-25T20:23:16.946Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-25T20:23:16.986Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T20:23:17.021Z] > git checkout -f d39e8acd6d0ca5f8303af77612d0bd789b577bfc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T20:23:22.992Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-25T20:23:22.992Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T20:23:22.992Z] Dload Upload Total Spent Left Speed [2024-06-25T20:23:22.992Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-06-25T20:23:23.344Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-25T20:23:23.690Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-25T20:23:23.690Z] + sudo tee /etc/docker/daemon.new [2024-06-25T20:23:23.690Z] { [2024-06-25T20:23:23.690Z] "registry-mirrors": [ [2024-06-25T20:23:23.690Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-25T20:23:23.690Z] ], [2024-06-25T20:23:23.690Z] "bip": "10.250.0.254/24", [2024-06-25T20:23:23.690Z] "hosts": [ [2024-06-25T20:23:23.690Z] "tcp://0.0.0.0:5555", [2024-06-25T20:23:23.690Z] "unix:///var/run/docker.sock" [2024-06-25T20:23:23.690Z] ], [2024-06-25T20:23:23.690Z] "mtu": 1458, [2024-06-25T20:23:23.690Z] "selinux-enabled": true, [2024-06-25T20:23:23.690Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-25T20:23:23.690Z] } [Pipeline] sh [2024-06-25T20:23:24.047Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-25T20:23:24.430Z] + sudo service docker restart [2024-06-25T20:23:30.627Z] Removing intermediate container 6dc6bcb1f7eb [2024-06-25T20:23:30.627Z] ---> 72bd161fd656 [2024-06-25T20:23:30.627Z] Step 13/26 : FROM alpine:3.18 [2024-06-25T20:23:30.627Z] 3.18: Pulling from library/alpine [2024-06-25T20:23:30.627Z] 73baa7ef167e: Pulling fs layer [2024-06-25T20:23:30.627Z] 73baa7ef167e: Verifying Checksum [2024-06-25T20:23:30.627Z] 73baa7ef167e: Download complete [2024-06-25T20:23:30.627Z] 73baa7ef167e: Pull complete [2024-06-25T20:23:30.627Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T20:23:30.627Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T20:23:30.627Z] ---> 8fd7cac70a4a [2024-06-25T20:23:30.627Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T20:23:30.627Z] ---> Running in 02d9047b6c2c [2024-06-25T20:23:30.627Z] Removing intermediate container 02d9047b6c2c [2024-06-25T20:23:30.627Z] ---> 7dcf5caea59e [2024-06-25T20:23:30.627Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-06-25T20:23:30.627Z] ---> Running in 6862bbe9561e [2024-06-25T20:23:30.627Z] Removing intermediate container 6862bbe9561e [2024-06-25T20:23:30.627Z] ---> 3d39960cb513 [2024-06-25T20:23:30.627Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-06-25T20:23:30.627Z] ---> Running in 3952064e9f71 [2024-06-25T20:23:30.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T20:23:30.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T20:23:30.627Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T20:23:30.627Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T20:23:30.627Z] OK: 7 MiB in 16 packages [2024-06-25T20:23:30.627Z] Removing intermediate container 3952064e9f71 [2024-06-25T20:23:30.627Z] ---> 5dba3d791a25 [2024-06-25T20:23:30.627Z] Step 17/26 : RUN apk --no-cache upgrade [2024-06-25T20:23:30.627Z] ---> Running in 25aed42e72c8 [2024-06-25T20:23:30.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T20:23:30.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T20:23:31.155Z] OK: 7 MiB in 16 packages [2024-06-25T20:23:32.093Z] Removing intermediate container 25aed42e72c8 [2024-06-25T20:23:32.093Z] ---> c89efef6a85d [2024-06-25T20:23:32.093Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-06-25T20:23:33.031Z] ---> 5af580bb7627 [2024-06-25T20:23:33.031Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-06-25T20:23:33.031Z] ---> f3c2f16d32c3 [2024-06-25T20:23:33.031Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-06-25T20:23:33.031Z] ---> 6dc4c3c7f6e5 [2024-06-25T20:23:33.031Z] Step 21/26 : EXPOSE 59986 [2024-06-25T20:23:33.031Z] ---> Running in 18456cdadb40 [2024-06-25T20:23:33.290Z] Removing intermediate container 18456cdadb40 [2024-06-25T20:23:33.290Z] ---> dfa8267808a2 [2024-06-25T20:23:33.290Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-06-25T20:23:33.290Z] ---> Running in 7a534f6dccac [2024-06-25T20:23:33.290Z] Removing intermediate container 7a534f6dccac [2024-06-25T20:23:33.290Z] ---> a83a940f00ca [2024-06-25T20:23:33.290Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T20:23:33.290Z] ---> Running in a0cb12a01909 [2024-06-25T20:23:33.549Z] Removing intermediate container a0cb12a01909 [2024-06-25T20:23:33.549Z] ---> 8b9a3c5cdae1 [2024-06-25T20:23:33.549Z] Step 24/26 : LABEL arch=amd64 [2024-06-25T20:23:33.549Z] ---> Running in 8db2f82713ee [2024-06-25T20:23:33.549Z] Removing intermediate container 8db2f82713ee [2024-06-25T20:23:33.549Z] ---> 4c7a78ac4ea6 [2024-06-25T20:23:33.549Z] Step 25/26 : LABEL git_sha=d39e8acd6d0ca5f8303af77612d0bd789b577bfc [2024-06-25T20:23:33.549Z] ---> Running in 50aee552b869 [2024-06-25T20:23:33.549Z] Removing intermediate container 50aee552b869 [2024-06-25T20:23:33.549Z] ---> b1175afe562e [2024-06-25T20:23:33.549Z] Step 26/26 : LABEL version=0.0.0 [2024-06-25T20:23:33.810Z] ---> Running in ec7748e2a3a1 [2024-06-25T20:23:33.810Z] Removing intermediate container ec7748e2a3a1 [2024-06-25T20:23:33.810Z] ---> d417bbac6c79 [2024-06-25T20:23:33.810Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T20:23:33.810Z] Successfully built d417bbac6c79 [2024-06-25T20:23:33.810Z] 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-06-25T20:23:34.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T20:23:34.799Z] [2024-06-25T20:23:34.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:23:35.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T20:23:35.458Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-25T20:23:35.458Z] 5eb5b503b376: Pulling fs layer [2024-06-25T20:23:35.458Z] 5c69ac0246d0: Pulling fs layer [2024-06-25T20:23:35.458Z] ec43610c2a17: Pulling fs layer [2024-06-25T20:23:35.458Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-25T20:23:35.458Z] 33b1e0a273af: Pulling fs layer [2024-06-25T20:23:35.458Z] 5d3b04190fa2: Pulling fs layer [2024-06-25T20:23:35.458Z] 2f39f015ded8: Pulling fs layer [2024-06-25T20:23:35.458Z] 3a2ae6a8a46f: Waiting [2024-06-25T20:23:35.458Z] 33b1e0a273af: Waiting [2024-06-25T20:23:35.458Z] 5d3b04190fa2: Waiting [2024-06-25T20:23:35.458Z] 2f39f015ded8: Waiting [2024-06-25T20:23:35.458Z] 5c69ac0246d0: Download complete [2024-06-25T20:23:35.458Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-25T20:23:35.458Z] 3a2ae6a8a46f: Download complete [2024-06-25T20:23:35.458Z] 33b1e0a273af: Verifying Checksum [2024-06-25T20:23:35.458Z] 33b1e0a273af: Download complete [2024-06-25T20:23:35.458Z] 5d3b04190fa2: Verifying Checksum [2024-06-25T20:23:35.458Z] 5d3b04190fa2: Download complete [2024-06-25T20:23:35.458Z] ec43610c2a17: Verifying Checksum [2024-06-25T20:23:35.458Z] ec43610c2a17: Download complete [2024-06-25T20:23:35.716Z] 5eb5b503b376: Verifying Checksum [2024-06-25T20:23:35.716Z] 5eb5b503b376: Download complete [2024-06-25T20:23:36.283Z] 2f39f015ded8: Download complete [2024-06-25T20:23:36.849Z] 5eb5b503b376: Pull complete [2024-06-25T20:23:37.108Z] 5c69ac0246d0: Pull complete [2024-06-25T20:23:37.675Z] ec43610c2a17: Pull complete [2024-06-25T20:23:37.935Z] 3a2ae6a8a46f: Pull complete [2024-06-25T20:23:38.193Z] 33b1e0a273af: Pull complete [2024-06-25T20:23:38.193Z] 5d3b04190fa2: Pull complete [2024-06-25T20:23:42.379Z] 2f39f015ded8: Pull complete [2024-06-25T20:23:42.379Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-25T20:23:42.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T20:23:42.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:23:42.912Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2024-06-25T20:23:42.939Z] $ 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-394 -v /w/workspace/gexfoundry_device-rest-go_PR-394:/w/workspace/gexfoundry_device-rest-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-394@tmp:/w/workspace/gexfoundry_device-rest-go_PR-394@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-06-25T20:23:47.821Z] $ docker top 35f578083992f9c779de455ef1ac6c478ee1f2f69316ac0fe85824022bd79c5c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-06-25T20:23:47.948Z] provisioning config files... [2024-06-25T20:23:47.973Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8399490209751243581tmp [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:23:48.339Z] ---> job-cost.sh [2024-06-25T20:23:48.339Z] lf-activate-venv: SKIPPING [2024-06-25T20:23:48.339Z] INFO: No Stack... [2024-06-25T20:23:48.590Z] ---> ****-login.sh [2024-06-25T20:23:48.590Z] nexus3.edgexfoundry.org:10001 [2024-06-25T20:23:48.598Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T20:23:48.857Z] INFO: Archiving Costs [2024-06-25T20:23:48.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2024-06-25T20:23:49.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:23:49.125Z] Configure a credential helper to remove this warning. See [2024-06-25T20:23:49.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:23:49.125Z] [2024-06-25T20:23:49.125Z] Login Succeeded [2024-06-25T20:23:49.125Z] nexus3.edgexfoundry.org:10002 [2024-06-25T20:23:49.200Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-394/archives/cost.csv [2024-06-25T20:23:49.200Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T20:23:49.256Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [2024-06-25T20:23:49.263Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] did not exist. Created. [2024-06-25T20:23:49.270Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-06-25T20:23:49.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:23:49.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:23:49.394Z] Configure a credential helper to remove this warning. See [2024-06-25T20:23:49.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:23:49.394Z] [2024-06-25T20:23:49.394Z] Login Succeeded [2024-06-25T20:23:49.394Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2024-06-25T20:23:49.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:23:49.723Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-25T20:23:49.782Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T20:23:49.828Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T20:23:49.932Z] $ docker stop --time=1 35f578083992f9c779de455ef1ac6c478ee1f2f69316ac0fe85824022bd79c5c [2024-06-25T20:23:49.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:23:49.936Z] Configure a credential helper to remove this warning. See [2024-06-25T20:23:49.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:23:49.936Z] [2024-06-25T20:23:49.936Z] Login Succeeded [2024-06-25T20:23:49.936Z] nexus3.edgexfoundry.org:10004 [2024-06-25T20:23:49.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:23:50.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:23:50.204Z] Configure a credential helper to remove this warning. See [2024-06-25T20:23:50.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:23:50.204Z] [2024-06-25T20:23:50.204Z] Login Succeeded [2024-06-25T20:23:50.204Z] ****.io [2024-06-25T20:23:50.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T20:23:50.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T20:23:50.736Z] Configure a credential helper to remove this warning. See [2024-06-25T20:23:50.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T20:23:50.736Z] [2024-06-25T20:23:50.736Z] Login Succeeded [2024-06-25T20:23:50.736Z] ---> ****-login.sh ends [2024-06-25T20:23:51.239Z] $ docker rm -f --volumes 35f578083992f9c779de455ef1ac6c478ee1f2f69316ac0fe85824022bd79c5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-06-25T20:23:51.421Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-06-25T20:23:51.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T20:23:51.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T20:23:52.002Z] ========================================================= [2024-06-25T20:23:52.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-25T20:23:52.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:23:52.572Z] + 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-06-25T20:23:52.573Z] Sending build context to Docker daemon 131.1kB [2024-06-25T20:23:52.840Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T20:23:52.840Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-25T20:23:52.840Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-25T20:23:52.840Z] c6b39de5b339: Pulling fs layer [2024-06-25T20:23:52.840Z] a69c41024577: Pulling fs layer [2024-06-25T20:23:52.840Z] d6de4b400683: Pulling fs layer [2024-06-25T20:23:52.840Z] 35cb2a7552d0: Pulling fs layer [2024-06-25T20:23:52.840Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T20:23:52.840Z] 464afbd9ba4c: Pulling fs layer [2024-06-25T20:23:52.840Z] 00f215d4a9da: Pulling fs layer [2024-06-25T20:23:52.840Z] d496ad576159: Pulling fs layer [2024-06-25T20:23:52.840Z] 35cb2a7552d0: Waiting [2024-06-25T20:23:52.840Z] 4f4fb700ef54: Waiting [2024-06-25T20:23:52.840Z] 00f215d4a9da: Waiting [2024-06-25T20:23:52.840Z] d496ad576159: Waiting [2024-06-25T20:23:52.840Z] 464afbd9ba4c: Waiting [2024-06-25T20:23:52.840Z] a69c41024577: Verifying Checksum [2024-06-25T20:23:52.840Z] a69c41024577: Download complete [2024-06-25T20:23:52.840Z] 35cb2a7552d0: Verifying Checksum [2024-06-25T20:23:52.840Z] 35cb2a7552d0: Download complete [2024-06-25T20:23:53.111Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T20:23:53.111Z] 4f4fb700ef54: Download complete [2024-06-25T20:23:53.111Z] 464afbd9ba4c: Verifying Checksum [2024-06-25T20:23:53.111Z] 464afbd9ba4c: Download complete [2024-06-25T20:23:53.111Z] c6b39de5b339: Verifying Checksum [2024-06-25T20:23:53.111Z] c6b39de5b339: Download complete [2024-06-25T20:23:53.379Z] d496ad576159: Verifying Checksum [2024-06-25T20:23:53.379Z] d496ad576159: Download complete [2024-06-25T20:23:53.964Z] c6b39de5b339: Pull complete [2024-06-25T20:23:54.548Z] a69c41024577: Pull complete [2024-06-25T20:23:54.815Z] d6de4b400683: Verifying Checksum [2024-06-25T20:23:54.815Z] d6de4b400683: Download complete [2024-06-25T20:23:55.773Z] 00f215d4a9da: Verifying Checksum [2024-06-25T20:23:55.773Z] 00f215d4a9da: Download complete [2024-06-25T20:24:08.104Z] d6de4b400683: Pull complete [2024-06-25T20:24:08.104Z] 35cb2a7552d0: Pull complete [2024-06-25T20:24:08.104Z] 4f4fb700ef54: Pull complete [2024-06-25T20:24:08.104Z] 464afbd9ba4c: Pull complete [2024-06-25T20:24:18.177Z] 00f215d4a9da: Pull complete [2024-06-25T20:24:18.177Z] d496ad576159: Pull complete [2024-06-25T20:24:18.177Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-25T20:24:18.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-25T20:24:18.444Z] ---> f246e2811388 [2024-06-25T20:24:18.444Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-06-25T20:24:19.408Z] ---> Running in 4533bd944b48 [2024-06-25T20:24:20.364Z] Removing intermediate container 4533bd944b48 [2024-06-25T20:24:20.364Z] ---> 41021b391f43 [2024-06-25T20:24:20.364Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T20:24:20.364Z] ---> Running in d2d55368ee0c [2024-06-25T20:24:20.631Z] Removing intermediate container d2d55368ee0c [2024-06-25T20:24:20.632Z] ---> 50e54a98425f [2024-06-25T20:24:20.632Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T20:24:20.632Z] ---> Running in 6ab9de2ca1ec [2024-06-25T20:24:20.898Z] Removing intermediate container 6ab9de2ca1ec [2024-06-25T20:24:20.898Z] ---> 79c718c296c2 [2024-06-25T20:24:20.898Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T20:24:21.172Z] ---> Running in f86293fcba6c [2024-06-25T20:24:21.172Z] Removing intermediate container f86293fcba6c [2024-06-25T20:24:21.172Z] ---> b5d4d7bc308a [2024-06-25T20:24:21.172Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T20:24:21.440Z] ---> Running in 09c862ec4c7a [2024-06-25T20:24:22.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T20:24:23.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T20:24:23.584Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T20:24:23.584Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-25T20:24:23.584Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T20:24:23.852Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T20:24:23.852Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T20:24:23.852Z] OK: 271 MiB in 56 packages [2024-06-25T20:24:24.817Z] Removing intermediate container 09c862ec4c7a [2024-06-25T20:24:24.817Z] ---> 43ae82192094 [2024-06-25T20:24:24.817Z] Step 8/12 : WORKDIR /device-rest-go [2024-06-25T20:24:24.817Z] ---> Running in a72cb0dd3e1a [2024-06-25T20:24:25.086Z] Removing intermediate container a72cb0dd3e1a [2024-06-25T20:24:25.086Z] ---> 90aa90d194ca [2024-06-25T20:24:25.086Z] Step 9/12 : COPY go.mod vendor* ./ [2024-06-25T20:24:25.672Z] ---> e0ef4a029d21 [2024-06-25T20:24:25.672Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T20:24:25.672Z] ---> Running in 7887bc5fe3e7 [2024-06-25T20:26:17.331Z] Removing intermediate container 7887bc5fe3e7 [2024-06-25T20:26:17.331Z] ---> 734e40419fa5 [2024-06-25T20:26:17.331Z] Step 11/12 : COPY . . [2024-06-25T20:26:17.331Z] ---> 9c69ba1ca631 [2024-06-25T20:26:17.331Z] Step 12/12 : RUN $MAKE [2024-06-25T20:26:17.331Z] ---> Running in 26a27a3901b9 [2024-06-25T20:26:17.331Z] noop [2024-06-25T20:26:17.331Z] Removing intermediate container 26a27a3901b9 [2024-06-25T20:26:17.331Z] ---> 8e7c42428dac [2024-06-25T20:26:17.331Z] Successfully built 8e7c42428dac [2024-06-25T20:26:17.331Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:26:17.858Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T20:26:17.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:26:18.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-4389 does not seem to be running inside a container [2024-06-25T20:26:18.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-25T20:26:19.438Z] $ docker top ed78c7092ccb22f90721410d18dfff40fae762b24778279da91954f8f21b6f3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T20:26:20.329Z] + go version [2024-06-25T20:26:20.329Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-25T20:26:20.365Z] $ docker stop --time=1 ed78c7092ccb22f90721410d18dfff40fae762b24778279da91954f8f21b6f3d [2024-06-25T20:26:22.009Z] $ docker rm -f --volumes ed78c7092ccb22f90721410d18dfff40fae762b24778279da91954f8f21b6f3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:26:22.943Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T20:26:22.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:26:23.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-4389 does not seem to be running inside a container [2024-06-25T20:26:23.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-25T20:26:24.461Z] $ docker top f70a39a021f3f6706c63c6bcf41ab028bbca702cb4dc3066a33a4ac0a6fdd2a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T20:26:25.361Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-06-25T20:26:25.770Z] + make test [2024-06-25T20:26:25.770Z] go test ./... -coverprofile=coverage.out ./... [2024-06-25T20:26:32.426Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-06-25T20:29:39.198Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-06-25T20:29:40.155Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements [2024-06-25T20:29:41.554Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-25T20:29:41.554Z] go vet ./... [2024-06-25T20:30:28.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T20:30:28.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T20:30:28.390Z] ./bin/test-attribution-txt.sh [2024-06-25T20:30:28.390Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T20:30:28.390Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T20:30:28.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T20:30:28.483Z] $ docker stop --time=1 f70a39a021f3f6706c63c6bcf41ab028bbca702cb4dc3066a33a4ac0a6fdd2a2 [2024-06-25T20:30:30.353Z] $ docker rm -f --volumes f70a39a021f3f6706c63c6bcf41ab028bbca702cb4dc3066a33a4ac0a6fdd2a2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T20:30:31.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T20:30:31.998Z] Warning: overwriting stash ‘coverage-report’ [2024-06-25T20:30:32.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T20:30:33.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T20:30:33.415Z] + ls -al . [2024-06-25T20:30:33.415Z] total 244 [2024-06-25T20:30:33.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 20:26 . [2024-06-25T20:30:33.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 20:23 .. [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 25 20:23 .dockerignore [2024-06-25T20:30:33.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 20:23 .git [2024-06-25T20:30:33.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:23 .github [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 25 20:23 .gitignore [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 20:23 .golangci.yml [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jun 25 20:23 Attribution.txt [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jun 25 20:23 CHANGELOG.md [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jun 25 20:23 Dockerfile [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 20:23 GOVERNANCE.md [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 25 20:23 Jenkinsfile [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 20:23 LICENSE [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jun 25 20:23 Makefile [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 25 20:23 OWNERS.md [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 25 20:23 README.md [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 20:21 VERSION [2024-06-25T20:30:33.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 20:23 bin [2024-06-25T20:30:33.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:23 cmd [2024-06-25T20:30:33.415Z] -rw-r--r-- 1 jenkins jenkins 14499 Jun 25 20:29 coverage.out [2024-06-25T20:30:33.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 20:23 driver [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 7190 Jun 25 20:23 go.mod [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jun 25 20:23 go.sum [2024-06-25T20:30:33.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 20:23 openapi [2024-06-25T20:30:33.415Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 25 20:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:30:33.871Z] + 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=d39e8acd6d0ca5f8303af77612d0bd789b577bfc --label arch=arm64 --label version=0.0.0 . [2024-06-25T20:30:33.871Z] Sending build context to Docker daemon 146.4kB [2024-06-25T20:30:34.138Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T20:30:34.138Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-25T20:30:34.138Z] ---> 8e7c42428dac [2024-06-25T20:30:34.138Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-06-25T20:30:34.138Z] ---> Running in f7ec0db18bdd [2024-06-25T20:30:34.411Z] Removing intermediate container f7ec0db18bdd [2024-06-25T20:30:34.411Z] ---> 03cf98cfaf12 [2024-06-25T20:30:34.411Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T20:30:34.678Z] ---> Running in fbf11f494123 [2024-06-25T20:30:34.943Z] Removing intermediate container fbf11f494123 [2024-06-25T20:30:34.943Z] ---> 20cde3082bca [2024-06-25T20:30:34.943Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T20:30:34.943Z] ---> Running in 65995a07c5c9 [2024-06-25T20:30:35.210Z] Removing intermediate container 65995a07c5c9 [2024-06-25T20:30:35.210Z] ---> 24205e72fe68 [2024-06-25T20:30:35.210Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T20:30:35.210Z] ---> Running in c92b0c473bba [2024-06-25T20:30:35.488Z] Removing intermediate container c92b0c473bba [2024-06-25T20:30:35.488Z] ---> 07190c4d269f [2024-06-25T20:30:35.488Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T20:30:35.756Z] ---> Running in 117309b3bab3 [2024-06-25T20:30:36.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T20:30:36.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T20:30:37.945Z] OK: 271 MiB in 56 packages [2024-06-25T20:30:38.906Z] Removing intermediate container 117309b3bab3 [2024-06-25T20:30:38.906Z] ---> 8cf16a6c6f33 [2024-06-25T20:30:38.906Z] Step 8/26 : WORKDIR /device-rest-go [2024-06-25T20:30:38.906Z] ---> Running in 524a05f10099 [2024-06-25T20:30:39.172Z] Removing intermediate container 524a05f10099 [2024-06-25T20:30:39.172Z] ---> bcde5c2136c4 [2024-06-25T20:30:39.172Z] Step 9/26 : COPY go.mod vendor* ./ [2024-06-25T20:30:39.438Z] ---> 45eabc6abb73 [2024-06-25T20:30:39.438Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T20:30:39.705Z] ---> Running in 91a3e90019c8 [2024-06-25T20:30:41.644Z] Removing intermediate container 91a3e90019c8 [2024-06-25T20:30:41.644Z] ---> d13782ae0943 [2024-06-25T20:30:41.644Z] Step 11/26 : COPY . . [2024-06-25T20:30:42.227Z] ---> 9ea72d01b0be [2024-06-25T20:30:42.227Z] Step 12/26 : RUN $MAKE [2024-06-25T20:30:42.499Z] ---> Running in a2b4ec782905 [2024-06-25T20:30:43.463Z] 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-06-25T20:34:05.186Z] Removing intermediate container a2b4ec782905 [2024-06-25T20:34:05.186Z] ---> 2d2ab4576700 [2024-06-25T20:34:05.186Z] Step 13/26 : FROM alpine:3.18 [2024-06-25T20:34:05.186Z] 3.18: Pulling from library/alpine [2024-06-25T20:34:05.186Z] 5c905c7ebe2f: Pulling fs layer [2024-06-25T20:34:05.186Z] 5c905c7ebe2f: Verifying Checksum [2024-06-25T20:34:05.186Z] 5c905c7ebe2f: Download complete [2024-06-25T20:34:05.186Z] 5c905c7ebe2f: Pull complete [2024-06-25T20:34:05.186Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T20:34:05.186Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T20:34:05.186Z] ---> dec292d02e07 [2024-06-25T20:34:05.186Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T20:34:05.186Z] ---> Running in dfceb7185404 [2024-06-25T20:34:05.186Z] Removing intermediate container dfceb7185404 [2024-06-25T20:34:05.186Z] ---> cc9556336a57 [2024-06-25T20:34:05.186Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-06-25T20:34:05.186Z] ---> Running in c136049e19e1 [2024-06-25T20:34:05.186Z] Removing intermediate container c136049e19e1 [2024-06-25T20:34:05.186Z] ---> d8d1c2de3481 [2024-06-25T20:34:05.186Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-06-25T20:34:05.186Z] ---> Running in 611477a0e96f [2024-06-25T20:34:05.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T20:34:05.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T20:34:05.186Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T20:34:05.186Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T20:34:05.186Z] OK: 8 MiB in 16 packages [2024-06-25T20:34:05.186Z] Removing intermediate container 611477a0e96f [2024-06-25T20:34:05.186Z] ---> e84401e1df82 [2024-06-25T20:34:05.186Z] Step 17/26 : RUN apk --no-cache upgrade [2024-06-25T20:34:05.186Z] ---> Running in f17a2274839d [2024-06-25T20:34:05.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T20:34:05.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T20:34:05.186Z] OK: 8 MiB in 16 packages [2024-06-25T20:34:05.186Z] Removing intermediate container f17a2274839d [2024-06-25T20:34:05.186Z] ---> 6e5c53c1a665 [2024-06-25T20:34:05.186Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-06-25T20:34:05.186Z] ---> b46a7f4bc653 [2024-06-25T20:34:05.186Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-06-25T20:34:05.452Z] ---> 806453016096 [2024-06-25T20:34:05.452Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-06-25T20:34:06.032Z] ---> 34cb6027aa95 [2024-06-25T20:34:06.032Z] Step 21/26 : EXPOSE 59986 [2024-06-25T20:34:06.032Z] ---> Running in 7264dbd1c39e [2024-06-25T20:34:06.297Z] Removing intermediate container 7264dbd1c39e [2024-06-25T20:34:06.297Z] ---> 47484ed4cc76 [2024-06-25T20:34:06.297Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-06-25T20:34:06.297Z] ---> Running in 3d6aaa4b68bc [2024-06-25T20:34:06.567Z] Removing intermediate container 3d6aaa4b68bc [2024-06-25T20:34:06.567Z] ---> 4e36f08934fe [2024-06-25T20:34:06.567Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T20:34:06.834Z] ---> Running in 0ae853deb2e7 [2024-06-25T20:34:07.100Z] Removing intermediate container 0ae853deb2e7 [2024-06-25T20:34:07.100Z] ---> 45d67a79b1b0 [2024-06-25T20:34:07.100Z] Step 24/26 : LABEL arch=arm64 [2024-06-25T20:34:07.100Z] ---> Running in e9e38a06914d [2024-06-25T20:34:07.367Z] Removing intermediate container e9e38a06914d [2024-06-25T20:34:07.367Z] ---> ceb62b7d449a [2024-06-25T20:34:07.367Z] Step 25/26 : LABEL git_sha=d39e8acd6d0ca5f8303af77612d0bd789b577bfc [2024-06-25T20:34:07.367Z] ---> Running in e8ff65745edb [2024-06-25T20:34:07.635Z] Removing intermediate container e8ff65745edb [2024-06-25T20:34:07.635Z] ---> 8fc09ee46447 [2024-06-25T20:34:07.635Z] Step 26/26 : LABEL version=0.0.0 [2024-06-25T20:34:07.901Z] ---> Running in 0aeefaa6d3dd [2024-06-25T20:34:08.165Z] Removing intermediate container 0aeefaa6d3dd [2024-06-25T20:34:08.165Z] ---> 9d12e3087bdf [2024-06-25T20:34:08.165Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T20:34:08.165Z] Successfully built 9d12e3087bdf [2024-06-25T20:34:08.165Z] 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-06-25T20:34:09.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T20:34:09.096Z] [2024-06-25T20:34:09.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:34:09.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T20:34:09.529Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-25T20:34:09.529Z] 8998bd30e6a1: Pulling fs layer [2024-06-25T20:34:09.529Z] 04944245beec: Pulling fs layer [2024-06-25T20:34:09.529Z] 699f458cf7ca: Pulling fs layer [2024-06-25T20:34:09.529Z] 765212b225bb: Pulling fs layer [2024-06-25T20:34:09.529Z] f23df028b6ca: Pulling fs layer [2024-06-25T20:34:09.529Z] d65c8cfc05b1: Pulling fs layer [2024-06-25T20:34:09.529Z] 2437ff75d9bd: Pulling fs layer [2024-06-25T20:34:09.529Z] 765212b225bb: Waiting [2024-06-25T20:34:09.529Z] f23df028b6ca: Waiting [2024-06-25T20:34:09.529Z] d65c8cfc05b1: Waiting [2024-06-25T20:34:09.529Z] 2437ff75d9bd: Waiting [2024-06-25T20:34:09.796Z] 04944245beec: Verifying Checksum [2024-06-25T20:34:09.796Z] 04944245beec: Download complete [2024-06-25T20:34:09.796Z] 765212b225bb: Verifying Checksum [2024-06-25T20:34:09.796Z] 765212b225bb: Download complete [2024-06-25T20:34:09.796Z] f23df028b6ca: Verifying Checksum [2024-06-25T20:34:09.796Z] f23df028b6ca: Download complete [2024-06-25T20:34:09.796Z] d65c8cfc05b1: Verifying Checksum [2024-06-25T20:34:09.796Z] d65c8cfc05b1: Download complete [2024-06-25T20:34:10.061Z] 699f458cf7ca: Verifying Checksum [2024-06-25T20:34:10.061Z] 699f458cf7ca: Download complete [2024-06-25T20:34:10.328Z] 8998bd30e6a1: Verifying Checksum [2024-06-25T20:34:10.328Z] 8998bd30e6a1: Download complete [2024-06-25T20:34:12.900Z] 2437ff75d9bd: Verifying Checksum [2024-06-25T20:34:12.900Z] 2437ff75d9bd: Download complete [2024-06-25T20:34:14.832Z] 8998bd30e6a1: Pull complete [2024-06-25T20:34:15.413Z] 04944245beec: Pull complete [2024-06-25T20:34:16.815Z] 699f458cf7ca: Pull complete [2024-06-25T20:34:17.082Z] 765212b225bb: Pull complete [2024-06-25T20:34:18.037Z] f23df028b6ca: Pull complete [2024-06-25T20:34:18.037Z] d65c8cfc05b1: Pull complete [2024-06-25T20:34:36.386Z] 2437ff75d9bd: Pull complete [2024-06-25T20:34:36.386Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-25T20:34:36.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T20:34:36.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:34:36.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-4389 does not seem to be running inside a container [2024-06-25T20:34:36.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-25T20:34:39.321Z] $ docker top 9e15f570ef629a61a28c13b47e5658fc7773056743f75db9bd27d6850866f531 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:40.233Z] ---> job-cost.sh [2024-06-25T20:34:40.233Z] lf-activate-venv: SKIPPING [2024-06-25T20:34:40.233Z] INFO: No Stack... [2024-06-25T20:34:40.814Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-25T20:34:41.393Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T20:34:42.055Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-06-25T20:34:42.055Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T20:34:42.132Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [2024-06-25T20:34:42.138Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] did not exist. Created. [2024-06-25T20:34:42.145Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T20:34:42.638Z] /w/workspace/device-rest-go/1@tmp/durable-f9bd770e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-25T20:34:42.986Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-25T20:34:43.030Z] Warning: overwriting stash ‘stack-cost’ [2024-06-25T20:34:43.071Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T20:34:43.091Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T20:34:43.182Z] $ docker stop --time=1 9e15f570ef629a61a28c13b47e5658fc7773056743f75db9bd27d6850866f531 [2024-06-25T20:34:44.632Z] $ docker rm -f --volumes 9e15f570ef629a61a28c13b47e5658fc7773056743f75db9bd27d6850866f531 [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-06-25T20:34:45.815Z] provisioning config files... [2024-06-25T20:34:45.822Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/config10633683313792898568tmp [Pipeline] { [Pipeline] sh [2024-06-25T20:34:46.167Z] + set +x [2024-06-25T20:34:46.167Z] + bash -s+ -- [2024-06-25T20:34:46.167Z] curl -s https://codecov.io/bash [2024-06-25T20:34:46.167Z] [2024-06-25T20:34:46.167Z] _____ _ [2024-06-25T20:34:46.167Z] / ____| | | [2024-06-25T20:34:46.167Z] | | ___ __| | ___ ___ _____ __ [2024-06-25T20:34:46.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-25T20:34:46.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-25T20:34:46.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-25T20:34:46.167Z] Bash-1.0.6 [2024-06-25T20:34:46.167Z] [2024-06-25T20:34:46.167Z] [2024-06-25T20:34:46.167Z] ==> git version 2.25.1 found [2024-06-25T20:34:46.167Z] ==> 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-06-25T20:34:46.167Z] Release-Date: 2020-01-08 [2024-06-25T20:34:46.167Z] 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-06-25T20:34:46.167Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-25T20:34:46.167Z] ==> Jenkins CI detected. [2024-06-25T20:34:46.167Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-394 [2024-06-25T20:34:46.167Z] project root: . [2024-06-25T20:34:46.167Z] --> token set from env [2024-06-25T20:34:46.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-25T20:34:46.167Z] ==> Running gcov in . (disable via -X gcov) [2024-06-25T20:34:46.167Z] ==> Python coveragepy not found [2024-06-25T20:34:46.167Z] ==> Searching for coverage reports in: [2024-06-25T20:34:46.167Z] + . [2024-06-25T20:34:46.167Z] -> Found 1 reports [2024-06-25T20:34:46.167Z] ==> Detecting git/mercurial file structure [2024-06-25T20:34:46.426Z] ==> Reading reports [2024-06-25T20:34:46.426Z] + ./coverage.out bytes=14499 [2024-06-25T20:34:46.426Z] ==> Appending adjustments [2024-06-25T20:34:46.426Z] https://docs.codecov.io/docs/fixing-reports [2024-06-25T20:34:46.426Z] + Found adjustments [2024-06-25T20:34:46.426Z] ==> Gzipping contents [2024-06-25T20:34:46.426Z] 4.0K /tmp/codecov.K1y9QF.gz [2024-06-25T20:34:46.426Z] ==> Uploading reports [2024-06-25T20:34:46.426Z] url: https://codecov.io [2024-06-25T20:34:46.426Z] query: branch=PR-394&commit=d39e8acd6d0ca5f8303af77612d0bd789b577bfc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2024-06-25T20:34:46.426Z] -> Pinging Codecov [2024-06-25T20:34:46.426Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-394&commit=d39e8acd6d0ca5f8303af77612d0bd789b577bfc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2024-06-25T20:34:46.685Z] -> Uploading to [2024-06-25T20:34:46.685Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-25/4E5D53B4F1F92C436F7061BF334D961C/d39e8acd6d0ca5f8303af77612d0bd789b577bfc/8772c6d3-e58f-42b7-a80d-ec2fad48579a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T203446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3270a59dd2fcdca46b74cfb34688de80caa0cbda7f49291737a78a87641b33b0 [2024-06-25T20:34:46.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T20:34:46.685Z] Dload Upload Total Spent Left Speed [2024-06-25T20:34:46.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 36841 --:--:-- --:--:-- --:--:-- 36265 100 2321 0 0 100 2321 0 11321 --:--:-- --:--:-- --:--:-- 11321 [2024-06-25T20:34:46.685Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d39e8acd6d0ca5f8303af77612d0bd789b577bfc [Pipeline] } [2024-06-25T20:34:46.717Z] 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-06-25T20:34:49.084Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-394/archives ] [2024-06-25T20:34:49.084Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-394/archives [2024-06-25T20:34:49.084Z] total 16 [2024-06-25T20:34:49.084Z] drwxr-xr-x 3 root root 4096 Jun 25 20:23 . [2024-06-25T20:34:49.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 20:23 .. [2024-06-25T20:34:49.084Z] drwxr-xr-x 2 root root 4096 Jun 25 20:23 cost [2024-06-25T20:34:49.084Z] -rw-r--r-- 1 root root 86 Jun 25 20:23 cost.csv [2024-06-25T20:34:49.084Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-394/archives [2024-06-25T20:34:49.084Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-394/archives [2024-06-25T20:34:49.084Z] total 16 [2024-06-25T20:34:49.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 20:23 . [2024-06-25T20:34:49.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 20:23 .. [2024-06-25T20:34:49.084Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 20:23 cost [2024-06-25T20:34:49.084Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 25 20:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:49.424Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:50.321Z] ---> package-listing.sh [2024-06-25T20:34:50.321Z] ++ facter osfamily [2024-06-25T20:34:50.321Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-25T20:34:50.321Z] + OS_FAMILY=debian [2024-06-25T20:34:50.321Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-394 [2024-06-25T20:34:50.321Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-25T20:34:50.321Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-25T20:34:50.321Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-25T20:34:50.321Z] + PACKAGES=/tmp/packages_start.txt [2024-06-25T20:34:50.321Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-394 ']' [2024-06-25T20:34:50.321Z] + PACKAGES=/tmp/packages_end.txt [2024-06-25T20:34:50.321Z] + case "${OS_FAMILY}" in [2024-06-25T20:34:50.321Z] + dpkg -l [2024-06-25T20:34:50.321Z] + grep '^ii' [2024-06-25T20:34:50.579Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-25T20:34:50.579Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-25T20:34:50.579Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-25T20:34:50.579Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-394 ']' [2024-06-25T20:34:50.579Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-394/archives/ [2024-06-25T20:34:50.579Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-394/archives/ [Pipeline] echo [2024-06-25T20:34:50.617Z] 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-394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-25T20:34:50.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T20:34:51.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T20:34:51.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T20:34:51.707Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2024-06-25T20:34:51.739Z] $ 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-394/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-394 -v /w/workspace/gexfoundry_device-rest-go_PR-394:/w/workspace/gexfoundry_device-rest-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-394@tmp:/w/workspace/gexfoundry_device-rest-go_PR-394@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-06-25T20:34:51.928Z] $ docker top c71baafd50f9d39de78844c791a4de94be18a9bdbee25f47892a34dc0e4263aa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T20:34:52.331Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-25T20:34:52.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-25T20:34:53.014Z] + ls /var/log/sa-host [2024-06-25T20:34:53.014Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T20:34:53.268Z] provisioning config files... [2024-06-25T20:34:53.277Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-394@tmp/config5760923397001729225tmp [Pipeline] { [Pipeline] echo [2024-06-25T20:34:53.343Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:53.667Z] ---> create-netrc.sh [Pipeline] } [2024-06-25T20:34:53.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:54.128Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-25T20:34:54.169Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:54.494Z] ---> sudo-logs.sh [2024-06-25T20:34:54.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-25T20:34:54.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:54.924Z] ---> job-cost.sh [2024-06-25T20:34:54.924Z] lf-activate-venv: SKIPPING [2024-06-25T20:34:54.924Z] DEBUG: total: 0.2199999988079071 [2024-06-25T20:34:54.924Z] INFO: Retrieving Stack Cost... [2024-06-25T20:34:55.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T20:34:55.441Z] INFO: Archiving Costs [Pipeline] echo [2024-06-25T20:34:55.486Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T20:34:55.813Z] ---> logs-deploy.sh [2024-06-25T20:34:55.813Z] lf-activate-venv: SKIPPING [2024-06-25T20:34:55.813Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-394/1 [2024-06-25T20:34:55.813Z] INFO: archiving workspace using pattern(s): [2024-06-25T20:34:56.749Z] Archives upload complete. [2024-06-25T20:34:56.749Z] INFO: archiving logs to Nexus