Pull request #85 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-gpio Loading trusted files from base branch main at 07860bbab13f2ff928825cd544dbeda419b1d542 rather than 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 Obtained Jenkinsfile from 07860bbab13f2ff928825cd544dbeda419b1d542 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-ssh6838774707020968754.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1537830276962069757.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-gpio/branches/PR-85/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-gpio/branches/PR-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2067958512000991525.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-gpio/branches/PR-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11497041014176647832.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5654545711438813961.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-gpio/branches/PR-85/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-gpio/branches/PR-85/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9271303205648725078.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-gpio] ========================================================= [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-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3065 in /w/workspace/edgexfoundry_device-gpio_PR-85 [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-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-85 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 Merge succeeded, producing 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 Checking out Revision 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 (PR-85) > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 # 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 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T02:54:32.604Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T02:54:32.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T02:54:32.892Z] ========================================================= [2023-01-19T02:54:32.892Z] EdgeX Global Pipelines Version Info [2023-01-19T02:54:32.892Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:54:33.686Z] ------------------- [2023-01-19T02:54:33.686Z] stable info: [2023-01-19T02:54:33.686Z] ------------------- [2023-01-19T02:54:33.686Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T02:54:33.686Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:54:33.686Z] Message: update stable to v1.0.244 [2023-01-19T02:54:34.258Z] ------------------- [2023-01-19T02:54:34.259Z] experimental info: [2023-01-19T02:54:34.259Z] ------------------- [2023-01-19T02:54:34.259Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T02:54:34.259Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:54:34.259Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T02:54:34.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-19T02:54:34.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-19T02:54:34.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T02:54:34.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T02:54:34.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T02:54:34.716Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T02:54:34.759Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T02:54:34.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T02:54:34.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T02:54:34.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T02:54:34.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T02:54:34.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-19T02:54:35.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T02:54:35.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T02:54:35.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:54:35.124Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:54:35.165Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:54:35.203Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:54:35.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T02:54:35.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T02:54:35.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-19T02:54:35.378Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-19T02:54:35.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T02:54:35.461Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T02:54:35.503Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T02:54:35.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T02:54:35.581Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T02:54:35.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo [2023-01-19T02:54:35.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo [2023-01-19T02:54:35.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo [2023-01-19T02:54:35.742Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [Pipeline] echo [2023-01-19T02:54:35.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2dc7ba7 [Pipeline] echo [2023-01-19T02:54:35.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:54:35.930Z] provisioning config files... [2023-01-19T02:54:35.942Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/config6691189673616913250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:54:36.305Z] ---> docker-login.sh [2023-01-19T02:54:36.305Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:54:36.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:36.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:36.566Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:36.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:36.566Z] [2023-01-19T02:54:36.566Z] Login Succeeded [2023-01-19T02:54:36.566Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:54:36.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:36.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:36.566Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:36.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:36.566Z] [2023-01-19T02:54:36.566Z] Login Succeeded [2023-01-19T02:54:36.566Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:54:36.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:36.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:36.826Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:36.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:36.826Z] [2023-01-19T02:54:36.826Z] Login Succeeded [2023-01-19T02:54:36.826Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:54:36.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:36.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:36.826Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:36.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:36.826Z] [2023-01-19T02:54:36.826Z] Login Succeeded [2023-01-19T02:54:36.826Z] docker.io [2023-01-19T02:54:37.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:37.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:37.087Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:37.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:37.087Z] [2023-01-19T02:54:37.087Z] Login Succeeded [2023-01-19T02:54:37.087Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:54:37.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T02:54:37.728Z] + git rev-list -1 --merges 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43~1..2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [Pipeline] echo [2023-01-19T02:54:37.787Z] -----------> git rev-list -1 --merges 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43~1..2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [false] [Pipeline] sh [2023-01-19T02:54:38.093Z] + git log --format=format:%s -1 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [Pipeline] echo [2023-01-19T02:54:38.127Z] ========================================================= [2023-01-19T02:54:38.127Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T02:54:38.127Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:54:38.570Z] + git log --format=format:%s -1 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [Pipeline] echo [2023-01-19T02:54:38.604Z] [semverPrep] GIT_COMMIT: 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43, Commit Message: build(deps): bump device-sdk-go and go-mod dependencies [Pipeline] echo [2023-01-19T02:54:38.634Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T02:54:39.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T02:54:39.012Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T02:54:39.012Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T02:54:39.012Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T02:54:39.012Z] + sudo tee -a+ /etc/ssh/ssh_known_hosts [2023-01-19T02:54:39.012Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T02:54:39.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:54:39.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:54:39.448Z] [2023-01-19T02:54:39.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:54:39.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:54:39.835Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T02:54:39.835Z] b85a868b505f: Pulling fs layer [2023-01-19T02:54:39.835Z] e2be974225ed: Pulling fs layer [2023-01-19T02:54:39.835Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T02:54:39.835Z] 988bab9f4d93: Pulling fs layer [2023-01-19T02:54:39.835Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T02:54:39.835Z] eaf3925da568: Pulling fs layer [2023-01-19T02:54:39.835Z] bab4dde63d76: Pulling fs layer [2023-01-19T02:54:39.835Z] bde34c3a00c8: Pulling fs layer [2023-01-19T02:54:39.835Z] b352a97aabf1: Pulling fs layer [2023-01-19T02:54:39.835Z] 1469e6f7b9e6: Waiting [2023-01-19T02:54:39.835Z] eaf3925da568: Waiting [2023-01-19T02:54:39.835Z] 4872d77fe225: Pulling fs layer [2023-01-19T02:54:39.835Z] bab4dde63d76: Waiting [2023-01-19T02:54:39.835Z] 5851b861e8e6: Pulling fs layer [2023-01-19T02:54:39.835Z] bde34c3a00c8: Waiting [2023-01-19T02:54:39.835Z] b352a97aabf1: Waiting [2023-01-19T02:54:39.835Z] 4872d77fe225: Waiting [2023-01-19T02:54:39.835Z] 988bab9f4d93: Waiting [2023-01-19T02:54:39.835Z] e2be974225ed: Verifying Checksum [2023-01-19T02:54:39.835Z] e2be974225ed: Download complete [2023-01-19T02:54:39.835Z] 988bab9f4d93: Verifying Checksum [2023-01-19T02:54:39.835Z] 988bab9f4d93: Download complete [2023-01-19T02:54:40.108Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T02:54:40.108Z] 1469e6f7b9e6: Download complete [2023-01-19T02:54:40.108Z] eaf3925da568: Download complete [2023-01-19T02:54:40.108Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T02:54:40.108Z] 339a4e72a1f5: Download complete [2023-01-19T02:54:40.108Z] bde34c3a00c8: Verifying Checksum [2023-01-19T02:54:40.108Z] bde34c3a00c8: Download complete [2023-01-19T02:54:40.370Z] b352a97aabf1: Download complete [2023-01-19T02:54:40.370Z] 4872d77fe225: Download complete [2023-01-19T02:54:40.370Z] 5851b861e8e6: Verifying Checksum [2023-01-19T02:54:40.370Z] 5851b861e8e6: Download complete [2023-01-19T02:54:40.370Z] b85a868b505f: Verifying Checksum [2023-01-19T02:54:40.370Z] b85a868b505f: Download complete [2023-01-19T02:54:40.630Z] bab4dde63d76: Verifying Checksum [2023-01-19T02:54:40.630Z] bab4dde63d76: Download complete [2023-01-19T02:54:41.570Z] b85a868b505f: Pull complete [2023-01-19T02:54:41.829Z] e2be974225ed: Pull complete [2023-01-19T02:54:42.400Z] 339a4e72a1f5: Pull complete [2023-01-19T02:54:42.400Z] 988bab9f4d93: Pull complete [2023-01-19T02:54:42.659Z] 1469e6f7b9e6: Pull complete [2023-01-19T02:54:42.659Z] eaf3925da568: Pull complete [2023-01-19T02:54:44.558Z] bab4dde63d76: Pull complete [2023-01-19T02:54:44.817Z] bde34c3a00c8: Pull complete [2023-01-19T02:54:44.817Z] b352a97aabf1: Pull complete [2023-01-19T02:54:45.076Z] 4872d77fe225: Pull complete [2023-01-19T02:54:45.076Z] 5851b861e8e6: Pull complete [2023-01-19T02:54:45.076Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T02:54:45.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:54:45.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:54:45.293Z] prd-ubuntu20.04-docker-8c-8g-3065 does not seem to be running inside a container [2023-01-19T02:54:45.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-85 -v /w/workspace/edgexfoundry_device-gpio_PR-85:/w/workspace/edgexfoundry_device-gpio_PR-85:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-85@tmp:/w/workspace/edgexfoundry_device-gpio_PR-85@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-devops/py-git-semver:0.1.4 cat [2023-01-19T02:54:47.858Z] $ docker top 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 -eo pid,comm [2023-01-19T02:54:47.912Z] 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-01-19T02:54:47.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T02:54:48.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:54:48.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:54:48.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:54:48.180Z] $ docker exec 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 ssh-agent [2023-01-19T02:54:48.299Z] SSH_AUTH_SOCK=/tmp/ssh-KOv0Z3q1Q8jw/agent.34 [2023-01-19T02:54:48.299Z] SSH_AGENT_PID=41 [2023-01-19T02:54:48.308Z] Running ssh-add (command line suppressed) [2023-01-19T02:54:48.406Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-85@tmp/private_key_8616994238187201806.key (/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/private_key_8616994238187201806.key) [2023-01-19T02:54:48.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:54:48.760Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T02:54:48.787Z] $ docker exec --env ******** --env ******** 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 ssh-agent -k [2023-01-19T02:54:48.890Z] unset SSH_AUTH_SOCK; [2023-01-19T02:54:48.891Z] unset SSH_AGENT_PID; [2023-01-19T02:54:48.891Z] echo Agent pid 41 killed; [2023-01-19T02:54:48.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T02:54:48.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:54:48.985Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:54:49.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:54:49.122Z] $ docker exec 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 ssh-agent [2023-01-19T02:54:49.244Z] SSH_AUTH_SOCK=/tmp/ssh-71jVQskbuday/agent.74 [2023-01-19T02:54:49.244Z] SSH_AGENT_PID=80 [2023-01-19T02:54:49.250Z] Running ssh-add (command line suppressed) [2023-01-19T02:54:49.361Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-85@tmp/private_key_7218529607082011488.key (/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/private_key_7218529607082011488.key) [2023-01-19T02:54:49.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:54:49.803Z] + git semver init [2023-01-19T02:54:50.063Z] 2023-01-19 02:54:49,988 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T02:54:50.063Z] 2023-01-19 02:54:49,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-85/.semver [2023-01-19T02:54:50.063Z] 2023-01-19 02:54:49,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-85/.semver [2023-01-19T02:54:50.063Z] 2023-01-19 02:54:49,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-85/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-85, universal_newlines=False, shell=None, istream=None) [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,122 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-85/.git/info/exclude [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-85/.semver/PR-85 with force:False [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,123 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-85/.semver/PR-85 [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,125 [execute] INFO git cat-file --batch-check [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-85/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,130 [execute] INFO git cat-file --batch [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-85/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:54:51.443Z] 2023-01-19 02:54:51,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-85/.semver/PR-85 [2023-01-19T02:54:51.443Z] 0.0.0 [Pipeline] } [2023-01-19T02:54:51.470Z] $ docker exec --env ******** --env ******** 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 ssh-agent -k [2023-01-19T02:54:51.578Z] unset SSH_AUTH_SOCK; [2023-01-19T02:54:51.578Z] unset SSH_AGENT_PID; [2023-01-19T02:54:51.579Z] echo Agent pid 80 killed; [2023-01-19T02:54:51.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T02:54:52.040Z] + git semver [Pipeline] } [2023-01-19T02:54:52.326Z] $ docker stop --time=1 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 [2023-01-19T02:54:53.889Z] $ docker rm -f --volumes 4db7cf487733689fe64e10a3cf9a923f8f473935f4c4278c18997cc738e79a87 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:54:54.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T02:54:54.580Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T02:54:54.596Z] [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-01-19T02:54:55.177Z] provisioning config files... [2023-01-19T02:54:55.191Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/config14439480392465931141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:54:55.537Z] ---> docker-login.sh [2023-01-19T02:54:55.537Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:54:55.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:55.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:55.537Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:55.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:55.537Z] [2023-01-19T02:54:55.537Z] Login Succeeded [2023-01-19T02:54:55.537Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:54:55.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:55.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:55.796Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:55.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:55.796Z] [2023-01-19T02:54:55.796Z] Login Succeeded [2023-01-19T02:54:55.796Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:54:55.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:55.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:55.796Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:55.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:55.796Z] [2023-01-19T02:54:55.796Z] Login Succeeded [2023-01-19T02:54:55.796Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:54:55.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:56.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:56.056Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:56.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:56.056Z] [2023-01-19T02:54:56.056Z] Login Succeeded [2023-01-19T02:54:56.056Z] docker.io [2023-01-19T02:54:56.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:54:56.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:54:56.316Z] Configure a credential helper to remove this warning. See [2023-01-19T02:54:56.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:54:56.316Z] [2023-01-19T02:54:56.316Z] Login Succeeded [2023-01-19T02:54:56.316Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:54:56.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:54:56.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:54:56.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:54:56.649Z] ========================================================= [2023-01-19T02:54:56.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T02:54:56.649Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:54:57.125Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:54:57.126Z] Sending build context to Docker daemon 16MB [2023-01-19T02:54:57.126Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:54:57.126Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:54:57.391Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T02:54:57.391Z] 213ec9aee27d: Pulling fs layer [2023-01-19T02:54:57.391Z] 4583459ba037: Pulling fs layer [2023-01-19T02:54:57.391Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T02:54:57.391Z] 53926ce57604: Pulling fs layer [2023-01-19T02:54:57.391Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T02:54:57.391Z] 22ff95d597cd: Pulling fs layer [2023-01-19T02:54:57.391Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T02:54:57.391Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T02:54:57.391Z] a7acece74701: Pulling fs layer [2023-01-19T02:54:57.391Z] 53926ce57604: Waiting [2023-01-19T02:54:57.391Z] 21b2b0c7a3f4: Waiting [2023-01-19T02:54:57.391Z] 22ff95d597cd: Waiting [2023-01-19T02:54:57.391Z] 12d6caf4c0d1: Waiting [2023-01-19T02:54:57.391Z] 96b7cbca73a9: Waiting [2023-01-19T02:54:57.391Z] a7acece74701: Waiting [2023-01-19T02:54:57.391Z] 93c1e223e6f2: Verifying Checksum [2023-01-19T02:54:57.391Z] 93c1e223e6f2: Download complete [2023-01-19T02:54:57.391Z] 4583459ba037: Verifying Checksum [2023-01-19T02:54:57.391Z] 4583459ba037: Download complete [2023-01-19T02:54:57.391Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-19T02:54:57.391Z] 21b2b0c7a3f4: Download complete [2023-01-19T02:54:57.391Z] 22ff95d597cd: Verifying Checksum [2023-01-19T02:54:57.391Z] 22ff95d597cd: Download complete [2023-01-19T02:54:57.658Z] 213ec9aee27d: Verifying Checksum [2023-01-19T02:54:57.658Z] 213ec9aee27d: Download complete [2023-01-19T02:54:57.658Z] 12d6caf4c0d1: Download complete [2023-01-19T02:54:57.658Z] 213ec9aee27d: Pull complete [2023-01-19T02:54:57.931Z] 4583459ba037: Pull complete [2023-01-19T02:54:57.931Z] 93c1e223e6f2: Pull complete [2023-01-19T02:54:58.551Z] a7acece74701: Verifying Checksum [2023-01-19T02:54:58.552Z] a7acece74701: Download complete [2023-01-19T02:54:58.815Z] 53926ce57604: Verifying Checksum [2023-01-19T02:54:58.815Z] 53926ce57604: Download complete [2023-01-19T02:54:58.815Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T02:54:58.815Z] 96b7cbca73a9: Download complete [2023-01-19T02:55:03.101Z] 53926ce57604: Pull complete [2023-01-19T02:55:03.101Z] 21b2b0c7a3f4: Pull complete [2023-01-19T02:55:03.101Z] 22ff95d597cd: Pull complete [2023-01-19T02:55:03.101Z] 12d6caf4c0d1: Pull complete [2023-01-19T02:55:05.630Z] 96b7cbca73a9: Pull complete [2023-01-19T02:55:06.195Z] a7acece74701: Pull complete [2023-01-19T02:55:06.195Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T02:55:06.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T02:55:06.462Z] ---> db6d94c90886 [2023-01-19T02:55:06.462Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:55:10.003Z] Still waiting to schedule task [2023-01-19T02:55:10.004Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-19T02:55:14.697Z] ---> Running in 49e8043c7b85 [2023-01-19T02:55:14.698Z] Removing intermediate container 49e8043c7b85 [2023-01-19T02:55:14.698Z] ---> 4062f30c8529 [2023-01-19T02:55:14.698Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:55:14.698Z] ---> Running in d2ccaef9b731 [2023-01-19T02:55:14.698Z] Removing intermediate container d2ccaef9b731 [2023-01-19T02:55:14.698Z] ---> c07316a0e98f [2023-01-19T02:55:14.698Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-19T02:55:14.698Z] ---> Running in 374068109ae3 [2023-01-19T02:55:14.698Z] Removing intermediate container 374068109ae3 [2023-01-19T02:55:14.698Z] ---> 0491a866c933 [2023-01-19T02:55:14.698Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:55:14.698Z] ---> Running in 0794b1229444 [2023-01-19T02:55:14.698Z] Removing intermediate container 0794b1229444 [2023-01-19T02:55:14.698Z] ---> 576a8abc8f0a [2023-01-19T02:55:14.698Z] Step 7/12 : WORKDIR /device-gpio [2023-01-19T02:55:14.698Z] ---> Running in b2959f7ec29a [2023-01-19T02:55:14.698Z] Removing intermediate container b2959f7ec29a [2023-01-19T02:55:14.698Z] ---> 6efcdbbccd5a [2023-01-19T02:55:14.698Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:55:14.698Z] ---> Running in 3e893f9dd1ea [2023-01-19T02:55:14.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:55:14.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:55:14.698Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:55:14.698Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:55:14.698Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:55:14.698Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:55:14.698Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:55:14.698Z] OK: 216 MiB in 55 packages [2023-01-19T02:55:15.268Z] Removing intermediate container 3e893f9dd1ea [2023-01-19T02:55:15.268Z] ---> 4c0a50fb68d8 [2023-01-19T02:55:15.268Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:55:15.527Z] ---> d4f823cb5aa8 [2023-01-19T02:55:15.527Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:55:15.527Z] ---> Running in 5a42e7774808 [2023-01-19T02:55:54.257Z] Removing intermediate container 5a42e7774808 [2023-01-19T02:55:54.257Z] ---> 0c75dcd392bc [2023-01-19T02:55:54.257Z] Step 11/12 : COPY . . [2023-01-19T02:55:54.257Z] ---> 3dc670d09e69 [2023-01-19T02:55:54.257Z] Step 12/12 : RUN ${MAKE} [2023-01-19T02:55:54.257Z] ---> Running in abc053396c3a [2023-01-19T02:55:54.257Z] noop [2023-01-19T02:55:54.257Z] Removing intermediate container abc053396c3a [2023-01-19T02:55:54.257Z] ---> 01ec31c279ec [2023-01-19T02:55:54.257Z] Successfully built 01ec31c279ec [2023-01-19T02:55:54.257Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:55:54.710Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:55:54.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:55:54.863Z] prd-ubuntu20.04-docker-8c-8g-3065 does not seem to be running inside a container [2023-01-19T02:55:54.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-85 -v /w/workspace/edgexfoundry_device-gpio_PR-85:/w/workspace/edgexfoundry_device-gpio_PR-85:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-85@tmp:/w/workspace/edgexfoundry_device-gpio_PR-85@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:55:55.274Z] $ docker top 269dbe9fc79a8a81c791b87da14bfe450d2477cf70f4cb6ca0faa4035951b220 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:55:55.669Z] + go version [2023-01-19T02:55:55.669Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T02:55:55.707Z] $ docker stop --time=1 269dbe9fc79a8a81c791b87da14bfe450d2477cf70f4cb6ca0faa4035951b220 [2023-01-19T02:55:56.963Z] $ docker rm -f --volumes 269dbe9fc79a8a81c791b87da14bfe450d2477cf70f4cb6ca0faa4035951b220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:55:57.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:55:57.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:55:57.812Z] prd-ubuntu20.04-docker-8c-8g-3065 does not seem to be running inside a container [2023-01-19T02:55:57.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-85 -v /w/workspace/edgexfoundry_device-gpio_PR-85:/w/workspace/edgexfoundry_device-gpio_PR-85:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-85@tmp:/w/workspace/edgexfoundry_device-gpio_PR-85@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:55:58.228Z] $ docker top 9d2f8fbfaed10d37d05ed259c12b298ce147432f308556cdc76ab38ad4c398da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:55:58.614Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-85 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:55:58.975Z] + make test [2023-01-19T02:55:58.975Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:55:59.232Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-19T02:56:07.340Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-19T02:56:07.340Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-19T02:56:13.974Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-19T02:56:13.974Z] go vet ./... [2023-01-19T02:56:17.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:56:17.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:56:17.301Z] ./bin/test-attribution-txt.sh [2023-01-19T02:56:17.301Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:56:17.301Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:56:17.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:56:17.378Z] $ docker stop --time=1 9d2f8fbfaed10d37d05ed259c12b298ce147432f308556cdc76ab38ad4c398da [2023-01-19T02:56:19.615Z] $ docker rm -f --volumes 9d2f8fbfaed10d37d05ed259c12b298ce147432f308556cdc76ab38ad4c398da [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:56:20.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:56:20.203Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T02:56:20.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:56:21.098Z] + ls -al . [2023-01-19T02:56:21.098Z] total 160 [2023-01-19T02:56:21.098Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:55 . [2023-01-19T02:56:21.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:54 .. [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 19 02:54 .dockerignore [2023-01-19T02:56:21.098Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:56 .git [2023-01-19T02:56:21.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:54 .github [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 19 02:54 .gitignore [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:54 .golangci.yml [2023-01-19T02:56:21.098Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:54 .semver [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 19 02:54 Attribution.txt [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 19 02:54 CHANGELOG.md [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 19 02:54 Dockerfile [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:54 GOVERNANCE.md [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 19 02:54 Jenkinsfile [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:54 LICENSE [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 19 02:54 Makefile [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 02:54 OWNERS.md [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 19 02:54 README.md [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:54 VERSION [2023-01-19T02:56:21.098Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:54 bin [2023-01-19T02:56:21.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:54 cmd [2023-01-19T02:56:21.098Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 19 02:55 coverage.out [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 3366 Jan 19 02:54 go.mod [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 34697 Jan 19 02:54 go.sum [2023-01-19T02:56:21.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:54 internal [2023-01-19T02:56:21.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:54 snap [2023-01-19T02:56:21.098Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:56:21.490Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 --label arch=amd64 --label version=0.0.0 . [2023-01-19T02:56:21.490Z] Sending build context to Docker daemon 16MB [2023-01-19T02:56:21.490Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:56:21.490Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-19T02:56:21.490Z] ---> 01ec31c279ec [2023-01-19T02:56:21.490Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:56:21.749Z] ---> Running in 6e351eab60c7 [2023-01-19T02:56:21.749Z] Removing intermediate container 6e351eab60c7 [2023-01-19T02:56:21.749Z] ---> 2ffb5fcea445 [2023-01-19T02:56:21.749Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:56:21.749Z] ---> Running in 0bb8c2581ba6 [2023-01-19T02:56:21.749Z] Removing intermediate container 0bb8c2581ba6 [2023-01-19T02:56:21.749Z] ---> 488765324bf4 [2023-01-19T02:56:21.749Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-19T02:56:22.008Z] ---> Running in 12db9e5ca6d9 [2023-01-19T02:56:22.008Z] Removing intermediate container 12db9e5ca6d9 [2023-01-19T02:56:22.008Z] ---> fed4524fe572 [2023-01-19T02:56:22.008Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:56:22.008Z] ---> Running in 661c755781d9 [2023-01-19T02:56:22.008Z] Removing intermediate container 661c755781d9 [2023-01-19T02:56:22.008Z] ---> 4053d08507f8 [2023-01-19T02:56:22.008Z] Step 7/25 : WORKDIR /device-gpio [2023-01-19T02:56:22.008Z] ---> Running in 27725e130494 [2023-01-19T02:56:22.591Z] Removing intermediate container 27725e130494 [2023-01-19T02:56:22.591Z] ---> 716c61aa866d [2023-01-19T02:56:22.591Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:56:22.852Z] ---> Running in 9427665e5f40 [2023-01-19T02:56:23.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:56:23.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:56:23.370Z] OK: 216 MiB in 55 packages [2023-01-19T02:56:23.937Z] Removing intermediate container 9427665e5f40 [2023-01-19T02:56:23.937Z] ---> 5b8fbb41fe9a [2023-01-19T02:56:23.937Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-19T02:56:23.937Z] ---> 72778a329d85 [2023-01-19T02:56:23.937Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:56:23.937Z] ---> Running in d90450575559 [2023-01-19T02:56:24.876Z] Removing intermediate container d90450575559 [2023-01-19T02:56:24.876Z] ---> bdef41915b2b [2023-01-19T02:56:24.876Z] Step 11/25 : COPY . . [2023-01-19T02:56:25.814Z] ---> a548d85f0014 [2023-01-19T02:56:25.814Z] Step 12/25 : RUN ${MAKE} [2023-01-19T02:56:25.814Z] ---> Running in bb3c325f9273 [2023-01-19T02:56:25.814Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-19T02:56:43.908Z] Removing intermediate container bb3c325f9273 [2023-01-19T02:56:43.908Z] ---> 2327f6f17102 [2023-01-19T02:56:43.908Z] Step 13/25 : FROM alpine:3.16 [2023-01-19T02:56:43.908Z] 3.16: Pulling from library/alpine [2023-01-19T02:56:43.908Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T02:56:43.908Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T02:56:43.908Z] ca7dd9ec2225: Download complete [2023-01-19T02:56:43.908Z] ca7dd9ec2225: Pull complete [2023-01-19T02:56:43.908Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:56:43.908Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:56:43.908Z] ---> bfe296a52501 [2023-01-19T02:56:43.908Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-19T02:56:43.908Z] ---> Running in 20db8bbd6c71 [2023-01-19T02:56:43.908Z] Removing intermediate container 20db8bbd6c71 [2023-01-19T02:56:43.908Z] ---> adb9ebe27286 [2023-01-19T02:56:43.908Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-19T02:56:43.908Z] ---> Running in bc9bba66d95a [2023-01-19T02:56:43.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:56:43.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:56:43.908Z] OK: 6 MiB in 14 packages [2023-01-19T02:56:43.908Z] Removing intermediate container bc9bba66d95a [2023-01-19T02:56:43.908Z] ---> e1d153bbb3dc [2023-01-19T02:56:43.908Z] Step 16/25 : WORKDIR / [2023-01-19T02:56:43.908Z] ---> Running in 6d5d3705a958 [2023-01-19T02:56:43.908Z] Removing intermediate container 6d5d3705a958 [2023-01-19T02:56:43.908Z] ---> 5238209cddad [2023-01-19T02:56:43.908Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-19T02:56:43.908Z] ---> 5c526c8d20ec [2023-01-19T02:56:43.908Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-19T02:56:43.908Z] ---> 9568554502d7 [2023-01-19T02:56:43.908Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-19T02:56:44.477Z] ---> 6be13e3d5c5f [2023-01-19T02:56:44.477Z] Step 20/25 : EXPOSE 59910 [2023-01-19T02:56:44.477Z] ---> Running in 41de36652833 [2023-01-19T02:56:44.477Z] Removing intermediate container 41de36652833 [2023-01-19T02:56:44.477Z] ---> 6b267304ab46 [2023-01-19T02:56:44.477Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-19T02:56:44.477Z] ---> Running in f47d465e6439 [2023-01-19T02:56:44.477Z] Removing intermediate container f47d465e6439 [2023-01-19T02:56:44.477Z] ---> 081990ec068c [2023-01-19T02:56:44.477Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T02:56:44.477Z] ---> Running in a7d11c019539 [2023-01-19T02:56:44.477Z] Removing intermediate container a7d11c019539 [2023-01-19T02:56:44.477Z] ---> 5441bfccfbc5 [2023-01-19T02:56:44.477Z] Step 23/25 : LABEL arch=amd64 [2023-01-19T02:56:44.477Z] ---> Running in 05289f755079 [2023-01-19T02:56:44.735Z] Removing intermediate container 05289f755079 [2023-01-19T02:56:44.735Z] ---> 4fdaa11387dc [2023-01-19T02:56:44.735Z] Step 24/25 : LABEL git_sha=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [2023-01-19T02:56:44.735Z] ---> Running in 3a357e903522 [2023-01-19T02:56:44.735Z] Removing intermediate container 3a357e903522 [2023-01-19T02:56:44.735Z] ---> cd2009c87a2d [2023-01-19T02:56:44.735Z] Step 25/25 : LABEL version=0.0.0 [2023-01-19T02:56:44.735Z] ---> Running in b37907ca0b7a [2023-01-19T02:56:44.735Z] Removing intermediate container b37907ca0b7a [2023-01-19T02:56:44.735Z] ---> 1ae95605a8b5 [2023-01-19T02:56:44.735Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:56:44.735Z] Successfully built 1ae95605a8b5 [2023-01-19T02:56:44.735Z] Successfully tagged device-gpio: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-01-19T02:56:45.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:56:45.618Z] [2023-01-19T02:56:45.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:56:45.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:56:45.992Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T02:56:45.992Z] 5eb5b503b376: Pulling fs layer [2023-01-19T02:56:45.992Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T02:56:45.992Z] ec43610c2a17: Pulling fs layer [2023-01-19T02:56:45.992Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T02:56:45.992Z] 33b1e0a273af: Pulling fs layer [2023-01-19T02:56:45.992Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T02:56:45.992Z] 3a2ae6a8a46f: Waiting [2023-01-19T02:56:45.992Z] 33b1e0a273af: Waiting [2023-01-19T02:56:45.992Z] 2f39f015ded8: Pulling fs layer [2023-01-19T02:56:45.992Z] 5d3b04190fa2: Waiting [2023-01-19T02:56:45.992Z] 2f39f015ded8: Waiting [2023-01-19T02:56:45.992Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T02:56:45.992Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-19T02:56:45.992Z] 3a2ae6a8a46f: Download complete [2023-01-19T02:56:46.251Z] 33b1e0a273af: Verifying Checksum [2023-01-19T02:56:46.251Z] 33b1e0a273af: Download complete [2023-01-19T02:56:46.251Z] 5d3b04190fa2: Download complete [2023-01-19T02:56:46.251Z] ec43610c2a17: Verifying Checksum [2023-01-19T02:56:46.251Z] ec43610c2a17: Download complete [2023-01-19T02:56:46.251Z] 5eb5b503b376: Verifying Checksum [2023-01-19T02:56:46.251Z] 5eb5b503b376: Download complete [2023-01-19T02:56:47.189Z] 2f39f015ded8: Verifying Checksum [2023-01-19T02:56:47.189Z] 2f39f015ded8: Download complete [2023-01-19T02:56:47.756Z] 5eb5b503b376: Pull complete [2023-01-19T02:56:47.756Z] 5c69ac0246d0: Pull complete [2023-01-19T02:56:48.321Z] ec43610c2a17: Pull complete [2023-01-19T02:56:48.321Z] 3a2ae6a8a46f: Pull complete [2023-01-19T02:56:48.578Z] 33b1e0a273af: Pull complete [2023-01-19T02:56:48.578Z] 5d3b04190fa2: Pull complete [2023-01-19T02:56:53.847Z] 2f39f015ded8: Pull complete [2023-01-19T02:56:53.847Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T02:56:53.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:56:53.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:56:54.097Z] prd-ubuntu20.04-docker-8c-8g-3065 does not seem to be running inside a container [2023-01-19T02:56:54.130Z] $ 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/edgexfoundry_device-gpio_PR-85 -v /w/workspace/edgexfoundry_device-gpio_PR-85:/w/workspace/edgexfoundry_device-gpio_PR-85:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-85@tmp:/w/workspace/edgexfoundry_device-gpio_PR-85@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T02:56:57.106Z] $ docker top ee0a1d5a0bb368fe73eefdd0714bcce095fb5578fcd5358c385f92a81ca5c695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:57.545Z] ---> job-cost.sh [2023-01-19T02:56:57.545Z] lf-activate-venv: SKIPPING [2023-01-19T02:56:57.545Z] INFO: No Stack... [2023-01-19T02:56:58.113Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:56:58.375Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:56:58.689Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-85/archives/cost.csv [2023-01-19T02:56:58.689Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T02:56:58.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [2023-01-19T02:56:58.731Z] Resource [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] did not exist. Created. [2023-01-19T02:56:58.731Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T02:56:59.122Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T02:56:59.177Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:56:59.206Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:56:59.285Z] $ docker stop --time=1 ee0a1d5a0bb368fe73eefdd0714bcce095fb5578fcd5358c385f92a81ca5c695 [2023-01-19T02:57:00.440Z] $ docker rm -f --volumes ee0a1d5a0bb368fe73eefdd0714bcce095fb5578fcd5358c385f92a81ca5c695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T02:58:08.537Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3067 in /w/workspace/edgexfoundry_device-gpio_PR-85 [Pipeline] { [Pipeline] ws [2023-01-19T02:58:08.594Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-01-19T02:58:08.688Z] The recommended git tool is: git [2023-01-19T02:58:19.183Z] using credential edgex-jenkins-ssh [2023-01-19T02:58:19.205Z] Cloning the remote Git repository [2023-01-19T02:58:19.292Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-19T02:58:19.425Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-01-19T02:58:19.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-19T02:58:19.638Z] > git --version # timeout=10 [2023-01-19T02:58:19.687Z] > git --version # 'git version 2.25.1' [2023-01-19T02:58:19.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:58:19.779Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:58:23.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-19T02:58:23.216Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:58:25.291Z] Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [2023-01-19T02:58:25.568Z] Merge succeeded, producing 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [2023-01-19T02:58:25.569Z] Checking out Revision 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 (PR-85) [2023-01-19T02:58:24.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-19T02:58:24.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-19T02:58:24.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:58:24.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T02:58:25.329Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:58:25.360Z] > git checkout -f 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 # timeout=10 [2023-01-19T02:58:25.462Z] > git remote # timeout=10 [2023-01-19T02:58:25.484Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T02:58:25.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:58:25.524Z] > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 [2023-01-19T02:58:25.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T02:58:25.580Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:58:25.598Z] > git checkout -f 2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 # timeout=10 [2023-01-19T02:58:29.200Z] Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" [2023-01-19T02:58:29.264Z] > git --version # timeout=10 [2023-01-19T02:58:29.275Z] > git --version # 'git version 2.25.1' [2023-01-19T02:58:29.292Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:58:30.380Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T02:58:30.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:58:30.381Z] Dload Upload Total Spent Left Speed [2023-01-19T02:58:30.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-01-19T02:58:31.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T02:58:31.379Z] + sudo tee /etc/docker/daemon.new [2023-01-19T02:58:31.379Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T02:58:31.379Z] { [2023-01-19T02:58:31.379Z] "registry-mirrors": [ [2023-01-19T02:58:31.379Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T02:58:31.379Z] ], [2023-01-19T02:58:31.379Z] "bip": "10.250.0.254/24", [2023-01-19T02:58:31.379Z] "hosts": [ [2023-01-19T02:58:31.379Z] "tcp://0.0.0.0:5555", [2023-01-19T02:58:31.379Z] "unix:///var/run/docker.sock" [2023-01-19T02:58:31.379Z] ], [2023-01-19T02:58:31.379Z] "mtu": 1458, [2023-01-19T02:58:31.379Z] "selinux-enabled": true, [2023-01-19T02:58:31.379Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T02:58:31.379Z] } [Pipeline] sh [2023-01-19T02:58:31.727Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T02:58:32.086Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:58:50.434Z] provisioning config files... [2023-01-19T02:58:50.467Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6080736967442099129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:58:50.873Z] ---> docker-login.sh [2023-01-19T02:58:50.873Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:58:51.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:51.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:51.461Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:51.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:51.461Z] [2023-01-19T02:58:51.461Z] Login Succeeded [2023-01-19T02:58:51.733Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:58:52.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:52.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:52.003Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:52.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:52.003Z] [2023-01-19T02:58:52.003Z] Login Succeeded [2023-01-19T02:58:52.003Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:58:52.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:52.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:52.279Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:52.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:52.279Z] [2023-01-19T02:58:52.279Z] Login Succeeded [2023-01-19T02:58:52.279Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:58:52.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:52.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:52.820Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:52.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:52.820Z] [2023-01-19T02:58:52.820Z] Login Succeeded [2023-01-19T02:58:52.820Z] docker.io [2023-01-19T02:58:53.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:53.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:53.357Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:53.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:53.357Z] [2023-01-19T02:58:53.357Z] Login Succeeded [2023-01-19T02:58:53.357Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:58:53.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:58:53.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:58:53.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:58:53.963Z] ========================================================= [2023-01-19T02:58:53.963Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T02:58:53.963Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:58:54.472Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:58:54.749Z] Sending build context to Docker daemon 8.091MB [2023-01-19T02:58:54.749Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:58:54.749Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:58:55.023Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T02:58:55.023Z] 9b18e9b68314: Pulling fs layer [2023-01-19T02:58:55.023Z] 35d82f9e3411: Pulling fs layer [2023-01-19T02:58:55.023Z] e16973657156: Pulling fs layer [2023-01-19T02:58:55.023Z] fc693d55d65f: Pulling fs layer [2023-01-19T02:58:55.023Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T02:58:55.024Z] fc693d55d65f: Waiting [2023-01-19T02:58:55.024Z] dda99020689f: Pulling fs layer [2023-01-19T02:58:55.024Z] 7e9fc2657dce: Waiting [2023-01-19T02:58:55.024Z] db1c61fa0a46: Pulling fs layer [2023-01-19T02:58:55.024Z] 891c053d2c06: Pulling fs layer [2023-01-19T02:58:55.024Z] dda99020689f: Waiting [2023-01-19T02:58:55.024Z] db1c61fa0a46: Waiting [2023-01-19T02:58:55.024Z] 891c053d2c06: Waiting [2023-01-19T02:58:55.024Z] e16973657156: Verifying Checksum [2023-01-19T02:58:55.024Z] e16973657156: Download complete [2023-01-19T02:58:55.024Z] 35d82f9e3411: Verifying Checksum [2023-01-19T02:58:55.024Z] 35d82f9e3411: Download complete [2023-01-19T02:58:55.024Z] 7e9fc2657dce: Verifying Checksum [2023-01-19T02:58:55.024Z] 7e9fc2657dce: Download complete [2023-01-19T02:58:55.024Z] dda99020689f: Verifying Checksum [2023-01-19T02:58:55.024Z] dda99020689f: Download complete [2023-01-19T02:58:55.295Z] 9b18e9b68314: Verifying Checksum [2023-01-19T02:58:55.295Z] 9b18e9b68314: Download complete [2023-01-19T02:58:56.270Z] 9b18e9b68314: Pull complete [2023-01-19T02:58:56.271Z] 891c053d2c06: Verifying Checksum [2023-01-19T02:58:56.271Z] 891c053d2c06: Download complete [2023-01-19T02:58:56.540Z] 35d82f9e3411: Pull complete [2023-01-19T02:58:56.813Z] e16973657156: Pull complete [2023-01-19T02:58:57.791Z] db1c61fa0a46: Verifying Checksum [2023-01-19T02:58:57.791Z] db1c61fa0a46: Download complete [2023-01-19T02:58:58.062Z] fc693d55d65f: Verifying Checksum [2023-01-19T02:58:58.062Z] fc693d55d65f: Download complete [2023-01-19T02:59:10.403Z] fc693d55d65f: Pull complete [2023-01-19T02:59:10.675Z] 7e9fc2657dce: Pull complete [2023-01-19T02:59:10.947Z] dda99020689f: Pull complete [2023-01-19T02:59:17.630Z] db1c61fa0a46: Pull complete [2023-01-19T02:59:19.047Z] 891c053d2c06: Pull complete [2023-01-19T02:59:19.047Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T02:59:19.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T02:59:19.047Z] ---> f96f9c87975a [2023-01-19T02:59:19.047Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:59:20.473Z] ---> Running in b596fecfddbb [2023-01-19T02:59:20.742Z] Removing intermediate container b596fecfddbb [2023-01-19T02:59:20.742Z] ---> ab1e4ab511b9 [2023-01-19T02:59:20.742Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:59:20.742Z] ---> Running in d12335d5584c [2023-01-19T02:59:21.018Z] Removing intermediate container d12335d5584c [2023-01-19T02:59:21.018Z] ---> fc819eaa5160 [2023-01-19T02:59:21.018Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-19T02:59:21.288Z] ---> Running in f102b7185f26 [2023-01-19T02:59:21.559Z] Removing intermediate container f102b7185f26 [2023-01-19T02:59:21.559Z] ---> 91572b1ee42d [2023-01-19T02:59:21.559Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:59:21.559Z] ---> Running in 7e2178605d10 [2023-01-19T02:59:21.831Z] Removing intermediate container 7e2178605d10 [2023-01-19T02:59:21.831Z] ---> dd171765fea9 [2023-01-19T02:59:21.831Z] Step 7/12 : WORKDIR /device-gpio [2023-01-19T02:59:22.104Z] ---> Running in b45149b3753d [2023-01-19T02:59:22.373Z] Removing intermediate container b45149b3753d [2023-01-19T02:59:22.373Z] ---> b3e2a03cf5da [2023-01-19T02:59:22.373Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:59:22.373Z] ---> Running in 94fc9d5d058c [2023-01-19T02:59:23.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:59:23.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:59:24.761Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:59:25.035Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:59:25.035Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:59:25.035Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:59:25.035Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:59:25.035Z] OK: 226 MiB in 55 packages [2023-01-19T02:59:27.642Z] Removing intermediate container 94fc9d5d058c [2023-01-19T02:59:27.642Z] ---> e1d29bc64763 [2023-01-19T02:59:27.642Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:59:27.926Z] ---> 0348169cf28f [2023-01-19T02:59:27.926Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:59:27.926Z] ---> Running in afaf628cf545 [2023-01-19T03:00:49.590Z] Removing intermediate container afaf628cf545 [2023-01-19T03:00:49.590Z] ---> 9c07e613a49b [2023-01-19T03:00:49.590Z] Step 11/12 : COPY . . [2023-01-19T03:00:49.590Z] ---> bfb32899c166 [2023-01-19T03:00:49.590Z] Step 12/12 : RUN ${MAKE} [2023-01-19T03:00:49.590Z] ---> Running in 01123f927ea2 [2023-01-19T03:00:49.590Z] noop [2023-01-19T03:00:49.590Z] Removing intermediate container 01123f927ea2 [2023-01-19T03:00:49.590Z] ---> f6c6241a0bb2 [2023-01-19T03:00:49.590Z] Successfully built f6c6241a0bb2 [2023-01-19T03:00:49.590Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:50.071Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T03:00:50.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:00:50.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container [2023-01-19T03:00:50.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T03:00:51.807Z] $ docker top 8e52da811b52ba745d4fc640e8b4f43f0235f2c2533437de6e9c9e2e00e0c4ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:00:52.726Z] + go version [2023-01-19T03:00:52.726Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T03:00:52.764Z] $ docker stop --time=1 8e52da811b52ba745d4fc640e8b4f43f0235f2c2533437de6e9c9e2e00e0c4ed [2023-01-19T03:00:54.437Z] $ docker rm -f --volumes 8e52da811b52ba745d4fc640e8b4f43f0235f2c2533437de6e9c9e2e00e0c4ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:55.325Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T03:00:55.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:00:55.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container [2023-01-19T03:00:55.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T03:00:57.099Z] $ docker top 4e115c1f545001858c686216474ceb2cf5694bd13f6b2aa7e07f5fdf5c37776a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:00:58.025Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T03:00:58.752Z] + make test [2023-01-19T03:00:58.752Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T03:01:00.716Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-19T03:02:37.418Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-19T03:02:37.418Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-19T03:02:37.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T03:02:37.418Z] go vet ./... [2023-01-19T03:02:49.303Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T03:02:49.303Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T03:02:49.303Z] ./bin/test-attribution-txt.sh [2023-01-19T03:02:49.303Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T03:02:49.303Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T03:02:49.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T03:02:49.376Z] $ docker stop --time=1 4e115c1f545001858c686216474ceb2cf5694bd13f6b2aa7e07f5fdf5c37776a [2023-01-19T03:02:51.214Z] $ docker rm -f --volumes 4e115c1f545001858c686216474ceb2cf5694bd13f6b2aa7e07f5fdf5c37776a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T03:02:52.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T03:02:52.269Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T03:02:52.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T03:02:53.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T03:02:53.721Z] + ls -al . [2023-01-19T03:02:53.721Z] total 156 [2023-01-19T03:02:53.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 03:00 . [2023-01-19T03:02:53.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:58 .. [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 19 02:58 .dockerignore [2023-01-19T03:02:53.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:58 .git [2023-01-19T03:02:53.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:58 .github [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 19 02:58 .gitignore [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:58 .golangci.yml [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 19 02:58 Attribution.txt [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 19 02:58 CHANGELOG.md [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 19 02:58 Dockerfile [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:58 GOVERNANCE.md [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 19 02:58 Jenkinsfile [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:58 LICENSE [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 19 02:58 Makefile [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 02:58 OWNERS.md [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 19 02:58 README.md [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:54 VERSION [2023-01-19T03:02:53.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:58 bin [2023-01-19T03:02:53.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:58 cmd [2023-01-19T03:02:53.721Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 19 03:00 coverage.out [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 3366 Jan 19 02:58 go.mod [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 34697 Jan 19 02:58 go.sum [2023-01-19T03:02:53.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:58 internal [2023-01-19T03:02:53.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:58 snap [2023-01-19T03:02:53.721Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 02:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:02:54.137Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 --label arch=arm64 --label version=0.0.0 . [2023-01-19T03:02:54.416Z] Sending build context to Docker daemon 8.092MB [2023-01-19T03:02:54.416Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T03:02:54.416Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-19T03:02:54.416Z] ---> f6c6241a0bb2 [2023-01-19T03:02:54.416Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-19T03:02:54.684Z] ---> Running in 7ae8752b17eb [2023-01-19T03:02:54.954Z] Removing intermediate container 7ae8752b17eb [2023-01-19T03:02:54.954Z] ---> d378c67dc307 [2023-01-19T03:02:54.954Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T03:02:54.954Z] ---> Running in 064c52cac706 [2023-01-19T03:02:55.543Z] Removing intermediate container 064c52cac706 [2023-01-19T03:02:55.543Z] ---> 544834aad6ff [2023-01-19T03:02:55.543Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-19T03:02:55.543Z] ---> Running in 2b2ed824a38e [2023-01-19T03:02:55.813Z] Removing intermediate container 2b2ed824a38e [2023-01-19T03:02:55.813Z] ---> 83a51db4ff2c [2023-01-19T03:02:55.813Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T03:02:55.813Z] ---> Running in 19c8beb95624 [2023-01-19T03:02:56.085Z] Removing intermediate container 19c8beb95624 [2023-01-19T03:02:56.085Z] ---> 9e9fdbb20318 [2023-01-19T03:02:56.085Z] Step 7/25 : WORKDIR /device-gpio [2023-01-19T03:02:56.354Z] ---> Running in 462e3da8fe77 [2023-01-19T03:02:56.622Z] Removing intermediate container 462e3da8fe77 [2023-01-19T03:02:56.622Z] ---> 726adb0f3054 [2023-01-19T03:02:56.622Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T03:02:56.622Z] ---> Running in 9d1ca3d5d911 [2023-01-19T03:02:57.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:02:58.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:02:59.141Z] OK: 226 MiB in 55 packages [2023-01-19T03:03:00.180Z] Removing intermediate container 9d1ca3d5d911 [2023-01-19T03:03:00.180Z] ---> a84a128a00e5 [2023-01-19T03:03:00.180Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-19T03:03:00.473Z] ---> c1b144fe529c [2023-01-19T03:03:00.473Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T03:03:00.764Z] ---> Running in 44a36735bf52 [2023-01-19T03:03:03.412Z] Removing intermediate container 44a36735bf52 [2023-01-19T03:03:03.412Z] ---> 5c115de62264 [2023-01-19T03:03:03.412Z] Step 11/25 : COPY . . [2023-01-19T03:03:04.379Z] ---> c0f312049f85 [2023-01-19T03:03:04.379Z] Step 12/25 : RUN ${MAKE} [2023-01-19T03:03:04.379Z] ---> Running in 5acfd4f8828c [2023-01-19T03:03:05.344Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-19T03:04:42.038Z] Removing intermediate container 5acfd4f8828c [2023-01-19T03:04:42.038Z] ---> 9c37770cb54c [2023-01-19T03:04:42.038Z] Step 13/25 : FROM alpine:3.16 [2023-01-19T03:04:42.038Z] 3.16: Pulling from library/alpine [2023-01-19T03:04:42.038Z] 6875df1f5354: Pulling fs layer [2023-01-19T03:04:42.038Z] 6875df1f5354: Verifying Checksum [2023-01-19T03:04:42.038Z] 6875df1f5354: Download complete [2023-01-19T03:04:42.038Z] 6875df1f5354: Pull complete [2023-01-19T03:04:42.038Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T03:04:42.038Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T03:04:42.038Z] ---> 2b4661558fb8 [2023-01-19T03:04:42.038Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-19T03:04:42.038Z] ---> Running in 6865e39c74e4 [2023-01-19T03:04:42.038Z] Removing intermediate container 6865e39c74e4 [2023-01-19T03:04:42.038Z] ---> 3f5016f62d45 [2023-01-19T03:04:42.038Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-19T03:04:42.038Z] ---> Running in 97fc6384fdf8 [2023-01-19T03:04:42.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:04:42.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:04:42.038Z] OK: 5 MiB in 14 packages [2023-01-19T03:04:42.038Z] Removing intermediate container 97fc6384fdf8 [2023-01-19T03:04:42.038Z] ---> 4b17533d0534 [2023-01-19T03:04:42.038Z] Step 16/25 : WORKDIR / [2023-01-19T03:04:42.038Z] ---> Running in 47931de6330f [2023-01-19T03:04:42.038Z] Removing intermediate container 47931de6330f [2023-01-19T03:04:42.038Z] ---> 7fc3cb6f414e [2023-01-19T03:04:42.038Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-19T03:04:42.038Z] ---> c8f5f42ac6f3 [2023-01-19T03:04:42.038Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-19T03:04:42.038Z] ---> 6fe160a62894 [2023-01-19T03:04:42.038Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-19T03:04:42.038Z] ---> ee4ddab7b7f6 [2023-01-19T03:04:42.038Z] Step 20/25 : EXPOSE 59910 [2023-01-19T03:04:42.038Z] ---> Running in 4a6e9c8a6e8f [2023-01-19T03:04:42.038Z] Removing intermediate container 4a6e9c8a6e8f [2023-01-19T03:04:42.038Z] ---> c939c4d7f423 [2023-01-19T03:04:42.038Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-19T03:04:42.038Z] ---> Running in abe470af7953 [2023-01-19T03:04:42.038Z] Removing intermediate container abe470af7953 [2023-01-19T03:04:42.038Z] ---> 73e2befb118a [2023-01-19T03:04:42.038Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T03:04:42.038Z] ---> Running in 1a7bef143354 [2023-01-19T03:04:42.305Z] Removing intermediate container 1a7bef143354 [2023-01-19T03:04:42.305Z] ---> 2ba9e8766491 [2023-01-19T03:04:42.305Z] Step 23/25 : LABEL arch=arm64 [2023-01-19T03:04:42.305Z] ---> Running in 7970a6956085 [2023-01-19T03:04:42.579Z] Removing intermediate container 7970a6956085 [2023-01-19T03:04:42.579Z] ---> 819129a2011e [2023-01-19T03:04:42.579Z] Step 24/25 : LABEL git_sha=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [2023-01-19T03:04:42.579Z] ---> Running in 4878a71877a9 [2023-01-19T03:04:42.847Z] Removing intermediate container 4878a71877a9 [2023-01-19T03:04:42.847Z] ---> 30d0d537f951 [2023-01-19T03:04:42.847Z] Step 25/25 : LABEL version=0.0.0 [2023-01-19T03:04:43.118Z] ---> Running in 8a162301bf2d [2023-01-19T03:04:43.386Z] Removing intermediate container 8a162301bf2d [2023-01-19T03:04:43.386Z] ---> 6ee4668556ae [2023-01-19T03:04:43.386Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T03:04:43.386Z] Successfully built 6ee4668556ae [2023-01-19T03:04:43.386Z] Successfully tagged device-gpio-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-01-19T03:04:44.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:04:44.184Z] [2023-01-19T03:04:44.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:04:44.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:04:44.594Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T03:04:44.594Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T03:04:44.594Z] 04944245beec: Pulling fs layer [2023-01-19T03:04:44.594Z] 699f458cf7ca: Pulling fs layer [2023-01-19T03:04:44.594Z] 765212b225bb: Pulling fs layer [2023-01-19T03:04:44.594Z] f23df028b6ca: Pulling fs layer [2023-01-19T03:04:44.594Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T03:04:44.594Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T03:04:44.594Z] 765212b225bb: Waiting [2023-01-19T03:04:44.594Z] 2437ff75d9bd: Waiting [2023-01-19T03:04:44.594Z] d65c8cfc05b1: Waiting [2023-01-19T03:04:44.594Z] f23df028b6ca: Waiting [2023-01-19T03:04:44.863Z] 04944245beec: Verifying Checksum [2023-01-19T03:04:44.863Z] 04944245beec: Download complete [2023-01-19T03:04:44.863Z] 765212b225bb: Verifying Checksum [2023-01-19T03:04:44.863Z] 765212b225bb: Download complete [2023-01-19T03:04:44.863Z] f23df028b6ca: Verifying Checksum [2023-01-19T03:04:44.863Z] f23df028b6ca: Download complete [2023-01-19T03:04:44.863Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T03:04:44.863Z] d65c8cfc05b1: Download complete [2023-01-19T03:04:45.134Z] 699f458cf7ca: Verifying Checksum [2023-01-19T03:04:45.134Z] 699f458cf7ca: Download complete [2023-01-19T03:04:45.402Z] 8998bd30e6a1: Verifying Checksum [2023-01-19T03:04:45.402Z] 8998bd30e6a1: Download complete [2023-01-19T03:04:47.993Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T03:04:47.993Z] 2437ff75d9bd: Download complete [2023-01-19T03:04:49.941Z] 8998bd30e6a1: Pull complete [2023-01-19T03:04:50.208Z] 04944245beec: Pull complete [2023-01-19T03:04:51.620Z] 699f458cf7ca: Pull complete [2023-01-19T03:04:51.888Z] 765212b225bb: Pull complete [2023-01-19T03:04:52.472Z] f23df028b6ca: Pull complete [2023-01-19T03:04:52.740Z] d65c8cfc05b1: Pull complete [2023-01-19T03:05:07.736Z] 2437ff75d9bd: Pull complete [2023-01-19T03:05:07.736Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T03:05:07.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:05:07.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:05:08.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container [2023-01-19T03:05:08.150Z] $ 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-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T03:05:10.898Z] $ docker top 219d6d224b7bb16603022fbe2d198e14f4dad144cbc9f67dab198d2b128f4b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:11.822Z] ---> job-cost.sh [2023-01-19T03:05:11.822Z] lf-activate-venv: SKIPPING [2023-01-19T03:05:11.822Z] INFO: No Stack... [2023-01-19T03:05:12.406Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T03:05:13.364Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T03:05:14.034Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-01-19T03:05:14.034Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T03:05:14.133Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [2023-01-19T03:05:14.139Z] Resource [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] did not exist. Created. [2023-01-19T03:05:14.139Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T03:05:14.870Z] /w/workspace/device-gpio/1@tmp/durable-0c745428/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T03:05:15.548Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T03:05:15.587Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T03:05:15.643Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T03:05:15.664Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T03:05:15.747Z] $ docker stop --time=1 219d6d224b7bb16603022fbe2d198e14f4dad144cbc9f67dab198d2b128f4b72 [2023-01-19T03:05:17.269Z] $ docker rm -f --volumes 219d6d224b7bb16603022fbe2d198e14f4dad144cbc9f67dab198d2b128f4b72 [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-01-19T03:05:18.288Z] provisioning config files... [2023-01-19T03:05:18.294Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/config9505305308909694686tmp [Pipeline] { [Pipeline] sh [2023-01-19T03:05:18.641Z] + set +x [2023-01-19T03:05:18.641Z] + curl -s https://codecov.io/bash [2023-01-19T03:05:18.641Z] + bash -s -- [2023-01-19T03:05:18.641Z] [2023-01-19T03:05:18.641Z] _____ _ [2023-01-19T03:05:18.641Z] / ____| | | [2023-01-19T03:05:18.641Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T03:05:18.641Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T03:05:18.641Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T03:05:18.641Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T03:05:18.641Z] Bash-1.0.6 [2023-01-19T03:05:18.641Z] [2023-01-19T03:05:18.641Z] [2023-01-19T03:05:18.641Z] ==> git version 2.25.1 found [2023-01-19T03:05:18.641Z] ==> 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-01-19T03:05:18.641Z] Release-Date: 2020-01-08 [2023-01-19T03:05:18.641Z] 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-01-19T03:05:18.641Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T03:05:18.641Z] ==> Jenkins CI detected. [2023-01-19T03:05:18.641Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-85 [2023-01-19T03:05:18.641Z] project root: . [2023-01-19T03:05:18.641Z] --> token set from env [2023-01-19T03:05:18.641Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T03:05:18.900Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T03:05:18.900Z] ==> Python coveragepy not found [2023-01-19T03:05:18.900Z] ==> Searching for coverage reports in: [2023-01-19T03:05:18.900Z] + . [2023-01-19T03:05:18.900Z] -> Found 1 reports [2023-01-19T03:05:18.900Z] ==> Detecting git/mercurial file structure [2023-01-19T03:05:18.900Z] ==> Reading reports [2023-01-19T03:05:18.900Z] + ./coverage.out bytes=10 [2023-01-19T03:05:18.900Z] ==> Appending adjustments [2023-01-19T03:05:18.900Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T03:05:18.900Z] + Found adjustments [2023-01-19T03:05:18.900Z] ==> Gzipping contents [2023-01-19T03:05:18.900Z] 4.0K /tmp/codecov.hS8ILW.gz [2023-01-19T03:05:18.900Z] ==> Uploading reports [2023-01-19T03:05:18.900Z] url: https://codecov.io [2023-01-19T03:05:18.900Z] query: branch=PR-85&commit=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=85&job=&cmd_args= [2023-01-19T03:05:18.900Z] -> Pinging Codecov [2023-01-19T03:05:18.900Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-85&commit=2dc7ba70d418fcdfae7c26a8777ea3217c34fc43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=85&job=&cmd_args= [2023-01-19T03:05:19.468Z] -> Uploading to [2023-01-19T03:05:19.468Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2dc7ba70d418fcdfae7c26a8777ea3217c34fc43/40b58188-ce88-4d35-a010-96416b64fbb0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T030519Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0a3214abac200936cdafe9f28768c34bdc5ae333b7d19a54bad59e87a0ae1b3 [2023-01-19T03:05:19.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T03:05:19.468Z] Dload Upload Total Spent Left Speed [2023-01-19T03:05:19.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 3655 --:--:-- --:--:-- --:--:-- 3637 100 742 0 0 100 742 0 3283 --:--:-- --:--:-- --:--:-- 3268 [2023-01-19T03:05:19.728Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2dc7ba70d418fcdfae7c26a8777ea3217c34fc43 [Pipeline] } [2023-01-19T03:05:19.755Z] 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-01-19T03:05:21.494Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-85/archives ] [2023-01-19T03:05:21.494Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-85/archives [2023-01-19T03:05:21.494Z] total 16 [2023-01-19T03:05:21.494Z] drwxr-xr-x 3 root root 4096 Jan 19 02:56 . [2023-01-19T03:05:21.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:56 .. [2023-01-19T03:05:21.494Z] drwxr-xr-x 2 root root 4096 Jan 19 02:56 cost [2023-01-19T03:05:21.494Z] -rw-r--r-- 1 root root 82 Jan 19 02:56 cost.csv [2023-01-19T03:05:21.494Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-85/archives [2023-01-19T03:05:21.494Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-85/archives [2023-01-19T03:05:21.494Z] total 16 [2023-01-19T03:05:21.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:56 . [2023-01-19T03:05:21.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:56 .. [2023-01-19T03:05:21.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:56 cost [2023-01-19T03:05:21.494Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 19 02:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:21.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:22.723Z] ---> package-listing.sh [2023-01-19T03:05:22.723Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T03:05:22.723Z] ++ facter osfamily [2023-01-19T03:05:22.983Z] + OS_FAMILY=debian [2023-01-19T03:05:22.983Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-85 [2023-01-19T03:05:22.983Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T03:05:22.983Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T03:05:22.983Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T03:05:22.983Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T03:05:22.983Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-85 ']' [2023-01-19T03:05:22.983Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T03:05:22.983Z] + case "${OS_FAMILY}" in [2023-01-19T03:05:22.983Z] + dpkg -l [2023-01-19T03:05:22.983Z] + grep '^ii' [2023-01-19T03:05:22.983Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T03:05:22.983Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T03:05:22.983Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T03:05:22.983Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-85 ']' [2023-01-19T03:05:22.983Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-85/archives/ [2023-01-19T03:05:22.983Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-85/archives/ [Pipeline] echo [2023-01-19T03:05:23.018Z] 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/edgexfoundry_device-gpio_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T03:05:23.312Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:05:23.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:05:23.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:05:24.097Z] prd-ubuntu20.04-docker-8c-8g-3065 does not seem to be running inside a container [2023-01-19T03:05:24.130Z] $ 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/edgexfoundry_device-gpio_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-85 -v /w/workspace/edgexfoundry_device-gpio_PR-85:/w/workspace/edgexfoundry_device-gpio_PR-85:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-85@tmp:/w/workspace/edgexfoundry_device-gpio_PR-85@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T03:05:24.348Z] $ docker top b8fbf6309fbf31568c8f6e2d51d1170d7e11200c1d2336349ed101db143b01d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:05:24.760Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T03:05:25.070Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T03:05:25.379Z] + ls /var/log/sa-host [2023-01-19T03:05:25.379Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T03:05:25.596Z] provisioning config files... [2023-01-19T03:05:25.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-85@tmp/config14345256296758133721tmp [Pipeline] { [Pipeline] echo [2023-01-19T03:05:25.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:25.965Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T03:05:25.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:26.395Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T03:05:26.427Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:26.740Z] ---> sudo-logs.sh [2023-01-19T03:05:26.740Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T03:05:26.827Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:27.140Z] ---> job-cost.sh [2023-01-19T03:05:27.140Z] lf-activate-venv: SKIPPING [2023-01-19T03:05:27.140Z] DEBUG: total: 0.2199999988079071 [2023-01-19T03:05:27.140Z] INFO: Retrieving Stack Cost... [2023-01-19T03:05:27.707Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T03:05:27.968Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T03:05:28.004Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:05:28.338Z] ---> logs-deploy.sh [2023-01-19T03:05:28.338Z] lf-activate-venv: SKIPPING [2023-01-19T03:05:28.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-85/1 [2023-01-19T03:05:28.338Z] INFO: archiving workspace using pattern(s): [2023-01-19T03:05:29.277Z] Archives upload complete. [2023-01-19T03:05:29.277Z] INFO: archiving logs to Nexus