Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 24ac741c0139102980092e7b1758cd0a4a76e86a+0856413c2ad12273c2d5131e25a64bc5110c06e7 (b58aa917fdb484d314fb0570b12c49585aabf719) 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-ssh11431568916860232525.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11525508378117113772.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh 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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10844139993057442140.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11897155431374616764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh9277286277312532166.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2128854030616207370.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27926 in /w/workspace/gexfoundry_device-rest-go_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0856413c2ad12273c2d5131e25a64bc5110c06e7 into PR head commit 24ac741c0139102980092e7b1758cd0a4a76e86a Merge succeeded, producing 24ac741c0139102980092e7b1758cd0a4a76e86a Checking out Revision 24ac741c0139102980092e7b1758cd0a4a76e86a (PR-379) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-25T20:10:26.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-25T20:10:26.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-25T20:10:26.922Z] ========================================================= [2024-01-25T20:10:26.923Z] EdgeX Global Pipelines Version Info [2024-01-25T20:10:26.923Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # 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 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 [2024-01-25T20:10:27.681Z] ------------------- [2024-01-25T20:10:27.681Z] stable info: [2024-01-25T20:10:27.681Z] ------------------- [2024-01-25T20:10:27.681Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-25T20:10:27.681Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T20:10:27.681Z] Message: update stable to v1.0.258 [2024-01-25T20:10:28.253Z] ------------------- [2024-01-25T20:10:28.253Z] experimental info: [2024-01-25T20:10:28.253Z] ------------------- [2024-01-25T20:10:28.253Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-25T20:10:28.253Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T20:10:28.253Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-25T20:10:28.473Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-01-25T20:10:28.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-01-25T20:10:28.592Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-25T20:10:28.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-25T20:10:28.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-25T20:10:28.754Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-01-25T20:10:28.817Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-01-25T20:10:28.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-01-25T20:10:28.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-01-25T20:10:28.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-25T20:10:29.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-25T20:10:29.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-01-25T20:10:29.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-25T20:10:29.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-25T20:10:29.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-25T20:10:29.326Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-01-25T20:10:29.386Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T20:10:29.453Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T20:10:29.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-25T20:10:29.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-25T20:10:30.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-01-25T20:10:30.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-01-25T20:10:30.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-01-25T20:10:30.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-01-25T20:10:30.619Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-01-25T20:10:30.821Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-25T20:10:31.011Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-01-25T20:10:31.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo [2024-01-25T20:10:31.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo [2024-01-25T20:10:31.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo [2024-01-25T20:10:31.378Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo [2024-01-25T20:10:31.593Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24ac741 [Pipeline] echo [2024-01-25T20:10:31.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T20:10:32.134Z] provisioning config files... [2024-01-25T20:10:32.149Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config16405616538139133950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:10:32.708Z] ---> ****-login.sh [2024-01-25T20:10:32.708Z] nexus3.edgexfoundry.org:10001 [2024-01-25T20:10:32.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:32.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:32.968Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:32.968Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:32.968Z] [2024-01-25T20:10:32.968Z] Login Succeeded [2024-01-25T20:10:32.968Z] nexus3.edgexfoundry.org:10002 [2024-01-25T20:10:32.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:33.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:33.230Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:33.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:33.231Z] [2024-01-25T20:10:33.231Z] Login Succeeded [2024-01-25T20:10:33.231Z] nexus3.edgexfoundry.org:10003 [2024-01-25T20:10:33.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:33.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:33.231Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:33.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:33.231Z] [2024-01-25T20:10:33.231Z] Login Succeeded [2024-01-25T20:10:33.231Z] nexus3.edgexfoundry.org:10004 [2024-01-25T20:10:33.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:33.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:33.231Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:33.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:33.231Z] [2024-01-25T20:10:33.231Z] Login Succeeded [2024-01-25T20:10:33.231Z] ****.io [2024-01-25T20:10:33.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:33.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:33.751Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:33.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:33.751Z] [2024-01-25T20:10:33.751Z] Login Succeeded [2024-01-25T20:10:33.751Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T20:10:33.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-25T20:10:34.944Z] + git rev-list -1 --merges 24ac741c0139102980092e7b1758cd0a4a76e86a~1..24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo [2024-01-25T20:10:34.991Z] -----------> git rev-list -1 --merges 24ac741c0139102980092e7b1758cd0a4a76e86a~1..24ac741c0139102980092e7b1758cd0a4a76e86a 24ac741c0139102980092e7b1758cd0a4a76e86a [false] [Pipeline] sh [2024-01-25T20:10:35.467Z] + git log --format=format:%s -1 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo [2024-01-25T20:10:35.500Z] ========================================================= [2024-01-25T20:10:35.500Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T20:10:35.500Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T20:10:36.055Z] + git log --format=format:%s -1 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo [2024-01-25T20:10:36.092Z] [semverPrep] GIT_COMMIT: 24ac741c0139102980092e7b1758cd0a4a76e86a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-01-25T20:10:36.153Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-01-25T20:10:36.590Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T20:10:36.590Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-25T20:10:36.590Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-25T20:10:36.590Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-25T20:10:36.590Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-01-25T20:10:36.590Z] -a /etc/ssh/ssh_known_hosts [2024-01-25T20:10:36.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:10:37.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T20:10:37.109Z] [2024-01-25T20:10:37.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:10:37.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T20:10:38.084Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-25T20:10:38.084Z] b85a868b505f: Pulling fs layer [2024-01-25T20:10:38.084Z] e2be974225ed: Pulling fs layer [2024-01-25T20:10:38.084Z] 339a4e72a1f5: Pulling fs layer [2024-01-25T20:10:38.084Z] 988bab9f4d93: Pulling fs layer [2024-01-25T20:10:38.084Z] 1469e6f7b9e6: Pulling fs layer [2024-01-25T20:10:38.084Z] eaf3925da568: Pulling fs layer [2024-01-25T20:10:38.084Z] bab4dde63d76: Pulling fs layer [2024-01-25T20:10:38.084Z] bde34c3a00c8: Pulling fs layer [2024-01-25T20:10:38.084Z] b352a97aabf1: Pulling fs layer [2024-01-25T20:10:38.084Z] 4872d77fe225: Pulling fs layer [2024-01-25T20:10:38.084Z] 5851b861e8e6: Pulling fs layer [2024-01-25T20:10:38.084Z] 988bab9f4d93: Waiting [2024-01-25T20:10:38.084Z] 1469e6f7b9e6: Waiting [2024-01-25T20:10:38.084Z] eaf3925da568: Waiting [2024-01-25T20:10:38.084Z] bab4dde63d76: Waiting [2024-01-25T20:10:38.084Z] 5851b861e8e6: Waiting [2024-01-25T20:10:38.084Z] bde34c3a00c8: Waiting [2024-01-25T20:10:38.084Z] 4872d77fe225: Waiting [2024-01-25T20:10:38.084Z] b352a97aabf1: Waiting [2024-01-25T20:10:38.343Z] e2be974225ed: Download complete [2024-01-25T20:10:38.343Z] 988bab9f4d93: Verifying Checksum [2024-01-25T20:10:38.343Z] 988bab9f4d93: Download complete [2024-01-25T20:10:38.343Z] 1469e6f7b9e6: Verifying Checksum [2024-01-25T20:10:38.343Z] 1469e6f7b9e6: Download complete [2024-01-25T20:10:38.343Z] 339a4e72a1f5: Verifying Checksum [2024-01-25T20:10:38.343Z] 339a4e72a1f5: Download complete [2024-01-25T20:10:38.343Z] eaf3925da568: Download complete [2024-01-25T20:10:38.343Z] bde34c3a00c8: Verifying Checksum [2024-01-25T20:10:38.343Z] bde34c3a00c8: Download complete [2024-01-25T20:10:38.343Z] b352a97aabf1: Verifying Checksum [2024-01-25T20:10:38.343Z] b352a97aabf1: Download complete [2024-01-25T20:10:38.343Z] 4872d77fe225: Download complete [2024-01-25T20:10:38.343Z] 5851b861e8e6: Verifying Checksum [2024-01-25T20:10:38.343Z] 5851b861e8e6: Download complete [2024-01-25T20:10:38.343Z] b85a868b505f: Verifying Checksum [2024-01-25T20:10:38.343Z] b85a868b505f: Download complete [2024-01-25T20:10:38.911Z] bab4dde63d76: Verifying Checksum [2024-01-25T20:10:38.911Z] bab4dde63d76: Download complete [2024-01-25T20:10:39.848Z] b85a868b505f: Pull complete [2024-01-25T20:10:39.848Z] e2be974225ed: Pull complete [2024-01-25T20:10:40.417Z] 339a4e72a1f5: Pull complete [2024-01-25T20:10:40.417Z] 988bab9f4d93: Pull complete [2024-01-25T20:10:40.678Z] 1469e6f7b9e6: Pull complete [2024-01-25T20:10:40.678Z] eaf3925da568: Pull complete [2024-01-25T20:10:42.762Z] bab4dde63d76: Pull complete [2024-01-25T20:10:42.762Z] bde34c3a00c8: Pull complete [2024-01-25T20:10:42.762Z] b352a97aabf1: Pull complete [2024-01-25T20:10:43.021Z] 4872d77fe225: Pull complete [2024-01-25T20:10:43.022Z] 5851b861e8e6: Pull complete [2024-01-25T20:10:43.022Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-25T20:10:43.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T20:10:43.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:10:43.399Z] prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container [2024-01-25T20:10:43.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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-01-25T20:10:47.275Z] $ docker top 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 -eo pid,comm [2024-01-25T20:10:47.114Z] 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-01-25T20:10:47.114Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T20:10:47.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T20:10:47.429Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T20:10:47.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T20:10:47.813Z] $ docker exec 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent [2024-01-25T20:10:47.647Z] SSH_AUTH_SOCK=/tmp/ssh-oudE6y6Y5ddP/agent.31 [2024-01-25T20:10:47.647Z] SSH_AGENT_PID=37 [2024-01-25T20:10:47.654Z] Running ssh-add (command line suppressed) [2024-01-25T20:10:48.015Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_8206224004290424899.key (/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_8206224004290424899.key) [2024-01-25T20:10:47.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T20:10:48.224Z] + git tag --points-at HEAD [Pipeline] } [2024-01-25T20:10:48.526Z] $ docker exec --env ******** --env ******** 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent -k [2024-01-25T20:10:48.629Z] unset SSH_AUTH_SOCK; [2024-01-25T20:10:48.630Z] unset SSH_AGENT_PID; [2024-01-25T20:10:48.630Z] echo Agent pid 37 killed; [2024-01-25T20:10:48.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-25T20:10:48.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T20:10:48.512Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T20:10:48.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T20:10:48.894Z] $ docker exec 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent [2024-01-25T20:10:48.736Z] SSH_AUTH_SOCK=/tmp/ssh-3UQUToyJjuXc/agent.69 [2024-01-25T20:10:48.736Z] SSH_AGENT_PID=75 [2024-01-25T20:10:48.741Z] Running ssh-add (command line suppressed) [2024-01-25T20:10:49.110Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_13345239880468472628.key (/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_13345239880468472628.key) [2024-01-25T20:10:48.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T20:10:49.220Z] + git semver init [2024-01-25T20:10:49.481Z] 2024-01-25 20:10:49,658 [run_init] DEBUG init version:0.0.0 force:False [2024-01-25T20:10:49.481Z] 2024-01-25 20:10:49,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver [2024-01-25T20:10:49.481Z] 2024-01-25 20:10:49,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-379/.semver [2024-01-25T20:10:49.481Z] 2024-01-25 20:10:49,660 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-379/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379, universal_newlines=False, shell=None, istream=None) [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,047 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-379/.git/info/exclude [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 with force:False [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,048 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,051 [execute] INFO git cat-file --batch-check [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,058 [execute] INFO git cat-file --batch [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T20:10:50.864Z] 2024-01-25 20:10:51,065 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 [2024-01-25T20:10:50.864Z] 0.0.0 [Pipeline] } [2024-01-25T20:10:51.167Z] $ docker exec --env ******** --env ******** 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent -k [2024-01-25T20:10:51.266Z] unset SSH_AUTH_SOCK; [2024-01-25T20:10:51.267Z] unset SSH_AGENT_PID; [2024-01-25T20:10:51.267Z] echo Agent pid 75 killed; [2024-01-25T20:10:51.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T20:10:51.552Z] + git semver [Pipeline] } [2024-01-25T20:10:52.113Z] $ docker stop --time=1 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 [2024-01-25T20:10:53.474Z] $ docker rm -f --volumes 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T20:10:53.648Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-25T20:10:53.980Z] Stashed 1 file(s) [Pipeline] echo [2024-01-25T20:10:53.999Z] [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-01-25T20:10:54.982Z] provisioning config files... [2024-01-25T20:10:54.991Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config16458806538461778198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:10:55.393Z] ---> ****-login.sh [2024-01-25T20:10:55.393Z] nexus3.edgexfoundry.org:10001 [2024-01-25T20:10:55.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:55.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:55.393Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:55.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:55.393Z] [2024-01-25T20:10:55.393Z] Login Succeeded [2024-01-25T20:10:55.393Z] nexus3.edgexfoundry.org:10002 [2024-01-25T20:10:55.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:55.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:55.393Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:55.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:55.393Z] [2024-01-25T20:10:55.393Z] Login Succeeded [2024-01-25T20:10:55.393Z] nexus3.edgexfoundry.org:10003 [2024-01-25T20:10:55.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:55.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:55.654Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:55.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:55.654Z] [2024-01-25T20:10:55.654Z] Login Succeeded [2024-01-25T20:10:55.654Z] nexus3.edgexfoundry.org:10004 [2024-01-25T20:10:55.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:55.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:55.655Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:55.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:55.655Z] [2024-01-25T20:10:55.655Z] Login Succeeded [2024-01-25T20:10:55.655Z] ****.io [2024-01-25T20:10:55.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:10:55.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:10:55.916Z] Configure a credential helper to remove this warning. See [2024-01-25T20:10:55.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:10:55.916Z] [2024-01-25T20:10:55.916Z] Login Succeeded [2024-01-25T20:10:55.916Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T20:10:55.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T20:10:56.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T20:10:56.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T20:10:56.387Z] ========================================================= [2024-01-25T20:10:56.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-01-25T20:10:56.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:10:56.972Z] + 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-01-25T20:10:56.973Z] Sending build context to Docker daemon 16.32MB [2024-01-25T20:10:56.973Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-01-25T20:10:56.973Z] Step 2/12 : FROM ${BASE} AS builder [2024-01-25T20:10:56.973Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-01-25T20:10:56.973Z] 7264a8db6415: Pulling fs layer [2024-01-25T20:10:56.973Z] c4d48a809fc2: Pulling fs layer [2024-01-25T20:10:56.973Z] 4f1c88b9dad5: Pulling fs layer [2024-01-25T20:10:56.973Z] ad3a456e5733: Pulling fs layer [2024-01-25T20:10:56.973Z] 69c7f0334f64: Pulling fs layer [2024-01-25T20:10:56.973Z] 1f1c1a5573a3: Pulling fs layer [2024-01-25T20:10:56.973Z] ce7588e14bc9: Pulling fs layer [2024-01-25T20:10:56.973Z] b5e4710f87ac: Pulling fs layer [2024-01-25T20:10:56.973Z] ad3a456e5733: Waiting [2024-01-25T20:10:56.973Z] 69c7f0334f64: Waiting [2024-01-25T20:10:56.973Z] 1f1c1a5573a3: Waiting [2024-01-25T20:10:56.973Z] ce7588e14bc9: Waiting [2024-01-25T20:10:56.973Z] b5e4710f87ac: Waiting [2024-01-25T20:10:57.253Z] c4d48a809fc2: Download complete [2024-01-25T20:10:57.253Z] ad3a456e5733: Verifying Checksum [2024-01-25T20:10:57.253Z] ad3a456e5733: Download complete [2024-01-25T20:10:57.253Z] 69c7f0334f64: Verifying Checksum [2024-01-25T20:10:57.253Z] 69c7f0334f64: Download complete [2024-01-25T20:10:57.253Z] 7264a8db6415: Verifying Checksum [2024-01-25T20:10:57.253Z] 7264a8db6415: Download complete [2024-01-25T20:10:57.253Z] 1f1c1a5573a3: Verifying Checksum [2024-01-25T20:10:57.253Z] 1f1c1a5573a3: Download complete [2024-01-25T20:10:57.512Z] 7264a8db6415: Pull complete [2024-01-25T20:10:57.512Z] b5e4710f87ac: Verifying Checksum [2024-01-25T20:10:57.512Z] b5e4710f87ac: Download complete [2024-01-25T20:10:57.512Z] c4d48a809fc2: Pull complete [2024-01-25T20:10:57.512Z] 4f1c88b9dad5: Verifying Checksum [2024-01-25T20:10:57.512Z] 4f1c88b9dad5: Download complete [2024-01-25T20:10:58.080Z] ce7588e14bc9: Download complete [2024-01-25T20:11:01.592Z] 4f1c88b9dad5: Pull complete [2024-01-25T20:11:01.592Z] ad3a456e5733: Pull complete [2024-01-25T20:11:01.592Z] 69c7f0334f64: Pull complete [2024-01-25T20:11:01.592Z] 1f1c1a5573a3: Pull complete [2024-01-25T20:11:04.166Z] ce7588e14bc9: Pull complete [2024-01-25T20:11:05.100Z] b5e4710f87ac: Pull complete [2024-01-25T20:11:05.100Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-01-25T20:11:05.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-01-25T20:11:05.360Z] ---> 88b5674ff536 [2024-01-25T20:11:05.360Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-01-25T20:11:09.722Z] Still waiting to schedule task [2024-01-25T20:11:09.722Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-25T20:11:11.953Z] ---> Running in df55e8c5a393 [2024-01-25T20:11:11.954Z] Removing intermediate container df55e8c5a393 [2024-01-25T20:11:11.954Z] ---> 33645e989caa [2024-01-25T20:11:11.954Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-01-25T20:11:12.523Z] ---> Running in e0fb243d0d11 [2024-01-25T20:11:12.782Z] Removing intermediate container e0fb243d0d11 [2024-01-25T20:11:12.782Z] ---> eb63c5c90945 [2024-01-25T20:11:12.782Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-01-25T20:11:12.782Z] ---> Running in 7428712f583d [2024-01-25T20:11:13.045Z] Removing intermediate container 7428712f583d [2024-01-25T20:11:13.045Z] ---> b86b41d46e8f [2024-01-25T20:11:13.045Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-01-25T20:11:13.045Z] ---> Running in 94086c70f030 [2024-01-25T20:11:13.614Z] Removing intermediate container 94086c70f030 [2024-01-25T20:11:13.614Z] ---> 5a784d21c793 [2024-01-25T20:11:13.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-01-25T20:11:13.614Z] ---> Running in b39223639f80 [2024-01-25T20:11:14.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T20:11:14.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T20:11:14.703Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-01-25T20:11:14.703Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-01-25T20:11:14.703Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-01-25T20:11:14.703Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-01-25T20:11:14.962Z] Executing busybox-1.36.1-r5.trigger [2024-01-25T20:11:14.962Z] OK: 268 MiB in 56 packages [2024-01-25T20:11:16.339Z] Removing intermediate container b39223639f80 [2024-01-25T20:11:16.339Z] ---> bbac964e6ebe [2024-01-25T20:11:16.339Z] Step 8/12 : WORKDIR /device-rest-go [2024-01-25T20:11:16.339Z] ---> Running in 022162df68de [2024-01-25T20:11:17.291Z] Removing intermediate container 022162df68de [2024-01-25T20:11:17.291Z] ---> 2b24d8d488a6 [2024-01-25T20:11:17.291Z] Step 9/12 : COPY go.mod vendor* ./ [2024-01-25T20:11:17.859Z] ---> af03324e24fe [2024-01-25T20:11:17.859Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T20:11:18.428Z] ---> Running in 3884f8106c44 [2024-01-25T20:11:57.322Z] Removing intermediate container 3884f8106c44 [2024-01-25T20:11:57.322Z] ---> 84c0b12b9262 [2024-01-25T20:11:57.322Z] Step 11/12 : COPY . . [2024-01-25T20:11:57.322Z] ---> c422567748b6 [2024-01-25T20:11:57.322Z] Step 12/12 : RUN $MAKE [2024-01-25T20:11:57.322Z] ---> Running in 3dce7cf86271 [2024-01-25T20:11:57.322Z] noop [2024-01-25T20:11:57.322Z] Removing intermediate container 3dce7cf86271 [2024-01-25T20:11:57.322Z] ---> d4d53bbbc13d [2024-01-25T20:11:57.322Z] Successfully built d4d53bbbc13d [2024-01-25T20:11:57.322Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:11:57.936Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T20:11:57.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:11:58.168Z] prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container [2024-01-25T20:11:58.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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-01-25T20:11:58.769Z] $ docker top 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T20:11:59.230Z] + go version [2024-01-25T20:11:59.230Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-01-25T20:11:59.249Z] $ docker stop --time=1 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 [2024-01-25T20:12:00.995Z] $ docker rm -f --volumes 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:12:01.980Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T20:12:01.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:12:02.289Z] prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container [2024-01-25T20:12:02.308Z] $ 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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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-01-25T20:12:03.314Z] $ docker top f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T20:12:03.794Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-379 [Pipeline] fileExists [Pipeline] sh [2024-01-25T20:12:04.179Z] + make test [2024-01-25T20:12:04.179Z] go test ./... -coverprofile=coverage.out ./... [2024-01-25T20:12:08.422Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-01-25T20:12:20.650Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-01-25T20:12:20.650Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2024-01-25T20:12:27.233Z] go vet ./... [2024-01-25T20:12:31.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-01-25T20:12:31.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-01-25T20:12:31.418Z] ./bin/test-attribution-txt.sh [2024-01-25T20:12:31.418Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-01-25T20:12:31.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-01-25T20:12:31.499Z] $ docker stop --time=1 f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc [2024-01-25T20:12:34.859Z] $ docker rm -f --volumes f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T20:12:35.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-01-25T20:12:35.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-01-25T20:12:36.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T20:12:36.793Z] + ls -al . [2024-01-25T20:12:36.793Z] total 180 [2024-01-25T20:12:36.793Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 20:12 . [2024-01-25T20:12:36.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 20:10 .. [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 25 20:10 .dockerignore [2024-01-25T20:12:36.793Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:12 .git [2024-01-25T20:12:36.793Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 .github [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 264 Jan 25 20:10 .gitignore [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 20:10 .golangci.yml [2024-01-25T20:12:36.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 20:10 .semver [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jan 25 20:10 Attribution.txt [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jan 25 20:10 CHANGELOG.md [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jan 25 20:10 Dockerfile [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 20:10 GOVERNANCE.md [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 25 20:10 Jenkinsfile [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 20:10 LICENSE [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jan 25 20:10 Makefile [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 25 20:10 OWNERS.md [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jan 25 20:10 README.md [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 20:10 VERSION [2024-01-25T20:12:36.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:10 bin [2024-01-25T20:12:36.793Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 cmd [2024-01-25T20:12:36.793Z] -rw-r--r-- 1 jenkins jenkins 14499 Jan 25 20:12 coverage.out [2024-01-25T20:12:36.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:10 driver [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 3934 Jan 25 20:10 go.mod [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 34689 Jan 25 20:10 go.sum [2024-01-25T20:12:36.793Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 openapi [2024-01-25T20:12:36.793Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 25 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:12:37.265Z] + 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=24ac741c0139102980092e7b1758cd0a4a76e86a --label arch=amd64 --label version=0.0.0 . [2024-01-25T20:12:37.265Z] Sending build context to Docker daemon 16.33MB [2024-01-25T20:12:37.265Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-01-25T20:12:37.265Z] Step 2/26 : FROM ${BASE} AS builder [2024-01-25T20:12:37.265Z] ---> d4d53bbbc13d [2024-01-25T20:12:37.265Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-01-25T20:12:37.525Z] ---> Running in 1c811fbe4009 [2024-01-25T20:12:37.525Z] Removing intermediate container 1c811fbe4009 [2024-01-25T20:12:37.525Z] ---> 95b1d3937f19 [2024-01-25T20:12:37.525Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-01-25T20:12:37.525Z] ---> Running in c66815a4c933 [2024-01-25T20:12:37.785Z] Removing intermediate container c66815a4c933 [2024-01-25T20:12:37.785Z] ---> f8502d3b85ee [2024-01-25T20:12:37.785Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-01-25T20:12:37.785Z] ---> Running in d35949b89ead [2024-01-25T20:12:37.785Z] Removing intermediate container d35949b89ead [2024-01-25T20:12:37.785Z] ---> abc46bc4911c [2024-01-25T20:12:37.785Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-01-25T20:12:37.785Z] ---> Running in 505daad64011 [2024-01-25T20:12:37.785Z] Removing intermediate container 505daad64011 [2024-01-25T20:12:37.785Z] ---> 6e1c6bf00f6d [2024-01-25T20:12:37.785Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-01-25T20:12:37.785Z] ---> Running in edab294e78cc [2024-01-25T20:12:38.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T20:12:38.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T20:12:38.567Z] OK: 268 MiB in 56 packages [2024-01-25T20:12:38.826Z] Removing intermediate container edab294e78cc [2024-01-25T20:12:38.826Z] ---> ec5497dfab29 [2024-01-25T20:12:38.826Z] Step 8/26 : WORKDIR /device-rest-go [2024-01-25T20:12:38.826Z] ---> Running in 639fb9d4ebc0 [2024-01-25T20:12:38.826Z] Removing intermediate container 639fb9d4ebc0 [2024-01-25T20:12:38.826Z] ---> 358a031f2c38 [2024-01-25T20:12:38.826Z] Step 9/26 : COPY go.mod vendor* ./ [2024-01-25T20:12:39.086Z] ---> 47b75c2f127b [2024-01-25T20:12:39.086Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T20:12:39.086Z] ---> Running in 1f7bbbe399ce [2024-01-25T20:12:39.655Z] Removing intermediate container 1f7bbbe399ce [2024-01-25T20:12:39.655Z] ---> 14091b3c5ec0 [2024-01-25T20:12:39.655Z] Step 11/26 : COPY . . [2024-01-25T20:12:40.224Z] ---> e2802427f126 [2024-01-25T20:12:40.224Z] Step 12/26 : RUN $MAKE [2024-01-25T20:12:40.224Z] ---> Running in 4496b75552a7 [2024-01-25T20:12:40.486Z] 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.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-01-25T20:12:56.621Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27927 in /w/workspace/gexfoundry_device-rest-go_PR-379 [Pipeline] { [Pipeline] ws [2024-01-25T20:12:56.712Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-01-25T20:12:56.822Z] The recommended git tool is: git [2024-01-25T20:13:02.510Z] Removing intermediate container 4496b75552a7 [2024-01-25T20:13:02.511Z] ---> a0284acfe7fc [2024-01-25T20:13:02.511Z] Step 13/26 : FROM alpine:3.18 [2024-01-25T20:13:02.511Z] 3.18: Pulling from library/alpine [2024-01-25T20:13:02.511Z] c926b61bad3b: Pulling fs layer [2024-01-25T20:13:02.511Z] c926b61bad3b: Verifying Checksum [2024-01-25T20:13:02.511Z] c926b61bad3b: Download complete [2024-01-25T20:13:02.511Z] c926b61bad3b: Pull complete [2024-01-25T20:13:02.511Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T20:13:02.511Z] Status: Downloaded newer image for alpine:3.18 [2024-01-25T20:13:02.511Z] ---> b541f2080109 [2024-01-25T20:13:02.511Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-01-25T20:13:02.511Z] ---> Running in febf7457cbc0 [2024-01-25T20:13:02.511Z] Removing intermediate container febf7457cbc0 [2024-01-25T20:13:02.511Z] ---> 543ba7c081eb [2024-01-25T20:13:02.511Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-01-25T20:13:02.511Z] ---> Running in c33961d10d9b [2024-01-25T20:13:02.511Z] Removing intermediate container c33961d10d9b [2024-01-25T20:13:02.511Z] ---> 4491fd04dd88 [2024-01-25T20:13:02.511Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-01-25T20:13:02.511Z] ---> Running in 3f954f742c80 [2024-01-25T20:13:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T20:13:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T20:13:02.511Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-01-25T20:13:02.511Z] Executing busybox-1.36.1-r5.trigger [2024-01-25T20:13:02.511Z] OK: 7 MiB in 16 packages [2024-01-25T20:13:02.511Z] Removing intermediate container 3f954f742c80 [2024-01-25T20:13:02.511Z] ---> adde9d83f13d [2024-01-25T20:13:02.511Z] Step 17/26 : RUN apk --no-cache upgrade [2024-01-25T20:13:02.511Z] ---> Running in ac77ecf324d1 [2024-01-25T20:13:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T20:13:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T20:13:02.511Z] (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T20:13:02.511Z] (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T20:13:02.511Z] OK: 7 MiB in 16 packages [2024-01-25T20:13:02.771Z] Removing intermediate container ac77ecf324d1 [2024-01-25T20:13:02.771Z] ---> 55d6e3a9eafb [2024-01-25T20:13:02.771Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-01-25T20:13:03.339Z] ---> 56523ef96e7c [2024-01-25T20:13:03.339Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-01-25T20:13:03.579Z] using credential edgex-jenkins-ssh [2024-01-25T20:13:03.599Z] ---> b8d8a0156a78 [2024-01-25T20:13:03.599Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-01-25T20:13:03.599Z] ---> 845115e16017 [2024-01-25T20:13:03.599Z] Step 21/26 : EXPOSE 59986 [2024-01-25T20:13:03.599Z] ---> Running in fe595f07234d [2024-01-25T20:13:03.600Z] Cloning the remote Git repository [2024-01-25T20:13:03.858Z] Removing intermediate container fe595f07234d [2024-01-25T20:13:03.859Z] ---> 2fb368f1ca3d [2024-01-25T20:13:03.859Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-01-25T20:13:03.859Z] ---> Running in b42f6578bcc4 [2024-01-25T20:13:03.859Z] Removing intermediate container b42f6578bcc4 [2024-01-25T20:13:03.859Z] ---> 89f9ffe80684 [2024-01-25T20:13:03.859Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-01-25T20:13:03.859Z] ---> Running in 5a34f0e2921e [2024-01-25T20:13:03.859Z] Removing intermediate container 5a34f0e2921e [2024-01-25T20:13:03.859Z] ---> 0b526dd257fc [2024-01-25T20:13:03.859Z] Step 24/26 : LABEL arch=amd64 [2024-01-25T20:13:03.859Z] ---> Running in 7b87f3aea0df [2024-01-25T20:13:04.119Z] Removing intermediate container 7b87f3aea0df [2024-01-25T20:13:04.119Z] ---> cc2ca8a2fe6c [2024-01-25T20:13:04.119Z] Step 25/26 : LABEL git_sha=24ac741c0139102980092e7b1758cd0a4a76e86a [2024-01-25T20:13:04.119Z] ---> Running in 9953672d6c2d [2024-01-25T20:13:04.119Z] Removing intermediate container 9953672d6c2d [2024-01-25T20:13:04.119Z] ---> 49023bf92ac6 [2024-01-25T20:13:04.119Z] Step 26/26 : LABEL version=0.0.0 [2024-01-25T20:13:04.119Z] ---> Running in b8472ff2d9cc [2024-01-25T20:13:04.119Z] Removing intermediate container b8472ff2d9cc [2024-01-25T20:13:04.119Z] ---> bab9e1334ea9 [2024-01-25T20:13:04.119Z] [Warning] One or more build-args [ARCH] were not consumed [2024-01-25T20:13:04.119Z] Successfully built bab9e1334ea9 [2024-01-25T20:13:04.119Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2024-01-25T20:13:03.640Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-01-25T20:13:03.728Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-01-25T20:13:03.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-01-25T20:13:03.865Z] > git --version # timeout=10 [2024-01-25T20:13:03.888Z] > git --version # 'git version 2.25.1' [2024-01-25T20:13:03.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T20:13:04.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:13:05.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T20:13:05.404Z] [2024-01-25T20:13:05.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:13:05.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T20:13:05.817Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-25T20:13:05.817Z] 5eb5b503b376: Pulling fs layer [2024-01-25T20:13:05.817Z] 5c69ac0246d0: Pulling fs layer [2024-01-25T20:13:05.817Z] ec43610c2a17: Pulling fs layer [2024-01-25T20:13:05.817Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-25T20:13:05.817Z] 33b1e0a273af: Pulling fs layer [2024-01-25T20:13:05.817Z] 5d3b04190fa2: Pulling fs layer [2024-01-25T20:13:05.817Z] 2f39f015ded8: Pulling fs layer [2024-01-25T20:13:05.817Z] 3a2ae6a8a46f: Waiting [2024-01-25T20:13:05.817Z] 5d3b04190fa2: Waiting [2024-01-25T20:13:05.817Z] 33b1e0a273af: Waiting [2024-01-25T20:13:05.817Z] 2f39f015ded8: Waiting [2024-01-25T20:13:05.817Z] 5c69ac0246d0: Verifying Checksum [2024-01-25T20:13:05.817Z] 5c69ac0246d0: Download complete [2024-01-25T20:13:05.817Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-25T20:13:05.817Z] 3a2ae6a8a46f: Download complete [2024-01-25T20:13:05.817Z] 33b1e0a273af: Verifying Checksum [2024-01-25T20:13:05.817Z] 33b1e0a273af: Download complete [2024-01-25T20:13:05.817Z] ec43610c2a17: Verifying Checksum [2024-01-25T20:13:05.817Z] ec43610c2a17: Download complete [2024-01-25T20:13:05.817Z] 5d3b04190fa2: Verifying Checksum [2024-01-25T20:13:06.082Z] 5eb5b503b376: Verifying Checksum [2024-01-25T20:13:06.082Z] 5eb5b503b376: Download complete [2024-01-25T20:13:06.648Z] 2f39f015ded8: Download complete [2024-01-25T20:13:07.216Z] 5eb5b503b376: Pull complete [2024-01-25T20:13:06.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-01-25T20:13:06.590Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T20:13:07.482Z] 5c69ac0246d0: Pull complete [2024-01-25T20:13:07.903Z] Merging remotes/origin/main commit 0856413c2ad12273c2d5131e25a64bc5110c06e7 into PR head commit 24ac741c0139102980092e7b1758cd0a4a76e86a [2024-01-25T20:13:08.061Z] ec43610c2a17: Pull complete [2024-01-25T20:13:08.062Z] 3a2ae6a8a46f: Pull complete [2024-01-25T20:13:08.144Z] Merge succeeded, producing 24ac741c0139102980092e7b1758cd0a4a76e86a [2024-01-25T20:13:08.145Z] Checking out Revision 24ac741c0139102980092e7b1758cd0a4a76e86a (PR-379) [2024-01-25T20:13:08.320Z] 33b1e0a273af: Pull complete [2024-01-25T20:13:08.320Z] 5d3b04190fa2: Pull complete [2024-01-25T20:13:08.668Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-01-25T20:13:07.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-01-25T20:13:07.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-01-25T20:13:07.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T20:13:07.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-25T20:13:07.922Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T20:13:07.987Z] > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 [2024-01-25T20:13:08.064Z] > git remote # timeout=10 [2024-01-25T20:13:08.082Z] > git config --get remote.origin.url # timeout=10 [2024-01-25T20:13:08.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T20:13:08.107Z] > git merge 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 [2024-01-25T20:13:08.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-25T20:13:08.151Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T20:13:08.162Z] > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 [2024-01-25T20:13:08.719Z] > git --version # timeout=10 [2024-01-25T20:13:08.728Z] > git --version # 'git version 2.25.1' [2024-01-25T20:13:08.743Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T20:13:09.159Z] [2024-01-25T20:13:09.159Z] GitHub has been notified of this commit’s build result [2024-01-25T20:13:09.159Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T20:13:10.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-25T20:13:10.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T20:13:10.099Z] Dload Upload Total Spent Left Speed [2024-01-25T20:13:10.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89309 0 --:--:-- --:--:-- --:--:-- 89309 [Pipeline] sh [2024-01-25T20:13:10.458Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-25T20:13:10.794Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-25T20:13:10.794Z] + sudo tee /etc/docker/daemon.new [2024-01-25T20:13:10.794Z] { [2024-01-25T20:13:10.794Z] "registry-mirrors": [ [2024-01-25T20:13:10.794Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-25T20:13:10.794Z] ], [2024-01-25T20:13:10.794Z] "bip": "10.250.0.254/24", [2024-01-25T20:13:10.794Z] "hosts": [ [2024-01-25T20:13:10.794Z] "tcp://0.0.0.0:5555", [2024-01-25T20:13:10.794Z] "unix:///var/run/docker.sock" [2024-01-25T20:13:10.794Z] ], [2024-01-25T20:13:10.794Z] "mtu": 1458, [2024-01-25T20:13:10.794Z] "selinux-enabled": true, [2024-01-25T20:13:10.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-25T20:13:10.794Z] } [Pipeline] sh [2024-01-25T20:13:11.140Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-25T20:13:11.489Z] + sudo service docker restart [2024-01-25T20:13:12.635Z] 2f39f015ded8: Pull complete [2024-01-25T20:13:12.635Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-25T20:13:12.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T20:13:12.635Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:13:13.019Z] prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container [2024-01-25T20:13:13.051Z] $ 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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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-01-25T20:13:18.116Z] $ docker top 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:13:18.646Z] ---> job-cost.sh [2024-01-25T20:13:18.646Z] lf-activate-venv: SKIPPING [2024-01-25T20:13:18.646Z] INFO: No Stack... [2024-01-25T20:13:18.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T20:13:19.474Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T20:13:19.789Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-379/archives/cost.csv [2024-01-25T20:13:19.789Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T20:13:19.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [2024-01-25T20:13:19.837Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] did not exist. Created. [2024-01-25T20:13:19.837Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T20:13:20.311Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T20:13:20.355Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T20:13:20.411Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T20:13:20.532Z] $ docker stop --time=1 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 [2024-01-25T20:13:21.681Z] $ docker rm -f --volumes 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T20:13:29.807Z] provisioning config files... [2024-01-25T20:13:29.831Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11415672472738023740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:13:30.320Z] ---> ****-login.sh [2024-01-25T20:13:30.320Z] nexus3.edgexfoundry.org:10001 [2024-01-25T20:13:30.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:13:30.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:13:30.858Z] Configure a credential helper to remove this warning. See [2024-01-25T20:13:30.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:13:30.858Z] [2024-01-25T20:13:30.858Z] Login Succeeded [2024-01-25T20:13:30.858Z] nexus3.edgexfoundry.org:10002 [2024-01-25T20:13:30.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:13:31.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:13:31.125Z] Configure a credential helper to remove this warning. See [2024-01-25T20:13:31.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:13:31.125Z] [2024-01-25T20:13:31.125Z] Login Succeeded [2024-01-25T20:13:31.125Z] nexus3.edgexfoundry.org:10003 [2024-01-25T20:13:31.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:13:31.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:13:31.393Z] Configure a credential helper to remove this warning. See [2024-01-25T20:13:31.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:13:31.393Z] [2024-01-25T20:13:31.393Z] Login Succeeded [2024-01-25T20:13:31.393Z] nexus3.edgexfoundry.org:10004 [2024-01-25T20:13:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:13:31.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:13:31.661Z] Configure a credential helper to remove this warning. See [2024-01-25T20:13:31.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:13:31.661Z] [2024-01-25T20:13:31.661Z] Login Succeeded [2024-01-25T20:13:31.661Z] ****.io [2024-01-25T20:13:31.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T20:13:31.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T20:13:31.932Z] Configure a credential helper to remove this warning. See [2024-01-25T20:13:31.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T20:13:31.932Z] [2024-01-25T20:13:31.932Z] Login Succeeded [2024-01-25T20:13:31.932Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T20:13:31.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T20:13:32.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T20:13:32.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T20:13:32.615Z] ========================================================= [2024-01-25T20:13:32.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-01-25T20:13:32.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:13:33.279Z] + 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-01-25T20:13:34.687Z] #0 building with "default" instance using docker driver [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #1 [internal] load build definition from Dockerfile [2024-01-25T20:13:34.687Z] #1 transferring dockerfile: [2024-01-25T20:13:34.687Z] #1 transferring dockerfile: 1.73kB 0.0s done [2024-01-25T20:13:34.687Z] #1 DONE 0.1s [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #2 [internal] load .dockerignore [2024-01-25T20:13:34.687Z] #2 transferring context: 193B 0.0s done [2024-01-25T20:13:34.687Z] #2 DONE 0.1s [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-01-25T20:13:34.687Z] #3 DONE 0.1s [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-01-25T20:13:34.687Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2024-01-25T20:13:34.687Z] #4 ... [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #5 [internal] load build context [2024-01-25T20:13:34.687Z] #5 transferring context: 95.85kB 0.0s done [2024-01-25T20:13:34.687Z] #5 DONE 0.1s [2024-01-25T20:13:34.687Z] [2024-01-25T20:13:34.687Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-01-25T20:13:34.688Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2024-01-25T20:13:34.688Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2024-01-25T20:13:34.688Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2024-01-25T20:13:34.688Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s [2024-01-25T20:13:34.688Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2024-01-25T20:13:34.688Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2024-01-25T20:13:34.955Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2024-01-25T20:13:34.955Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s [2024-01-25T20:13:34.955Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2024-01-25T20:13:34.955Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.1s [2024-01-25T20:13:34.955Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2024-01-25T20:13:34.955Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.15MB / 97.63MB 0.3s [2024-01-25T20:13:34.955Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s [2024-01-25T20:13:34.955Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s [2024-01-25T20:13:34.955Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s [2024-01-25T20:13:35.224Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.40MB / 63.99MB 0.5s [2024-01-25T20:13:35.224Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.50MB / 97.63MB 0.5s [2024-01-25T20:13:35.224Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.04MB / 11.40MB 0.5s [2024-01-25T20:13:35.224Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.30MB / 63.99MB 0.6s [2024-01-25T20:13:35.224Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2024-01-25T20:13:35.224Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done [2024-01-25T20:13:35.494Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.7s [2024-01-25T20:13:35.494Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 21.88MB / 97.63MB 0.7s [2024-01-25T20:13:35.494Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2024-01-25T20:13:35.494Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.67MB / 63.99MB 0.8s [2024-01-25T20:13:35.494Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.98MB / 97.63MB 0.8s [2024-01-25T20:13:35.762Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.30MB / 63.99MB 1.0s [2024-01-25T20:13:35.762Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.58MB / 97.63MB 1.0s [2024-01-25T20:13:35.762Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2024-01-25T20:13:35.762Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.15MB / 63.99MB 1.1s [2024-01-25T20:13:36.031Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.3s [2024-01-25T20:13:36.031Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.3s [2024-01-25T20:13:36.031Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.4s [2024-01-25T20:13:36.031Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.4s [2024-01-25T20:13:36.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done [2024-01-25T20:13:36.298Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.6s [2024-01-25T20:13:36.298Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.7s [2024-01-25T20:13:36.298Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2024-01-25T20:13:36.565Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 1.8s [2024-01-25T20:13:36.565Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.06MB / 97.63MB 1.9s [2024-01-25T20:13:36.831Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s [2024-01-25T20:13:37.097Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done [2024-01-25T20:13:42.441Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s [2024-01-25T20:13:47.794Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s [2024-01-25T20:13:54.494Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done [2024-01-25T20:13:54.766Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [2024-01-25T20:13:54.766Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2024-01-25T20:13:54.766Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2024-01-25T20:13:55.033Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s [2024-01-25T20:14:00.374Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.3s [2024-01-25T20:14:03.717Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done [2024-01-25T20:14:03.985Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2024-01-25T20:14:05.928Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2024-01-25T20:14:05.928Z] #4 DONE 31.3s [2024-01-25T20:14:05.928Z] [2024-01-25T20:14:05.928Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2024-01-25T20:14:06.511Z] #6 0.704 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T20:14:07.094Z] #6 1.083 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T20:14:08.054Z] #6 2.057 (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-01-25T20:14:08.054Z] #6 2.082 (2/4) Installing libedit (20221030.3.1-r1) [2024-01-25T20:14:08.054Z] #6 2.094 (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-01-25T20:14:08.054Z] #6 2.156 (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-01-25T20:14:08.054Z] #6 2.181 Executing busybox-1.36.1-r5.trigger [2024-01-25T20:14:08.319Z] #6 2.217 OK: 271 MiB in 56 packages [2024-01-25T20:14:10.259Z] #6 DONE 4.0s [2024-01-25T20:14:10.259Z] [2024-01-25T20:14:10.259Z] #7 [builder 3/7] WORKDIR /device-rest-go [2024-01-25T20:14:10.259Z] #7 DONE 0.1s [2024-01-25T20:14:10.259Z] [2024-01-25T20:14:10.259Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2024-01-25T20:14:10.259Z] #8 DONE 0.1s [2024-01-25T20:14:10.259Z] [2024-01-25T20:14:10.259Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T20:14:28.458Z] #9 DONE 16.6s [2024-01-25T20:14:28.458Z] [2024-01-25T20:14:28.458Z] #10 [builder 6/7] COPY . . [2024-01-25T20:14:28.458Z] #10 DONE 0.1s [2024-01-25T20:14:28.458Z] [2024-01-25T20:14:28.458Z] #11 [builder 7/7] RUN echo noop [2024-01-25T20:14:28.458Z] #11 0.626 noop [2024-01-25T20:14:28.458Z] #11 DONE 0.7s [2024-01-25T20:14:28.458Z] [2024-01-25T20:14:28.458Z] #12 exporting to image [2024-01-25T20:14:28.458Z] #12 exporting layers [2024-01-25T20:14:46.660Z] #12 exporting layers 17.7s done [2024-01-25T20:14:46.660Z] #12 writing image sha256:610a29813d3f3f248a632b062f56c8946851d726df49f2427d2ecfd513035bd4 done [2024-01-25T20:14:46.660Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-25T20:14:46.660Z] #12 DONE 17.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:14:47.269Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T20:14:47.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:14:47.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container [2024-01-25T20:14:47.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-25T20:14:48.879Z] $ docker top bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T20:14:49.531Z] + go version [2024-01-25T20:14:50.209Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-01-25T20:14:50.243Z] $ docker stop --time=1 bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb [2024-01-25T20:14:51.785Z] $ docker rm -f --volumes bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:14:52.947Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T20:14:52.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:14:53.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container [2024-01-25T20:14:53.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-25T20:14:54.237Z] $ docker top 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T20:14:54.840Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-01-25T20:14:55.272Z] + make test [2024-01-25T20:14:55.272Z] go test ./... -coverprofile=coverage.out ./... [2024-01-25T20:15:00.625Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-01-25T20:15:57.056Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-01-25T20:15:57.056Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2024-01-25T20:15:57.056Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-01-25T20:15:57.056Z] go vet ./... [2024-01-25T20:16:12.062Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-01-25T20:16:12.062Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-01-25T20:16:12.062Z] ./bin/test-attribution-txt.sh [2024-01-25T20:16:12.062Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-01-25T20:16:12.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-01-25T20:16:12.190Z] $ docker stop --time=1 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 [2024-01-25T20:16:14.082Z] $ docker rm -f --volumes 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T20:16:15.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-01-25T20:16:15.408Z] Warning: overwriting stash ‘coverage-report’ [2024-01-25T20:16:15.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T20:16:16.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T20:16:17.037Z] + ls -al . [2024-01-25T20:16:17.037Z] total 176 [2024-01-25T20:16:17.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:14 . [2024-01-25T20:16:17.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 20:13 .. [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 25 20:13 .dockerignore [2024-01-25T20:16:17.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:13 .git [2024-01-25T20:16:17.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 .github [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 264 Jan 25 20:13 .gitignore [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 20:13 .golangci.yml [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jan 25 20:13 Attribution.txt [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jan 25 20:13 CHANGELOG.md [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jan 25 20:13 Dockerfile [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 20:13 GOVERNANCE.md [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 25 20:13 Jenkinsfile [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 20:13 LICENSE [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jan 25 20:13 Makefile [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 25 20:13 OWNERS.md [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jan 25 20:13 README.md [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 20:10 VERSION [2024-01-25T20:16:17.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:13 bin [2024-01-25T20:16:17.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 cmd [2024-01-25T20:16:17.037Z] -rw-r--r-- 1 jenkins jenkins 14499 Jan 25 20:15 coverage.out [2024-01-25T20:16:17.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:13 driver [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 3934 Jan 25 20:13 go.mod [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 34689 Jan 25 20:13 go.sum [2024-01-25T20:16:17.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 openapi [2024-01-25T20:16:17.037Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 25 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:16:17.565Z] + 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=24ac741c0139102980092e7b1758cd0a4a76e86a --label arch=arm64 --label version=0.0.0 . [2024-01-25T20:16:18.522Z] #0 building with "default" instance using docker driver [2024-01-25T20:16:18.522Z] [2024-01-25T20:16:18.522Z] #1 [internal] load .dockerignore [2024-01-25T20:16:18.522Z] #1 transferring context: 193B 0.0s done [2024-01-25T20:16:18.522Z] #1 DONE 0.0s [2024-01-25T20:16:18.522Z] [2024-01-25T20:16:18.522Z] #2 [internal] load build definition from Dockerfile [2024-01-25T20:16:18.522Z] #2 transferring dockerfile: 1.73kB 0.0s done [2024-01-25T20:16:18.522Z] #2 DONE 0.0s [2024-01-25T20:16:18.522Z] [2024-01-25T20:16:18.522Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-25T20:16:18.522Z] #3 DONE 0.0s [2024-01-25T20:16:18.522Z] [2024-01-25T20:16:18.522Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2024-01-25T20:16:19.476Z] #4 DONE 1.1s [2024-01-25T20:16:19.476Z] [2024-01-25T20:16:19.476Z] #5 [internal] load build context [2024-01-25T20:16:19.476Z] #5 transferring context: 16.04kB 0.0s done [2024-01-25T20:16:19.476Z] #5 DONE 0.1s [2024-01-25T20:16:19.476Z] [2024-01-25T20:16:19.476Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T20:16:19.476Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2024-01-25T20:16:19.476Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2024-01-25T20:16:19.476Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2024-01-25T20:16:19.476Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2024-01-25T20:16:19.476Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s [2024-01-25T20:16:19.743Z] #6 ... [2024-01-25T20:16:19.743Z] [2024-01-25T20:16:19.743Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2024-01-25T20:16:19.743Z] #7 DONE 0.2s [2024-01-25T20:16:19.743Z] [2024-01-25T20:16:19.743Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T20:16:19.743Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s [2024-01-25T20:16:19.743Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done [2024-01-25T20:16:19.743Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2024-01-25T20:16:20.327Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2024-01-25T20:16:20.328Z] #6 DONE 1.0s [2024-01-25T20:16:20.328Z] [2024-01-25T20:16:20.328Z] #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2024-01-25T20:16:20.328Z] #8 0.724 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:20.911Z] #8 1.156 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:21.871Z] #8 2.227 OK: 271 MiB in 56 packages [2024-01-25T20:16:22.141Z] #8 DONE 2.5s [2024-01-25T20:16:22.141Z] [2024-01-25T20:16:22.141Z] #9 [builder 3/7] WORKDIR /device-rest-go [2024-01-25T20:16:22.141Z] #9 DONE 0.1s [2024-01-25T20:16:22.141Z] [2024-01-25T20:16:22.141Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2024-01-25T20:16:22.141Z] #10 0.617 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:22.141Z] #10 0.956 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:22.141Z] #10 ... [2024-01-25T20:16:22.141Z] [2024-01-25T20:16:22.141Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2024-01-25T20:16:22.141Z] #11 DONE 0.1s [2024-01-25T20:16:22.409Z] [2024-01-25T20:16:22.409Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2024-01-25T20:16:22.409Z] #10 2.027 (1/1) Installing dumb-init (1.2.5-r2) [2024-01-25T20:16:22.409Z] #10 2.039 Executing busybox-1.36.1-r5.trigger [2024-01-25T20:16:22.409Z] #10 2.075 OK: 8 MiB in 16 packages [2024-01-25T20:16:22.677Z] #10 DONE 2.4s [2024-01-25T20:16:22.677Z] [2024-01-25T20:16:22.677Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2024-01-25T20:16:25.254Z] #12 ... [2024-01-25T20:16:25.254Z] [2024-01-25T20:16:25.254Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T20:16:25.254Z] #13 DONE 2.8s [2024-01-25T20:16:25.254Z] [2024-01-25T20:16:25.254Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2024-01-25T20:16:25.254Z] #12 2.477 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:25.254Z] #12 ... [2024-01-25T20:16:25.254Z] [2024-01-25T20:16:25.254Z] #14 [builder 6/7] COPY . . [2024-01-25T20:16:25.254Z] #14 DONE 0.1s [2024-01-25T20:16:25.526Z] [2024-01-25T20:16:25.526Z] #15 [builder 7/7] RUN make build [2024-01-25T20:16:26.107Z] #15 0.686 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.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-01-25T20:16:27.064Z] #15 ... [2024-01-25T20:16:27.064Z] [2024-01-25T20:16:27.064Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2024-01-25T20:16:27.064Z] #12 2.858 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T20:16:27.064Z] #12 3.877 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T20:16:27.064Z] #12 3.994 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T20:16:27.064Z] #12 4.018 OK: 8 MiB in 16 packages [2024-01-25T20:16:27.064Z] #12 DONE 4.3s [2024-01-25T20:16:27.329Z] [2024-01-25T20:16:27.329Z] #15 [builder 7/7] RUN make build [2024-01-25T20:17:35.165Z] #15 DONE 58.8s [2024-01-25T20:17:35.165Z] [2024-01-25T20:17:35.165Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2024-01-25T20:17:35.165Z] #16 DONE 0.3s [2024-01-25T20:17:35.165Z] [2024-01-25T20:17:35.165Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2024-01-25T20:17:35.165Z] #17 DONE 0.1s [2024-01-25T20:17:35.165Z] [2024-01-25T20:17:35.165Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2024-01-25T20:17:35.165Z] #18 DONE 0.1s [2024-01-25T20:17:35.165Z] [2024-01-25T20:17:35.165Z] #19 exporting to image [2024-01-25T20:17:35.165Z] #19 exporting layers [2024-01-25T20:17:35.165Z] #19 exporting layers 0.3s done [2024-01-25T20:17:35.165Z] #19 writing image sha256:ff87aad77c970322899e97469b0094dafc526573600bffaa459edda80de51bc3 done [2024-01-25T20:17:35.165Z] #19 naming to docker.io/library/device-rest-arm64 0.0s done [2024-01-25T20:17:35.165Z] #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:17:36.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T20:17:36.483Z] [2024-01-25T20:17:36.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:17:36.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T20:17:37.879Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-25T20:17:37.879Z] 8998bd30e6a1: Pulling fs layer [2024-01-25T20:17:37.879Z] 04944245beec: Pulling fs layer [2024-01-25T20:17:37.879Z] 699f458cf7ca: Pulling fs layer [2024-01-25T20:17:37.879Z] 765212b225bb: Pulling fs layer [2024-01-25T20:17:37.879Z] f23df028b6ca: Pulling fs layer [2024-01-25T20:17:37.879Z] d65c8cfc05b1: Pulling fs layer [2024-01-25T20:17:37.879Z] 2437ff75d9bd: Pulling fs layer [2024-01-25T20:17:37.879Z] 765212b225bb: Waiting [2024-01-25T20:17:37.879Z] f23df028b6ca: Waiting [2024-01-25T20:17:37.879Z] 2437ff75d9bd: Waiting [2024-01-25T20:17:37.879Z] d65c8cfc05b1: Waiting [2024-01-25T20:17:37.879Z] 04944245beec: Verifying Checksum [2024-01-25T20:17:37.879Z] 04944245beec: Download complete [2024-01-25T20:17:37.879Z] 765212b225bb: Verifying Checksum [2024-01-25T20:17:37.879Z] 765212b225bb: Download complete [2024-01-25T20:17:38.145Z] f23df028b6ca: Download complete [2024-01-25T20:17:38.146Z] d65c8cfc05b1: Verifying Checksum [2024-01-25T20:17:38.146Z] d65c8cfc05b1: Download complete [2024-01-25T20:17:38.146Z] 699f458cf7ca: Verifying Checksum [2024-01-25T20:17:38.146Z] 699f458cf7ca: Download complete [2024-01-25T20:17:38.731Z] 8998bd30e6a1: Verifying Checksum [2024-01-25T20:17:38.731Z] 8998bd30e6a1: Download complete [2024-01-25T20:17:40.676Z] 2437ff75d9bd: Verifying Checksum [2024-01-25T20:17:40.676Z] 2437ff75d9bd: Download complete [2024-01-25T20:17:44.926Z] 8998bd30e6a1: Pull complete [2024-01-25T20:17:45.193Z] 04944245beec: Pull complete [2024-01-25T20:17:47.134Z] 699f458cf7ca: Pull complete [2024-01-25T20:17:47.134Z] 765212b225bb: Pull complete [2024-01-25T20:17:48.093Z] f23df028b6ca: Pull complete [2024-01-25T20:17:48.093Z] d65c8cfc05b1: Pull complete [2024-01-25T20:18:10.899Z] 2437ff75d9bd: Pull complete [2024-01-25T20:18:10.899Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-25T20:18:10.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T20:18:10.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:18:11.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container [2024-01-25T20:18:11.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-25T20:18:13.444Z] $ docker top 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:14.078Z] ---> job-cost.sh [2024-01-25T20:18:14.344Z] lf-activate-venv: SKIPPING [2024-01-25T20:18:14.344Z] INFO: No Stack... [2024-01-25T20:18:14.607Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T20:18:15.557Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T20:18:15.894Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-01-25T20:18:15.895Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T20:18:15.940Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [2024-01-25T20:18:15.944Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] did not exist. Created. [2024-01-25T20:18:15.945Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T20:18:16.446Z] /w/workspace/device-rest-go/1@tmp/durable-a624fd04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-25T20:18:16.785Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T20:18:16.821Z] Warning: overwriting stash ‘stack-cost’ [2024-01-25T20:18:16.862Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T20:18:16.907Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T20:18:17.088Z] $ docker stop --time=1 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 [2024-01-25T20:18:21.452Z] $ docker rm -f --volumes 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 [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-01-25T20:18:23.383Z] provisioning config files... [2024-01-25T20:18:23.393Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config9568887774699953012tmp [Pipeline] { [Pipeline] sh [2024-01-25T20:18:23.820Z] + set +x [2024-01-25T20:18:23.820Z] + curl -s https://codecov.io/bash [2024-01-25T20:18:23.820Z] + bash -s -- [2024-01-25T20:18:23.820Z] [2024-01-25T20:18:23.820Z] _____ _ [2024-01-25T20:18:23.820Z] / ____| | | [2024-01-25T20:18:23.820Z] | | ___ __| | ___ ___ _____ __ [2024-01-25T20:18:23.820Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-01-25T20:18:23.820Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-01-25T20:18:23.820Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-01-25T20:18:23.820Z] Bash-1.0.6 [2024-01-25T20:18:23.820Z] [2024-01-25T20:18:23.820Z] [2024-01-25T20:18:23.820Z] ==> git version 2.25.1 found [2024-01-25T20:18:23.820Z] ==> 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-01-25T20:18:23.820Z] Release-Date: 2020-01-08 [2024-01-25T20:18:23.820Z] 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-01-25T20:18:23.820Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-01-25T20:18:23.820Z] ==> Jenkins CI detected. [2024-01-25T20:18:23.820Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-379 [2024-01-25T20:18:23.820Z] project root: . [2024-01-25T20:18:23.820Z] --> token set from env [2024-01-25T20:18:23.820Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-01-25T20:18:23.820Z] ==> Running gcov in . (disable via -X gcov) [2024-01-25T20:18:23.820Z] ==> Python coveragepy not found [2024-01-25T20:18:23.820Z] ==> Searching for coverage reports in: [2024-01-25T20:18:23.820Z] + . [2024-01-25T20:18:24.081Z] -> Found 1 reports [2024-01-25T20:18:24.081Z] ==> Detecting git/mercurial file structure [2024-01-25T20:18:24.081Z] ==> Reading reports [2024-01-25T20:18:24.081Z] + ./coverage.out bytes=14499 [2024-01-25T20:18:24.081Z] ==> Appending adjustments [2024-01-25T20:18:24.081Z] https://docs.codecov.io/docs/fixing-reports [2024-01-25T20:18:24.081Z] + Found adjustments [2024-01-25T20:18:24.081Z] ==> Gzipping contents [2024-01-25T20:18:24.081Z] 4.0K /tmp/codecov.sSTwtX.gz [2024-01-25T20:18:24.081Z] ==> Uploading reports [2024-01-25T20:18:24.081Z] url: https://codecov.io [2024-01-25T20:18:24.081Z] query: branch=PR-379&commit=24ac741c0139102980092e7b1758cd0a4a76e86a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2024-01-25T20:18:24.081Z] -> Pinging Codecov [2024-01-25T20:18:24.081Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-379&commit=24ac741c0139102980092e7b1758cd0a4a76e86a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2024-01-25T20:18:24.342Z] -> Uploading to [2024-01-25T20:18:24.342Z] https://storage.googleapis.com/codecov/v4/raw/2024-01-25/4E5D53B4F1F92C436F7061BF334D961C/24ac741c0139102980092e7b1758cd0a4a76e86a/8ce55a6f-f4fe-4482-9fbd-395874f6da50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T201824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6fcd8333a814d88fb8980429f61e7f328598fa6c212664ec81fbe424fc7fa263 [2024-01-25T20:18:24.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T20:18:24.342Z] Dload Upload Total Spent Left Speed [2024-01-25T20:18:24.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8858 --:--:-- --:--:-- --:--:-- 8858 [2024-01-25T20:18:24.604Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] } [2024-01-25T20:18:24.633Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-01-25T20:18:27.900Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-379/archives ] [2024-01-25T20:18:27.900Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-379/archives [2024-01-25T20:18:27.900Z] total 16 [2024-01-25T20:18:27.900Z] drwxr-xr-x 3 root root 4096 Jan 25 20:13 . [2024-01-25T20:18:27.900Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 20:13 .. [2024-01-25T20:18:27.900Z] drwxr-xr-x 2 root root 4096 Jan 25 20:13 cost [2024-01-25T20:18:27.900Z] -rw-r--r-- 1 root root 86 Jan 25 20:13 cost.csv [2024-01-25T20:18:27.900Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-379/archives [2024-01-25T20:18:27.900Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-379/archives [2024-01-25T20:18:27.900Z] total 16 [2024-01-25T20:18:27.900Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 20:13 . [2024-01-25T20:18:27.900Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 20:13 .. [2024-01-25T20:18:27.900Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 20:13 cost [2024-01-25T20:18:27.900Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 25 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:28.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:29.148Z] ---> package-listing.sh [2024-01-25T20:18:29.148Z] ++ facter osfamily [2024-01-25T20:18:29.148Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-25T20:18:29.413Z] + OS_FAMILY=debian [2024-01-25T20:18:29.413Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-379 [2024-01-25T20:18:29.413Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-25T20:18:29.413Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-25T20:18:29.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-25T20:18:29.413Z] + PACKAGES=/tmp/packages_start.txt [2024-01-25T20:18:29.413Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-379 ']' [2024-01-25T20:18:29.413Z] + PACKAGES=/tmp/packages_end.txt [2024-01-25T20:18:29.413Z] + case "${OS_FAMILY}" in [2024-01-25T20:18:29.413Z] + dpkg -l [2024-01-25T20:18:29.413Z] + grep '^ii' [2024-01-25T20:18:29.413Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-25T20:18:29.413Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-25T20:18:29.413Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-25T20:18:29.413Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-379 ']' [2024-01-25T20:18:29.413Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-379/archives/ [2024-01-25T20:18:29.413Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-379/archives/ [Pipeline] echo [2024-01-25T20:18:29.452Z] 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-25T20:18:29.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T20:18:30.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T20:18:30.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T20:18:30.679Z] prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container [2024-01-25T20:18:30.667Z] $ 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-379/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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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-01-25T20:18:30.862Z] $ docker top 9f79f75b1aa561194846e9349c89ff8848aa7f2cdecf12d953535ed85573fd1e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T20:18:31.407Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-25T20:18:31.730Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-25T20:18:32.045Z] + ls /var/log/sa-host [2024-01-25T20:18:32.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T20:18:32.310Z] provisioning config files... [2024-01-25T20:18:32.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config13532617636811773250tmp [Pipeline] { [Pipeline] echo [2024-01-25T20:18:32.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:32.781Z] ---> create-netrc.sh [Pipeline] } [2024-01-25T20:18:32.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:33.372Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-25T20:18:33.409Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:33.725Z] ---> sudo-logs.sh [2024-01-25T20:18:33.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-25T20:18:33.868Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:34.187Z] ---> job-cost.sh [2024-01-25T20:18:34.187Z] lf-activate-venv: SKIPPING [2024-01-25T20:18:34.187Z] DEBUG: total: 0.2199999988079071 [2024-01-25T20:18:34.187Z] INFO: Retrieving Stack Cost... [2024-01-25T20:18:34.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T20:18:34.737Z] INFO: Archiving Costs [Pipeline] echo [2024-01-25T20:18:34.770Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T20:18:35.082Z] ---> logs-deploy.sh [2024-01-25T20:18:35.082Z] lf-activate-venv: SKIPPING [2024-01-25T20:18:35.082Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-379/1 [2024-01-25T20:18:35.082Z] INFO: archiving workspace using pattern(s): [2024-01-25T20:18:36.020Z] Archives upload complete. [2024-01-25T20:18:36.280Z] INFO: archiving logs to Nexus