Pull request #376 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (0f404eb9d399a163a9fce753ab192c0dc6408206) 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-ssh2492953625611033306.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-ssh7971670609841771382.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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13730139218609545302.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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14410893584024056365.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-ssh10841936181667898365.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7206702517908953556.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-25829 in /w/workspace/gexfoundry_device-rest-go_PR-376 [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-376 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 Merge succeeded, producing b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 Checking out Revision b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 (PR-376) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # 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 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # timeout=10 > 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 20:43:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:43:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:43:22 ========================================================= 20:43:22 EdgeX Global Pipelines Version Info 20:43:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:43:23 ------------------- 20:43:23 stable info: 20:43:23 ------------------- 20:43:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:43:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:43:23 Message: update stable to v1.0.258 20:43:23 ------------------- 20:43:23 experimental info: 20:43:23 ------------------- 20:43:23 Commited By: **** collab-it+edgex@linuxfoundation.org 20:43:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:43:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:43:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:43:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b130ff9 [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:26 provisioning config files... 20:43:26 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config7491630068710817778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:26 ---> ****-login.sh 20:43:26 nexus3.edgexfoundry.org:10001 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:27 Configure a credential helper to remove this warning. See 20:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:27 20:43:27 Login Succeeded 20:43:27 nexus3.edgexfoundry.org:10002 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:27 Configure a credential helper to remove this warning. See 20:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:27 20:43:27 Login Succeeded 20:43:27 nexus3.edgexfoundry.org:10003 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:27 Configure a credential helper to remove this warning. See 20:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:27 20:43:27 Login Succeeded 20:43:27 nexus3.edgexfoundry.org:10004 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:27 Configure a credential helper to remove this warning. See 20:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:27 20:43:27 Login Succeeded 20:43:27 ****.io 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 ---> ****-login.sh ends [Pipeline] } 20:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:43:28 + git rev-list -1 --merges b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31~1..b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo 20:43:28 -----------> git rev-list -1 --merges b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31~1..b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [false] [Pipeline] sh 20:43:29 + git log --format=format:%s -1 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo 20:43:29 ========================================================= 20:43:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:43:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:29 + git log --format=format:%s -1 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo 20:43:29 [semverPrep] GIT_COMMIT: b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4 [Pipeline] echo 20:43:29 [semverPrep] This is not a build commit. [Pipeline] sh 20:43:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:30 + grep -v github /etc/ssh/ssh_known_hosts 20:43:30 + [ -e /tmp/ssh_known_hosts ] 20:43:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:43:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:43:30 + sudo tee -a /etc/ssh/ssh_known_hosts 20:43:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:30 20:43:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:31 0.1.4: Pulling from edgex-devops/py-git-semver 20:43:31 b85a868b505f: Pulling fs layer 20:43:31 e2be974225ed: Pulling fs layer 20:43:31 339a4e72a1f5: Pulling fs layer 20:43:31 988bab9f4d93: Pulling fs layer 20:43:31 1469e6f7b9e6: Pulling fs layer 20:43:31 eaf3925da568: Pulling fs layer 20:43:31 bab4dde63d76: Pulling fs layer 20:43:31 bde34c3a00c8: Pulling fs layer 20:43:31 b352a97aabf1: Pulling fs layer 20:43:31 4872d77fe225: Pulling fs layer 20:43:31 5851b861e8e6: Pulling fs layer 20:43:31 bab4dde63d76: Waiting 20:43:31 4872d77fe225: Waiting 20:43:31 1469e6f7b9e6: Waiting 20:43:31 5851b861e8e6: Waiting 20:43:31 bde34c3a00c8: Waiting 20:43:31 b352a97aabf1: Waiting 20:43:31 eaf3925da568: Waiting 20:43:31 988bab9f4d93: Waiting 20:43:31 e2be974225ed: Verifying Checksum 20:43:31 e2be974225ed: Download complete 20:43:31 988bab9f4d93: Verifying Checksum 20:43:31 988bab9f4d93: Download complete 20:43:31 1469e6f7b9e6: Verifying Checksum 20:43:31 1469e6f7b9e6: Download complete 20:43:31 339a4e72a1f5: Verifying Checksum 20:43:31 339a4e72a1f5: Download complete 20:43:31 eaf3925da568: Verifying Checksum 20:43:31 eaf3925da568: Download complete 20:43:31 bde34c3a00c8: Verifying Checksum 20:43:31 bde34c3a00c8: Download complete 20:43:31 b352a97aabf1: Verifying Checksum 20:43:31 b352a97aabf1: Download complete 20:43:31 4872d77fe225: Verifying Checksum 20:43:31 4872d77fe225: Download complete 20:43:31 5851b861e8e6: Verifying Checksum 20:43:31 5851b861e8e6: Download complete 20:43:31 b85a868b505f: Download complete 20:43:31 bab4dde63d76: Download complete 20:43:32 b85a868b505f: Pull complete 20:43:32 e2be974225ed: Pull complete 20:43:33 339a4e72a1f5: Pull complete 20:43:33 988bab9f4d93: Pull complete 20:43:33 1469e6f7b9e6: Pull complete 20:43:33 eaf3925da568: Pull complete 20:43:35 bab4dde63d76: Pull complete 20:43:35 bde34c3a00c8: Pull complete 20:43:35 b352a97aabf1: Pull complete 20:43:35 4872d77fe225: Pull complete 20:43:35 5851b861e8e6: Pull complete 20:43:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:36 prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container 20:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-376 -v /w/workspace/gexfoundry_device-rest-go_PR-376:/w/workspace/gexfoundry_device-rest-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-376@tmp:/w/workspace/gexfoundry_device-rest-go_PR-376@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:43:39 $ docker top f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 -eo pid,comm 20:43:39 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). 20:43:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:40 [ssh-agent] Looking for ssh-agent implementation... 20:43:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:40 $ docker exec f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent 20:43:40 SSH_AUTH_SOCK=/tmp/ssh-dnzw5j1DTA69/agent.34 20:43:40 SSH_AGENT_PID=40 20:43:40 Running ssh-add (command line suppressed) 20:43:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-376@tmp/private_key_18240576305456111703.key (/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/private_key_18240576305456111703.key) 20:43:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:40 + git tag --points-at HEAD [Pipeline] } 20:43:40 $ docker exec --env ******** --env ******** f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent -k 20:43:40 unset SSH_AUTH_SOCK; 20:43:40 unset SSH_AGENT_PID; 20:43:40 echo Agent pid 40 killed; 20:43:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:41 [ssh-agent] Looking for ssh-agent implementation... 20:43:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:41 $ docker exec f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent 20:43:41 SSH_AUTH_SOCK=/tmp/ssh-21MRMLKKmK6S/agent.72 20:43:41 SSH_AGENT_PID=78 20:43:41 Running ssh-add (command line suppressed) 20:43:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-376@tmp/private_key_1016612734644293024.key (/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/private_key_1016612734644293024.key) 20:43:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:41 + git semver init 20:43:42 2023-12-20 20:43:42,042 [run_init] DEBUG init version:0.0.0 force:False 20:43:42 2023-12-20 20:43:42,043 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-376/.semver 20:43:42 2023-12-20 20:43:42,044 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-376/.semver 20:43:42 2023-12-20 20:43:42,044 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-376/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-376, universal_newlines=False, shell=None, istream=None) 20:43:44 2023-12-20 20:43:44,106 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-376/.git/info/exclude 20:43:44 2023-12-20 20:43:44,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-376/.semver/PR-376 with force:False 20:43:44 2023-12-20 20:43:44,107 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-376/.semver/PR-376 20:43:44 2023-12-20 20:43:44,111 [execute] INFO git cat-file --batch-check 20:43:44 2023-12-20 20:43:44,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 20:43:44 2023-12-20 20:43:44,119 [execute] INFO git cat-file --batch 20:43:44 2023-12-20 20:43:44,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 20:43:44 2023-12-20 20:43:44,124 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-376/.semver/PR-376 20:43:44 0.0.0 [Pipeline] } 20:43:44 $ docker exec --env ******** --env ******** f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent -k 20:43:44 unset SSH_AUTH_SOCK; 20:43:44 unset SSH_AGENT_PID; 20:43:44 echo Agent pid 78 killed; 20:43:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:45 + git semver [Pipeline] } 20:43:45 $ docker stop --time=1 f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 20:43:46 $ docker rm -f --volumes f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:47 Stashed 1 file(s) [Pipeline] echo 20:43:47 [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 20:43:48 provisioning config files... 20:43:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config11895050990786240667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:49 ---> ****-login.sh 20:43:49 nexus3.edgexfoundry.org:10001 20:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:49 Configure a credential helper to remove this warning. See 20:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:49 20:43:49 Login Succeeded 20:43:49 nexus3.edgexfoundry.org:10002 20:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:49 Configure a credential helper to remove this warning. See 20:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:49 20:43:49 Login Succeeded 20:43:49 nexus3.edgexfoundry.org:10003 20:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:49 Configure a credential helper to remove this warning. See 20:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:49 20:43:49 Login Succeeded 20:43:49 nexus3.edgexfoundry.org:10004 20:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:49 Configure a credential helper to remove this warning. See 20:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:49 20:43:49 Login Succeeded 20:43:49 ****.io 20:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:50 Configure a credential helper to remove this warning. See 20:43:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:50 20:43:50 Login Succeeded 20:43:50 ---> ****-login.sh ends [Pipeline] } 20:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:50 ========================================================= 20:43:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:43:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:51 + 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 . 20:43:51 Sending build context to Docker daemon 16.31MB 20:43:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:43:51 Step 2/12 : FROM ${BASE} AS builder 20:43:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:51 7264a8db6415: Pulling fs layer 20:43:51 c4d48a809fc2: Pulling fs layer 20:43:51 4f1c88b9dad5: Pulling fs layer 20:43:51 ad3a456e5733: Pulling fs layer 20:43:51 69c7f0334f64: Pulling fs layer 20:43:51 1f1c1a5573a3: Pulling fs layer 20:43:51 69c7f0334f64: Waiting 20:43:51 ce7588e14bc9: Pulling fs layer 20:43:51 b5e4710f87ac: Pulling fs layer 20:43:51 1f1c1a5573a3: Waiting 20:43:51 b5e4710f87ac: Waiting 20:43:51 ce7588e14bc9: Waiting 20:43:51 c4d48a809fc2: Download complete 20:43:51 ad3a456e5733: Verifying Checksum 20:43:51 ad3a456e5733: Download complete 20:43:51 69c7f0334f64: Download complete 20:43:51 7264a8db6415: Verifying Checksum 20:43:51 7264a8db6415: Download complete 20:43:51 1f1c1a5573a3: Verifying Checksum 20:43:51 1f1c1a5573a3: Download complete 20:43:51 7264a8db6415: Pull complete 20:43:51 b5e4710f87ac: Verifying Checksum 20:43:51 b5e4710f87ac: Download complete 20:43:51 c4d48a809fc2: Pull complete 20:43:51 4f1c88b9dad5: Verifying Checksum 20:43:51 4f1c88b9dad5: Download complete 20:43:52 ce7588e14bc9: Verifying Checksum 20:43:52 ce7588e14bc9: Download complete 20:43:55 4f1c88b9dad5: Pull complete 20:43:55 ad3a456e5733: Pull complete 20:43:55 69c7f0334f64: Pull complete 20:43:55 1f1c1a5573a3: Pull complete 20:43:57 ce7588e14bc9: Pull complete 20:43:58 b5e4710f87ac: Pull complete 20:43:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:43:58 ---> 88b5674ff536 20:43:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:44:02 ---> Running in be503dcb51a2 20:44:02 Removing intermediate container be503dcb51a2 20:44:02 ---> 77b828f328e4 20:44:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:02 ---> Running in 9046b0561ac7 20:44:02 Removing intermediate container 9046b0561ac7 20:44:02 ---> 81f7e8a82e2a 20:44:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:44:02 ---> Running in b7ec9fa9d140 20:44:02 Removing intermediate container b7ec9fa9d140 20:44:02 ---> acd3f1c7b1c0 20:44:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:44:02 ---> Running in 6784294e45d3 20:44:02 Removing intermediate container 6784294e45d3 20:44:02 ---> 71d3b03259d6 20:44:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:02 ---> Running in b5a72dab2ae8 20:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:44:02 (2/4) Installing libedit (20221030.3.1-r1) 20:44:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:44:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:44:02 Executing busybox-1.36.1-r5.trigger 20:44:02 OK: 268 MiB in 56 packages 20:44:03 Still waiting to schedule task 20:44:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:44:03 Removing intermediate container b5a72dab2ae8 20:44:03 ---> 706dc9eea5ba 20:44:03 Step 8/12 : WORKDIR /device-rest-go 20:44:03 ---> Running in 80c2213b6324 20:44:03 Removing intermediate container 80c2213b6324 20:44:03 ---> d86a4c61bd26 20:44:03 Step 9/12 : COPY go.mod vendor* ./ 20:44:03 ---> 21a41b30baf5 20:44:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:03 ---> Running in 1da31deec37a 20:44:50 Removing intermediate container 1da31deec37a 20:44:50 ---> 2fd60a1622df 20:44:50 Step 11/12 : COPY . . 20:44:50 ---> 77d35bf08610 20:44:50 Step 12/12 : RUN $MAKE 20:44:50 ---> Running in a65f98c340bf 20:44:50 noop 20:44:50 Removing intermediate container a65f98c340bf 20:44:50 ---> 53693863e104 20:44:50 Successfully built 53693863e104 20:44:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:51 + docker inspect -f . ci-base-image-x86_64 20:44:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:51 prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container 20:44:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-376 -v /w/workspace/gexfoundry_device-rest-go_PR-376:/w/workspace/gexfoundry_device-rest-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-376@tmp:/w/workspace/gexfoundry_device-rest-go_PR-376@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-x86_64 cat 20:44:51 $ docker top 612e1c7bf2517dbf489b809c20d72ba126f7c929302e1914ca04888495cb37b2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:52 + go version 20:44:52 go version go1.21.0 linux/amd64 [Pipeline] } 20:44:52 $ docker stop --time=1 612e1c7bf2517dbf489b809c20d72ba126f7c929302e1914ca04888495cb37b2 20:44:53 $ docker rm -f --volumes 612e1c7bf2517dbf489b809c20d72ba126f7c929302e1914ca04888495cb37b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:54 + docker inspect -f . ci-base-image-x86_64 20:44:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:54 prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container 20:44:54 $ 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-376 -v /w/workspace/gexfoundry_device-rest-go_PR-376:/w/workspace/gexfoundry_device-rest-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-376@tmp:/w/workspace/gexfoundry_device-rest-go_PR-376@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-x86_64 cat 20:44:54 $ docker top e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-376 [Pipeline] fileExists [Pipeline] sh 20:44:55 + make test 20:44:55 go test ./... -coverprofile=coverage.out ./... 20:44:57 ? github.com/edgexfoundry/device-rest-go [no test files] 20:45:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:45:07 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 20:45:13 go vet ./... 20:45:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:16 ./bin/test-attribution-txt.sh [Pipeline] echo 20:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:45:17 $ docker stop --time=1 e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e 20:45:20 $ docker rm -f --volumes e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e [Pipeline] // withDockerContainer [Pipeline] sh 20:45:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:22 + ls -al . 20:45:22 total 180 20:45:22 drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 20:44 . 20:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 20:43 .. 20:45:22 -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 20:43 .dockerignore 20:45:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:45 .git 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 .github 20:45:22 -rw-rw-r-- 1 jenkins jenkins 264 Dec 20 20:43 .gitignore 20:45:22 -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 20:43 .golangci.yml 20:45:22 drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 20:43 .semver 20:45:22 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 20 20:43 Attribution.txt 20:45:22 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 20 20:43 CHANGELOG.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 20 20:43 Dockerfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 20:43 GOVERNANCE.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 20:43 Jenkinsfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 20:43 LICENSE 20:45:22 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 20 20:43 Makefile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 20:43 OWNERS.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 20 20:43 README.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 20:43 VERSION 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:43 bin 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 cmd 20:45:22 -rw-r--r-- 1 jenkins jenkins 14499 Dec 20 20:45 coverage.out 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:43 driver 20:45:22 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 20 20:43 go.mod 20:45:22 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 20 20:43 go.sum 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 openapi 20:45:22 -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:22 + 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=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 --label arch=amd64 --label version=0.0.0 . 20:45:22 Sending build context to Docker daemon 16.33MB 20:45:22 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:45:22 Step 2/26 : FROM ${BASE} AS builder 20:45:22 ---> 53693863e104 20:45:22 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:23 ---> Running in 8dd75a5c3cf6 20:45:23 Removing intermediate container 8dd75a5c3cf6 20:45:23 ---> ed0ffd3949d9 20:45:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:23 ---> Running in b4f999660dc7 20:45:23 Removing intermediate container b4f999660dc7 20:45:23 ---> 08da2d8e7add 20:45:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:45:23 ---> Running in a8b3b221fbc2 20:45:23 Removing intermediate container a8b3b221fbc2 20:45:23 ---> 6a3ccbf7cc3e 20:45:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:23 ---> Running in 2f2d0c999b53 20:45:23 Removing intermediate container 2f2d0c999b53 20:45:23 ---> 1997dad7978c 20:45:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:23 ---> Running in 0a03d680c1f5 20:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:24 OK: 268 MiB in 56 packages 20:45:24 Removing intermediate container 0a03d680c1f5 20:45:24 ---> c0c06a6a79f9 20:45:24 Step 8/26 : WORKDIR /device-rest-go 20:45:24 ---> Running in 5e031ae1ca80 20:45:24 Removing intermediate container 5e031ae1ca80 20:45:24 ---> 40795fe49d97 20:45:24 Step 9/26 : COPY go.mod vendor* ./ 20:45:24 ---> a8e3c6e4fb4a 20:45:24 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:24 ---> Running in 362334d194a9 20:45:25 Removing intermediate container 362334d194a9 20:45:25 ---> 5884c118004c 20:45:25 Step 11/26 : COPY . . 20:45:25 ---> 154ac5bd49d5 20:45:25 Step 12/26 : RUN $MAKE 20:45:26 ---> Running in 83b791863a87 20:45:26 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:45:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25830 in /w/workspace/gexfoundry_device-rest-go_PR-376 [Pipeline] { [Pipeline] ws 20:45:43 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:45:43 The recommended git tool is: git 20:45:44 Removing intermediate container 83b791863a87 20:45:44 ---> 694b4d83baa3 20:45:44 Step 13/26 : FROM alpine:3.18 20:45:44 3.18: Pulling from library/alpine 20:45:44 c926b61bad3b: Pulling fs layer 20:45:44 c926b61bad3b: Download complete 20:45:45 c926b61bad3b: Pull complete 20:45:45 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:45:45 Status: Downloaded newer image for alpine:3.18 20:45:45 ---> b541f2080109 20:45:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:45 ---> Running in 1ebaf85cebcb 20:45:45 Removing intermediate container 1ebaf85cebcb 20:45:45 ---> 0f779b0d688d 20:45:45 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:45 ---> Running in 8efd20720105 20:45:45 Removing intermediate container 8efd20720105 20:45:45 ---> 9a8c89ddfdbd 20:45:45 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:45:45 ---> Running in 28506b8162ef 20:45:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:45 (1/1) Installing dumb-init (1.2.5-r2) 20:45:45 Executing busybox-1.36.1-r5.trigger 20:45:45 OK: 7 MiB in 16 packages 20:45:46 Removing intermediate container 28506b8162ef 20:45:46 ---> 5f2d73607e5c 20:45:46 Step 17/26 : RUN apk --no-cache upgrade 20:45:46 ---> Running in ab78b2f05a67 20:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:47 OK: 7 MiB in 16 packages 20:45:47 Removing intermediate container ab78b2f05a67 20:45:47 ---> 0b7891e6727c 20:45:47 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:47 ---> 3f7da28d7eea 20:45:47 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:48 ---> ec2bd53e105c 20:45:48 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:48 ---> 39210ab802d0 20:45:48 Step 21/26 : EXPOSE 59986 20:45:48 ---> Running in a30dc882d6dc 20:45:48 Removing intermediate container a30dc882d6dc 20:45:48 ---> ca0712b95ec3 20:45:48 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:48 ---> Running in e5d712e7a8a4 20:45:48 Removing intermediate container e5d712e7a8a4 20:45:48 ---> 6d97e0f969ee 20:45:48 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:45:48 ---> Running in 39efa8bd30c1 20:45:48 Removing intermediate container 39efa8bd30c1 20:45:48 ---> f502d23dd196 20:45:48 Step 24/26 : LABEL arch=amd64 20:45:48 ---> Running in 2cbc20c9de7e 20:45:48 Removing intermediate container 2cbc20c9de7e 20:45:48 ---> 3dff8efa5158 20:45:48 Step 25/26 : LABEL git_sha=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 20:45:48 ---> Running in 0cc6c50d3438 20:45:48 Removing intermediate container 0cc6c50d3438 20:45:48 ---> 0720c8374d85 20:45:48 Step 26/26 : LABEL version=0.0.0 20:45:48 ---> Running in 193fc7a95647 20:45:48 using credential edgex-jenkins-ssh 20:45:48 Cloning the remote Git repository 20:45:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:48 Removing intermediate container 193fc7a95647 20:45:48 ---> f7779b34ccee 20:45:48 [Warning] One or more build-args [ARCH] were not consumed 20:45:48 Successfully built f7779b34ccee 20:45:48 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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 20:45:48 > git init /w/workspace/device-rest-go/1 # timeout=10 20:45:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:49 > git --version # timeout=10 20:45:49 > git --version # 'git version 2.25.1' 20:45:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:50 20:45:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:50 latest: Pulling from edgex-lftools-log-publisher 20:45:50 5eb5b503b376: Pulling fs layer 20:45:50 5c69ac0246d0: Pulling fs layer 20:45:50 ec43610c2a17: Pulling fs layer 20:45:50 3a2ae6a8a46f: Pulling fs layer 20:45:50 33b1e0a273af: Pulling fs layer 20:45:50 5d3b04190fa2: Pulling fs layer 20:45:50 2f39f015ded8: Pulling fs layer 20:45:50 3a2ae6a8a46f: Waiting 20:45:50 33b1e0a273af: Waiting 20:45:50 5d3b04190fa2: Waiting 20:45:50 2f39f015ded8: Waiting 20:45:50 5c69ac0246d0: Download complete 20:45:50 3a2ae6a8a46f: Verifying Checksum 20:45:50 3a2ae6a8a46f: Download complete 20:45:50 33b1e0a273af: Verifying Checksum 20:45:50 33b1e0a273af: Download complete 20:45:50 5d3b04190fa2: Verifying Checksum 20:45:50 5d3b04190fa2: Download complete 20:45:50 ec43610c2a17: Verifying Checksum 20:45:50 ec43610c2a17: Download complete 20:45:50 5eb5b503b376: Verifying Checksum 20:45:50 5eb5b503b376: Download complete 20:45:51 2f39f015ded8: Download complete 20:45:51 5eb5b503b376: Pull complete 20:45:52 5c69ac0246d0: Pull complete 20:45:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:52 ec43610c2a17: Pull complete 20:45:52 3a2ae6a8a46f: Pull complete 20:45:53 33b1e0a273af: Pull complete 20:45:53 5d3b04190fa2: Pull complete 20:45:53 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 20:45:53 Merge succeeded, producing b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 20:45:53 Checking out Revision b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 (PR-376) 20:45:53 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" 20:45:53 > git --version # timeout=10 20:45:53 > git --version # 'git version 2.25.1' 20:45:53 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:45:53 > git config core.sparsecheckout # timeout=10 20:45:53 > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # timeout=10 20:45:53 > git remote # timeout=10 20:45:53 > git config --get remote.origin.url # timeout=10 20:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:53 > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 20:45:53 > git rev-parse HEAD^{commit} # timeout=10 20:45:53 > git config core.sparsecheckout # timeout=10 20:45:53 > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # timeout=10 20:45:54 20:45:54 GitHub has been notified of this commit’s build result 20:45:54 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:55 Dload Upload Total Spent Left Speed 20:45:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh 20:45:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:56 + sudo tee /etc/docker/daemon.new 20:45:56 { 20:45:56 "registry-mirrors": [ 20:45:56 "https://nexus3.edgexfoundry.org:10001" 20:45:56 ], 20:45:56 "bip": "10.250.0.254/24", 20:45:56 "hosts": [ 20:45:56 "tcp://0.0.0.0:5555", 20:45:56 "unix:///var/run/docker.sock" 20:45:56 ], 20:45:56 "mtu": 1458, 20:45:56 "selinux-enabled": true, 20:45:56 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:56 } [Pipeline] sh 20:45:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:56 + sudo service docker restart 20:45:58 2f39f015ded8: Pull complete 20:45:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:58 prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container 20:45:58 $ 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-376 -v /w/workspace/gexfoundry_device-rest-go_PR-376:/w/workspace/gexfoundry_device-rest-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-376@tmp:/w/workspace/gexfoundry_device-rest-go_PR-376@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 20:46:03 $ docker top 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:03 ---> job-cost.sh 20:46:03 lf-activate-venv: SKIPPING 20:46:03 INFO: No Stack... 20:46:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:04 INFO: Archiving Costs [Pipeline] sh 20:46:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-376/archives/cost.csv 20:46:04 + cut -d, -f6 [Pipeline] lock 20:46:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] 20:46:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] did not exist. Created. 20:46:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:05 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:05 Stashed 1 file(s) [Pipeline] } 20:46:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:05 $ docker stop --time=1 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 20:46:06 $ docker rm -f --volumes 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:15 provisioning config files... 20:46:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10923430286414004740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:15 ---> ****-login.sh 20:46:15 nexus3.edgexfoundry.org:10001 20:46:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:15 Configure a credential helper to remove this warning. See 20:46:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:15 20:46:15 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10002 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10003 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10004 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 ****.io 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:17 Configure a credential helper to remove this warning. See 20:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:17 20:46:17 Login Succeeded 20:46:17 ---> ****-login.sh ends [Pipeline] } 20:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:46:17 ========================================================= 20:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:46:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:18 + 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 . 20:46:19 #0 building with "default" instance using docker driver 20:46:19 20:46:19 #1 [internal] load .dockerignore 20:46:19 #1 transferring context: 193B 0.0s done 20:46:19 #1 DONE 0.1s 20:46:19 20:46:19 #2 [internal] load build definition from Dockerfile 20:46:19 #2 transferring dockerfile: 1.73kB 0.0s done 20:46:19 #2 DONE 0.1s 20:46:19 20:46:19 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:46:19 #3 DONE 0.1s 20:46:19 20:46:19 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:46:19 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:46:20 #4 ... 20:46:20 20:46:20 #5 [internal] load build context 20:46:20 #5 transferring context: 95.80kB 0.0s done 20:46:20 #5 DONE 0.1s 20:46:20 20:46:20 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:46:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.1s 20:46:20 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:46:20 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:46:20 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:46:20 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s 20:46:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.3s 20:46:20 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 20:46:20 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:46:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.99MB / 97.63MB 0.3s 20:46:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.4s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.4s 20:46:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.38MB / 63.99MB 0.5s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.5s 20:46:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.5s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.05MB / 63.99MB 0.6s 20:46:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:46:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 0.8s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 0.9s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s 20:46:20 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.1s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.1s 20:46:20 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:46:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.2s 20:46:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.55MB / 97.63MB 1.2s 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.3s 20:46:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.3s done 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.5s 20:46:21 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.6s 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 1.7s 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 1.9s 20:46:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.52MB / 97.63MB 2.0s 20:46:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 6.1s done 20:46:26 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.1s 20:46:31 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.2s 20:46:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.9s done 20:46:40 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 20:46:40 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:46:40 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:46:40 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 20:46:46 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 20:46:48 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done 20:46:49 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:46:51 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 20:46:56 #4 DONE 35.8s 20:46:56 20:46:56 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:46:56 #6 0.704 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:46:56 #6 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:46:57 #6 2.031 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:46:57 #6 2.053 (2/4) Installing libedit (20221030.3.1-r1) 20:46:57 #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:46:57 #6 2.128 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:46:57 #6 2.154 Executing busybox-1.36.1-r5.trigger 20:46:57 #6 2.192 OK: 271 MiB in 56 packages 20:46:59 #6 DONE 3.8s 20:46:59 20:46:59 #7 [builder 3/7] WORKDIR /device-rest-go 20:46:59 #7 DONE 0.1s 20:46:59 20:46:59 #8 [builder 4/7] COPY go.mod vendor* ./ 20:46:59 #8 DONE 0.1s 20:46:59 20:46:59 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:26 #9 DONE 25.4s 20:47:26 20:47:26 #10 [builder 6/7] COPY . . 20:47:26 #10 DONE 0.1s 20:47:26 20:47:26 #11 [builder 7/7] RUN echo noop 20:47:26 #11 0.606 noop 20:47:26 #11 DONE 0.7s 20:47:26 20:47:26 #12 exporting to image 20:47:26 #12 exporting layers 20:47:48 #12 exporting layers 21.8s done 20:47:48 #12 writing image sha256:b577ddbfecc5aa394cdc8af1adae80cc61a893725d301d8d27f692e06ba6e10c done 20:47:48 #12 naming to docker.io/library/ci-base-image-arm64 done 20:47:48 #12 DONE 21.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:49 + docker inspect -f . ci-base-image-arm64 20:47:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:49 prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container 20:47:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:50 $ docker top 674bbfe9215bce5d13070889b9a727590621833bf70c71caea03ca8d8a871268 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:51 + go version 20:47:51 go version go1.21.0 linux/arm64 [Pipeline] } 20:47:51 $ docker stop --time=1 674bbfe9215bce5d13070889b9a727590621833bf70c71caea03ca8d8a871268 20:47:52 $ docker rm -f --volumes 674bbfe9215bce5d13070889b9a727590621833bf70c71caea03ca8d8a871268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:54 + docker inspect -f . ci-base-image-arm64 20:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:54 prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container 20:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:55 $ docker top 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:56 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:47:56 + make test 20:47:56 go test ./... -coverprofile=coverage.out ./... 20:48:00 ? github.com/edgexfoundry/device-rest-go [no test files] 20:48:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:48:57 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 20:48:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:57 go vet ./... 20:49:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:03 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:49:03 $ docker stop --time=1 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d 20:49:05 $ docker rm -f --volumes 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d [Pipeline] // withDockerContainer [Pipeline] sh 20:49:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:07 Warning: overwriting stash ‘coverage-report’ 20:49:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:08 + ls -al . 20:49:08 total 176 20:49:08 drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:47 . 20:49:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 20:45 .. 20:49:08 -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 20:45 .dockerignore 20:49:08 drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:45 .git 20:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 .github 20:49:08 -rw-rw-r-- 1 jenkins jenkins 264 Dec 20 20:45 .gitignore 20:49:08 -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 20:45 .golangci.yml 20:49:08 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 20 20:45 Attribution.txt 20:49:08 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 20 20:45 CHANGELOG.md 20:49:08 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 20 20:45 Dockerfile 20:49:08 -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 20:45 GOVERNANCE.md 20:49:08 -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 20:45 Jenkinsfile 20:49:08 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 20:45 LICENSE 20:49:08 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 20 20:45 Makefile 20:49:08 -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 20:45 OWNERS.md 20:49:08 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 20 20:45 README.md 20:49:08 -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 20:43 VERSION 20:49:08 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:45 bin 20:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 cmd 20:49:08 -rw-r--r-- 1 jenkins jenkins 14499 Dec 20 20:48 coverage.out 20:49:08 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:45 driver 20:49:08 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 20 20:45 go.mod 20:49:08 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 20 20:45 go.sum 20:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 openapi 20:49:08 -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:09 + 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=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 --label arch=arm64 --label version=0.0.0 . 20:49:10 #0 building with "default" instance using docker driver 20:49:10 20:49:10 #1 [internal] load .dockerignore 20:49:10 #1 transferring context: 193B 0.0s done 20:49:10 #1 DONE 0.0s 20:49:10 20:49:10 #2 [internal] load build definition from Dockerfile 20:49:10 #2 transferring dockerfile: 1.73kB done 20:49:10 #2 DONE 0.0s 20:49:10 20:49:10 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:49:10 #3 DONE 0.0s 20:49:10 20:49:10 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:49:10 #4 DONE 0.4s 20:49:10 20:49:10 #5 [internal] load build context 20:49:10 #5 transferring context: 16.04kB 0.0s done 20:49:10 #5 DONE 0.0s 20:49:10 20:49:10 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:49:10 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:49:10 #6 ... 20:49:10 20:49:10 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:49:10 #7 DONE 0.2s 20:49:10 20:49:10 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:49:10 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:49:10 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 20:49:10 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:49:10 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:49:10 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:49:10 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 20:49:10 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 20:49:11 #6 DONE 0.9s 20:49:11 20:49:11 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:49:11 #8 0.651 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:49:12 #8 0.978 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:49:13 #8 ... 20:49:13 20:49:13 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:49:13 #9 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:49:13 #9 1.179 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:49:13 #9 2.263 OK: 271 MiB in 56 packages 20:49:13 #9 DONE 2.6s 20:49:13 20:49:13 #10 [builder 3/7] WORKDIR /device-rest-go 20:49:13 #10 DONE 0.1s 20:49:13 20:49:13 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:49:13 #8 2.027 (1/1) Installing dumb-init (1.2.5-r2) 20:49:13 #8 2.048 Executing busybox-1.36.1-r5.trigger 20:49:13 #8 2.089 OK: 8 MiB in 16 packages 20:49:13 #8 ... 20:49:13 20:49:13 #11 [builder 4/7] COPY go.mod vendor* ./ 20:49:13 #11 DONE 0.2s 20:49:13 20:49:13 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:13 #12 ... 20:49:13 20:49:13 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:49:13 #8 DONE 2.4s 20:49:13 20:49:13 #13 [stage-1 3/6] RUN apk --no-cache upgrade 20:49:14 #13 0.665 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:49:14 #13 1.002 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:49:15 #13 1.938 OK: 8 MiB in 16 packages 20:49:16 #13 DONE 3.0s 20:49:16 20:49:16 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:16 #12 DONE 3.2s 20:49:16 20:49:16 #14 [builder 6/7] COPY . . 20:49:16 #14 DONE 0.1s 20:49:16 20:49:16 #15 [builder 7/7] RUN make build 20:49:17 #15 0.699 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:50:25 #15 DONE 61.7s 20:50:25 20:50:25 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:50:25 #16 DONE 0.3s 20:50:25 20:50:25 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:50:25 #17 DONE 0.1s 20:50:25 20:50:25 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:50:25 #18 DONE 0.1s 20:50:25 20:50:25 #19 exporting to image 20:50:25 #19 exporting layers 20:50:25 #19 exporting layers 0.3s done 20:50:25 #19 writing image sha256:9c8ec011537dfb3f667708c2bf5c777c8ac9abd88acb22009d2bf7723f6c8945 done 20:50:25 #19 naming to docker.io/library/device-rest-arm64 0.0s done 20:50:25 #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 20:50:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:26 20:50:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:28 arm64: Pulling from edgex-lftools-log-publisher 20:50:28 8998bd30e6a1: Pulling fs layer 20:50:28 04944245beec: Pulling fs layer 20:50:28 699f458cf7ca: Pulling fs layer 20:50:28 765212b225bb: Pulling fs layer 20:50:28 f23df028b6ca: Pulling fs layer 20:50:28 d65c8cfc05b1: Pulling fs layer 20:50:28 2437ff75d9bd: Pulling fs layer 20:50:28 765212b225bb: Waiting 20:50:28 f23df028b6ca: Waiting 20:50:28 d65c8cfc05b1: Waiting 20:50:28 2437ff75d9bd: Waiting 20:50:28 04944245beec: Verifying Checksum 20:50:28 04944245beec: Download complete 20:50:28 765212b225bb: Download complete 20:50:28 f23df028b6ca: Verifying Checksum 20:50:28 f23df028b6ca: Download complete 20:50:28 d65c8cfc05b1: Verifying Checksum 20:50:28 d65c8cfc05b1: Download complete 20:50:28 699f458cf7ca: Verifying Checksum 20:50:28 699f458cf7ca: Download complete 20:50:29 8998bd30e6a1: Verifying Checksum 20:50:29 8998bd30e6a1: Download complete 20:50:31 2437ff75d9bd: Verifying Checksum 20:50:31 2437ff75d9bd: Download complete 20:50:35 8998bd30e6a1: Pull complete 20:50:36 04944245beec: Pull complete 20:50:38 699f458cf7ca: Pull complete 20:50:38 765212b225bb: Pull complete 20:50:44 f23df028b6ca: Pull complete 20:50:44 d65c8cfc05b1: Pull complete 20:51:10 2437ff75d9bd: Pull complete 20:51:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:51:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:11 prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container 20:51:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:51:13 $ docker top 4fa94dd822ad247deb8e3cc3835c50950da9e10d49071cef81001fc017a75529 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:14 ---> job-cost.sh 20:51:14 lf-activate-venv: SKIPPING 20:51:14 INFO: No Stack... 20:51:15 INFO: Retrieving Pricing Info for: v3-standard-8 20:51:15 INFO: Archiving Costs [Pipeline] sh 20:51:16 + cut -d, -f6 20:51:16 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:51:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] 20:51:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] did not exist. Created. 20:51:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:16 /w/workspace/device-rest-go/1@tmp/durable-084c8615/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:51:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:51:17 Warning: overwriting stash ‘stack-cost’ 20:51:17 Stashed 1 file(s) [Pipeline] } 20:51:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:51:17 $ docker stop --time=1 4fa94dd822ad247deb8e3cc3835c50950da9e10d49071cef81001fc017a75529 20:51:18 $ docker rm -f --volumes 4fa94dd822ad247deb8e3cc3835c50950da9e10d49071cef81001fc017a75529 [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 20:51:20 provisioning config files... 20:51:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config15759291658961515919tmp [Pipeline] { [Pipeline] sh 20:51:21 + set +x 20:51:21 + curl -s https://codecov.io/bash 20:51:21 + bash -s -- 20:51:21 20:51:21 _____ _ 20:51:21 / ____| | | 20:51:21 | | ___ __| | ___ ___ _____ __ 20:51:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:51:21 | |___| (_) | (_| | __/ (_| (_) \ V / 20:51:21 \_____\___/ \__,_|\___|\___\___/ \_/ 20:51:21 Bash-1.0.6 20:51:21 20:51:21 20:51:21 ==> git version 2.25.1 found 20:51:21 ==> 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 20:51:21 Release-Date: 2020-01-08 20:51:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:51:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:51:21 ==> Jenkins CI detected. 20:51:21 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-376 20:51:21 project root: . 20:51:21 --> token set from env 20:51:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:51:21 ==> Running gcov in . (disable via -X gcov) 20:51:21 ==> Python coveragepy not found 20:51:21 ==> Searching for coverage reports in: 20:51:21 + . 20:51:21 -> Found 1 reports 20:51:21 ==> Detecting git/mercurial file structure 20:51:21 ==> Reading reports 20:51:21 + ./coverage.out bytes=14499 20:51:21 ==> Appending adjustments 20:51:21 https://docs.codecov.io/docs/fixing-reports 20:51:21 + Found adjustments 20:51:21 ==> Gzipping contents 20:51:21 4.0K /tmp/codecov.CUvoGK.gz 20:51:21 ==> Uploading reports 20:51:21 url: https://codecov.io 20:51:21 query: branch=PR-376&commit=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=376&job=&cmd_args= 20:51:21 -> Pinging Codecov 20:51:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-376&commit=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=376&job=&cmd_args= 20:51:21 -> Uploading to 20:51:21 https://storage.googleapis.com/codecov/v4/raw/2023-12-20/4E5D53B4F1F92C436F7061BF334D961C/b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31/0bcca6ed-c9dc-4851-9203-cdfde2ff58e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231220T205121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3385c3114410d520618e9922f5915cb946e1e5f8e36e933c6478f47727879ffe 20:51:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:21 Dload Upload Total Spent Left Speed 20:51:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11377 --:--:-- --:--:-- --:--:-- 11321 100 2321 0 0 100 2321 0 8791 --:--:-- --:--:-- --:--:-- 8758 20:51:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] } 20:51:21 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 20:51:25 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-376/archives ] 20:51:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-376/archives 20:51:25 total 16 20:51:25 drwxr-xr-x 3 root root 4096 Dec 20 20:46 . 20:51:25 drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 20:46 .. 20:51:25 drwxr-xr-x 2 root root 4096 Dec 20 20:46 cost 20:51:25 -rw-r--r-- 1 root root 86 Dec 20 20:46 cost.csv 20:51:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-376/archives 20:51:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-376/archives 20:51:25 total 16 20:51:25 drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 20:46 . 20:51:25 drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 20:46 .. 20:51:25 drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 20:46 cost 20:51:25 -rw-r--r-- 1 jenkins jenkins 86 Dec 20 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:51:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:51:26 ---> package-listing.sh 20:51:26 ++ facter osfamily 20:51:26 ++ tr '[:upper:]' '[:lower:]' 20:51:26 + OS_FAMILY=debian 20:51:26 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-376 20:51:26 + START_PACKAGES=/tmp/packages_start.txt 20:51:26 + END_PACKAGES=/tmp/packages_end.txt 20:51:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:51:26 + PACKAGES=/tmp/packages_start.txt 20:51:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-376 ']' 20:51:26 + PACKAGES=/tmp/packages_end.txt 20:51:26 + case "${OS_FAMILY}" in 20:51:26 + dpkg -l 20:51:26 + grep '^ii' 20:51:26 + '[' -f /tmp/packages_start.txt ']' 20:51:26 + '[' -f /tmp/packages_end.txt ']' 20:51:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:51:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-376 ']' 20:51:26 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-376/archives/ 20:51:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-376/archives/ [Pipeline] echo 20:51:26 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:51:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:27 prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container 20:51:28 $ 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-376/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-376 -v /w/workspace/gexfoundry_device-rest-go_PR-376:/w/workspace/gexfoundry_device-rest-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-376@tmp:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:51:28 $ docker top 01ab5184d45c1f38de243fb4ce5e0781746a1a0f4235af811e1dc4e27ac16693 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:28 + touch /tmp/pre-build-complete [Pipeline] sh 20:51:29 + mkdir -p /var/log/sysstat [Pipeline] sh 20:51:29 + ls /var/log/sa-host 20:51:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:29 provisioning config files... 20:51:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config12887674384495464714tmp [Pipeline] { [Pipeline] echo 20:51:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:51:30 ---> create-netrc.sh [Pipeline] } 20:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:51:30 ---> python-tools-install.sh [Pipeline] echo 20:51:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:51:30 ---> sudo-logs.sh 20:51:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:51:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:51:31 ---> job-cost.sh 20:51:31 lf-activate-venv: SKIPPING 20:51:31 DEBUG: total: 0.2199999988079071 20:51:31 INFO: Retrieving Stack Cost... 20:51:31 INFO: Retrieving Pricing Info for: v3-standard-8 20:51:32 INFO: Archiving Costs [Pipeline] echo 20:51:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:51:32 ---> logs-deploy.sh 20:51:32 lf-activate-venv: SKIPPING 20:51:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-376/1 20:51:32 INFO: archiving workspace using pattern(s): 20:51:33 Archives upload complete. 20:51:33 INFO: archiving logs to Nexus