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 [2023-12-20T20:43:22.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-20T20:43:22.294Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-20T20:43:22.398Z] ========================================================= [2023-12-20T20:43:22.398Z] EdgeX Global Pipelines Version Info [2023-12-20T20:43:22.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:43:23.153Z] ------------------- [2023-12-20T20:43:23.153Z] stable info: [2023-12-20T20:43:23.153Z] ------------------- [2023-12-20T20:43:23.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-20T20:43:23.153Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-20T20:43:23.153Z] Message: update stable to v1.0.258 [2023-12-20T20:43:23.733Z] ------------------- [2023-12-20T20:43:23.733Z] experimental info: [2023-12-20T20:43:23.733Z] ------------------- [2023-12-20T20:43:23.733Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-20T20:43:23.733Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-20T20:43:23.733Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-20T20:43:23.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-20T20:43:24.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-20T20:43:24.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-20T20:43:24.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-20T20:43:24.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-20T20:43:24.279Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-20T20:43:24.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-20T20:43:24.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-20T20:43:24.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-20T20:43:24.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-20T20:43:24.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-20T20:43:24.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-20T20:43:24.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-20T20:43:24.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-20T20:43:24.875Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-20T20:43:24.948Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-20T20:43:25.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-20T20:43:25.091Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-20T20:43:25.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-20T20:43:25.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-20T20:43:25.301Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-20T20:43:25.383Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-20T20:43:25.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-20T20:43:25.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-20T20:43:25.607Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-20T20:43:25.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-20T20:43:25.750Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-20T20:43:25.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo [2023-12-20T20:43:25.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo [2023-12-20T20:43:25.980Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo [2023-12-20T20:43:26.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo [2023-12-20T20:43:26.135Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b130ff9 [Pipeline] echo [2023-12-20T20:43:26.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-20T20:43:26.510Z] provisioning config files... [2023-12-20T20:43:26.532Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config7491630068710817778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:43:26.964Z] ---> ****-login.sh [2023-12-20T20:43:26.965Z] nexus3.edgexfoundry.org:10001 [2023-12-20T20:43:27.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:27.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:27.488Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:27.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:27.488Z] [2023-12-20T20:43:27.488Z] Login Succeeded [2023-12-20T20:43:27.488Z] nexus3.edgexfoundry.org:10002 [2023-12-20T20:43:27.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:27.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:27.488Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:27.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:27.488Z] [2023-12-20T20:43:27.488Z] Login Succeeded [2023-12-20T20:43:27.488Z] nexus3.edgexfoundry.org:10003 [2023-12-20T20:43:27.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:27.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:27.753Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:27.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:27.753Z] [2023-12-20T20:43:27.753Z] Login Succeeded [2023-12-20T20:43:27.753Z] nexus3.edgexfoundry.org:10004 [2023-12-20T20:43:27.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:27.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:27.753Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:27.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:27.753Z] [2023-12-20T20:43:27.753Z] Login Succeeded [2023-12-20T20:43:27.753Z] ****.io [2023-12-20T20:43:27.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:28.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:28.015Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:28.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:28.015Z] [2023-12-20T20:43:28.015Z] Login Succeeded [2023-12-20T20:43:28.015Z] ---> ****-login.sh ends [Pipeline] } [2023-12-20T20:43:28.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-20T20:43:28.859Z] + git rev-list -1 --merges b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31~1..b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo [2023-12-20T20:43:28.901Z] -----------> git rev-list -1 --merges b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31~1..b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [false] [Pipeline] sh [2023-12-20T20:43:29.227Z] + git log --format=format:%s -1 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo [2023-12-20T20:43:29.271Z] ========================================================= [2023-12-20T20:43:29.271Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-20T20:43:29.271Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-20T20:43:29.764Z] + git log --format=format:%s -1 b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] echo [2023-12-20T20:43:29.798Z] [semverPrep] GIT_COMMIT: b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4 [Pipeline] echo [2023-12-20T20:43:29.850Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-20T20:43:30.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-20T20:43:30.281Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-20T20:43:30.281Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-20T20:43:30.281Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-20T20:43:30.281Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-20T20:43:30.281Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-20T20:43:30.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:43:30.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-20T20:43:30.802Z] [2023-12-20T20:43:30.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:43:31.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-20T20:43:31.215Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-20T20:43:31.215Z] b85a868b505f: Pulling fs layer [2023-12-20T20:43:31.215Z] e2be974225ed: Pulling fs layer [2023-12-20T20:43:31.215Z] 339a4e72a1f5: Pulling fs layer [2023-12-20T20:43:31.215Z] 988bab9f4d93: Pulling fs layer [2023-12-20T20:43:31.215Z] 1469e6f7b9e6: Pulling fs layer [2023-12-20T20:43:31.215Z] eaf3925da568: Pulling fs layer [2023-12-20T20:43:31.215Z] bab4dde63d76: Pulling fs layer [2023-12-20T20:43:31.215Z] bde34c3a00c8: Pulling fs layer [2023-12-20T20:43:31.215Z] b352a97aabf1: Pulling fs layer [2023-12-20T20:43:31.215Z] 4872d77fe225: Pulling fs layer [2023-12-20T20:43:31.215Z] 5851b861e8e6: Pulling fs layer [2023-12-20T20:43:31.215Z] bab4dde63d76: Waiting [2023-12-20T20:43:31.215Z] 4872d77fe225: Waiting [2023-12-20T20:43:31.215Z] 1469e6f7b9e6: Waiting [2023-12-20T20:43:31.215Z] 5851b861e8e6: Waiting [2023-12-20T20:43:31.215Z] bde34c3a00c8: Waiting [2023-12-20T20:43:31.215Z] b352a97aabf1: Waiting [2023-12-20T20:43:31.215Z] eaf3925da568: Waiting [2023-12-20T20:43:31.215Z] 988bab9f4d93: Waiting [2023-12-20T20:43:31.215Z] e2be974225ed: Verifying Checksum [2023-12-20T20:43:31.215Z] e2be974225ed: Download complete [2023-12-20T20:43:31.215Z] 988bab9f4d93: Verifying Checksum [2023-12-20T20:43:31.215Z] 988bab9f4d93: Download complete [2023-12-20T20:43:31.215Z] 1469e6f7b9e6: Verifying Checksum [2023-12-20T20:43:31.215Z] 1469e6f7b9e6: Download complete [2023-12-20T20:43:31.215Z] 339a4e72a1f5: Verifying Checksum [2023-12-20T20:43:31.215Z] 339a4e72a1f5: Download complete [2023-12-20T20:43:31.475Z] eaf3925da568: Verifying Checksum [2023-12-20T20:43:31.475Z] eaf3925da568: Download complete [2023-12-20T20:43:31.475Z] bde34c3a00c8: Verifying Checksum [2023-12-20T20:43:31.475Z] bde34c3a00c8: Download complete [2023-12-20T20:43:31.475Z] b352a97aabf1: Verifying Checksum [2023-12-20T20:43:31.475Z] b352a97aabf1: Download complete [2023-12-20T20:43:31.475Z] 4872d77fe225: Verifying Checksum [2023-12-20T20:43:31.475Z] 4872d77fe225: Download complete [2023-12-20T20:43:31.475Z] 5851b861e8e6: Verifying Checksum [2023-12-20T20:43:31.475Z] 5851b861e8e6: Download complete [2023-12-20T20:43:31.475Z] b85a868b505f: Download complete [2023-12-20T20:43:31.735Z] bab4dde63d76: Download complete [2023-12-20T20:43:32.672Z] b85a868b505f: Pull complete [2023-12-20T20:43:32.933Z] e2be974225ed: Pull complete [2023-12-20T20:43:33.503Z] 339a4e72a1f5: Pull complete [2023-12-20T20:43:33.503Z] 988bab9f4d93: Pull complete [2023-12-20T20:43:33.763Z] 1469e6f7b9e6: Pull complete [2023-12-20T20:43:33.763Z] eaf3925da568: Pull complete [2023-12-20T20:43:35.707Z] bab4dde63d76: Pull complete [2023-12-20T20:43:35.707Z] bde34c3a00c8: Pull complete [2023-12-20T20:43:35.707Z] b352a97aabf1: Pull complete [2023-12-20T20:43:35.966Z] 4872d77fe225: Pull complete [2023-12-20T20:43:35.966Z] 5851b861e8e6: Pull complete [2023-12-20T20:43:35.966Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-20T20:43:35.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-20T20:43:35.966Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:43:36.329Z] prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container [2023-12-20T20:43:36.365Z] $ 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 [2023-12-20T20:43:39.869Z] $ docker top f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 -eo pid,comm [2023-12-20T20:43:39.924Z] 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). [2023-12-20T20:43:39.924Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-20T20:43:40.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-20T20:43:40.132Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-20T20:43:40.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-20T20:43:40.258Z] $ docker exec f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent [2023-12-20T20:43:40.372Z] SSH_AUTH_SOCK=/tmp/ssh-dnzw5j1DTA69/agent.34 [2023-12-20T20:43:40.372Z] SSH_AGENT_PID=40 [2023-12-20T20:43:40.380Z] Running ssh-add (command line suppressed) [2023-12-20T20:43:40.491Z] 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) [2023-12-20T20:43:40.503Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-20T20:43:40.862Z] + git tag --points-at HEAD [Pipeline] } [2023-12-20T20:43:40.890Z] $ docker exec --env ******** --env ******** f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent -k [2023-12-20T20:43:40.997Z] unset SSH_AUTH_SOCK; [2023-12-20T20:43:40.997Z] unset SSH_AGENT_PID; [2023-12-20T20:43:40.997Z] echo Agent pid 40 killed; [2023-12-20T20:43:41.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-20T20:43:41.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-20T20:43:41.143Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-20T20:43:41.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-20T20:43:41.271Z] $ docker exec f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent [2023-12-20T20:43:41.369Z] SSH_AUTH_SOCK=/tmp/ssh-21MRMLKKmK6S/agent.72 [2023-12-20T20:43:41.369Z] SSH_AGENT_PID=78 [2023-12-20T20:43:41.374Z] Running ssh-add (command line suppressed) [2023-12-20T20:43:41.477Z] 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) [2023-12-20T20:43:41.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-20T20:43:41.848Z] + git semver init [2023-12-20T20:43:42.107Z] 2023-12-20 20:43:42,042 [run_init] DEBUG init version:0.0.0 force:False [2023-12-20T20:43:42.107Z] 2023-12-20 20:43:42,043 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-376/.semver [2023-12-20T20:43:42.107Z] 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 [2023-12-20T20:43:42.107Z] 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) [2023-12-20T20:43:44.642Z] 2023-12-20 20:43:44,106 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-376/.git/info/exclude [2023-12-20T20:43:44.642Z] 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 [2023-12-20T20:43:44.642Z] 2023-12-20 20:43:44,107 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-376/.semver/PR-376 [2023-12-20T20:43:44.642Z] 2023-12-20 20:43:44,111 [execute] INFO git cat-file --batch-check [2023-12-20T20:43:44.642Z] 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=) [2023-12-20T20:43:44.643Z] 2023-12-20 20:43:44,119 [execute] INFO git cat-file --batch [2023-12-20T20:43:44.643Z] 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=) [2023-12-20T20:43:44.643Z] 2023-12-20 20:43:44,124 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-376/.semver/PR-376 [2023-12-20T20:43:44.643Z] 0.0.0 [Pipeline] } [2023-12-20T20:43:44.673Z] $ docker exec --env ******** --env ******** f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 ssh-agent -k [2023-12-20T20:43:44.775Z] unset SSH_AUTH_SOCK; [2023-12-20T20:43:44.775Z] unset SSH_AGENT_PID; [2023-12-20T20:43:44.775Z] echo Agent pid 78 killed; [2023-12-20T20:43:44.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-20T20:43:45.309Z] + git semver [Pipeline] } [2023-12-20T20:43:45.597Z] $ docker stop --time=1 f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 [2023-12-20T20:43:46.886Z] $ docker rm -f --volumes f8298c8c2a85bd2ce495b3686c35fb632493ecc3b5856d0a9dfd038068287ca4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-20T20:43:47.340Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-20T20:43:47.753Z] Stashed 1 file(s) [Pipeline] echo [2023-12-20T20:43:47.770Z] [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 [2023-12-20T20:43:48.693Z] provisioning config files... [2023-12-20T20:43:48.703Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config11895050990786240667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:43:49.108Z] ---> ****-login.sh [2023-12-20T20:43:49.109Z] nexus3.edgexfoundry.org:10001 [2023-12-20T20:43:49.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:49.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:49.109Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:49.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:49.109Z] [2023-12-20T20:43:49.109Z] Login Succeeded [2023-12-20T20:43:49.109Z] nexus3.edgexfoundry.org:10002 [2023-12-20T20:43:49.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:49.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:49.109Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:49.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:49.109Z] [2023-12-20T20:43:49.109Z] Login Succeeded [2023-12-20T20:43:49.109Z] nexus3.edgexfoundry.org:10003 [2023-12-20T20:43:49.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:49.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:49.369Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:49.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:49.369Z] [2023-12-20T20:43:49.369Z] Login Succeeded [2023-12-20T20:43:49.369Z] nexus3.edgexfoundry.org:10004 [2023-12-20T20:43:49.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:49.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:49.369Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:49.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:49.369Z] [2023-12-20T20:43:49.369Z] Login Succeeded [2023-12-20T20:43:49.369Z] ****.io [2023-12-20T20:43:49.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:43:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:43:50.199Z] Configure a credential helper to remove this warning. See [2023-12-20T20:43:50.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:43:50.199Z] [2023-12-20T20:43:50.199Z] Login Succeeded [2023-12-20T20:43:50.199Z] ---> ****-login.sh ends [Pipeline] } [2023-12-20T20:43:50.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-20T20:43:50.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-20T20:43:50.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-20T20:43:50.662Z] ========================================================= [2023-12-20T20:43:50.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-20T20:43:50.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:43:51.233Z] + 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 . [2023-12-20T20:43:51.233Z] Sending build context to Docker daemon 16.31MB [2023-12-20T20:43:51.233Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-20T20:43:51.233Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-20T20:43:51.233Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-20T20:43:51.233Z] 7264a8db6415: Pulling fs layer [2023-12-20T20:43:51.233Z] c4d48a809fc2: Pulling fs layer [2023-12-20T20:43:51.233Z] 4f1c88b9dad5: Pulling fs layer [2023-12-20T20:43:51.233Z] ad3a456e5733: Pulling fs layer [2023-12-20T20:43:51.233Z] 69c7f0334f64: Pulling fs layer [2023-12-20T20:43:51.233Z] 1f1c1a5573a3: Pulling fs layer [2023-12-20T20:43:51.233Z] 69c7f0334f64: Waiting [2023-12-20T20:43:51.233Z] ce7588e14bc9: Pulling fs layer [2023-12-20T20:43:51.233Z] b5e4710f87ac: Pulling fs layer [2023-12-20T20:43:51.233Z] 1f1c1a5573a3: Waiting [2023-12-20T20:43:51.233Z] b5e4710f87ac: Waiting [2023-12-20T20:43:51.233Z] ce7588e14bc9: Waiting [2023-12-20T20:43:51.493Z] c4d48a809fc2: Download complete [2023-12-20T20:43:51.493Z] ad3a456e5733: Verifying Checksum [2023-12-20T20:43:51.493Z] ad3a456e5733: Download complete [2023-12-20T20:43:51.493Z] 69c7f0334f64: Download complete [2023-12-20T20:43:51.493Z] 7264a8db6415: Verifying Checksum [2023-12-20T20:43:51.493Z] 7264a8db6415: Download complete [2023-12-20T20:43:51.493Z] 1f1c1a5573a3: Verifying Checksum [2023-12-20T20:43:51.493Z] 1f1c1a5573a3: Download complete [2023-12-20T20:43:51.493Z] 7264a8db6415: Pull complete [2023-12-20T20:43:51.493Z] b5e4710f87ac: Verifying Checksum [2023-12-20T20:43:51.493Z] b5e4710f87ac: Download complete [2023-12-20T20:43:51.753Z] c4d48a809fc2: Pull complete [2023-12-20T20:43:51.753Z] 4f1c88b9dad5: Verifying Checksum [2023-12-20T20:43:51.753Z] 4f1c88b9dad5: Download complete [2023-12-20T20:43:52.319Z] ce7588e14bc9: Verifying Checksum [2023-12-20T20:43:52.319Z] ce7588e14bc9: Download complete [2023-12-20T20:43:55.679Z] 4f1c88b9dad5: Pull complete [2023-12-20T20:43:55.679Z] ad3a456e5733: Pull complete [2023-12-20T20:43:55.679Z] 69c7f0334f64: Pull complete [2023-12-20T20:43:55.679Z] 1f1c1a5573a3: Pull complete [2023-12-20T20:43:57.584Z] ce7588e14bc9: Pull complete [2023-12-20T20:43:58.150Z] b5e4710f87ac: Pull complete [2023-12-20T20:43:58.150Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-20T20:43:58.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-20T20:43:58.150Z] ---> 88b5674ff536 [2023-12-20T20:43:58.150Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-20T20:44:02.358Z] ---> Running in be503dcb51a2 [2023-12-20T20:44:02.358Z] Removing intermediate container be503dcb51a2 [2023-12-20T20:44:02.358Z] ---> 77b828f328e4 [2023-12-20T20:44:02.358Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-20T20:44:02.358Z] ---> Running in 9046b0561ac7 [2023-12-20T20:44:02.358Z] Removing intermediate container 9046b0561ac7 [2023-12-20T20:44:02.358Z] ---> 81f7e8a82e2a [2023-12-20T20:44:02.358Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-20T20:44:02.359Z] ---> Running in b7ec9fa9d140 [2023-12-20T20:44:02.359Z] Removing intermediate container b7ec9fa9d140 [2023-12-20T20:44:02.359Z] ---> acd3f1c7b1c0 [2023-12-20T20:44:02.359Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-20T20:44:02.359Z] ---> Running in 6784294e45d3 [2023-12-20T20:44:02.359Z] Removing intermediate container 6784294e45d3 [2023-12-20T20:44:02.359Z] ---> 71d3b03259d6 [2023-12-20T20:44:02.359Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-20T20:44:02.359Z] ---> Running in b5a72dab2ae8 [2023-12-20T20:44:02.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-20T20:44:02.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-20T20:44:02.876Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-20T20:44:02.876Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-20T20:44:02.876Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-20T20:44:02.876Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-20T20:44:02.876Z] Executing busybox-1.36.1-r5.trigger [2023-12-20T20:44:02.876Z] OK: 268 MiB in 56 packages [2023-12-20T20:44:03.436Z] Still waiting to schedule task [2023-12-20T20:44:03.436Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-20T20:44:03.477Z] Removing intermediate container b5a72dab2ae8 [2023-12-20T20:44:03.477Z] ---> 706dc9eea5ba [2023-12-20T20:44:03.477Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-20T20:44:03.477Z] ---> Running in 80c2213b6324 [2023-12-20T20:44:03.734Z] Removing intermediate container 80c2213b6324 [2023-12-20T20:44:03.734Z] ---> d86a4c61bd26 [2023-12-20T20:44:03.734Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-20T20:44:03.734Z] ---> 21a41b30baf5 [2023-12-20T20:44:03.734Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-20T20:44:03.734Z] ---> Running in 1da31deec37a [2023-12-20T20:44:50.456Z] Removing intermediate container 1da31deec37a [2023-12-20T20:44:50.456Z] ---> 2fd60a1622df [2023-12-20T20:44:50.456Z] Step 11/12 : COPY . . [2023-12-20T20:44:50.456Z] ---> 77d35bf08610 [2023-12-20T20:44:50.456Z] Step 12/12 : RUN $MAKE [2023-12-20T20:44:50.456Z] ---> Running in a65f98c340bf [2023-12-20T20:44:50.456Z] noop [2023-12-20T20:44:50.456Z] Removing intermediate container a65f98c340bf [2023-12-20T20:44:50.456Z] ---> 53693863e104 [2023-12-20T20:44:50.456Z] Successfully built 53693863e104 [2023-12-20T20:44:50.456Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:44:51.000Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-20T20:44:51.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:44:51.203Z] prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container [2023-12-20T20:44:51.235Z] $ 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 [2023-12-20T20:44:51.568Z] $ docker top 612e1c7bf2517dbf489b809c20d72ba126f7c929302e1914ca04888495cb37b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-20T20:44:52.010Z] + go version [2023-12-20T20:44:52.010Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-20T20:44:52.046Z] $ docker stop --time=1 612e1c7bf2517dbf489b809c20d72ba126f7c929302e1914ca04888495cb37b2 [2023-12-20T20:44:53.293Z] $ 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 [2023-12-20T20:44:54.282Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-20T20:44:54.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:44:54.497Z] prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container [2023-12-20T20:44:54.533Z] $ 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 [2023-12-20T20:44:54.896Z] $ docker top e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-20T20:44:55.359Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-376 [Pipeline] fileExists [Pipeline] sh [2023-12-20T20:44:55.751Z] + make test [2023-12-20T20:44:55.751Z] go test ./... -coverprofile=coverage.out ./... [2023-12-20T20:44:57.128Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-20T20:45:07.098Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-20T20:45:07.098Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements [2023-12-20T20:45:13.679Z] go vet ./... [2023-12-20T20:45:16.960Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-20T20:45:16.960Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-20T20:45:16.960Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-20T20:45:16.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-20T20:45:17.060Z] $ docker stop --time=1 e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e [2023-12-20T20:45:20.347Z] $ docker rm -f --volumes e734c81daf5e57122cc875fdd792c6c5339219f36bf429881959bbf8c51a4e1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-20T20:45:20.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-20T20:45:21.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-20T20:45:21.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-20T20:45:22.177Z] + ls -al . [2023-12-20T20:45:22.177Z] total 180 [2023-12-20T20:45:22.177Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 20:44 . [2023-12-20T20:45:22.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 20:43 .. [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 20:43 .dockerignore [2023-12-20T20:45:22.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:45 .git [2023-12-20T20:45:22.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 .github [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 20 20:43 .gitignore [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 20:43 .golangci.yml [2023-12-20T20:45:22.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 20:43 .semver [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 20 20:43 Attribution.txt [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 20 20:43 CHANGELOG.md [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 20 20:43 Dockerfile [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 20:43 GOVERNANCE.md [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 20:43 Jenkinsfile [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 20:43 LICENSE [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 20 20:43 Makefile [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 20:43 OWNERS.md [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 20 20:43 README.md [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 20:43 VERSION [2023-12-20T20:45:22.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:43 bin [2023-12-20T20:45:22.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 cmd [2023-12-20T20:45:22.177Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 20 20:45 coverage.out [2023-12-20T20:45:22.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:43 driver [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 20 20:43 go.mod [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 34593 Dec 20 20:43 go.sum [2023-12-20T20:45:22.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:43 openapi [2023-12-20T20:45:22.177Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:45:22.633Z] + 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 . [2023-12-20T20:45:22.634Z] Sending build context to Docker daemon 16.33MB [2023-12-20T20:45:22.634Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-20T20:45:22.634Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-20T20:45:22.634Z] ---> 53693863e104 [2023-12-20T20:45:22.634Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-20T20:45:23.211Z] ---> Running in 8dd75a5c3cf6 [2023-12-20T20:45:23.211Z] Removing intermediate container 8dd75a5c3cf6 [2023-12-20T20:45:23.211Z] ---> ed0ffd3949d9 [2023-12-20T20:45:23.211Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-20T20:45:23.211Z] ---> Running in b4f999660dc7 [2023-12-20T20:45:23.211Z] Removing intermediate container b4f999660dc7 [2023-12-20T20:45:23.211Z] ---> 08da2d8e7add [2023-12-20T20:45:23.211Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-20T20:45:23.211Z] ---> Running in a8b3b221fbc2 [2023-12-20T20:45:23.211Z] Removing intermediate container a8b3b221fbc2 [2023-12-20T20:45:23.211Z] ---> 6a3ccbf7cc3e [2023-12-20T20:45:23.211Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-20T20:45:23.471Z] ---> Running in 2f2d0c999b53 [2023-12-20T20:45:23.471Z] Removing intermediate container 2f2d0c999b53 [2023-12-20T20:45:23.471Z] ---> 1997dad7978c [2023-12-20T20:45:23.471Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-20T20:45:23.471Z] ---> Running in 0a03d680c1f5 [2023-12-20T20:45:23.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:23.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:24.252Z] OK: 268 MiB in 56 packages [2023-12-20T20:45:24.512Z] Removing intermediate container 0a03d680c1f5 [2023-12-20T20:45:24.512Z] ---> c0c06a6a79f9 [2023-12-20T20:45:24.512Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-20T20:45:24.512Z] ---> Running in 5e031ae1ca80 [2023-12-20T20:45:24.771Z] Removing intermediate container 5e031ae1ca80 [2023-12-20T20:45:24.771Z] ---> 40795fe49d97 [2023-12-20T20:45:24.771Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-20T20:45:24.771Z] ---> a8e3c6e4fb4a [2023-12-20T20:45:24.771Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-20T20:45:24.771Z] ---> Running in 362334d194a9 [2023-12-20T20:45:25.338Z] Removing intermediate container 362334d194a9 [2023-12-20T20:45:25.338Z] ---> 5884c118004c [2023-12-20T20:45:25.338Z] Step 11/26 : COPY . . [2023-12-20T20:45:25.904Z] ---> 154ac5bd49d5 [2023-12-20T20:45:25.904Z] Step 12/26 : RUN $MAKE [2023-12-20T20:45:26.162Z] ---> Running in 83b791863a87 [2023-12-20T20:45:26.421Z] 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 [2023-12-20T20:45:43.675Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25830 in /w/workspace/gexfoundry_device-rest-go_PR-376 [Pipeline] { [Pipeline] ws [2023-12-20T20:45:43.768Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-12-20T20:45:43.884Z] The recommended git tool is: git [2023-12-20T20:45:44.506Z] Removing intermediate container 83b791863a87 [2023-12-20T20:45:44.506Z] ---> 694b4d83baa3 [2023-12-20T20:45:44.506Z] Step 13/26 : FROM alpine:3.18 [2023-12-20T20:45:44.506Z] 3.18: Pulling from library/alpine [2023-12-20T20:45:44.506Z] c926b61bad3b: Pulling fs layer [2023-12-20T20:45:44.778Z] c926b61bad3b: Download complete [2023-12-20T20:45:45.138Z] c926b61bad3b: Pull complete [2023-12-20T20:45:45.138Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-20T20:45:45.138Z] Status: Downloaded newer image for alpine:3.18 [2023-12-20T20:45:45.138Z] ---> b541f2080109 [2023-12-20T20:45:45.138Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-20T20:45:45.138Z] ---> Running in 1ebaf85cebcb [2023-12-20T20:45:45.138Z] Removing intermediate container 1ebaf85cebcb [2023-12-20T20:45:45.138Z] ---> 0f779b0d688d [2023-12-20T20:45:45.138Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-20T20:45:45.138Z] ---> Running in 8efd20720105 [2023-12-20T20:45:45.138Z] Removing intermediate container 8efd20720105 [2023-12-20T20:45:45.138Z] ---> 9a8c89ddfdbd [2023-12-20T20:45:45.139Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-20T20:45:45.398Z] ---> Running in 28506b8162ef [2023-12-20T20:45:45.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:45.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:45.917Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-20T20:45:45.917Z] Executing busybox-1.36.1-r5.trigger [2023-12-20T20:45:45.917Z] OK: 7 MiB in 16 packages [2023-12-20T20:45:46.486Z] Removing intermediate container 28506b8162ef [2023-12-20T20:45:46.486Z] ---> 5f2d73607e5c [2023-12-20T20:45:46.486Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-20T20:45:46.486Z] ---> Running in ab78b2f05a67 [2023-12-20T20:45:46.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:46.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-20T20:45:47.005Z] OK: 7 MiB in 16 packages [2023-12-20T20:45:47.266Z] Removing intermediate container ab78b2f05a67 [2023-12-20T20:45:47.266Z] ---> 0b7891e6727c [2023-12-20T20:45:47.266Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-20T20:45:47.832Z] ---> 3f7da28d7eea [2023-12-20T20:45:47.832Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-20T20:45:48.091Z] ---> ec2bd53e105c [2023-12-20T20:45:48.091Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-20T20:45:48.091Z] ---> 39210ab802d0 [2023-12-20T20:45:48.091Z] Step 21/26 : EXPOSE 59986 [2023-12-20T20:45:48.352Z] ---> Running in a30dc882d6dc [2023-12-20T20:45:48.352Z] Removing intermediate container a30dc882d6dc [2023-12-20T20:45:48.352Z] ---> ca0712b95ec3 [2023-12-20T20:45:48.352Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-20T20:45:48.352Z] ---> Running in e5d712e7a8a4 [2023-12-20T20:45:48.352Z] Removing intermediate container e5d712e7a8a4 [2023-12-20T20:45:48.352Z] ---> 6d97e0f969ee [2023-12-20T20:45:48.352Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-20T20:45:48.352Z] ---> Running in 39efa8bd30c1 [2023-12-20T20:45:48.610Z] Removing intermediate container 39efa8bd30c1 [2023-12-20T20:45:48.610Z] ---> f502d23dd196 [2023-12-20T20:45:48.610Z] Step 24/26 : LABEL arch=amd64 [2023-12-20T20:45:48.610Z] ---> Running in 2cbc20c9de7e [2023-12-20T20:45:48.610Z] Removing intermediate container 2cbc20c9de7e [2023-12-20T20:45:48.610Z] ---> 3dff8efa5158 [2023-12-20T20:45:48.610Z] Step 25/26 : LABEL git_sha=b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [2023-12-20T20:45:48.610Z] ---> Running in 0cc6c50d3438 [2023-12-20T20:45:48.610Z] Removing intermediate container 0cc6c50d3438 [2023-12-20T20:45:48.610Z] ---> 0720c8374d85 [2023-12-20T20:45:48.610Z] Step 26/26 : LABEL version=0.0.0 [2023-12-20T20:45:48.610Z] ---> Running in 193fc7a95647 [2023-12-20T20:45:48.717Z] using credential edgex-jenkins-ssh [2023-12-20T20:45:48.737Z] Cloning the remote Git repository [2023-12-20T20:45:48.780Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-20T20:45:48.870Z] Removing intermediate container 193fc7a95647 [2023-12-20T20:45:48.870Z] ---> f7779b34ccee [2023-12-20T20:45:48.870Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-20T20:45:48.870Z] Successfully built f7779b34ccee [2023-12-20T20:45:48.870Z] 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 [2023-12-20T20:45:48.869Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-12-20T20:45:49.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-20T20:45:49.008Z] > git --version # timeout=10 [2023-12-20T20:45:49.030Z] > git --version # 'git version 2.25.1' [2023-12-20T20:45:49.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-20T20:45:49.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-20T20:45:50.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-20T20:45:50.133Z] [2023-12-20T20:45:50.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:45:50.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-20T20:45:50.544Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-20T20:45:50.544Z] 5eb5b503b376: Pulling fs layer [2023-12-20T20:45:50.544Z] 5c69ac0246d0: Pulling fs layer [2023-12-20T20:45:50.544Z] ec43610c2a17: Pulling fs layer [2023-12-20T20:45:50.544Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-20T20:45:50.544Z] 33b1e0a273af: Pulling fs layer [2023-12-20T20:45:50.544Z] 5d3b04190fa2: Pulling fs layer [2023-12-20T20:45:50.544Z] 2f39f015ded8: Pulling fs layer [2023-12-20T20:45:50.544Z] 3a2ae6a8a46f: Waiting [2023-12-20T20:45:50.544Z] 33b1e0a273af: Waiting [2023-12-20T20:45:50.544Z] 5d3b04190fa2: Waiting [2023-12-20T20:45:50.544Z] 2f39f015ded8: Waiting [2023-12-20T20:45:50.544Z] 5c69ac0246d0: Download complete [2023-12-20T20:45:50.544Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-20T20:45:50.544Z] 3a2ae6a8a46f: Download complete [2023-12-20T20:45:50.544Z] 33b1e0a273af: Verifying Checksum [2023-12-20T20:45:50.544Z] 33b1e0a273af: Download complete [2023-12-20T20:45:50.544Z] 5d3b04190fa2: Verifying Checksum [2023-12-20T20:45:50.544Z] 5d3b04190fa2: Download complete [2023-12-20T20:45:50.544Z] ec43610c2a17: Verifying Checksum [2023-12-20T20:45:50.544Z] ec43610c2a17: Download complete [2023-12-20T20:45:50.805Z] 5eb5b503b376: Verifying Checksum [2023-12-20T20:45:50.805Z] 5eb5b503b376: Download complete [2023-12-20T20:45:51.374Z] 2f39f015ded8: Download complete [2023-12-20T20:45:51.943Z] 5eb5b503b376: Pull complete [2023-12-20T20:45:52.202Z] 5c69ac0246d0: Pull complete [2023-12-20T20:45:51.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-20T20:45:51.702Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-20T20:45:52.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-20T20:45:52.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-20T20:45:52.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-20T20:45:52.513Z] > 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 [2023-12-20T20:45:52.769Z] ec43610c2a17: Pull complete [2023-12-20T20:45:52.769Z] 3a2ae6a8a46f: Pull complete [2023-12-20T20:45:53.028Z] 33b1e0a273af: Pull complete [2023-12-20T20:45:53.028Z] 5d3b04190fa2: Pull complete [2023-12-20T20:45:53.043Z] Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [2023-12-20T20:45:53.274Z] Merge succeeded, producing b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [2023-12-20T20:45:53.274Z] Checking out Revision b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 (PR-376) [2023-12-20T20:45:53.835Z] Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" [2023-12-20T20:45:53.892Z] > git --version # timeout=10 [2023-12-20T20:45:53.903Z] > git --version # 'git version 2.25.1' [2023-12-20T20:45:53.915Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-20T20:45:53.061Z] > git config core.sparsecheckout # timeout=10 [2023-12-20T20:45:53.113Z] > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # timeout=10 [2023-12-20T20:45:53.182Z] > git remote # timeout=10 [2023-12-20T20:45:53.199Z] > git config --get remote.origin.url # timeout=10 [2023-12-20T20:45:53.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-20T20:45:53.240Z] > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [2023-12-20T20:45:53.262Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-20T20:45:53.281Z] > git config core.sparsecheckout # timeout=10 [2023-12-20T20:45:53.292Z] > git checkout -f b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 # timeout=10 [2023-12-20T20:45:54.357Z] [2023-12-20T20:45:54.357Z] GitHub has been notified of this commit’s build result [2023-12-20T20:45:54.357Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-20T20:45:55.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-20T20:45:55.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-20T20:45:55.329Z] Dload Upload Total Spent Left Speed [2023-12-20T20:45:55.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh [2023-12-20T20:45:55.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-20T20:45:56.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-20T20:45:56.022Z] + sudo tee /etc/docker/daemon.new [2023-12-20T20:45:56.022Z] { [2023-12-20T20:45:56.022Z] "registry-mirrors": [ [2023-12-20T20:45:56.022Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-20T20:45:56.022Z] ], [2023-12-20T20:45:56.022Z] "bip": "10.250.0.254/24", [2023-12-20T20:45:56.022Z] "hosts": [ [2023-12-20T20:45:56.022Z] "tcp://0.0.0.0:5555", [2023-12-20T20:45:56.022Z] "unix:///var/run/docker.sock" [2023-12-20T20:45:56.022Z] ], [2023-12-20T20:45:56.022Z] "mtu": 1458, [2023-12-20T20:45:56.022Z] "selinux-enabled": true, [2023-12-20T20:45:56.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-20T20:45:56.022Z] } [Pipeline] sh [2023-12-20T20:45:56.368Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-20T20:45:56.720Z] + sudo service docker restart [2023-12-20T20:45:58.338Z] 2f39f015ded8: Pull complete [2023-12-20T20:45:58.338Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-20T20:45:58.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-20T20:45:58.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:45:58.717Z] prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container [2023-12-20T20:45:58.757Z] $ 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 [2023-12-20T20:46:03.116Z] $ docker top 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:46:03.676Z] ---> job-cost.sh [2023-12-20T20:46:03.677Z] lf-activate-venv: SKIPPING [2023-12-20T20:46:03.677Z] INFO: No Stack... [2023-12-20T20:46:03.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-20T20:46:04.196Z] INFO: Archiving Costs [Pipeline] sh [2023-12-20T20:46:04.518Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-376/archives/cost.csv [2023-12-20T20:46:04.519Z] + cut -d, -f6 [Pipeline] lock [2023-12-20T20:46:04.562Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [2023-12-20T20:46:04.568Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] did not exist. Created. [2023-12-20T20:46:04.568Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-20T20:46:05.059Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-20T20:46:05.110Z] Stashed 1 file(s) [Pipeline] } [2023-12-20T20:46:05.188Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-20T20:46:05.354Z] $ docker stop --time=1 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 [2023-12-20T20:46:06.521Z] $ docker rm -f --volumes 5646ec86211f10a4558b19e730031f13ea434233706a28f800d1720ad1afddc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-20T20:46:15.075Z] provisioning config files... [2023-12-20T20:46:15.099Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10923430286414004740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:46:15.606Z] ---> ****-login.sh [2023-12-20T20:46:15.607Z] nexus3.edgexfoundry.org:10001 [2023-12-20T20:46:15.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:46:15.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:46:15.876Z] Configure a credential helper to remove this warning. See [2023-12-20T20:46:15.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:46:15.876Z] [2023-12-20T20:46:15.876Z] Login Succeeded [2023-12-20T20:46:16.143Z] nexus3.edgexfoundry.org:10002 [2023-12-20T20:46:16.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:46:16.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:46:16.411Z] Configure a credential helper to remove this warning. See [2023-12-20T20:46:16.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:46:16.411Z] [2023-12-20T20:46:16.411Z] Login Succeeded [2023-12-20T20:46:16.411Z] nexus3.edgexfoundry.org:10003 [2023-12-20T20:46:16.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:46:16.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:46:16.677Z] Configure a credential helper to remove this warning. See [2023-12-20T20:46:16.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:46:16.677Z] [2023-12-20T20:46:16.677Z] Login Succeeded [2023-12-20T20:46:16.677Z] nexus3.edgexfoundry.org:10004 [2023-12-20T20:46:16.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:46:16.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:46:16.944Z] Configure a credential helper to remove this warning. See [2023-12-20T20:46:16.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:46:16.944Z] [2023-12-20T20:46:16.944Z] Login Succeeded [2023-12-20T20:46:16.944Z] ****.io [2023-12-20T20:46:16.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-20T20:46:17.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-20T20:46:17.211Z] Configure a credential helper to remove this warning. See [2023-12-20T20:46:17.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-20T20:46:17.212Z] [2023-12-20T20:46:17.212Z] Login Succeeded [2023-12-20T20:46:17.212Z] ---> ****-login.sh ends [Pipeline] } [2023-12-20T20:46:17.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-20T20:46:17.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-20T20:46:17.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-20T20:46:17.918Z] ========================================================= [2023-12-20T20:46:17.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-20T20:46:17.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:46:18.605Z] + 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 . [2023-12-20T20:46:19.582Z] #0 building with "default" instance using docker driver [2023-12-20T20:46:19.582Z] [2023-12-20T20:46:19.582Z] #1 [internal] load .dockerignore [2023-12-20T20:46:19.582Z] #1 transferring context: 193B 0.0s done [2023-12-20T20:46:19.582Z] #1 DONE 0.1s [2023-12-20T20:46:19.582Z] [2023-12-20T20:46:19.582Z] #2 [internal] load build definition from Dockerfile [2023-12-20T20:46:19.582Z] #2 transferring dockerfile: 1.73kB 0.0s done [2023-12-20T20:46:19.582Z] #2 DONE 0.1s [2023-12-20T20:46:19.851Z] [2023-12-20T20:46:19.851Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-20T20:46:19.851Z] #3 DONE 0.1s [2023-12-20T20:46:19.851Z] [2023-12-20T20:46:19.851Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-20T20:46:19.851Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-20T20:46:20.122Z] #4 ... [2023-12-20T20:46:20.122Z] [2023-12-20T20:46:20.122Z] #5 [internal] load build context [2023-12-20T20:46:20.122Z] #5 transferring context: 95.80kB 0.0s done [2023-12-20T20:46:20.122Z] #5 DONE 0.1s [2023-12-20T20:46:20.122Z] [2023-12-20T20:46:20.122Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-20T20:46:20.122Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s [2023-12-20T20:46:20.122Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.1s [2023-12-20T20:46:20.122Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-20T20:46:20.122Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-20T20:46:20.122Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-20T20:46:20.122Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s [2023-12-20T20:46:20.122Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-20T20:46:20.122Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.3s [2023-12-20T20:46:20.122Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2023-12-20T20:46:20.122Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-20T20:46:20.122Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-20T20:46:20.122Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.99MB / 97.63MB 0.3s [2023-12-20T20:46:20.122Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s [2023-12-20T20:46:20.391Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.4s [2023-12-20T20:46:20.391Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.4s [2023-12-20T20:46:20.391Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s [2023-12-20T20:46:20.391Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.38MB / 63.99MB 0.5s [2023-12-20T20:46:20.391Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.5s [2023-12-20T20:46:20.391Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.5s [2023-12-20T20:46:20.660Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.05MB / 63.99MB 0.6s [2023-12-20T20:46:20.660Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-20T20:46:20.660Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2023-12-20T20:46:20.660Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 0.8s [2023-12-20T20:46:20.660Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s [2023-12-20T20:46:20.928Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 0.9s [2023-12-20T20:46:20.928Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s [2023-12-20T20:46:20.928Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s [2023-12-20T20:46:20.928Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.1s [2023-12-20T20:46:20.928Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.1s [2023-12-20T20:46:20.928Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-20T20:46:20.928Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.2s [2023-12-20T20:46:20.928Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.55MB / 97.63MB 1.2s [2023-12-20T20:46:21.196Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.3s [2023-12-20T20:46:21.465Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.3s done [2023-12-20T20:46:21.465Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.5s [2023-12-20T20:46:21.465Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-20T20:46:21.465Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.6s [2023-12-20T20:46:21.733Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 1.7s [2023-12-20T20:46:21.733Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 1.9s [2023-12-20T20:46:21.733Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.52MB / 97.63MB 2.0s [2023-12-20T20:46:25.985Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 6.1s done [2023-12-20T20:46:26.567Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.1s [2023-12-20T20:46:31.918Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.2s [2023-12-20T20:46:40.131Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.9s done [2023-12-20T20:46:40.715Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [2023-12-20T20:46:40.715Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-20T20:46:40.715Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-20T20:46:40.981Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s [2023-12-20T20:46:46.312Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s [2023-12-20T20:46:48.917Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done [2023-12-20T20:46:49.187Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-20T20:46:51.142Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done [2023-12-20T20:46:56.481Z] #4 DONE 35.8s [2023-12-20T20:46:56.481Z] [2023-12-20T20:46:56.481Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-20T20:46:56.481Z] #6 0.704 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-20T20:46:56.749Z] #6 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-20T20:46:57.723Z] #6 2.031 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-20T20:46:57.723Z] #6 2.053 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-20T20:46:57.723Z] #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-20T20:46:57.723Z] #6 2.128 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-20T20:46:57.992Z] #6 2.154 Executing busybox-1.36.1-r5.trigger [2023-12-20T20:46:57.992Z] #6 2.192 OK: 271 MiB in 56 packages [2023-12-20T20:46:59.513Z] #6 DONE 3.8s [2023-12-20T20:46:59.513Z] [2023-12-20T20:46:59.513Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-20T20:46:59.513Z] #7 DONE 0.1s [2023-12-20T20:46:59.513Z] [2023-12-20T20:46:59.513Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-20T20:46:59.513Z] #8 DONE 0.1s [2023-12-20T20:46:59.783Z] [2023-12-20T20:46:59.783Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-20T20:47:26.464Z] #9 DONE 25.4s [2023-12-20T20:47:26.464Z] [2023-12-20T20:47:26.464Z] #10 [builder 6/7] COPY . . [2023-12-20T20:47:26.464Z] #10 DONE 0.1s [2023-12-20T20:47:26.464Z] [2023-12-20T20:47:26.464Z] #11 [builder 7/7] RUN echo noop [2023-12-20T20:47:26.464Z] #11 0.606 noop [2023-12-20T20:47:26.464Z] #11 DONE 0.7s [2023-12-20T20:47:26.464Z] [2023-12-20T20:47:26.464Z] #12 exporting to image [2023-12-20T20:47:26.464Z] #12 exporting layers [2023-12-20T20:47:48.550Z] #12 exporting layers 21.8s done [2023-12-20T20:47:48.550Z] #12 writing image sha256:b577ddbfecc5aa394cdc8af1adae80cc61a893725d301d8d27f692e06ba6e10c done [2023-12-20T20:47:48.550Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-20T20:47:48.550Z] #12 DONE 21.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:47:49.157Z] + docker inspect -f . ci-base-image-arm64 [2023-12-20T20:47:49.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:47:49.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container [2023-12-20T20:47:49.616Z] $ 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 [2023-12-20T20:47:50.812Z] $ docker top 674bbfe9215bce5d13070889b9a727590621833bf70c71caea03ca8d8a871268 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-20T20:47:51.411Z] + go version [2023-12-20T20:47:51.411Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-20T20:47:51.447Z] $ docker stop --time=1 674bbfe9215bce5d13070889b9a727590621833bf70c71caea03ca8d8a871268 [2023-12-20T20:47:52.994Z] $ 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 [2023-12-20T20:47:54.216Z] + docker inspect -f . ci-base-image-arm64 [2023-12-20T20:47:54.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:47:54.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container [2023-12-20T20:47:54.575Z] $ 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 [2023-12-20T20:47:55.435Z] $ docker top 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-20T20:47:56.024Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-20T20:47:56.507Z] + make test [2023-12-20T20:47:56.507Z] go test ./... -coverprofile=coverage.out ./... [2023-12-20T20:48:00.763Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-20T20:48:57.163Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-20T20:48:57.163Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements [2023-12-20T20:48:57.163Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-20T20:48:57.163Z] go vet ./... [2023-12-20T20:49:03.823Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-20T20:49:03.823Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-20T20:49:03.823Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-20T20:49:03.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-20T20:49:03.953Z] $ docker stop --time=1 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d [2023-12-20T20:49:05.817Z] $ docker rm -f --volumes 4db562f20ee74cfb071a9a17f435f278f09949a2fae3ada0b184a67f200e9a1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-20T20:49:07.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-20T20:49:07.064Z] Warning: overwriting stash ‘coverage-report’ [2023-12-20T20:49:07.475Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-20T20:49:08.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-20T20:49:08.659Z] + ls -al . [2023-12-20T20:49:08.659Z] total 176 [2023-12-20T20:49:08.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:47 . [2023-12-20T20:49:08.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 20:45 .. [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 20:45 .dockerignore [2023-12-20T20:49:08.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 20:45 .git [2023-12-20T20:49:08.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 .github [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 20 20:45 .gitignore [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 20:45 .golangci.yml [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 20 20:45 Attribution.txt [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 20 20:45 CHANGELOG.md [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 20 20:45 Dockerfile [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 20:45 GOVERNANCE.md [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 20:45 Jenkinsfile [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 20:45 LICENSE [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 20 20:45 Makefile [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 20:45 OWNERS.md [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 20 20:45 README.md [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 20:43 VERSION [2023-12-20T20:49:08.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:45 bin [2023-12-20T20:49:08.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 cmd [2023-12-20T20:49:08.659Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 20 20:48 coverage.out [2023-12-20T20:49:08.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 20:45 driver [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 20 20:45 go.mod [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 34593 Dec 20 20:45 go.sum [2023-12-20T20:49:08.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 20:45 openapi [2023-12-20T20:49:08.659Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:49:09.178Z] + 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 . [2023-12-20T20:49:10.139Z] #0 building with "default" instance using docker driver [2023-12-20T20:49:10.139Z] [2023-12-20T20:49:10.139Z] #1 [internal] load .dockerignore [2023-12-20T20:49:10.139Z] #1 transferring context: 193B 0.0s done [2023-12-20T20:49:10.139Z] #1 DONE 0.0s [2023-12-20T20:49:10.139Z] [2023-12-20T20:49:10.139Z] #2 [internal] load build definition from Dockerfile [2023-12-20T20:49:10.139Z] #2 transferring dockerfile: 1.73kB done [2023-12-20T20:49:10.139Z] #2 DONE 0.0s [2023-12-20T20:49:10.139Z] [2023-12-20T20:49:10.139Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-20T20:49:10.139Z] #3 DONE 0.0s [2023-12-20T20:49:10.139Z] [2023-12-20T20:49:10.139Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-20T20:49:10.139Z] #4 DONE 0.4s [2023-12-20T20:49:10.413Z] [2023-12-20T20:49:10.413Z] #5 [internal] load build context [2023-12-20T20:49:10.413Z] #5 transferring context: 16.04kB 0.0s done [2023-12-20T20:49:10.413Z] #5 DONE 0.0s [2023-12-20T20:49:10.413Z] [2023-12-20T20:49:10.413Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-20T20:49:10.413Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-20T20:49:10.413Z] #6 ... [2023-12-20T20:49:10.413Z] [2023-12-20T20:49:10.413Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-20T20:49:10.413Z] #7 DONE 0.2s [2023-12-20T20:49:10.413Z] [2023-12-20T20:49:10.413Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-20T20:49:10.413Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-20T20:49:10.413Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-20T20:49:10.413Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-20T20:49:10.413Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-20T20:49:10.413Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-20T20:49:10.694Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-20T20:49:10.962Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-20T20:49:11.232Z] #6 DONE 0.9s [2023-12-20T20:49:11.232Z] [2023-12-20T20:49:11.232Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-20T20:49:11.817Z] #8 0.651 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:12.085Z] #8 0.978 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:13.053Z] #8 ... [2023-12-20T20:49:13.053Z] [2023-12-20T20:49:13.053Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-20T20:49:13.053Z] #9 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:13.053Z] #9 1.179 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:13.053Z] #9 2.263 OK: 271 MiB in 56 packages [2023-12-20T20:49:13.053Z] #9 DONE 2.6s [2023-12-20T20:49:13.053Z] [2023-12-20T20:49:13.053Z] #10 [builder 3/7] WORKDIR /device-rest-go [2023-12-20T20:49:13.053Z] #10 DONE 0.1s [2023-12-20T20:49:13.330Z] [2023-12-20T20:49:13.330Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-20T20:49:13.330Z] #8 2.027 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-20T20:49:13.330Z] #8 2.048 Executing busybox-1.36.1-r5.trigger [2023-12-20T20:49:13.330Z] #8 2.089 OK: 8 MiB in 16 packages [2023-12-20T20:49:13.330Z] #8 ... [2023-12-20T20:49:13.330Z] [2023-12-20T20:49:13.330Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-20T20:49:13.330Z] #11 DONE 0.2s [2023-12-20T20:49:13.604Z] [2023-12-20T20:49:13.604Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-20T20:49:13.604Z] #12 ... [2023-12-20T20:49:13.604Z] [2023-12-20T20:49:13.604Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-20T20:49:13.604Z] #8 DONE 2.4s [2023-12-20T20:49:13.874Z] [2023-12-20T20:49:13.874Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-20T20:49:14.143Z] #13 0.665 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:14.727Z] #13 1.002 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-20T20:49:15.687Z] #13 1.938 OK: 8 MiB in 16 packages [2023-12-20T20:49:16.643Z] #13 DONE 3.0s [2023-12-20T20:49:16.643Z] [2023-12-20T20:49:16.643Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-20T20:49:16.643Z] #12 DONE 3.2s [2023-12-20T20:49:16.643Z] [2023-12-20T20:49:16.643Z] #14 [builder 6/7] COPY . . [2023-12-20T20:49:16.910Z] #14 DONE 0.1s [2023-12-20T20:49:16.910Z] [2023-12-20T20:49:16.910Z] #15 [builder 7/7] RUN make build [2023-12-20T20:49:17.495Z] #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 [2023-12-20T20:50:25.375Z] #15 DONE 61.7s [2023-12-20T20:50:25.375Z] [2023-12-20T20:50:25.375Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-20T20:50:25.375Z] #16 DONE 0.3s [2023-12-20T20:50:25.375Z] [2023-12-20T20:50:25.375Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-20T20:50:25.375Z] #17 DONE 0.1s [2023-12-20T20:50:25.375Z] [2023-12-20T20:50:25.375Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-20T20:50:25.375Z] #18 DONE 0.1s [2023-12-20T20:50:25.375Z] [2023-12-20T20:50:25.375Z] #19 exporting to image [2023-12-20T20:50:25.375Z] #19 exporting layers [2023-12-20T20:50:25.375Z] #19 exporting layers 0.3s done [2023-12-20T20:50:25.375Z] #19 writing image sha256:9c8ec011537dfb3f667708c2bf5c777c8ac9abd88acb22009d2bf7723f6c8945 done [2023-12-20T20:50:25.375Z] #19 naming to docker.io/library/device-rest-arm64 0.0s done [2023-12-20T20:50:25.375Z] #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 [2023-12-20T20:50:26.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-20T20:50:26.650Z] [2023-12-20T20:50:26.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:50:27.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-20T20:50:28.504Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-20T20:50:28.504Z] 8998bd30e6a1: Pulling fs layer [2023-12-20T20:50:28.504Z] 04944245beec: Pulling fs layer [2023-12-20T20:50:28.504Z] 699f458cf7ca: Pulling fs layer [2023-12-20T20:50:28.504Z] 765212b225bb: Pulling fs layer [2023-12-20T20:50:28.504Z] f23df028b6ca: Pulling fs layer [2023-12-20T20:50:28.504Z] d65c8cfc05b1: Pulling fs layer [2023-12-20T20:50:28.504Z] 2437ff75d9bd: Pulling fs layer [2023-12-20T20:50:28.504Z] 765212b225bb: Waiting [2023-12-20T20:50:28.504Z] f23df028b6ca: Waiting [2023-12-20T20:50:28.504Z] d65c8cfc05b1: Waiting [2023-12-20T20:50:28.504Z] 2437ff75d9bd: Waiting [2023-12-20T20:50:28.504Z] 04944245beec: Verifying Checksum [2023-12-20T20:50:28.504Z] 04944245beec: Download complete [2023-12-20T20:50:28.504Z] 765212b225bb: Download complete [2023-12-20T20:50:28.772Z] f23df028b6ca: Verifying Checksum [2023-12-20T20:50:28.772Z] f23df028b6ca: Download complete [2023-12-20T20:50:28.772Z] d65c8cfc05b1: Verifying Checksum [2023-12-20T20:50:28.772Z] d65c8cfc05b1: Download complete [2023-12-20T20:50:28.772Z] 699f458cf7ca: Verifying Checksum [2023-12-20T20:50:28.772Z] 699f458cf7ca: Download complete [2023-12-20T20:50:29.042Z] 8998bd30e6a1: Verifying Checksum [2023-12-20T20:50:29.042Z] 8998bd30e6a1: Download complete [2023-12-20T20:50:31.628Z] 2437ff75d9bd: Verifying Checksum [2023-12-20T20:50:31.628Z] 2437ff75d9bd: Download complete [2023-12-20T20:50:35.890Z] 8998bd30e6a1: Pull complete [2023-12-20T20:50:36.476Z] 04944245beec: Pull complete [2023-12-20T20:50:38.422Z] 699f458cf7ca: Pull complete [2023-12-20T20:50:38.691Z] 765212b225bb: Pull complete [2023-12-20T20:50:44.030Z] f23df028b6ca: Pull complete [2023-12-20T20:50:44.030Z] d65c8cfc05b1: Pull complete [2023-12-20T20:51:10.874Z] 2437ff75d9bd: Pull complete [2023-12-20T20:51:10.874Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-20T20:51:10.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-20T20:51:10.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:51:11.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-25830 does not seem to be running inside a container [2023-12-20T20:51:11.416Z] $ 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 [2023-12-20T20:51:13.928Z] $ docker top 4fa94dd822ad247deb8e3cc3835c50950da9e10d49071cef81001fc017a75529 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:14.563Z] ---> job-cost.sh [2023-12-20T20:51:14.830Z] lf-activate-venv: SKIPPING [2023-12-20T20:51:14.830Z] INFO: No Stack... [2023-12-20T20:51:15.093Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-20T20:51:15.673Z] INFO: Archiving Costs [Pipeline] sh [2023-12-20T20:51:16.020Z] + cut -d, -f6 [2023-12-20T20:51:16.020Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-12-20T20:51:16.096Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [2023-12-20T20:51:16.101Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] did not exist. Created. [2023-12-20T20:51:16.102Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-20T20:51:16.681Z] /w/workspace/device-rest-go/1@tmp/durable-084c8615/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-20T20:51:17.043Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-20T20:51:17.082Z] Warning: overwriting stash ‘stack-cost’ [2023-12-20T20:51:17.127Z] Stashed 1 file(s) [Pipeline] } [2023-12-20T20:51:17.168Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-20T20:51:17.347Z] $ docker stop --time=1 4fa94dd822ad247deb8e3cc3835c50950da9e10d49071cef81001fc017a75529 [2023-12-20T20:51:18.744Z] $ 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 [2023-12-20T20:51:20.703Z] provisioning config files... [2023-12-20T20:51:20.713Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config15759291658961515919tmp [Pipeline] { [Pipeline] sh [2023-12-20T20:51:21.144Z] + set +x [2023-12-20T20:51:21.144Z] + curl -s https://codecov.io/bash [2023-12-20T20:51:21.144Z] + bash -s -- [2023-12-20T20:51:21.144Z] [2023-12-20T20:51:21.144Z] _____ _ [2023-12-20T20:51:21.144Z] / ____| | | [2023-12-20T20:51:21.144Z] | | ___ __| | ___ ___ _____ __ [2023-12-20T20:51:21.144Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-20T20:51:21.144Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-20T20:51:21.144Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-20T20:51:21.144Z] Bash-1.0.6 [2023-12-20T20:51:21.144Z] [2023-12-20T20:51:21.144Z] [2023-12-20T20:51:21.144Z] ==> git version 2.25.1 found [2023-12-20T20:51:21.144Z] ==> 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 [2023-12-20T20:51:21.144Z] Release-Date: 2020-01-08 [2023-12-20T20:51:21.144Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-20T20:51:21.144Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-20T20:51:21.144Z] ==> Jenkins CI detected. [2023-12-20T20:51:21.144Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-376 [2023-12-20T20:51:21.144Z] project root: . [2023-12-20T20:51:21.144Z] --> token set from env [2023-12-20T20:51:21.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-20T20:51:21.403Z] ==> Running gcov in . (disable via -X gcov) [2023-12-20T20:51:21.403Z] ==> Python coveragepy not found [2023-12-20T20:51:21.403Z] ==> Searching for coverage reports in: [2023-12-20T20:51:21.403Z] + . [2023-12-20T20:51:21.403Z] -> Found 1 reports [2023-12-20T20:51:21.403Z] ==> Detecting git/mercurial file structure [2023-12-20T20:51:21.403Z] ==> Reading reports [2023-12-20T20:51:21.403Z] + ./coverage.out bytes=14499 [2023-12-20T20:51:21.403Z] ==> Appending adjustments [2023-12-20T20:51:21.403Z] https://docs.codecov.io/docs/fixing-reports [2023-12-20T20:51:21.403Z] + Found adjustments [2023-12-20T20:51:21.403Z] ==> Gzipping contents [2023-12-20T20:51:21.403Z] 4.0K /tmp/codecov.CUvoGK.gz [2023-12-20T20:51:21.403Z] ==> Uploading reports [2023-12-20T20:51:21.403Z] url: https://codecov.io [2023-12-20T20:51:21.404Z] 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= [2023-12-20T20:51:21.404Z] -> Pinging Codecov [2023-12-20T20:51:21.404Z] 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= [2023-12-20T20:51:21.663Z] -> Uploading to [2023-12-20T20:51:21.663Z] 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 [2023-12-20T20:51:21.663Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-20T20:51:21.663Z] Dload Upload Total Spent Left Speed [2023-12-20T20:51:21.923Z] 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 [2023-12-20T20:51:21.923Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b130ff93dd3029ff3c7a4ae3f4344bf7ed64cb31 [Pipeline] } [2023-12-20T20:51:21.948Z] 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 [2023-12-20T20:51:25.238Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-376/archives ] [2023-12-20T20:51:25.238Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-376/archives [2023-12-20T20:51:25.238Z] total 16 [2023-12-20T20:51:25.238Z] drwxr-xr-x 3 root root 4096 Dec 20 20:46 . [2023-12-20T20:51:25.238Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 20:46 .. [2023-12-20T20:51:25.238Z] drwxr-xr-x 2 root root 4096 Dec 20 20:46 cost [2023-12-20T20:51:25.238Z] -rw-r--r-- 1 root root 86 Dec 20 20:46 cost.csv [2023-12-20T20:51:25.238Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-376/archives [2023-12-20T20:51:25.238Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-376/archives [2023-12-20T20:51:25.238Z] total 16 [2023-12-20T20:51:25.238Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 20:46 . [2023-12-20T20:51:25.238Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 20:46 .. [2023-12-20T20:51:25.238Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 20:46 cost [2023-12-20T20:51:25.238Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 20 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:25.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:26.459Z] ---> package-listing.sh [2023-12-20T20:51:26.459Z] ++ facter osfamily [2023-12-20T20:51:26.459Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-20T20:51:26.719Z] + OS_FAMILY=debian [2023-12-20T20:51:26.719Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-376 [2023-12-20T20:51:26.719Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-20T20:51:26.719Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-20T20:51:26.719Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-20T20:51:26.719Z] + PACKAGES=/tmp/packages_start.txt [2023-12-20T20:51:26.719Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-376 ']' [2023-12-20T20:51:26.719Z] + PACKAGES=/tmp/packages_end.txt [2023-12-20T20:51:26.719Z] + case "${OS_FAMILY}" in [2023-12-20T20:51:26.719Z] + dpkg -l [2023-12-20T20:51:26.719Z] + grep '^ii' [2023-12-20T20:51:26.719Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-20T20:51:26.719Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-20T20:51:26.719Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-20T20:51:26.719Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-376 ']' [2023-12-20T20:51:26.719Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-376/archives/ [2023-12-20T20:51:26.719Z] + 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 [2023-12-20T20:51:26.756Z] 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 [2023-12-20T20:51:27.055Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-20T20:51:27.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-20T20:51:27.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-20T20:51:27.982Z] prd-ubuntu20.04-docker-8c-8g-25829 does not seem to be running inside a container [2023-12-20T20:51:28.015Z] $ 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 [2023-12-20T20:51:28.222Z] $ docker top 01ab5184d45c1f38de243fb4ce5e0781746a1a0f4235af811e1dc4e27ac16693 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-20T20:51:28.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-20T20:51:29.024Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-20T20:51:29.328Z] + ls /var/log/sa-host [2023-12-20T20:51:29.329Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-20T20:51:29.591Z] provisioning config files... [2023-12-20T20:51:29.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-376@tmp/config12887674384495464714tmp [Pipeline] { [Pipeline] echo [2023-12-20T20:51:29.763Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:30.077Z] ---> create-netrc.sh [Pipeline] } [2023-12-20T20:51:30.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:30.612Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-20T20:51:30.648Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:30.968Z] ---> sudo-logs.sh [2023-12-20T20:51:30.968Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-20T20:51:31.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:31.433Z] ---> job-cost.sh [2023-12-20T20:51:31.433Z] lf-activate-venv: SKIPPING [2023-12-20T20:51:31.433Z] DEBUG: total: 0.2199999988079071 [2023-12-20T20:51:31.433Z] INFO: Retrieving Stack Cost... [2023-12-20T20:51:31.693Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-20T20:51:32.265Z] INFO: Archiving Costs [Pipeline] echo [2023-12-20T20:51:32.305Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-20T20:51:32.628Z] ---> logs-deploy.sh [2023-12-20T20:51:32.628Z] lf-activate-venv: SKIPPING [2023-12-20T20:51:32.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-376/1 [2023-12-20T20:51:32.628Z] INFO: archiving workspace using pattern(s): [2023-12-20T20:51:33.567Z] Archives upload complete. [2023-12-20T20:51:33.568Z] INFO: archiving logs to Nexus