Pull request #318 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8e46624d7ea748264d2a0a94cee34bfaa646eccd+e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (4982e56cf306f4533ce2373da5d19dd2d222eb4a) 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-ssh11427985440024646879.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13195320992915102434.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12394954269303460457.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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8224007852691039783.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8932154680816136094.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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12201768008759083856.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 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-15454 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 8e46624d7ea748264d2a0a94cee34bfaa646eccd Merge succeeded, producing 8e46624d7ea748264d2a0a94cee34bfaa646eccd Checking out Revision 8e46624d7ea748264d2a0a94cee34bfaa646eccd (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e46624d7ea748264d2a0a94cee34bfaa646eccd # 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e46624d7ea748264d2a0a94cee34bfaa646eccd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-15T20:59:27.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-15T20:59:27.449Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-15T20:59:27.550Z] ========================================================= [2023-05-15T20:59:27.551Z] EdgeX Global Pipelines Version Info [2023-05-15T20:59:27.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-15T20:59:28.286Z] ------------------- [2023-05-15T20:59:28.286Z] stable info: [2023-05-15T20:59:28.286Z] ------------------- [2023-05-15T20:59:28.286Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-15T20:59:28.286Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-15T20:59:28.286Z] Message: update stable to v1.0.249 [2023-05-15T20:59:28.855Z] ------------------- [2023-05-15T20:59:28.855Z] experimental info: [2023-05-15T20:59:28.855Z] ------------------- [2023-05-15T20:59:28.855Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-15T20:59:28.855Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-15T20:59:28.855Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-15T20:59:29.142Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-15T20:59:29.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-15T20:59:29.221Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-15T20:59:29.263Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-15T20:59:29.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-15T20:59:29.338Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-15T20:59:29.378Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-15T20:59:29.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-15T20:59:29.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-15T20:59:29.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-15T20:59:29.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-15T20:59:29.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-15T20:59:29.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-15T20:59:29.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-15T20:59:29.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-15T20:59:29.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-15T20:59:29.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-15T20:59:29.797Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-15T20:59:29.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-15T20:59:29.878Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-15T20:59:29.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-15T20:59:29.950Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-15T20:59:29.991Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-15T20:59:30.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-15T20:59:30.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-15T20:59:30.107Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-15T20:59:30.146Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-15T20:59:30.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-05-15T20:59:30.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-05-15T20:59:30.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-05-15T20:59:30.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e46624d7ea748264d2a0a94cee34bfaa646eccd [Pipeline] echo [2023-05-15T20:59:30.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e46624 [Pipeline] echo [2023-05-15T20:59:30.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T20:59:30.498Z] provisioning config files... [2023-05-15T20:59:30.512Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16485355085458270996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T20:59:30.859Z] ---> docker-login.sh [2023-05-15T20:59:30.859Z] nexus3.edgexfoundry.org:10001 [2023-05-15T20:59:31.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:31.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:31.380Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:31.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:31.380Z] [2023-05-15T20:59:31.380Z] Login Succeeded [2023-05-15T20:59:31.380Z] nexus3.edgexfoundry.org:10002 [2023-05-15T20:59:31.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:31.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:31.380Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:31.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:31.380Z] [2023-05-15T20:59:31.380Z] Login Succeeded [2023-05-15T20:59:31.380Z] nexus3.edgexfoundry.org:10003 [2023-05-15T20:59:31.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:31.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:31.642Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:31.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:31.642Z] [2023-05-15T20:59:31.642Z] Login Succeeded [2023-05-15T20:59:31.642Z] nexus3.edgexfoundry.org:10004 [2023-05-15T20:59:31.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:31.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:31.642Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:31.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:31.642Z] [2023-05-15T20:59:31.642Z] Login Succeeded [2023-05-15T20:59:31.642Z] docker.io [2023-05-15T20:59:31.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:31.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:31.902Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:31.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:31.902Z] [2023-05-15T20:59:31.902Z] Login Succeeded [2023-05-15T20:59:31.902Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T20:59:31.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-15T20:59:32.553Z] + git rev-list -1 --merges 8e46624d7ea748264d2a0a94cee34bfaa646eccd~1..8e46624d7ea748264d2a0a94cee34bfaa646eccd [Pipeline] echo [2023-05-15T20:59:32.614Z] -----------> git rev-list -1 --merges 8e46624d7ea748264d2a0a94cee34bfaa646eccd~1..8e46624d7ea748264d2a0a94cee34bfaa646eccd 8e46624d7ea748264d2a0a94cee34bfaa646eccd [false] [Pipeline] sh [2023-05-15T20:59:32.933Z] + git log --format=format:%s -1 8e46624d7ea748264d2a0a94cee34bfaa646eccd [Pipeline] echo [2023-05-15T20:59:32.971Z] ========================================================= [2023-05-15T20:59:32.971Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-15T20:59:32.971Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-15T20:59:33.408Z] + git log --format=format:%s -1 8e46624d7ea748264d2a0a94cee34bfaa646eccd [Pipeline] echo [2023-05-15T20:59:33.439Z] [semverPrep] GIT_COMMIT: 8e46624d7ea748264d2a0a94cee34bfaa646eccd, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-05-15T20:59:33.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-15T20:59:33.873Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-15T20:59:33.873Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-15T20:59:33.873Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-15T20:59:33.873Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-15T20:59:33.873Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-15T20:59:33.873Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-15T20:59:33.873Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T20:59:34.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-15T20:59:34.372Z] [2023-05-15T20:59:34.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T20:59:34.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-15T20:59:34.746Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-15T20:59:34.746Z] b85a868b505f: Pulling fs layer [2023-05-15T20:59:34.746Z] e2be974225ed: Pulling fs layer [2023-05-15T20:59:34.746Z] 339a4e72a1f5: Pulling fs layer [2023-05-15T20:59:34.746Z] 988bab9f4d93: Pulling fs layer [2023-05-15T20:59:34.746Z] 1469e6f7b9e6: Pulling fs layer [2023-05-15T20:59:34.746Z] eaf3925da568: Pulling fs layer [2023-05-15T20:59:34.746Z] bab4dde63d76: Pulling fs layer [2023-05-15T20:59:34.746Z] bde34c3a00c8: Pulling fs layer [2023-05-15T20:59:34.746Z] b352a97aabf1: Pulling fs layer [2023-05-15T20:59:34.746Z] 4872d77fe225: Pulling fs layer [2023-05-15T20:59:34.746Z] 5851b861e8e6: Pulling fs layer [2023-05-15T20:59:34.746Z] 988bab9f4d93: Waiting [2023-05-15T20:59:34.746Z] 1469e6f7b9e6: Waiting [2023-05-15T20:59:34.746Z] eaf3925da568: Waiting [2023-05-15T20:59:34.746Z] bab4dde63d76: Waiting [2023-05-15T20:59:34.746Z] bde34c3a00c8: Waiting [2023-05-15T20:59:34.746Z] b352a97aabf1: Waiting [2023-05-15T20:59:34.746Z] 4872d77fe225: Waiting [2023-05-15T20:59:34.746Z] 5851b861e8e6: Waiting [2023-05-15T20:59:34.746Z] e2be974225ed: Verifying Checksum [2023-05-15T20:59:34.746Z] e2be974225ed: Download complete [2023-05-15T20:59:34.746Z] 988bab9f4d93: Download complete [2023-05-15T20:59:34.746Z] 1469e6f7b9e6: Verifying Checksum [2023-05-15T20:59:34.746Z] 1469e6f7b9e6: Download complete [2023-05-15T20:59:34.746Z] 339a4e72a1f5: Verifying Checksum [2023-05-15T20:59:34.746Z] 339a4e72a1f5: Download complete [2023-05-15T20:59:35.004Z] eaf3925da568: Download complete [2023-05-15T20:59:35.004Z] bde34c3a00c8: Download complete [2023-05-15T20:59:35.004Z] b352a97aabf1: Download complete [2023-05-15T20:59:35.004Z] 4872d77fe225: Verifying Checksum [2023-05-15T20:59:35.004Z] 4872d77fe225: Download complete [2023-05-15T20:59:35.004Z] 5851b861e8e6: Verifying Checksum [2023-05-15T20:59:35.004Z] 5851b861e8e6: Download complete [2023-05-15T20:59:35.004Z] b85a868b505f: Verifying Checksum [2023-05-15T20:59:35.004Z] b85a868b505f: Download complete [2023-05-15T20:59:35.263Z] bab4dde63d76: Verifying Checksum [2023-05-15T20:59:35.263Z] bab4dde63d76: Download complete [2023-05-15T20:59:36.198Z] b85a868b505f: Pull complete [2023-05-15T20:59:36.199Z] e2be974225ed: Pull complete [2023-05-15T20:59:36.766Z] 339a4e72a1f5: Pull complete [2023-05-15T20:59:36.766Z] 988bab9f4d93: Pull complete [2023-05-15T20:59:37.026Z] 1469e6f7b9e6: Pull complete [2023-05-15T20:59:37.026Z] eaf3925da568: Pull complete [2023-05-15T20:59:38.402Z] bab4dde63d76: Pull complete [2023-05-15T20:59:38.661Z] bde34c3a00c8: Pull complete [2023-05-15T20:59:38.661Z] b352a97aabf1: Pull complete [2023-05-15T20:59:38.661Z] 4872d77fe225: Pull complete [2023-05-15T20:59:38.661Z] 5851b861e8e6: Pull complete [2023-05-15T20:59:38.920Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-15T20:59:38.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-15T20:59:38.920Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T20:59:39.132Z] prd-ubuntu20.04-docker-8c-8g-15454 does not seem to be running inside a container [2023-05-15T20:59:39.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-15T20:59:41.559Z] $ docker top fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 -eo pid,comm [2023-05-15T20:59:41.623Z] 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-05-15T20:59:41.623Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-15T20:59:41.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-15T20:59:41.755Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-15T20:59:41.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-15T20:59:41.866Z] $ docker exec fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 ssh-agent [2023-05-15T20:59:41.976Z] SSH_AUTH_SOCK=/tmp/ssh-HQT6QZ02zK1U/agent.31 [2023-05-15T20:59:41.976Z] SSH_AGENT_PID=37 [2023-05-15T20:59:41.983Z] Running ssh-add (command line suppressed) [2023-05-15T20:59:42.083Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_10782724276380902730.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_10782724276380902730.key) [2023-05-15T20:59:42.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-15T20:59:42.447Z] + git tag --points-at HEAD [Pipeline] } [2023-05-15T20:59:42.472Z] $ docker exec --env ******** --env ******** fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 ssh-agent -k [2023-05-15T20:59:42.571Z] unset SSH_AUTH_SOCK; [2023-05-15T20:59:42.571Z] unset SSH_AGENT_PID; [2023-05-15T20:59:42.571Z] echo Agent pid 37 killed; [2023-05-15T20:59:42.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-15T20:59:42.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-15T20:59:42.679Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-15T20:59:42.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-15T20:59:42.785Z] $ docker exec fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 ssh-agent [2023-05-15T20:59:42.912Z] SSH_AUTH_SOCK=/tmp/ssh-aKlE1gU22yJy/agent.69 [2023-05-15T20:59:42.912Z] SSH_AGENT_PID=75 [2023-05-15T20:59:42.917Z] Running ssh-add (command line suppressed) [2023-05-15T20:59:43.020Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5237584897491103520.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5237584897491103520.key) [2023-05-15T20:59:43.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-15T20:59:43.362Z] + git semver init [2023-05-15T20:59:43.622Z] 2023-05-15 20:59:43,527 [run_init] DEBUG init version:0.0.0 force:False [2023-05-15T20:59:43.622Z] 2023-05-15 20:59:43,527 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-15T20:59:43.622Z] 2023-05-15 20:59:43,528 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-15T20:59:43.622Z] 2023-05-15 20:59:43,528 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,596 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,597 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,597 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,601 [execute] INFO git cat-file --batch-check [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,608 [execute] INFO git cat-file --batch [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-15T20:59:45.002Z] 2023-05-15 20:59:44,612 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-15T20:59:45.002Z] 0.0.0 [Pipeline] } [2023-05-15T20:59:45.032Z] $ docker exec --env ******** --env ******** fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 ssh-agent -k [2023-05-15T20:59:45.136Z] unset SSH_AUTH_SOCK; [2023-05-15T20:59:45.136Z] unset SSH_AGENT_PID; [2023-05-15T20:59:45.136Z] echo Agent pid 75 killed; [2023-05-15T20:59:45.145Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-15T20:59:45.578Z] + git semver [Pipeline] } [2023-05-15T20:59:45.857Z] $ docker stop --time=1 fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 [2023-05-15T20:59:47.114Z] $ docker rm -f --volumes fd75fe1169db038e401a150660dd4c75296625aa7b30ccc1160f5c435d427a39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-15T20:59:47.511Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-15T20:59:47.784Z] Stashed 1 file(s) [Pipeline] echo [2023-05-15T20:59:47.804Z] [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-05-15T20:59:48.395Z] provisioning config files... [2023-05-15T20:59:48.405Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config6140782313697280251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T20:59:48.757Z] ---> docker-login.sh [2023-05-15T20:59:48.757Z] nexus3.edgexfoundry.org:10001 [2023-05-15T20:59:48.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:48.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:48.757Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:48.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:48.757Z] [2023-05-15T20:59:48.757Z] Login Succeeded [2023-05-15T20:59:48.757Z] nexus3.edgexfoundry.org:10002 [2023-05-15T20:59:48.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:48.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:48.757Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:48.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:48.757Z] [2023-05-15T20:59:48.757Z] Login Succeeded [2023-05-15T20:59:48.757Z] nexus3.edgexfoundry.org:10003 [2023-05-15T20:59:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:49.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:49.016Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:49.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:49.016Z] [2023-05-15T20:59:49.016Z] Login Succeeded [2023-05-15T20:59:49.016Z] nexus3.edgexfoundry.org:10004 [2023-05-15T20:59:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:49.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:49.016Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:49.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:49.016Z] [2023-05-15T20:59:49.016Z] Login Succeeded [2023-05-15T20:59:49.016Z] docker.io [2023-05-15T20:59:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T20:59:49.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T20:59:49.276Z] Configure a credential helper to remove this warning. See [2023-05-15T20:59:49.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T20:59:49.276Z] [2023-05-15T20:59:49.276Z] Login Succeeded [2023-05-15T20:59:49.276Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T20:59:49.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-15T20:59:49.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-15T20:59:49.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-15T20:59:49.597Z] ========================================================= [2023-05-15T20:59:49.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-15T20:59:49.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T20:59:50.068Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-15T20:59:50.069Z] Sending build context to Docker daemon 10.92MB [2023-05-15T20:59:50.069Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-15T20:59:50.069Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-15T20:59:50.069Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-15T20:59:50.069Z] f56be85fc22e: Pulling fs layer [2023-05-15T20:59:50.069Z] 85791d961cd3: Pulling fs layer [2023-05-15T20:59:50.069Z] d694b5ae8c79: Pulling fs layer [2023-05-15T20:59:50.069Z] 9f32a84ed3da: Pulling fs layer [2023-05-15T20:59:50.069Z] 4d19c01a9841: Pulling fs layer [2023-05-15T20:59:50.069Z] 9325e15d5711: Pulling fs layer [2023-05-15T20:59:50.069Z] 556b6ee489ea: Pulling fs layer [2023-05-15T20:59:50.069Z] c5a4b2cf53e6: Pulling fs layer [2023-05-15T20:59:50.069Z] 4d19c01a9841: Waiting [2023-05-15T20:59:50.069Z] 9325e15d5711: Waiting [2023-05-15T20:59:50.069Z] 556b6ee489ea: Waiting [2023-05-15T20:59:50.069Z] c5a4b2cf53e6: Waiting [2023-05-15T20:59:50.069Z] 9f32a84ed3da: Waiting [2023-05-15T20:59:50.069Z] 85791d961cd3: Download complete [2023-05-15T20:59:50.069Z] 9f32a84ed3da: Verifying Checksum [2023-05-15T20:59:50.069Z] 9f32a84ed3da: Download complete [2023-05-15T20:59:50.069Z] 4d19c01a9841: Verifying Checksum [2023-05-15T20:59:50.330Z] 4d19c01a9841: Download complete [2023-05-15T20:59:50.330Z] f56be85fc22e: Verifying Checksum [2023-05-15T20:59:50.330Z] f56be85fc22e: Download complete [2023-05-15T20:59:50.330Z] 9325e15d5711: Verifying Checksum [2023-05-15T20:59:50.330Z] 9325e15d5711: Download complete [2023-05-15T20:59:50.330Z] f56be85fc22e: Pull complete [2023-05-15T20:59:50.593Z] 85791d961cd3: Pull complete [2023-05-15T20:59:50.593Z] c5a4b2cf53e6: Verifying Checksum [2023-05-15T20:59:50.593Z] c5a4b2cf53e6: Download complete [2023-05-15T20:59:50.852Z] d694b5ae8c79: Verifying Checksum [2023-05-15T20:59:50.852Z] d694b5ae8c79: Download complete [2023-05-15T20:59:51.111Z] 556b6ee489ea: Verifying Checksum [2023-05-15T20:59:51.111Z] 556b6ee489ea: Download complete [2023-05-15T20:59:54.391Z] d694b5ae8c79: Pull complete [2023-05-15T20:59:54.391Z] 9f32a84ed3da: Pull complete [2023-05-15T20:59:54.391Z] 4d19c01a9841: Pull complete [2023-05-15T20:59:54.391Z] 9325e15d5711: Pull complete [2023-05-15T20:59:56.288Z] 556b6ee489ea: Pull complete [2023-05-15T20:59:57.223Z] c5a4b2cf53e6: Pull complete [2023-05-15T20:59:57.223Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-15T20:59:57.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-15T20:59:57.223Z] ---> c4be618373d6 [2023-05-15T20:59:57.223Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-15T21:00:00.516Z] ---> Running in 2f138689a83d [2023-05-15T21:00:00.516Z] Removing intermediate container 2f138689a83d [2023-05-15T21:00:00.516Z] ---> 9540ec187c3e [2023-05-15T21:00:00.516Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-15T21:00:00.516Z] ---> Running in d384d3ea937f [2023-05-15T21:00:00.516Z] Removing intermediate container d384d3ea937f [2023-05-15T21:00:00.516Z] ---> dd2592f31de9 [2023-05-15T21:00:00.516Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-15T21:00:00.775Z] ---> Running in 6c659e915b51 [2023-05-15T21:00:00.775Z] Removing intermediate container 6c659e915b51 [2023-05-15T21:00:00.775Z] ---> dac544f085c7 [2023-05-15T21:00:00.775Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-15T21:00:00.775Z] ---> Running in 3269e43756ea [2023-05-15T21:00:00.775Z] Removing intermediate container 3269e43756ea [2023-05-15T21:00:00.775Z] ---> 842fb30232e0 [2023-05-15T21:00:00.775Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-15T21:00:01.035Z] ---> Running in db9f7b811a47 [2023-05-15T21:00:01.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-15T21:00:01.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-15T21:00:01.556Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-15T21:00:01.556Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-15T21:00:01.556Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-15T21:00:01.556Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-15T21:00:01.556Z] Executing busybox-1.35.0-r29.trigger [2023-05-15T21:00:01.556Z] OK: 269 MiB in 57 packages [2023-05-15T21:00:02.125Z] Removing intermediate container db9f7b811a47 [2023-05-15T21:00:02.125Z] ---> b3f595695a16 [2023-05-15T21:00:02.125Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-15T21:00:02.125Z] ---> Running in 771fa54d4e71 [2023-05-15T21:00:02.125Z] Removing intermediate container 771fa54d4e71 [2023-05-15T21:00:02.125Z] ---> 595b2fa74345 [2023-05-15T21:00:02.125Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-15T21:00:02.125Z] ---> 6878c0a09bcf [2023-05-15T21:00:02.125Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-15T21:00:02.125Z] ---> Running in a7a7f8b2bef9 [2023-05-15T21:00:03.215Z] Still waiting to schedule task [2023-05-15T21:00:03.215Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-15T21:00:50.888Z] Removing intermediate container a7a7f8b2bef9 [2023-05-15T21:00:50.888Z] ---> 4285a0a84d8d [2023-05-15T21:00:50.889Z] Step 11/12 : COPY . . [2023-05-15T21:00:50.889Z] ---> bdaccd8afe47 [2023-05-15T21:00:50.889Z] Step 12/12 : RUN $MAKE [2023-05-15T21:00:50.889Z] ---> Running in b227127038f0 [2023-05-15T21:00:50.889Z] noop [2023-05-15T21:00:50.889Z] Removing intermediate container b227127038f0 [2023-05-15T21:00:50.889Z] ---> 2caa8e4262ea [2023-05-15T21:00:50.889Z] Successfully built 2caa8e4262ea [2023-05-15T21:00:50.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:00:51.339Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-15T21:00:51.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:00:51.496Z] prd-ubuntu20.04-docker-8c-8g-15454 does not seem to be running inside a container [2023-05-15T21:00:51.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-15T21:00:54.209Z] $ docker top 652734aa70b4716032722e422489d5540423d37a0ea76d2dd1b5922b260072a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T21:00:54.605Z] + go version [2023-05-15T21:00:54.606Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-15T21:00:54.637Z] $ docker stop --time=1 652734aa70b4716032722e422489d5540423d37a0ea76d2dd1b5922b260072a9 [2023-05-15T21:00:55.874Z] $ docker rm -f --volumes 652734aa70b4716032722e422489d5540423d37a0ea76d2dd1b5922b260072a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:00:58.770Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-15T21:00:58.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:00:58.956Z] prd-ubuntu20.04-docker-8c-8g-15454 does not seem to be running inside a container [2023-05-15T21:00:59.027Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-15T21:00:59.348Z] $ docker top 00e5d8335bfd4f2514111fa784c6626a711194816f20a9a0312a9da23e9ceed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T21:00:59.736Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-05-15T21:01:01.367Z] + make test [2023-05-15T21:01:01.367Z] go test ./... -coverprofile=coverage.out ./... [2023-05-15T21:01:04.655Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-15T21:01:14.623Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-15T21:01:14.623Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements [2023-05-15T21:01:18.802Z] go vet ./... [2023-05-15T21:01:22.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-15T21:01:22.083Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-15T21:01:22.083Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-15T21:01:22.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-15T21:01:22.152Z] $ docker stop --time=1 00e5d8335bfd4f2514111fa784c6626a711194816f20a9a0312a9da23e9ceed9 [2023-05-15T21:01:24.790Z] $ docker rm -f --volumes 00e5d8335bfd4f2514111fa784c6626a711194816f20a9a0312a9da23e9ceed9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-15T21:01:25.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-15T21:01:25.415Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-15T21:01:26.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-15T21:01:26.391Z] + ls -al . [2023-05-15T21:01:26.392Z] total 184 [2023-05-15T21:01:26.392Z] drwxrwxr-x 9 jenkins jenkins 4096 May 15 21:01 . [2023-05-15T21:01:26.392Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 20:59 .. [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 151 May 15 20:59 .dockerignore [2023-05-15T21:01:26.392Z] drwxrwxr-x 8 jenkins jenkins 4096 May 15 20:59 .git [2023-05-15T21:01:26.392Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 20:59 .github [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 329 May 15 20:59 .gitignore [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 41 May 15 20:59 .golangci.yml [2023-05-15T21:01:26.392Z] drwxr-xr-x 3 jenkins jenkins 4096 May 15 20:59 .semver [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 15 20:59 Attribution.txt [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 15 20:59 CHANGELOG.md [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 15 20:59 Dockerfile [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 677 May 15 20:59 GOVERNANCE.md [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 680 May 15 20:59 Jenkinsfile [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 15 20:59 LICENSE [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 15 20:59 Makefile [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 620 May 15 20:59 OWNERS.md [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 15 20:59 README.md [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 5 May 15 20:59 VERSION [2023-05-15T21:01:26.392Z] drwxrwxr-x 2 jenkins jenkins 4096 May 15 20:59 bin [2023-05-15T21:01:26.392Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 20:59 cmd [2023-05-15T21:01:26.392Z] -rw-r--r-- 1 jenkins jenkins 14663 May 15 21:01 coverage.out [2023-05-15T21:01:26.392Z] drwxrwxr-x 2 jenkins jenkins 4096 May 15 20:59 driver [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 15 20:59 go.mod [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 15 20:59 go.sum [2023-05-15T21:01:26.392Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 20:59 snap [2023-05-15T21:01:26.392Z] -rw-rw-r-- 1 jenkins jenkins 713 May 15 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:01:26.791Z] + 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=8e46624d7ea748264d2a0a94cee34bfaa646eccd --label arch=amd64 --label version=0.0.0 . [2023-05-15T21:01:26.791Z] Sending build context to Docker daemon 10.94MB [2023-05-15T21:01:26.791Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-15T21:01:26.791Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-15T21:01:26.791Z] ---> 2caa8e4262ea [2023-05-15T21:01:26.791Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-15T21:01:27.049Z] ---> Running in 861d8ceb55bf [2023-05-15T21:01:27.050Z] Removing intermediate container 861d8ceb55bf [2023-05-15T21:01:27.050Z] ---> 76c7e32f0b89 [2023-05-15T21:01:27.050Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-15T21:01:27.050Z] ---> Running in 6728adf95f99 [2023-05-15T21:01:27.050Z] Removing intermediate container 6728adf95f99 [2023-05-15T21:01:27.050Z] ---> b7bfd22aade5 [2023-05-15T21:01:27.050Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-15T21:01:27.050Z] ---> Running in 621f7d80a531 [2023-05-15T21:01:27.050Z] Removing intermediate container 621f7d80a531 [2023-05-15T21:01:27.050Z] ---> 592372974fab [2023-05-15T21:01:27.050Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-15T21:01:27.050Z] ---> Running in 2ad93e516816 [2023-05-15T21:01:27.309Z] Removing intermediate container 2ad93e516816 [2023-05-15T21:01:27.309Z] ---> 5061054ab53c [2023-05-15T21:01:27.309Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-15T21:01:27.309Z] ---> Running in 53753342a35f [2023-05-15T21:01:27.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-15T21:01:27.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-15T21:01:27.830Z] OK: 269 MiB in 57 packages [2023-05-15T21:01:28.089Z] Removing intermediate container 53753342a35f [2023-05-15T21:01:28.089Z] ---> a583db14e814 [2023-05-15T21:01:28.089Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-15T21:01:28.089Z] ---> Running in 483494adc2b8 [2023-05-15T21:01:28.349Z] Removing intermediate container 483494adc2b8 [2023-05-15T21:01:28.349Z] ---> fd0f79856e0a [2023-05-15T21:01:28.349Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-15T21:01:28.349Z] ---> a4d67661e85c [2023-05-15T21:01:28.349Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-15T21:01:28.349Z] ---> Running in 72c8238243f2 [2023-05-15T21:01:28.918Z] Removing intermediate container 72c8238243f2 [2023-05-15T21:01:28.918Z] ---> f5f6c3d02b23 [2023-05-15T21:01:28.918Z] Step 11/25 : COPY . . [2023-05-15T21:01:29.511Z] ---> 22e3a39fd7e9 [2023-05-15T21:01:29.511Z] Step 12/25 : RUN $MAKE [2023-05-15T21:01:29.511Z] ---> Running in 9cbac0d6a380 [2023-05-15T21:01:29.511Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-15T21:01:41.122Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15455 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws [2023-05-15T21:01:41.181Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-15T21:01:41.278Z] The recommended git tool is: git [2023-05-15T21:01:46.326Z] using credential edgex-jenkins-ssh [2023-05-15T21:01:46.347Z] Cloning the remote Git repository [2023-05-15T21:01:46.394Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-15T21:01:46.489Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-15T21:01:46.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-15T21:01:46.654Z] > git --version # timeout=10 [2023-05-15T21:01:46.677Z] > git --version # 'git version 2.25.1' [2023-05-15T21:01:46.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-15T21:01:46.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-15T21:01:47.625Z] Removing intermediate container 9cbac0d6a380 [2023-05-15T21:01:47.625Z] ---> 10eb65568b1f [2023-05-15T21:01:47.625Z] Step 13/25 : FROM alpine:3.17 [2023-05-15T21:01:47.625Z] 3.17: Pulling from library/alpine [2023-05-15T21:01:47.625Z] f56be85fc22e: Already exists [2023-05-15T21:01:47.625Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-15T21:01:47.625Z] Status: Downloaded newer image for alpine:3.17 [2023-05-15T21:01:47.625Z] ---> 9ed4aefc74f6 [2023-05-15T21:01:47.625Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-15T21:01:47.625Z] ---> Running in 4549b6fdd52c [2023-05-15T21:01:47.625Z] Removing intermediate container 4549b6fdd52c [2023-05-15T21:01:47.625Z] ---> 9e125b1d3155 [2023-05-15T21:01:47.625Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-15T21:01:47.625Z] ---> Running in be54b20a48d6 [2023-05-15T21:01:47.625Z] Removing intermediate container be54b20a48d6 [2023-05-15T21:01:47.625Z] ---> 1fa00b3a6970 [2023-05-15T21:01:47.625Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-15T21:01:47.625Z] ---> Running in b02352f2fb1e [2023-05-15T21:01:47.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-15T21:01:47.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-15T21:01:47.625Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-15T21:01:47.625Z] Executing busybox-1.35.0-r29.trigger [2023-05-15T21:01:47.625Z] OK: 7 MiB in 16 packages [2023-05-15T21:01:47.625Z] Removing intermediate container b02352f2fb1e [2023-05-15T21:01:47.625Z] ---> abf8b4d9bf27 [2023-05-15T21:01:47.625Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-15T21:01:47.888Z] ---> a5609bc33006 [2023-05-15T21:01:47.888Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-15T21:01:48.149Z] ---> 00348c710b74 [2023-05-15T21:01:48.149Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-15T21:01:48.149Z] ---> b756b96cce3d [2023-05-15T21:01:48.149Z] Step 20/25 : EXPOSE 59986 [2023-05-15T21:01:48.149Z] ---> Running in 2cfd95de82d1 [2023-05-15T21:01:48.149Z] Removing intermediate container 2cfd95de82d1 [2023-05-15T21:01:48.149Z] ---> a22b383601e0 [2023-05-15T21:01:48.149Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-15T21:01:48.409Z] ---> Running in fe634a7fa480 [2023-05-15T21:01:48.409Z] Removing intermediate container fe634a7fa480 [2023-05-15T21:01:48.409Z] ---> 679333382448 [2023-05-15T21:01:48.409Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-15T21:01:48.409Z] ---> Running in 50b8bef7a8c2 [2023-05-15T21:01:48.409Z] Removing intermediate container 50b8bef7a8c2 [2023-05-15T21:01:48.409Z] ---> 9ce26505844b [2023-05-15T21:01:48.409Z] Step 23/25 : LABEL arch=amd64 [2023-05-15T21:01:48.409Z] ---> Running in 5e582ca42705 [2023-05-15T21:01:48.409Z] Removing intermediate container 5e582ca42705 [2023-05-15T21:01:48.409Z] ---> e3794a6e73ea [2023-05-15T21:01:48.409Z] Step 24/25 : LABEL git_sha=8e46624d7ea748264d2a0a94cee34bfaa646eccd [2023-05-15T21:01:48.409Z] ---> Running in 297b546ea042 [2023-05-15T21:01:48.669Z] Removing intermediate container 297b546ea042 [2023-05-15T21:01:48.669Z] ---> cd21425fd33a [2023-05-15T21:01:48.669Z] Step 25/25 : LABEL version=0.0.0 [2023-05-15T21:01:48.669Z] ---> Running in b93309d2b825 [2023-05-15T21:01:48.669Z] Removing intermediate container b93309d2b825 [2023-05-15T21:01:48.669Z] ---> 7a505a3f7ded [2023-05-15T21:01:48.669Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-15T21:01:48.669Z] Successfully built 7a505a3f7ded [2023-05-15T21:01:48.669Z] 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-05-15T21:01:49.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T21:01:49.555Z] [2023-05-15T21:01:49.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:01:49.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T21:01:49.933Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-15T21:01:49.933Z] 5eb5b503b376: Pulling fs layer [2023-05-15T21:01:49.933Z] 5c69ac0246d0: Pulling fs layer [2023-05-15T21:01:49.933Z] ec43610c2a17: Pulling fs layer [2023-05-15T21:01:49.933Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-15T21:01:49.933Z] 33b1e0a273af: Pulling fs layer [2023-05-15T21:01:49.933Z] 5d3b04190fa2: Pulling fs layer [2023-05-15T21:01:49.933Z] 2f39f015ded8: Pulling fs layer [2023-05-15T21:01:49.933Z] 3a2ae6a8a46f: Waiting [2023-05-15T21:01:49.933Z] 33b1e0a273af: Waiting [2023-05-15T21:01:49.933Z] 5d3b04190fa2: Waiting [2023-05-15T21:01:49.933Z] 2f39f015ded8: Waiting [2023-05-15T21:01:49.933Z] 5c69ac0246d0: Verifying Checksum [2023-05-15T21:01:49.933Z] 5c69ac0246d0: Download complete [2023-05-15T21:01:49.933Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-15T21:01:49.933Z] 3a2ae6a8a46f: Download complete [2023-05-15T21:01:49.933Z] 33b1e0a273af: Verifying Checksum [2023-05-15T21:01:49.933Z] 33b1e0a273af: Download complete [2023-05-15T21:01:49.933Z] 5d3b04190fa2: Verifying Checksum [2023-05-15T21:01:49.933Z] 5d3b04190fa2: Download complete [2023-05-15T21:01:49.933Z] ec43610c2a17: Verifying Checksum [2023-05-15T21:01:49.933Z] ec43610c2a17: Download complete [2023-05-15T21:01:48.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-15T21:01:48.736Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-15T21:01:49.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-15T21:01:49.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-15T21:01:49.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-15T21:01:49.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-15T21:01:50.175Z] Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 8e46624d7ea748264d2a0a94cee34bfaa646eccd [2023-05-15T21:01:50.195Z] 5eb5b503b376: Verifying Checksum [2023-05-15T21:01:50.462Z] Merge succeeded, producing 8e46624d7ea748264d2a0a94cee34bfaa646eccd [2023-05-15T21:01:50.463Z] Checking out Revision 8e46624d7ea748264d2a0a94cee34bfaa646eccd (PR-318) [2023-05-15T21:01:50.761Z] 2f39f015ded8: Verifying Checksum [2023-05-15T21:01:50.761Z] 2f39f015ded8: Download complete [2023-05-15T21:01:50.933Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [2023-05-15T21:01:50.987Z] > git --version # timeout=10 [2023-05-15T21:01:50.999Z] > git --version # 'git version 2.25.1' [2023-05-15T21:01:51.018Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-15T21:01:51.328Z] 5eb5b503b376: Pull complete [2023-05-15T21:01:51.328Z] 5c69ac0246d0: Pull complete [2023-05-15T21:01:51.388Z] [2023-05-15T21:01:51.388Z] GitHub has been notified of this commit’s build result [2023-05-15T21:01:51.388Z] [Pipeline] withEnv [Pipeline] { [2023-05-15T21:01:50.196Z] > git config core.sparsecheckout # timeout=10 [2023-05-15T21:01:50.267Z] > git checkout -f 8e46624d7ea748264d2a0a94cee34bfaa646eccd # timeout=10 [2023-05-15T21:01:50.354Z] > git remote # timeout=10 [2023-05-15T21:01:50.375Z] > git config --get remote.origin.url # timeout=10 [2023-05-15T21:01:50.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-15T21:01:50.412Z] > git merge e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 [2023-05-15T21:01:50.443Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-15T21:01:50.472Z] > git config core.sparsecheckout # timeout=10 [2023-05-15T21:01:50.493Z] > git checkout -f 8e46624d7ea748264d2a0a94cee34bfaa646eccd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-15T21:01:51.894Z] ec43610c2a17: Pull complete [2023-05-15T21:01:51.894Z] 3a2ae6a8a46f: Pull complete [2023-05-15T21:01:51.894Z] 33b1e0a273af: Pull complete [2023-05-15T21:01:51.894Z] 5d3b04190fa2: Pull complete [2023-05-15T21:01:52.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-15T21:01:52.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-15T21:01:52.271Z] Dload Upload Total Spent Left Speed [2023-05-15T21:01:52.271Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-05-15T21:01:52.867Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-15T21:01:53.214Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-15T21:01:53.214Z] + sudo tee /etc/docker/daemon.new [2023-05-15T21:01:53.214Z] { [2023-05-15T21:01:53.214Z] "registry-mirrors": [ [2023-05-15T21:01:53.214Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-15T21:01:53.214Z] ], [2023-05-15T21:01:53.214Z] "bip": "10.250.0.254/24", [2023-05-15T21:01:53.214Z] "hosts": [ [2023-05-15T21:01:53.214Z] "tcp://0.0.0.0:5555", [2023-05-15T21:01:53.214Z] "unix:///var/run/docker.sock" [2023-05-15T21:01:53.214Z] ], [2023-05-15T21:01:53.214Z] "mtu": 1458, [2023-05-15T21:01:53.214Z] "selinux-enabled": true, [2023-05-15T21:01:53.214Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-15T21:01:53.215Z] } [Pipeline] sh [2023-05-15T21:01:53.559Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-15T21:01:53.907Z] + sudo service docker restart [2023-05-15T21:01:56.076Z] 2f39f015ded8: Pull complete [2023-05-15T21:01:56.076Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-15T21:01:56.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T21:01:56.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:01:56.274Z] prd-ubuntu20.04-docker-8c-8g-15454 does not seem to be running inside a container [2023-05-15T21:01:56.299Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-15T21:01:58.380Z] $ docker top 02dc9e8f92c72cd4a198ed8d31c780096de665e9909227d44b2b4aa7147758c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:01:58.844Z] ---> job-cost.sh [2023-05-15T21:01:58.845Z] lf-activate-venv: SKIPPING [2023-05-15T21:01:58.845Z] INFO: No Stack... [2023-05-15T21:01:59.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-15T21:01:59.363Z] INFO: Archiving Costs [Pipeline] sh [2023-05-15T21:01:59.678Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv [2023-05-15T21:01:59.678Z] + cut -d, -f6 [Pipeline] lock [2023-05-15T21:01:59.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [2023-05-15T21:01:59.723Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] did not exist. Created. [2023-05-15T21:01:59.723Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-15T21:02:00.114Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-15T21:02:00.160Z] Stashed 1 file(s) [Pipeline] } [2023-05-15T21:02:00.193Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-15T21:02:00.275Z] $ docker stop --time=1 02dc9e8f92c72cd4a198ed8d31c780096de665e9909227d44b2b4aa7147758c9 [2023-05-15T21:02:01.409Z] $ docker rm -f --volumes 02dc9e8f92c72cd4a198ed8d31c780096de665e9909227d44b2b4aa7147758c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T21:02:12.227Z] provisioning config files... [2023-05-15T21:02:12.257Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11901431613879072681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:02:12.652Z] ---> docker-login.sh [2023-05-15T21:02:12.653Z] nexus3.edgexfoundry.org:10001 [2023-05-15T21:02:13.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T21:02:13.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T21:02:13.246Z] Configure a credential helper to remove this warning. See [2023-05-15T21:02:13.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T21:02:13.246Z] [2023-05-15T21:02:13.246Z] Login Succeeded [2023-05-15T21:02:13.246Z] nexus3.edgexfoundry.org:10002 [2023-05-15T21:02:13.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T21:02:13.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T21:02:13.790Z] Configure a credential helper to remove this warning. See [2023-05-15T21:02:13.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T21:02:13.790Z] [2023-05-15T21:02:13.790Z] Login Succeeded [2023-05-15T21:02:13.790Z] nexus3.edgexfoundry.org:10003 [2023-05-15T21:02:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T21:02:14.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T21:02:14.060Z] Configure a credential helper to remove this warning. See [2023-05-15T21:02:14.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T21:02:14.060Z] [2023-05-15T21:02:14.060Z] Login Succeeded [2023-05-15T21:02:14.060Z] nexus3.edgexfoundry.org:10004 [2023-05-15T21:02:14.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T21:02:14.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T21:02:14.336Z] Configure a credential helper to remove this warning. See [2023-05-15T21:02:14.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T21:02:14.336Z] [2023-05-15T21:02:14.336Z] Login Succeeded [2023-05-15T21:02:14.336Z] docker.io [2023-05-15T21:02:14.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-15T21:02:14.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-15T21:02:14.877Z] Configure a credential helper to remove this warning. See [2023-05-15T21:02:14.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-15T21:02:14.877Z] [2023-05-15T21:02:14.877Z] Login Succeeded [2023-05-15T21:02:14.877Z] ---> docker-login.sh ends [Pipeline] } [2023-05-15T21:02:14.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-15T21:02:15.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-15T21:02:15.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-15T21:02:15.394Z] ========================================================= [2023-05-15T21:02:15.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-15T21:02:15.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:02:15.914Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-15T21:02:15.914Z] Sending build context to Docker daemon 139.3kB [2023-05-15T21:02:16.185Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-15T21:02:16.185Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-15T21:02:16.459Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-15T21:02:16.459Z] c41833b44d91: Pulling fs layer [2023-05-15T21:02:16.459Z] ed15518f5707: Pulling fs layer [2023-05-15T21:02:16.459Z] feae8fd75edb: Pulling fs layer [2023-05-15T21:02:16.459Z] 242c74f7c9fa: Pulling fs layer [2023-05-15T21:02:16.459Z] 3cdef696dda3: Pulling fs layer [2023-05-15T21:02:16.459Z] 2ced38df9373: Pulling fs layer [2023-05-15T21:02:16.459Z] 58f1dce35555: Pulling fs layer [2023-05-15T21:02:16.459Z] 3cdef696dda3: Waiting [2023-05-15T21:02:16.459Z] 242c74f7c9fa: Waiting [2023-05-15T21:02:16.459Z] 2ced38df9373: Waiting [2023-05-15T21:02:16.459Z] 58f1dce35555: Waiting [2023-05-15T21:02:16.459Z] ed15518f5707: Download complete [2023-05-15T21:02:16.459Z] 242c74f7c9fa: Verifying Checksum [2023-05-15T21:02:16.459Z] 242c74f7c9fa: Download complete [2023-05-15T21:02:16.459Z] 3cdef696dda3: Verifying Checksum [2023-05-15T21:02:16.459Z] 3cdef696dda3: Download complete [2023-05-15T21:02:16.459Z] c41833b44d91: Verifying Checksum [2023-05-15T21:02:16.459Z] c41833b44d91: Download complete [2023-05-15T21:02:17.444Z] c41833b44d91: Pull complete [2023-05-15T21:02:18.033Z] 58f1dce35555: Verifying Checksum [2023-05-15T21:02:18.033Z] 58f1dce35555: Download complete [2023-05-15T21:02:18.033Z] ed15518f5707: Pull complete [2023-05-15T21:02:19.008Z] 2ced38df9373: Verifying Checksum [2023-05-15T21:02:19.008Z] 2ced38df9373: Download complete [2023-05-15T21:02:19.008Z] feae8fd75edb: Verifying Checksum [2023-05-15T21:02:19.008Z] feae8fd75edb: Download complete [2023-05-15T21:02:29.220Z] feae8fd75edb: Pull complete [2023-05-15T21:02:29.486Z] 242c74f7c9fa: Pull complete [2023-05-15T21:02:29.752Z] 3cdef696dda3: Pull complete [2023-05-15T21:02:36.404Z] 2ced38df9373: Pull complete [2023-05-15T21:02:38.998Z] 58f1dce35555: Pull complete [2023-05-15T21:02:38.998Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-15T21:02:38.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-15T21:02:38.998Z] ---> fadd8f120f05 [2023-05-15T21:02:38.998Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-15T21:02:40.961Z] ---> Running in bff0d1eff595 [2023-05-15T21:02:40.961Z] Removing intermediate container bff0d1eff595 [2023-05-15T21:02:40.961Z] ---> 8e93e0246ed7 [2023-05-15T21:02:40.961Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-15T21:02:40.961Z] ---> Running in 2ef351b58166 [2023-05-15T21:02:41.238Z] Removing intermediate container 2ef351b58166 [2023-05-15T21:02:41.238Z] ---> a162a1f6ec73 [2023-05-15T21:02:41.238Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-15T21:02:41.507Z] ---> Running in e0c0e96924ea [2023-05-15T21:02:41.776Z] Removing intermediate container e0c0e96924ea [2023-05-15T21:02:41.776Z] ---> c014fd13d208 [2023-05-15T21:02:41.776Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-15T21:02:41.776Z] ---> Running in 963a3ef00dbe [2023-05-15T21:02:42.044Z] Removing intermediate container 963a3ef00dbe [2023-05-15T21:02:42.044Z] ---> 89f32ef2b90f [2023-05-15T21:02:42.044Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-15T21:02:42.312Z] ---> Running in 8516d76e37b0 [2023-05-15T21:02:43.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-15T21:02:43.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-15T21:02:44.826Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-15T21:02:44.826Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-15T21:02:44.826Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-15T21:02:45.095Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-15T21:02:45.095Z] Executing busybox-1.35.0-r29.trigger [2023-05-15T21:02:45.095Z] OK: 268 MiB in 57 packages [2023-05-15T21:02:46.075Z] Removing intermediate container 8516d76e37b0 [2023-05-15T21:02:46.075Z] ---> 201f8547efce [2023-05-15T21:02:46.075Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-15T21:02:46.075Z] ---> Running in 2a285f618ae7 [2023-05-15T21:02:46.343Z] Removing intermediate container 2a285f618ae7 [2023-05-15T21:02:46.343Z] ---> 1b662a976d38 [2023-05-15T21:02:46.343Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-15T21:02:49.689Z] ---> 206a8d7e84f7 [2023-05-15T21:02:49.689Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-15T21:02:49.689Z] ---> Running in 4124b143a1bf [2023-05-15T21:03:46.069Z] Removing intermediate container 4124b143a1bf [2023-05-15T21:03:46.069Z] ---> 84e4bcbe4a90 [2023-05-15T21:03:46.069Z] Step 11/12 : COPY . . [2023-05-15T21:03:46.069Z] ---> 555f6fb9dae8 [2023-05-15T21:03:46.069Z] Step 12/12 : RUN $MAKE [2023-05-15T21:03:46.069Z] ---> Running in 04be5688e020 [2023-05-15T21:03:46.069Z] noop [2023-05-15T21:03:46.664Z] Removing intermediate container 04be5688e020 [2023-05-15T21:03:46.664Z] ---> 269909cf4c6d [2023-05-15T21:03:46.664Z] Successfully built 269909cf4c6d [2023-05-15T21:03:46.664Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:03:47.131Z] + docker inspect -f . ci-base-image-arm64 [2023-05-15T21:03:47.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:03:47.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-15455 does not seem to be running inside a container [2023-05-15T21:03:47.468Z] $ 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-05-15T21:03:48.538Z] $ docker top faf977edad14ed1cc8ab8d2965955c386f48197ea2f288ff63cc4a82d51edec1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T21:03:49.378Z] + go version [2023-05-15T21:03:49.379Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-15T21:03:49.417Z] $ docker stop --time=1 faf977edad14ed1cc8ab8d2965955c386f48197ea2f288ff63cc4a82d51edec1 [2023-05-15T21:03:50.958Z] $ docker rm -f --volumes faf977edad14ed1cc8ab8d2965955c386f48197ea2f288ff63cc4a82d51edec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:03:51.784Z] + docker inspect -f . ci-base-image-arm64 [2023-05-15T21:03:51.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:03:52.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-15455 does not seem to be running inside a container [2023-05-15T21:03:52.099Z] $ 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-05-15T21:03:53.115Z] $ docker top 1aa75803e2b275e9d1ca39ce6bc06fd787401f1ce6e1b8c0b691c9156330cb88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T21:03:53.656Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-15T21:03:54.044Z] + make test [2023-05-15T21:03:54.045Z] go test ./... -coverprofile=coverage.out ./... [2023-05-15T21:04:26.246Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-15T21:06:17.904Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-15T21:06:17.904Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 32.2% of statements [2023-05-15T21:06:17.904Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-15T21:06:17.904Z] go vet ./... [2023-05-15T21:06:44.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-15T21:06:44.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-15T21:06:44.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-15T21:06:44.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-15T21:06:44.681Z] $ docker stop --time=1 1aa75803e2b275e9d1ca39ce6bc06fd787401f1ce6e1b8c0b691c9156330cb88 [2023-05-15T21:06:46.619Z] $ docker rm -f --volumes 1aa75803e2b275e9d1ca39ce6bc06fd787401f1ce6e1b8c0b691c9156330cb88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-15T21:06:47.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-15T21:06:47.866Z] Warning: overwriting stash ‘coverage-report’ [2023-05-15T21:06:48.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-15T21:06:48.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-15T21:06:49.277Z] + ls -al . [2023-05-15T21:06:49.277Z] total 180 [2023-05-15T21:06:49.277Z] drwxrwxr-x 8 jenkins jenkins 4096 May 15 21:03 . [2023-05-15T21:06:49.277Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:01 .. [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 151 May 15 21:01 .dockerignore [2023-05-15T21:06:49.277Z] drwxrwxr-x 8 jenkins jenkins 4096 May 15 21:01 .git [2023-05-15T21:06:49.277Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:01 .github [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 329 May 15 21:01 .gitignore [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 41 May 15 21:01 .golangci.yml [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 15 21:01 Attribution.txt [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 15 21:01 CHANGELOG.md [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 15 21:01 Dockerfile [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 677 May 15 21:01 GOVERNANCE.md [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 680 May 15 21:01 Jenkinsfile [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 15 21:01 LICENSE [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 15 21:01 Makefile [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 620 May 15 21:01 OWNERS.md [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 15 21:01 README.md [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 5 May 15 20:59 VERSION [2023-05-15T21:06:49.277Z] drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:01 bin [2023-05-15T21:06:49.277Z] drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:01 cmd [2023-05-15T21:06:49.277Z] -rw-r--r-- 1 jenkins jenkins 14663 May 15 21:06 coverage.out [2023-05-15T21:06:49.277Z] drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:01 driver [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 15 21:01 go.mod [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 15 21:01 go.sum [2023-05-15T21:06:49.277Z] drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:01 snap [2023-05-15T21:06:49.277Z] -rw-rw-r-- 1 jenkins jenkins 713 May 15 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:06:49.698Z] + 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=8e46624d7ea748264d2a0a94cee34bfaa646eccd --label arch=arm64 --label version=0.0.0 . [2023-05-15T21:06:49.699Z] Sending build context to Docker daemon 154.6kB [2023-05-15T21:06:49.965Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-15T21:06:49.965Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-15T21:06:49.965Z] ---> 269909cf4c6d [2023-05-15T21:06:49.965Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-15T21:06:51.915Z] ---> Running in 5452fa895c7e [2023-05-15T21:06:52.522Z] Removing intermediate container 5452fa895c7e [2023-05-15T21:06:52.522Z] ---> 4b6b7a784cf5 [2023-05-15T21:06:52.522Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-15T21:06:52.522Z] ---> Running in a25dc68cf7fa [2023-05-15T21:06:52.789Z] Removing intermediate container a25dc68cf7fa [2023-05-15T21:06:52.789Z] ---> b3692feaba55 [2023-05-15T21:06:52.789Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-15T21:06:53.057Z] ---> Running in 11d28f3e2d85 [2023-05-15T21:06:53.324Z] Removing intermediate container 11d28f3e2d85 [2023-05-15T21:06:53.324Z] ---> cf97f2aa6c23 [2023-05-15T21:06:53.324Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-15T21:06:53.590Z] ---> Running in 233cad3afe50 [2023-05-15T21:06:54.173Z] Removing intermediate container 233cad3afe50 [2023-05-15T21:06:54.174Z] ---> 1910f4462298 [2023-05-15T21:06:54.174Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-15T21:06:54.174Z] ---> Running in cb54d4ede0ad [2023-05-15T21:06:55.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-15T21:06:56.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-15T21:06:57.502Z] OK: 268 MiB in 57 packages [2023-05-15T21:07:00.094Z] Removing intermediate container cb54d4ede0ad [2023-05-15T21:07:00.094Z] ---> 3f37f3afcb40 [2023-05-15T21:07:00.094Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-15T21:07:00.094Z] ---> Running in cda20fc83c88 [2023-05-15T21:07:00.363Z] Removing intermediate container cda20fc83c88 [2023-05-15T21:07:00.363Z] ---> 72c74c577a9b [2023-05-15T21:07:00.363Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-15T21:07:00.956Z] ---> 821a87fa2295 [2023-05-15T21:07:00.956Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-15T21:07:00.956Z] ---> Running in a8af09146834 [2023-05-15T21:07:07.608Z] Removing intermediate container a8af09146834 [2023-05-15T21:07:07.608Z] ---> 483b6749da35 [2023-05-15T21:07:07.608Z] Step 11/25 : COPY . . [2023-05-15T21:07:07.608Z] ---> 8e3ff35cda23 [2023-05-15T21:07:07.608Z] Step 12/25 : RUN $MAKE [2023-05-15T21:07:07.608Z] ---> Running in e7f95c030a0d [2023-05-15T21:07:08.194Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-15T21:09:14.918Z] Removing intermediate container e7f95c030a0d [2023-05-15T21:09:14.918Z] ---> c62c10d8ecaf [2023-05-15T21:09:14.918Z] Step 13/25 : FROM alpine:3.17 [2023-05-15T21:09:14.918Z] 3.17: Pulling from library/alpine [2023-05-15T21:09:14.918Z] c41833b44d91: Already exists [2023-05-15T21:09:14.918Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-15T21:09:14.918Z] Status: Downloaded newer image for alpine:3.17 [2023-05-15T21:09:14.918Z] ---> 51e60588ff2c [2023-05-15T21:09:14.918Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-15T21:09:14.918Z] ---> Running in 5072ff55c6af [2023-05-15T21:09:14.918Z] Removing intermediate container 5072ff55c6af [2023-05-15T21:09:14.918Z] ---> ed501a198906 [2023-05-15T21:09:14.918Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-15T21:09:14.918Z] ---> Running in ac19c2709641 [2023-05-15T21:09:14.918Z] Removing intermediate container ac19c2709641 [2023-05-15T21:09:14.918Z] ---> 6cb774cc75fc [2023-05-15T21:09:14.918Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-15T21:09:14.918Z] ---> Running in 1c92c76a94de [2023-05-15T21:09:15.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-15T21:09:15.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-15T21:09:17.187Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-15T21:09:17.187Z] Executing busybox-1.35.0-r29.trigger [2023-05-15T21:09:17.187Z] OK: 8 MiB in 16 packages [2023-05-15T21:09:18.713Z] Removing intermediate container 1c92c76a94de [2023-05-15T21:09:18.713Z] ---> 721916b67fd0 [2023-05-15T21:09:18.713Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-15T21:09:20.136Z] ---> bda41017c9d4 [2023-05-15T21:09:20.136Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-15T21:09:20.728Z] ---> d7877c6d02f7 [2023-05-15T21:09:20.728Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-15T21:09:21.323Z] ---> 1350329f2d49 [2023-05-15T21:09:21.323Z] Step 20/25 : EXPOSE 59986 [2023-05-15T21:09:21.323Z] ---> Running in 7f3b62569713 [2023-05-15T21:09:21.607Z] Removing intermediate container 7f3b62569713 [2023-05-15T21:09:21.607Z] ---> 8d4f46064c75 [2023-05-15T21:09:21.607Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-15T21:09:21.607Z] ---> Running in 8499c8dcdc36 [2023-05-15T21:09:21.883Z] Removing intermediate container 8499c8dcdc36 [2023-05-15T21:09:21.883Z] ---> 55df6c1d8c09 [2023-05-15T21:09:21.883Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-15T21:09:21.883Z] ---> Running in e3e8b252f300 [2023-05-15T21:09:22.161Z] Removing intermediate container e3e8b252f300 [2023-05-15T21:09:22.161Z] ---> 464cc11fcb63 [2023-05-15T21:09:22.161Z] Step 23/25 : LABEL arch=arm64 [2023-05-15T21:09:22.428Z] ---> Running in 03eda6b530a8 [2023-05-15T21:09:22.695Z] Removing intermediate container 03eda6b530a8 [2023-05-15T21:09:22.695Z] ---> eb0a111ac601 [2023-05-15T21:09:22.695Z] Step 24/25 : LABEL git_sha=8e46624d7ea748264d2a0a94cee34bfaa646eccd [2023-05-15T21:09:22.695Z] ---> Running in bfaa2f14303a [2023-05-15T21:09:22.963Z] Removing intermediate container bfaa2f14303a [2023-05-15T21:09:22.963Z] ---> e7b7f7f8c418 [2023-05-15T21:09:22.963Z] Step 25/25 : LABEL version=0.0.0 [2023-05-15T21:09:22.963Z] ---> Running in f364c89629ae [2023-05-15T21:09:23.231Z] Removing intermediate container f364c89629ae [2023-05-15T21:09:23.231Z] ---> 381042375554 [2023-05-15T21:09:23.231Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-15T21:09:23.231Z] Successfully built 381042375554 [2023-05-15T21:09:23.499Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:09:24.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T21:09:24.311Z] [2023-05-15T21:09:24.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:09:24.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T21:09:24.710Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-15T21:09:24.710Z] 8998bd30e6a1: Pulling fs layer [2023-05-15T21:09:24.710Z] 04944245beec: Pulling fs layer [2023-05-15T21:09:24.710Z] 699f458cf7ca: Pulling fs layer [2023-05-15T21:09:24.710Z] 765212b225bb: Pulling fs layer [2023-05-15T21:09:24.710Z] f23df028b6ca: Pulling fs layer [2023-05-15T21:09:24.710Z] d65c8cfc05b1: Pulling fs layer [2023-05-15T21:09:24.710Z] 2437ff75d9bd: Pulling fs layer [2023-05-15T21:09:24.710Z] f23df028b6ca: Waiting [2023-05-15T21:09:24.710Z] d65c8cfc05b1: Waiting [2023-05-15T21:09:24.710Z] 2437ff75d9bd: Waiting [2023-05-15T21:09:24.710Z] 765212b225bb: Waiting [2023-05-15T21:09:24.980Z] 04944245beec: Verifying Checksum [2023-05-15T21:09:24.980Z] 04944245beec: Download complete [2023-05-15T21:09:24.980Z] 765212b225bb: Verifying Checksum [2023-05-15T21:09:24.980Z] 765212b225bb: Download complete [2023-05-15T21:09:24.980Z] f23df028b6ca: Verifying Checksum [2023-05-15T21:09:24.980Z] f23df028b6ca: Download complete [2023-05-15T21:09:24.980Z] d65c8cfc05b1: Verifying Checksum [2023-05-15T21:09:24.980Z] d65c8cfc05b1: Download complete [2023-05-15T21:09:24.980Z] 699f458cf7ca: Verifying Checksum [2023-05-15T21:09:24.980Z] 699f458cf7ca: Download complete [2023-05-15T21:09:25.574Z] 8998bd30e6a1: Verifying Checksum [2023-05-15T21:09:25.574Z] 8998bd30e6a1: Download complete [2023-05-15T21:09:28.156Z] 2437ff75d9bd: Verifying Checksum [2023-05-15T21:09:28.156Z] 2437ff75d9bd: Download complete [2023-05-15T21:09:29.570Z] 8998bd30e6a1: Pull complete [2023-05-15T21:09:32.919Z] 04944245beec: Pull complete [2023-05-15T21:09:33.884Z] 699f458cf7ca: Pull complete [2023-05-15T21:09:34.152Z] 765212b225bb: Pull complete [2023-05-15T21:09:35.115Z] f23df028b6ca: Pull complete [2023-05-15T21:09:35.115Z] d65c8cfc05b1: Pull complete [2023-05-15T21:09:50.104Z] 2437ff75d9bd: Pull complete [2023-05-15T21:09:50.104Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-15T21:09:50.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-15T21:09:50.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:09:50.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-15455 does not seem to be running inside a container [2023-05-15T21:09:50.506Z] $ 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-05-15T21:09:53.448Z] $ docker top 3c2375823f50348890d40354dd3dde0453ba5fbfbe268a2b8d8983bf1523190e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:09:54.049Z] ---> job-cost.sh [2023-05-15T21:09:54.317Z] lf-activate-venv: SKIPPING [2023-05-15T21:09:54.317Z] INFO: No Stack... [2023-05-15T21:09:54.584Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-15T21:09:55.549Z] INFO: Archiving Costs [Pipeline] sh [2023-05-15T21:09:55.897Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-15T21:09:55.897Z] + cut -d, -f6 [Pipeline] lock [2023-05-15T21:09:56.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [2023-05-15T21:09:56.270Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] did not exist. Created. [2023-05-15T21:09:56.270Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-15T21:09:56.996Z] /w/workspace/device-rest-go/1@tmp/durable-33110086/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-15T21:09:57.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-15T21:09:57.704Z] Warning: overwriting stash ‘stack-cost’ [2023-05-15T21:09:57.748Z] Stashed 1 file(s) [Pipeline] } [2023-05-15T21:09:57.763Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-15T21:09:57.837Z] $ docker stop --time=1 3c2375823f50348890d40354dd3dde0453ba5fbfbe268a2b8d8983bf1523190e [2023-05-15T21:09:59.378Z] $ docker rm -f --volumes 3c2375823f50348890d40354dd3dde0453ba5fbfbe268a2b8d8983bf1523190e [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-05-15T21:10:00.357Z] provisioning config files... [2023-05-15T21:10:00.364Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config7469716760188724961tmp [Pipeline] { [Pipeline] sh [2023-05-15T21:10:00.700Z] + set +x [2023-05-15T21:10:00.700Z] + curl -s https://codecov.io/bash [2023-05-15T21:10:00.700Z] + bash -s -- [2023-05-15T21:10:00.700Z] [2023-05-15T21:10:00.700Z] _____ _ [2023-05-15T21:10:00.700Z] / ____| | | [2023-05-15T21:10:00.700Z] | | ___ __| | ___ ___ _____ __ [2023-05-15T21:10:00.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-15T21:10:00.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-15T21:10:00.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-15T21:10:00.700Z] Bash-1.0.6 [2023-05-15T21:10:00.700Z] [2023-05-15T21:10:00.700Z] [2023-05-15T21:10:00.700Z] ==> git version 2.25.1 found [2023-05-15T21:10:00.700Z] ==> 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-05-15T21:10:00.700Z] Release-Date: 2020-01-08 [2023-05-15T21:10:00.700Z] 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-05-15T21:10:00.700Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-15T21:10:00.700Z] ==> Jenkins CI detected. [2023-05-15T21:10:00.700Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-15T21:10:00.700Z] project root: . [2023-05-15T21:10:00.700Z] --> token set from env [2023-05-15T21:10:00.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-15T21:10:00.700Z] ==> Running gcov in . (disable via -X gcov) [2023-05-15T21:10:00.700Z] ==> Python coveragepy not found [2023-05-15T21:10:00.700Z] ==> Searching for coverage reports in: [2023-05-15T21:10:00.700Z] + . [2023-05-15T21:10:00.700Z] -> Found 1 reports [2023-05-15T21:10:00.700Z] ==> Detecting git/mercurial file structure [2023-05-15T21:10:00.700Z] ==> Reading reports [2023-05-15T21:10:00.700Z] + ./coverage.out bytes=14663 [2023-05-15T21:10:00.700Z] ==> Appending adjustments [2023-05-15T21:10:00.700Z] https://docs.codecov.io/docs/fixing-reports [2023-05-15T21:10:00.962Z] + Found adjustments [2023-05-15T21:10:00.962Z] ==> Gzipping contents [2023-05-15T21:10:00.962Z] 4.0K /tmp/codecov.dxhfKJ.gz [2023-05-15T21:10:00.962Z] ==> Uploading reports [2023-05-15T21:10:00.962Z] url: https://codecov.io [2023-05-15T21:10:00.962Z] query: branch=PR-318&commit=8e46624d7ea748264d2a0a94cee34bfaa646eccd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-15T21:10:00.962Z] -> Pinging Codecov [2023-05-15T21:10:00.962Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=8e46624d7ea748264d2a0a94cee34bfaa646eccd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-15T21:10:01.221Z] -> Uploading to [2023-05-15T21:10:01.221Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-15/4E5D53B4F1F92C436F7061BF334D961C/8e46624d7ea748264d2a0a94cee34bfaa646eccd/d59285cc-8a43-4a6a-bd2a-461e97e55254.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230515%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230515T211000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7e1045ac43d58a40015be0bd5fd1085e0dea107c65b6c7eafff3aba11bd2ea9 [2023-05-15T21:10:01.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-15T21:10:01.221Z] Dload Upload Total Spent Left Speed [2023-05-15T21:10:01.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11409 --:--:-- --:--:-- --:--:-- 11409 [2023-05-15T21:10:01.481Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8e46624d7ea748264d2a0a94cee34bfaa646eccd [Pipeline] } [2023-05-15T21:10:01.505Z] 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-05-15T21:10:03.285Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] [2023-05-15T21:10:03.285Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-15T21:10:03.285Z] total 16 [2023-05-15T21:10:03.285Z] drwxr-xr-x 3 root root 4096 May 15 21:01 . [2023-05-15T21:10:03.285Z] drwxrwxr-x 10 jenkins jenkins 4096 May 15 21:01 .. [2023-05-15T21:10:03.285Z] drwxr-xr-x 2 root root 4096 May 15 21:01 cost [2023-05-15T21:10:03.285Z] -rw-r--r-- 1 root root 86 May 15 21:01 cost.csv [2023-05-15T21:10:03.285Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-15T21:10:03.285Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-15T21:10:03.285Z] total 16 [2023-05-15T21:10:03.285Z] drwxr-xr-x 3 jenkins jenkins 4096 May 15 21:01 . [2023-05-15T21:10:03.285Z] drwxrwxr-x 10 jenkins jenkins 4096 May 15 21:01 .. [2023-05-15T21:10:03.285Z] drwxr-xr-x 2 jenkins jenkins 4096 May 15 21:01 cost [2023-05-15T21:10:03.285Z] -rw-r--r-- 1 jenkins jenkins 86 May 15 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:03.612Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:04.504Z] ---> package-listing.sh [2023-05-15T21:10:04.504Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-15T21:10:04.504Z] ++ facter osfamily [2023-05-15T21:10:04.763Z] + OS_FAMILY=debian [2023-05-15T21:10:04.763Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-15T21:10:04.763Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-15T21:10:04.763Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-15T21:10:04.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-15T21:10:04.763Z] + PACKAGES=/tmp/packages_start.txt [2023-05-15T21:10:04.763Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-15T21:10:04.763Z] + PACKAGES=/tmp/packages_end.txt [2023-05-15T21:10:04.763Z] + case "${OS_FAMILY}" in [2023-05-15T21:10:04.763Z] + dpkg -l [2023-05-15T21:10:04.763Z] + grep '^ii' [2023-05-15T21:10:04.763Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-15T21:10:04.763Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-15T21:10:04.763Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-15T21:10:04.763Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-15T21:10:04.763Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [2023-05-15T21:10:04.763Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo [2023-05-15T21:10:04.798Z] 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-15T21:10:05.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-15T21:10:05.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-15T21:10:05.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-15T21:10:05.859Z] prd-ubuntu20.04-docker-8c-8g-15454 does not seem to be running inside a container [2023-05-15T21:10:05.883Z] $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-15T21:10:06.065Z] $ docker top c1e99efba0c09f49bdb7488f0763495260aa010e535a6175fe803e3d29dffed4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-15T21:10:06.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-15T21:10:06.771Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-15T21:10:07.079Z] + ls /var/log/sa-host [2023-05-15T21:10:07.079Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-15T21:10:07.325Z] provisioning config files... [2023-05-15T21:10:07.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config11610122984783692359tmp [Pipeline] { [Pipeline] echo [2023-05-15T21:10:07.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:07.701Z] ---> create-netrc.sh [Pipeline] } [2023-05-15T21:10:07.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:08.129Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-15T21:10:08.163Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:08.482Z] ---> sudo-logs.sh [2023-05-15T21:10:08.482Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-15T21:10:08.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:08.879Z] ---> job-cost.sh [2023-05-15T21:10:08.879Z] lf-activate-venv: SKIPPING [2023-05-15T21:10:08.879Z] DEBUG: total: 0.2199999988079071 [2023-05-15T21:10:08.879Z] INFO: Retrieving Stack Cost... [2023-05-15T21:10:09.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-15T21:10:09.704Z] INFO: Archiving Costs [Pipeline] echo [2023-05-15T21:10:09.749Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-15T21:10:10.060Z] ---> logs-deploy.sh [2023-05-15T21:10:10.060Z] lf-activate-venv: SKIPPING [2023-05-15T21:10:10.060Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/1 [2023-05-15T21:10:10.060Z] INFO: archiving workspace using pattern(s): [2023-05-15T21:10:10.998Z] Archives upload complete. [2023-05-15T21:10:10.998Z] INFO: archiving logs to Nexus