Pull request #43 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bf535f0ce4e380f32a4a208eac40e23dfd63f39+d2f889f2e6331967c7dfcc00d4313b0bfed68330 (323e0188669a1395f3d7b3b6c0a1edaf02325c27) 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-ssh2539829563552716643.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh17148960071556370822.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-43/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-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2017109386389643019.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-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3270259107315769972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11336600120077303045.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-43/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-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1321555742551034963.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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 ‘prd-centos7-blackbox-4c-2g-15591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15659’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15656’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15660 in /w/workspace/edgexfoundry_device-gpio_PR-43 [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-43 # 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 Merging remotes/origin/main commit d2f889f2e6331967c7dfcc00d4313b0bfed68330 into PR head commit 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 Merge succeeded, producing 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 Checking out Revision 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 (PR-43) > 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/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # 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 d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T01:53:10.435Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T01:53:10.621Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T01:53:10.709Z] ========================================================= [2022-06-27T01:53:10.709Z] EdgeX Global Pipelines Version Info [2022-06-27T01:53:10.709Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T01:53:11.501Z] ------------------- [2022-06-27T01:53:11.501Z] stable info: [2022-06-27T01:53:11.501Z] ------------------- [2022-06-27T01:53:11.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T01:53:11.501Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T01:53:11.501Z] Message: update stable to v1.0.234 [2022-06-27T01:53:12.072Z] ------------------- [2022-06-27T01:53:12.072Z] experimental info: [2022-06-27T01:53:12.072Z] ------------------- [2022-06-27T01:53:12.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T01:53:12.072Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T01:53:12.073Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T01:53:12.447Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-27T01:53:12.492Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-27T01:53:12.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T01:53:12.570Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T01:53:12.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T01:53:12.650Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T01:53:12.685Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T01:53:12.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T01:53:12.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T01:53:12.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T01:53:12.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T01:53:12.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-27T01:53:12.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T01:53:12.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T01:53:13.037Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T01:53:13.079Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T01:53:13.122Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T01:53:13.170Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T01:53:13.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T01:53:13.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T01:53:13.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T01:53:13.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T01:53:13.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T01:53:13.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T01:53:13.489Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T01:53:13.531Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T01:53:13.572Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T01:53:13.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo [2022-06-27T01:53:13.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo [2022-06-27T01:53:13.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo [2022-06-27T01:53:13.744Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [Pipeline] echo [2022-06-27T01:53:13.784Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bf535f [Pipeline] echo [2022-06-27T01:53:13.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T01:53:13.953Z] provisioning config files... [2022-06-27T01:53:13.968Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config1538947955347582656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T01:53:14.366Z] ---> docker-login.sh [2022-06-27T01:53:14.366Z] nexus3.edgexfoundry.org:10001 [2022-06-27T01:53:14.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:14.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:14.627Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:14.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:14.627Z] [2022-06-27T01:53:14.627Z] Login Succeeded [2022-06-27T01:53:14.627Z] nexus3.edgexfoundry.org:10002 [2022-06-27T01:53:14.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:14.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:14.889Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:14.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:14.889Z] [2022-06-27T01:53:14.889Z] Login Succeeded [2022-06-27T01:53:14.889Z] nexus3.edgexfoundry.org:10003 [2022-06-27T01:53:14.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:14.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:14.889Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:14.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:14.889Z] [2022-06-27T01:53:14.889Z] Login Succeeded [2022-06-27T01:53:14.889Z] nexus3.edgexfoundry.org:10004 [2022-06-27T01:53:15.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:15.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:15.150Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:15.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:15.150Z] [2022-06-27T01:53:15.150Z] Login Succeeded [2022-06-27T01:53:15.150Z] docker.io [2022-06-27T01:53:15.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:15.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:15.410Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:15.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:15.410Z] [2022-06-27T01:53:15.410Z] Login Succeeded [2022-06-27T01:53:15.410Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T01:53:15.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T01:53:16.052Z] + git rev-list -1 --merges 8bf535f0ce4e380f32a4a208eac40e23dfd63f39~1..8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [Pipeline] echo [2022-06-27T01:53:16.101Z] -----------> git rev-list -1 --merges 8bf535f0ce4e380f32a4a208eac40e23dfd63f39~1..8bf535f0ce4e380f32a4a208eac40e23dfd63f39 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [false] [Pipeline] sh [2022-06-27T01:53:16.417Z] + git log --format=format:%s -1 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [Pipeline] echo [2022-06-27T01:53:16.451Z] ========================================================= [2022-06-27T01:53:16.451Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T01:53:16.451Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T01:53:16.872Z] + git log --format=format:%s -1 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [Pipeline] echo [2022-06-27T01:53:16.904Z] [semverPrep] GIT_COMMIT: 8bf535f0ce4e380f32a4a208eac40e23dfd63f39, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-06-27T01:53:16.937Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T01:53:17.308Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T01:53:17.308Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T01:53:17.308Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T01:53:17.308Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T01:53:17.308Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T01:53:17.308Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T01:53:17.308Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:53:17.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T01:53:17.736Z] [2022-06-27T01:53:17.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:53:18.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T01:53:18.125Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T01:53:18.125Z] 42c077c10790: Pulling fs layer [2022-06-27T01:53:18.125Z] f63e77b7563a: Pulling fs layer [2022-06-27T01:53:18.125Z] bd5fdadae976: Pulling fs layer [2022-06-27T01:53:18.125Z] 205491f53016: Pulling fs layer [2022-06-27T01:53:18.125Z] df18705c85c3: Pulling fs layer [2022-06-27T01:53:18.125Z] bdb3f477010e: Pulling fs layer [2022-06-27T01:53:18.125Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T01:53:18.125Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T01:53:18.125Z] bdb8f0575790: Pulling fs layer [2022-06-27T01:53:18.125Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T01:53:18.125Z] 2343380bae48: Pulling fs layer [2022-06-27T01:53:18.125Z] 205491f53016: Waiting [2022-06-27T01:53:18.125Z] 2c6e9b1d212d: Waiting [2022-06-27T01:53:18.125Z] df18705c85c3: Waiting [2022-06-27T01:53:18.125Z] bdb3f477010e: Waiting [2022-06-27T01:53:18.125Z] bdb8f0575790: Waiting [2022-06-27T01:53:18.125Z] 386e3cb2ff24: Waiting [2022-06-27T01:53:18.125Z] c8a8fc8e1c8f: Waiting [2022-06-27T01:53:18.125Z] 2343380bae48: Waiting [2022-06-27T01:53:18.125Z] f63e77b7563a: Download complete [2022-06-27T01:53:18.125Z] 205491f53016: Verifying Checksum [2022-06-27T01:53:18.125Z] 205491f53016: Download complete [2022-06-27T01:53:18.386Z] df18705c85c3: Verifying Checksum [2022-06-27T01:53:18.386Z] df18705c85c3: Download complete [2022-06-27T01:53:18.386Z] bdb3f477010e: Verifying Checksum [2022-06-27T01:53:18.386Z] bdb3f477010e: Download complete [2022-06-27T01:53:18.386Z] bd5fdadae976: Download complete [2022-06-27T01:53:18.386Z] 2c6e9b1d212d: Download complete [2022-06-27T01:53:18.386Z] bdb8f0575790: Verifying Checksum [2022-06-27T01:53:18.386Z] bdb8f0575790: Download complete [2022-06-27T01:53:18.386Z] 386e3cb2ff24: Download complete [2022-06-27T01:53:18.386Z] 2343380bae48: Verifying Checksum [2022-06-27T01:53:18.386Z] 2343380bae48: Download complete [2022-06-27T01:53:18.386Z] 42c077c10790: Download complete [2022-06-27T01:53:18.655Z] c8a8fc8e1c8f: Download complete [2022-06-27T01:53:20.054Z] 42c077c10790: Pull complete [2022-06-27T01:53:20.054Z] f63e77b7563a: Pull complete [2022-06-27T01:53:20.325Z] bd5fdadae976: Pull complete [2022-06-27T01:53:20.590Z] 205491f53016: Pull complete [2022-06-27T01:53:20.852Z] df18705c85c3: Pull complete [2022-06-27T01:53:20.852Z] bdb3f477010e: Pull complete [2022-06-27T01:53:22.767Z] c8a8fc8e1c8f: Pull complete [2022-06-27T01:53:22.767Z] 2c6e9b1d212d: Pull complete [2022-06-27T01:53:23.028Z] bdb8f0575790: Pull complete [2022-06-27T01:53:23.028Z] 386e3cb2ff24: Pull complete [2022-06-27T01:53:23.028Z] 2343380bae48: Pull complete [2022-06-27T01:53:23.028Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T01:53:23.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T01:53:23.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:53:23.523Z] prd-ubuntu20.04-docker-8c-8g-15660 does not seem to be running inside a container [2022-06-27T01:53:23.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-43 -v /w/workspace/edgexfoundry_device-gpio_PR-43:/w/workspace/edgexfoundry_device-gpio_PR-43:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-43@tmp:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T01:53:25.131Z] $ docker top f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d -eo pid,comm [2022-06-27T01:53:25.203Z] 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). [2022-06-27T01:53:25.203Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T01:53:25.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T01:53:25.319Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T01:53:25.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T01:53:25.439Z] $ docker exec f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d ssh-agent [2022-06-27T01:53:25.572Z] SSH_AUTH_SOCK=/tmp/ssh-jukK32IHCPWV/agent.32 [2022-06-27T01:53:25.572Z] SSH_AGENT_PID=39 [2022-06-27T01:53:25.579Z] Running ssh-add (command line suppressed) [2022-06-27T01:53:25.697Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_7424183418775323195.key (/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_7424183418775323195.key) [2022-06-27T01:53:25.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T01:53:26.054Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T01:53:26.078Z] $ docker exec --env ******** --env ******** f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d ssh-agent -k [2022-06-27T01:53:26.206Z] unset SSH_AUTH_SOCK; [2022-06-27T01:53:26.207Z] unset SSH_AGENT_PID; [2022-06-27T01:53:26.207Z] echo Agent pid 39 killed; [2022-06-27T01:53:26.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T01:53:26.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T01:53:26.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T01:53:26.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T01:53:26.444Z] $ docker exec f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d ssh-agent [2022-06-27T01:53:26.586Z] SSH_AUTH_SOCK=/tmp/ssh-pyM9yMlNJdIk/agent.72 [2022-06-27T01:53:26.586Z] SSH_AGENT_PID=79 [2022-06-27T01:53:26.592Z] Running ssh-add (command line suppressed) [2022-06-27T01:53:26.720Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_8603168126653405026.key (/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_8603168126653405026.key) [2022-06-27T01:53:26.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T01:53:27.072Z] + git semver init [2022-06-27T01:53:27.334Z] 2022-06-27 01:53:27,283 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T01:53:27.334Z] 2022-06-27 01:53:27,284 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-43/.semver [2022-06-27T01:53:27.334Z] 2022-06-27 01:53:27,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-43/.semver [2022-06-27T01:53:27.334Z] 2022-06-27 01:53:27,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-43/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-43, universal_newlines=False, shell=None, istream=None) [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,124 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-43/.git/info/exclude [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-43/.semver/PR-43 with force:False [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,125 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-43/.semver/PR-43 [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,129 [execute] INFO git cat-file --batch-check [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-43/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,136 [execute] INFO git cat-file --batch [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-43/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T01:53:28.279Z] 2022-06-27 01:53:28,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-43/.semver/PR-43 [2022-06-27T01:53:28.279Z] 0.0.0 [Pipeline] } [2022-06-27T01:53:28.306Z] $ docker exec --env ******** --env ******** f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d ssh-agent -k [2022-06-27T01:53:28.418Z] unset SSH_AUTH_SOCK; [2022-06-27T01:53:28.418Z] unset SSH_AGENT_PID; [2022-06-27T01:53:28.418Z] echo Agent pid 79 killed; [2022-06-27T01:53:28.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T01:53:28.854Z] + git semver [Pipeline] } [2022-06-27T01:53:29.142Z] $ docker stop --time=1 f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d [2022-06-27T01:53:30.468Z] $ docker rm -f f4ee09220bdb593c4ebb960d30fce910a0f5843e4f13a254eb3b418001215d0d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T01:53:30.887Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T01:53:31.198Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T01:53:31.216Z] [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 [2022-06-27T01:53:31.800Z] provisioning config files... [2022-06-27T01:53:31.810Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config6542600671350927977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T01:53:32.162Z] ---> docker-login.sh [2022-06-27T01:53:32.162Z] nexus3.edgexfoundry.org:10001 [2022-06-27T01:53:32.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:32.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:32.162Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:32.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:32.162Z] [2022-06-27T01:53:32.162Z] Login Succeeded [2022-06-27T01:53:32.162Z] nexus3.edgexfoundry.org:10002 [2022-06-27T01:53:32.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:32.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:32.423Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:32.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:32.423Z] [2022-06-27T01:53:32.423Z] Login Succeeded [2022-06-27T01:53:32.423Z] nexus3.edgexfoundry.org:10003 [2022-06-27T01:53:32.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:32.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:32.423Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:32.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:32.423Z] [2022-06-27T01:53:32.423Z] Login Succeeded [2022-06-27T01:53:32.423Z] nexus3.edgexfoundry.org:10004 [2022-06-27T01:53:32.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:32.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:32.683Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:32.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:32.683Z] [2022-06-27T01:53:32.683Z] Login Succeeded [2022-06-27T01:53:32.683Z] docker.io [2022-06-27T01:53:32.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:53:32.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:53:32.945Z] Configure a credential helper to remove this warning. See [2022-06-27T01:53:32.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:53:32.945Z] [2022-06-27T01:53:32.945Z] Login Succeeded [2022-06-27T01:53:32.945Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T01:53:32.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T01:53:33.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T01:53:33.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T01:53:33.226Z] ========================================================= [2022-06-27T01:53:33.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T01:53:33.226Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:53:33.703Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T01:53:33.703Z] Sending build context to Docker daemon 15.75MB [2022-06-27T01:53:33.703Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T01:53:33.703Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T01:53:33.968Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T01:53:33.968Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T01:53:33.968Z] 666ba61612fd: Pulling fs layer [2022-06-27T01:53:33.968Z] 8ed8ca486205: Pulling fs layer [2022-06-27T01:53:33.968Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T01:53:33.968Z] c516ae0d96e1: Pulling fs layer [2022-06-27T01:53:33.968Z] 684cea983483: Pulling fs layer [2022-06-27T01:53:33.968Z] dd3240ac7de5: Pulling fs layer [2022-06-27T01:53:33.968Z] b1e948a4e11c: Pulling fs layer [2022-06-27T01:53:33.968Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T01:53:33.968Z] 646ad004c059: Pulling fs layer [2022-06-27T01:53:33.968Z] dd3240ac7de5: Waiting [2022-06-27T01:53:33.968Z] b1e948a4e11c: Waiting [2022-06-27T01:53:33.968Z] c516ae0d96e1: Waiting [2022-06-27T01:53:33.968Z] 646ad004c059: Waiting [2022-06-27T01:53:33.968Z] a8fd76ee1af6: Waiting [2022-06-27T01:53:33.968Z] 684cea983483: Waiting [2022-06-27T01:53:33.968Z] cc1cd167ecdc: Waiting [2022-06-27T01:53:33.968Z] 8ed8ca486205: Download complete [2022-06-27T01:53:33.968Z] 666ba61612fd: Download complete [2022-06-27T01:53:33.968Z] c516ae0d96e1: Verifying Checksum [2022-06-27T01:53:33.969Z] c516ae0d96e1: Download complete [2022-06-27T01:53:33.969Z] 684cea983483: Verifying Checksum [2022-06-27T01:53:33.969Z] 684cea983483: Download complete [2022-06-27T01:53:33.969Z] dd3240ac7de5: Verifying Checksum [2022-06-27T01:53:33.969Z] dd3240ac7de5: Download complete [2022-06-27T01:53:33.969Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T01:53:33.969Z] 59bf1c3509f3: Download complete [2022-06-27T01:53:33.969Z] b1e948a4e11c: Verifying Checksum [2022-06-27T01:53:33.969Z] b1e948a4e11c: Download complete [2022-06-27T01:53:33.969Z] 59bf1c3509f3: Pull complete [2022-06-27T01:53:34.238Z] 666ba61612fd: Pull complete [2022-06-27T01:53:34.238Z] 8ed8ca486205: Pull complete [2022-06-27T01:53:34.820Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T01:53:34.820Z] a8fd76ee1af6: Download complete [2022-06-27T01:53:34.820Z] 646ad004c059: Verifying Checksum [2022-06-27T01:53:34.820Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T01:53:34.820Z] cc1cd167ecdc: Download complete [2022-06-27T01:53:39.034Z] cc1cd167ecdc: Pull complete [2022-06-27T01:53:39.034Z] c516ae0d96e1: Pull complete [2022-06-27T01:53:39.034Z] 684cea983483: Pull complete [2022-06-27T01:53:39.034Z] dd3240ac7de5: Pull complete [2022-06-27T01:53:39.034Z] b1e948a4e11c: Pull complete [2022-06-27T01:53:40.937Z] a8fd76ee1af6: Pull complete [2022-06-27T01:53:41.885Z] 646ad004c059: Pull complete [2022-06-27T01:53:41.885Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T01:53:41.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T01:53:41.885Z] ---> 8f69c11f6b0c [2022-06-27T01:53:41.885Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T01:53:43.276Z] ---> Running in 153f019bd22f [2022-06-27T01:53:43.536Z] Removing intermediate container 153f019bd22f [2022-06-27T01:53:43.536Z] ---> 231dd8ebaaa3 [2022-06-27T01:53:43.536Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T01:53:43.536Z] ---> Running in 3c26457a3bc7 [2022-06-27T01:53:43.536Z] Removing intermediate container 3c26457a3bc7 [2022-06-27T01:53:43.536Z] ---> 60de93de9509 [2022-06-27T01:53:43.536Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T01:53:43.536Z] ---> Running in 1515f6fbaec2 [2022-06-27T01:53:43.796Z] Removing intermediate container 1515f6fbaec2 [2022-06-27T01:53:43.796Z] ---> 795d1899f506 [2022-06-27T01:53:43.796Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T01:53:43.796Z] ---> Running in c921dd5129c3 [2022-06-27T01:53:43.796Z] Removing intermediate container c921dd5129c3 [2022-06-27T01:53:43.796Z] ---> dd5bc6f2f649 [2022-06-27T01:53:43.796Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T01:53:43.796Z] ---> Running in 0c02af46a194 [2022-06-27T01:53:44.372Z] Removing intermediate container 0c02af46a194 [2022-06-27T01:53:44.372Z] ---> f3dd967edb40 [2022-06-27T01:53:44.372Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T01:53:44.635Z] ---> Running in bb42cefbed22 [2022-06-27T01:53:44.896Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T01:53:45.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T01:53:45.842Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T01:53:46.102Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T01:53:46.102Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T01:53:46.102Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T01:53:46.364Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T01:53:46.364Z] OK: 224 MiB in 56 packages [2022-06-27T01:53:46.638Z] Still waiting to schedule task [2022-06-27T01:53:46.638Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15658’ [2022-06-27T01:53:46.936Z] Removing intermediate container bb42cefbed22 [2022-06-27T01:53:46.936Z] ---> 7b919af5aef7 [2022-06-27T01:53:46.936Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T01:53:46.936Z] ---> fa37d3f9274e [2022-06-27T01:53:46.936Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T01:53:46.936Z] ---> Running in 8c9c9ca833b5 [2022-06-27T01:54:05.064Z] Removing intermediate container 8c9c9ca833b5 [2022-06-27T01:54:05.064Z] ---> aa3675521d00 [2022-06-27T01:54:05.064Z] Step 11/12 : COPY . . [2022-06-27T01:54:05.064Z] ---> 2ec47c072a8c [2022-06-27T01:54:05.064Z] Step 12/12 : RUN ${MAKE} [2022-06-27T01:54:05.064Z] ---> Running in c00e782f6062 [2022-06-27T01:54:05.064Z] noop [2022-06-27T01:54:05.064Z] Removing intermediate container c00e782f6062 [2022-06-27T01:54:05.064Z] ---> 14ac8236a3a0 [2022-06-27T01:54:05.064Z] Successfully built 14ac8236a3a0 [2022-06-27T01:54:05.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:54:05.502Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T01:54:05.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:54:05.660Z] prd-ubuntu20.04-docker-8c-8g-15660 does not seem to be running inside a container [2022-06-27T01:54:05.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-43 -v /w/workspace/edgexfoundry_device-gpio_PR-43:/w/workspace/edgexfoundry_device-gpio_PR-43:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-43@tmp:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T01:54:06.097Z] $ docker top ad224133410accb756122535effef0589b6b3ecd4e7e277959e965d38b878837 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T01:54:06.498Z] + go version [2022-06-27T01:54:06.498Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T01:54:06.546Z] $ docker stop --time=1 ad224133410accb756122535effef0589b6b3ecd4e7e277959e965d38b878837 [2022-06-27T01:54:07.882Z] $ docker rm -f ad224133410accb756122535effef0589b6b3ecd4e7e277959e965d38b878837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:54:08.613Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T01:54:08.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:54:08.771Z] prd-ubuntu20.04-docker-8c-8g-15660 does not seem to be running inside a container [2022-06-27T01:54:08.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-43 -v /w/workspace/edgexfoundry_device-gpio_PR-43:/w/workspace/edgexfoundry_device-gpio_PR-43:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-43@tmp:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T01:54:09.192Z] $ docker top f4a216a65cc69d8b31383891ffa2ab2ca70251ef553669bcb7f405e23fc3e29d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T01:54:09.639Z] + make test [2022-06-27T01:54:09.639Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T01:54:09.901Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T01:54:18.036Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T01:54:18.036Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T01:54:24.605Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T01:54:27.895Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T01:54:27.895Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T01:54:27.895Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T01:54:28.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T01:54:28.531Z] $ docker stop --time=1 f4a216a65cc69d8b31383891ffa2ab2ca70251ef553669bcb7f405e23fc3e29d [2022-06-27T01:54:30.356Z] $ docker rm -f f4a216a65cc69d8b31383891ffa2ab2ca70251ef553669bcb7f405e23fc3e29d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T01:54:30.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T01:54:30.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T01:54:31.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T01:54:31.810Z] + ls -al . [2022-06-27T01:54:31.810Z] total 172 [2022-06-27T01:54:31.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 01:54 . [2022-06-27T01:54:31.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 01:53 .. [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 01:53 .dockerignore [2022-06-27T01:54:31.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 01:53 .git [2022-06-27T01:54:31.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:53 .github [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 01:53 .gitignore [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 01:53 .golangci.yml [2022-06-27T01:54:31.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 01:53 .semver [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 01:53 Attribution.txt [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 01:53 CHANGELOG.md [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 01:53 Dockerfile [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 01:53 GOVERNANCE.md [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 01:53 Jenkinsfile [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 01:53 LICENSE [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 01:53 Makefile [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 01:53 OWNERS.md [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 01:53 README.md [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 01:53 VERSION [2022-06-27T01:54:31.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 01:53 bin [2022-06-27T01:54:31.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:53 cmd [2022-06-27T01:54:31.810Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 01:54 coverage.out [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 3286 Jun 27 01:53 go.mod [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 47631 Jun 27 01:53 go.sum [2022-06-27T01:54:31.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:53 internal [2022-06-27T01:54:31.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:53 snap [2022-06-27T01:54:31.810Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 01:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:54:32.205Z] + 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=8bf535f0ce4e380f32a4a208eac40e23dfd63f39 --label arch=amd64 --label version=0.0.0 . [2022-06-27T01:54:32.205Z] Sending build context to Docker daemon 15.75MB [2022-06-27T01:54:32.205Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T01:54:32.205Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T01:54:32.205Z] ---> 14ac8236a3a0 [2022-06-27T01:54:32.205Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T01:54:32.485Z] ---> Running in c777af5a2267 [2022-06-27T01:54:32.485Z] Removing intermediate container c777af5a2267 [2022-06-27T01:54:32.485Z] ---> 5a11d4b4898f [2022-06-27T01:54:32.485Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T01:54:32.485Z] ---> Running in 721080d5084b [2022-06-27T01:54:32.485Z] Removing intermediate container 721080d5084b [2022-06-27T01:54:32.485Z] ---> 856a32962705 [2022-06-27T01:54:32.485Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T01:54:32.745Z] ---> Running in 3af2787c8075 [2022-06-27T01:54:32.745Z] Removing intermediate container 3af2787c8075 [2022-06-27T01:54:32.745Z] ---> 0ff35621f7eb [2022-06-27T01:54:32.745Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T01:54:32.745Z] ---> Running in b7577bf78e38 [2022-06-27T01:54:32.745Z] Removing intermediate container b7577bf78e38 [2022-06-27T01:54:32.745Z] ---> 17e8240a9c73 [2022-06-27T01:54:32.745Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T01:54:33.006Z] ---> Running in 921ebc3651f9 [2022-06-27T01:54:33.576Z] Removing intermediate container 921ebc3651f9 [2022-06-27T01:54:33.576Z] ---> 3a0cc0f5e677 [2022-06-27T01:54:33.576Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T01:54:33.576Z] ---> Running in e312dfe1cd51 [2022-06-27T01:54:33.835Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T01:54:34.775Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T01:54:34.775Z] OK: 224 MiB in 56 packages [2022-06-27T01:54:35.343Z] Removing intermediate container e312dfe1cd51 [2022-06-27T01:54:35.343Z] ---> 84c485a0eb84 [2022-06-27T01:54:35.343Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T01:54:35.343Z] ---> 27b9fcf66a77 [2022-06-27T01:54:35.343Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T01:54:35.343Z] ---> Running in e4f0428df993 [2022-06-27T01:54:36.283Z] Removing intermediate container e4f0428df993 [2022-06-27T01:54:36.283Z] ---> 1c90a083f94e [2022-06-27T01:54:36.283Z] Step 11/26 : COPY . . [2022-06-27T01:54:36.543Z] ---> 876db3490cf3 [2022-06-27T01:54:36.543Z] Step 12/26 : RUN ${MAKE} [2022-06-27T01:54:36.543Z] ---> Running in ba73faf828c5 [2022-06-27T01:54:36.803Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T01:54:54.897Z] Removing intermediate container ba73faf828c5 [2022-06-27T01:54:54.897Z] ---> 5ddd58a926b1 [2022-06-27T01:54:54.897Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T01:54:55.469Z] 3.15: Pulling from library/alpine [2022-06-27T01:54:55.469Z] df9b9388f04a: Pulling fs layer [2022-06-27T01:54:55.730Z] df9b9388f04a: Verifying Checksum [2022-06-27T01:54:55.730Z] df9b9388f04a: Download complete [2022-06-27T01:54:55.992Z] df9b9388f04a: Pull complete [2022-06-27T01:54:55.992Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T01:54:55.992Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T01:54:55.992Z] ---> 0ac33e5f5afa [2022-06-27T01:54:55.992Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T01:54:55.992Z] ---> Running in 9324572d4cc2 [2022-06-27T01:54:55.992Z] Removing intermediate container 9324572d4cc2 [2022-06-27T01:54:55.992Z] ---> 37201c6844f4 [2022-06-27T01:54:55.992Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T01:54:56.253Z] ---> Running in 3cc44a522fbd [2022-06-27T01:54:56.823Z] Removing intermediate container 3cc44a522fbd [2022-06-27T01:54:56.823Z] ---> 87b39b0e7343 [2022-06-27T01:54:56.823Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T01:54:56.823Z] ---> Running in 5dac2708be55 [2022-06-27T01:54:57.083Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T01:54:58.022Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T01:54:58.023Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T01:54:58.283Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T01:54:58.283Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T01:54:58.283Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T01:54:58.544Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T01:54:58.544Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T01:54:58.544Z] OK: 8 MiB in 19 packages [2022-06-27T01:54:59.117Z] Removing intermediate container 5dac2708be55 [2022-06-27T01:54:59.117Z] ---> 6bf7f920bec7 [2022-06-27T01:54:59.117Z] Step 17/26 : WORKDIR / [2022-06-27T01:54:59.117Z] ---> Running in c2d77a183a8c [2022-06-27T01:54:59.117Z] Removing intermediate container c2d77a183a8c [2022-06-27T01:54:59.117Z] ---> ee57118b0304 [2022-06-27T01:54:59.117Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T01:54:59.378Z] ---> 3525de096380 [2022-06-27T01:54:59.378Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T01:54:59.378Z] ---> 2fcf3b7cbb7d [2022-06-27T01:54:59.378Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T01:54:59.949Z] ---> 0a9684baed55 [2022-06-27T01:54:59.949Z] Step 21/26 : EXPOSE 59910 [2022-06-27T01:54:59.949Z] ---> Running in 14766133b924 [2022-06-27T01:55:00.210Z] Removing intermediate container 14766133b924 [2022-06-27T01:55:00.210Z] ---> 3ac8ce3f7c9b [2022-06-27T01:55:00.210Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T01:55:00.210Z] ---> Running in d8a76716d405 [2022-06-27T01:55:00.210Z] Removing intermediate container d8a76716d405 [2022-06-27T01:55:00.210Z] ---> 039982d530e5 [2022-06-27T01:55:00.210Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T01:55:00.210Z] ---> Running in 2b63864c0f7c [2022-06-27T01:55:00.475Z] Removing intermediate container 2b63864c0f7c [2022-06-27T01:55:00.475Z] ---> 3b9c200bad4f [2022-06-27T01:55:00.475Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T01:55:00.475Z] ---> Running in fbc1338a6da5 [2022-06-27T01:55:00.475Z] Removing intermediate container fbc1338a6da5 [2022-06-27T01:55:00.475Z] ---> b83e197525ed [2022-06-27T01:55:00.475Z] Step 25/26 : LABEL git_sha=8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [2022-06-27T01:55:00.736Z] ---> Running in 5d203938766c [2022-06-27T01:55:00.736Z] Removing intermediate container 5d203938766c [2022-06-27T01:55:00.736Z] ---> 363b489e7081 [2022-06-27T01:55:00.736Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T01:55:00.736Z] ---> Running in 5beaaac148a0 [2022-06-27T01:55:00.996Z] Removing intermediate container 5beaaac148a0 [2022-06-27T01:55:00.996Z] ---> c593e8868604 [2022-06-27T01:55:00.996Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T01:55:00.996Z] Successfully built c593e8868604 [2022-06-27T01:55:00.996Z] 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 [2022-06-27T01:55:01.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T01:55:01.849Z] [2022-06-27T01:55:01.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:55:02.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T01:55:02.234Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T01:55:02.234Z] 5eb5b503b376: Pulling fs layer [2022-06-27T01:55:02.234Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T01:55:02.234Z] ec43610c2a17: Pulling fs layer [2022-06-27T01:55:02.234Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T01:55:02.234Z] 33b1e0a273af: Pulling fs layer [2022-06-27T01:55:02.234Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T01:55:02.234Z] 2f39f015ded8: Pulling fs layer [2022-06-27T01:55:02.234Z] 3a2ae6a8a46f: Waiting [2022-06-27T01:55:02.234Z] 33b1e0a273af: Waiting [2022-06-27T01:55:02.234Z] 5d3b04190fa2: Waiting [2022-06-27T01:55:02.234Z] 2f39f015ded8: Waiting [2022-06-27T01:55:02.234Z] 5c69ac0246d0: Download complete [2022-06-27T01:55:02.234Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T01:55:02.234Z] 3a2ae6a8a46f: Download complete [2022-06-27T01:55:02.234Z] 33b1e0a273af: Verifying Checksum [2022-06-27T01:55:02.234Z] 33b1e0a273af: Download complete [2022-06-27T01:55:02.234Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T01:55:02.234Z] 5d3b04190fa2: Download complete [2022-06-27T01:55:02.493Z] ec43610c2a17: Download complete [2022-06-27T01:55:02.493Z] 5eb5b503b376: Download complete [2022-06-27T01:55:03.062Z] 2f39f015ded8: Verifying Checksum [2022-06-27T01:55:03.062Z] 2f39f015ded8: Download complete [2022-06-27T01:55:03.628Z] 5eb5b503b376: Pull complete [2022-06-27T01:55:03.887Z] 5c69ac0246d0: Pull complete [2022-06-27T01:55:04.145Z] ec43610c2a17: Pull complete [2022-06-27T01:55:04.405Z] 3a2ae6a8a46f: Pull complete [2022-06-27T01:55:04.666Z] 33b1e0a273af: Pull complete [2022-06-27T01:55:04.666Z] 5d3b04190fa2: Pull complete [2022-06-27T01:55:08.857Z] 2f39f015ded8: Pull complete [2022-06-27T01:55:08.857Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T01:55:08.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T01:55:08.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:55:09.091Z] prd-ubuntu20.04-docker-8c-8g-15660 does not seem to be running inside a container [2022-06-27T01:55:09.133Z] $ 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-43 -v /w/workspace/edgexfoundry_device-gpio_PR-43:/w/workspace/edgexfoundry_device-gpio_PR-43:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-43@tmp:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T01:55:11.108Z] $ docker top eff435e53ab1f425b349f76fc3f8cde1660256aa8ab7164fa973cdaaef9d840e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T01:55:11.565Z] ---> job-cost.sh [2022-06-27T01:55:11.565Z] lf-activate-venv: SKIPPING [2022-06-27T01:55:11.565Z] INFO: No Stack... [2022-06-27T01:55:11.826Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T01:55:12.397Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T01:55:12.713Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-43/archives/cost.csv [2022-06-27T01:55:12.713Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T01:55:12.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [2022-06-27T01:55:12.758Z] Resource [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] did not exist. Created. [2022-06-27T01:55:12.758Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T01:55:13.161Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T01:55:13.230Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T01:55:13.246Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T01:55:13.320Z] $ docker stop --time=1 eff435e53ab1f425b349f76fc3f8cde1660256aa8ab7164fa973cdaaef9d840e [2022-06-27T01:55:14.492Z] $ docker rm -f eff435e53ab1f425b349f76fc3f8cde1660256aa8ab7164fa973cdaaef9d840e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T01:56:15.792Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15662 in /w/workspace/edgexfoundry_device-gpio_PR-43 [Pipeline] { [Pipeline] ws [2022-06-27T01:56:15.830Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-06-27T01:56:15.925Z] The recommended git tool is: git [2022-06-27T01:56:22.659Z] using credential edgex-jenkins-ssh [2022-06-27T01:56:22.679Z] Cloning the remote Git repository [2022-06-27T01:56:22.744Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-27T01:56:22.828Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-06-27T01:56:22.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T01:56:22.901Z] > git --version # timeout=10 [2022-06-27T01:56:22.924Z] > git --version # 'git version 2.25.1' [2022-06-27T01:56:22.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T01:56:23.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T01:56:24.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T01:56:24.694Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T01:56:24.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T01:56:24.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T01:56:24.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T01:56:24.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T01:56:25.269Z] Merging remotes/origin/main commit d2f889f2e6331967c7dfcc00d4313b0bfed68330 into PR head commit 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [2022-06-27T01:56:25.492Z] Merge succeeded, producing 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [2022-06-27T01:56:25.493Z] Checking out Revision 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 (PR-43) [2022-06-27T01:56:25.292Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T01:56:25.310Z] > git checkout -f 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 [2022-06-27T01:56:25.402Z] > git remote # timeout=10 [2022-06-27T01:56:25.422Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T01:56:25.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T01:56:25.449Z] > git merge d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 [2022-06-27T01:56:25.477Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T01:56:25.503Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T01:56:25.518Z] > git checkout -f 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 [2022-06-27T01:56:29.772Z] Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" [2022-06-27T01:56:29.831Z] > git --version # timeout=10 [2022-06-27T01:56:29.841Z] > git --version # 'git version 2.25.1' [2022-06-27T01:56:29.855Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T01:56:30.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T01:56:30.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T01:56:30.954Z] Dload Upload Total Spent Left Speed [2022-06-27T01:56:30.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh [2022-06-27T01:56:31.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T01:56:32.256Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T01:56:32.256Z] + sudo tee /etc/docker/daemon.new [2022-06-27T01:56:32.256Z] { [2022-06-27T01:56:32.256Z] "registry-mirrors": [ [2022-06-27T01:56:32.256Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T01:56:32.256Z] ], [2022-06-27T01:56:32.256Z] "bip": "10.250.0.254/24", [2022-06-27T01:56:32.256Z] "hosts": [ [2022-06-27T01:56:32.256Z] "tcp://0.0.0.0:5555", [2022-06-27T01:56:32.256Z] "unix:///var/run/docker.sock" [2022-06-27T01:56:32.256Z] ], [2022-06-27T01:56:32.256Z] "mtu": 1458, [2022-06-27T01:56:32.256Z] "selinux-enabled": true, [2022-06-27T01:56:32.256Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T01:56:32.256Z] } [Pipeline] sh [2022-06-27T01:56:32.620Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T01:56:32.989Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T01:56:51.413Z] provisioning config files... [2022-06-27T01:56:51.439Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config7829399424668516373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T01:56:51.844Z] ---> docker-login.sh [2022-06-27T01:56:51.844Z] nexus3.edgexfoundry.org:10001 [2022-06-27T01:56:52.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:56:52.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:56:52.718Z] Configure a credential helper to remove this warning. See [2022-06-27T01:56:52.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:56:52.718Z] [2022-06-27T01:56:52.718Z] Login Succeeded [2022-06-27T01:56:52.718Z] nexus3.edgexfoundry.org:10002 [2022-06-27T01:56:52.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:56:53.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:56:53.265Z] Configure a credential helper to remove this warning. See [2022-06-27T01:56:53.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:56:53.265Z] [2022-06-27T01:56:53.265Z] Login Succeeded [2022-06-27T01:56:53.265Z] nexus3.edgexfoundry.org:10003 [2022-06-27T01:56:53.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:56:53.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:56:53.817Z] Configure a credential helper to remove this warning. See [2022-06-27T01:56:53.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:56:53.817Z] [2022-06-27T01:56:53.817Z] Login Succeeded [2022-06-27T01:56:53.817Z] nexus3.edgexfoundry.org:10004 [2022-06-27T01:56:54.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:56:54.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:56:54.090Z] Configure a credential helper to remove this warning. See [2022-06-27T01:56:54.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:56:54.090Z] [2022-06-27T01:56:54.369Z] Login Succeeded [2022-06-27T01:56:54.369Z] docker.io [2022-06-27T01:56:54.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T01:56:54.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T01:56:54.915Z] Configure a credential helper to remove this warning. See [2022-06-27T01:56:54.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T01:56:54.915Z] [2022-06-27T01:56:54.915Z] Login Succeeded [2022-06-27T01:56:54.915Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T01:56:54.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T01:56:55.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T01:56:55.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T01:56:55.406Z] ========================================================= [2022-06-27T01:56:55.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T01:56:55.406Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:56:55.909Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T01:56:56.184Z] Sending build context to Docker daemon 7.944MB [2022-06-27T01:56:56.462Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T01:56:56.462Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T01:56:56.462Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T01:56:56.462Z] 9b3977197b4f: Pulling fs layer [2022-06-27T01:56:56.462Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T01:56:56.462Z] 94645a83ff95: Pulling fs layer [2022-06-27T01:56:56.462Z] e6fb740bc735: Pulling fs layer [2022-06-27T01:56:56.462Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T01:56:56.462Z] 355e64cbe906: Pulling fs layer [2022-06-27T01:56:56.462Z] 63ab81a10011: Pulling fs layer [2022-06-27T01:56:56.462Z] 555d1d1c4555: Pulling fs layer [2022-06-27T01:56:56.462Z] 7d9057610161: Pulling fs layer [2022-06-27T01:56:56.462Z] e6fb740bc735: Waiting [2022-06-27T01:56:56.462Z] 63ab81a10011: Waiting [2022-06-27T01:56:56.462Z] 3a77bd46dcc9: Waiting [2022-06-27T01:56:56.462Z] 355e64cbe906: Waiting [2022-06-27T01:56:56.462Z] 555d1d1c4555: Waiting [2022-06-27T01:56:56.462Z] 7d9057610161: Waiting [2022-06-27T01:56:56.462Z] 94645a83ff95: Verifying Checksum [2022-06-27T01:56:56.462Z] 94645a83ff95: Download complete [2022-06-27T01:56:56.462Z] 1a89e8eeedd5: Download complete [2022-06-27T01:56:56.462Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T01:56:56.462Z] 3a77bd46dcc9: Download complete [2022-06-27T01:56:56.750Z] 355e64cbe906: Verifying Checksum [2022-06-27T01:56:56.750Z] 355e64cbe906: Download complete [2022-06-27T01:56:56.750Z] 9b3977197b4f: Verifying Checksum [2022-06-27T01:56:56.750Z] 9b3977197b4f: Download complete [2022-06-27T01:56:56.750Z] 63ab81a10011: Verifying Checksum [2022-06-27T01:56:56.750Z] 63ab81a10011: Download complete [2022-06-27T01:56:57.750Z] 9b3977197b4f: Pull complete [2022-06-27T01:56:57.750Z] 7d9057610161: Verifying Checksum [2022-06-27T01:56:57.750Z] 7d9057610161: Download complete [2022-06-27T01:56:58.029Z] 1a89e8eeedd5: Pull complete [2022-06-27T01:56:58.630Z] 94645a83ff95: Pull complete [2022-06-27T01:56:58.904Z] 555d1d1c4555: Download complete [2022-06-27T01:56:59.498Z] e6fb740bc735: Verifying Checksum [2022-06-27T01:56:59.498Z] e6fb740bc735: Download complete [2022-06-27T01:57:11.903Z] e6fb740bc735: Pull complete [2022-06-27T01:57:11.903Z] 3a77bd46dcc9: Pull complete [2022-06-27T01:57:11.903Z] 355e64cbe906: Pull complete [2022-06-27T01:57:11.903Z] 63ab81a10011: Pull complete [2022-06-27T01:57:18.624Z] 555d1d1c4555: Pull complete [2022-06-27T01:57:20.070Z] 7d9057610161: Pull complete [2022-06-27T01:57:20.070Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T01:57:20.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T01:57:20.070Z] ---> 819e984ddca1 [2022-06-27T01:57:20.070Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T01:57:22.060Z] ---> Running in 28f3b6a861d4 [2022-06-27T01:57:22.368Z] Removing intermediate container 28f3b6a861d4 [2022-06-27T01:57:22.368Z] ---> 26e3fbf1a375 [2022-06-27T01:57:22.368Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T01:57:22.368Z] ---> Running in d3207e8a222c [2022-06-27T01:57:22.642Z] Removing intermediate container d3207e8a222c [2022-06-27T01:57:22.642Z] ---> f48697045995 [2022-06-27T01:57:22.642Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T01:57:22.919Z] ---> Running in 71fe66897c50 [2022-06-27T01:57:24.354Z] Removing intermediate container 71fe66897c50 [2022-06-27T01:57:24.354Z] ---> bbe716cfb42d [2022-06-27T01:57:24.354Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T01:57:24.354Z] ---> Running in 4f3519d9c560 [2022-06-27T01:57:24.637Z] Removing intermediate container 4f3519d9c560 [2022-06-27T01:57:24.637Z] ---> 7ba1c86460ec [2022-06-27T01:57:24.637Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T01:57:24.637Z] ---> Running in d904b19f23c7 [2022-06-27T01:57:26.621Z] Removing intermediate container d904b19f23c7 [2022-06-27T01:57:26.621Z] ---> f77758eb2ff6 [2022-06-27T01:57:26.621Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T01:57:26.621Z] ---> Running in 6f1d1b805ff4 [2022-06-27T01:57:27.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T01:57:28.594Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T01:57:29.578Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T01:57:29.578Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T01:57:29.578Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T01:57:29.864Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T01:57:29.864Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T01:57:29.864Z] OK: 224 MiB in 56 packages [2022-06-27T01:57:30.855Z] Removing intermediate container 6f1d1b805ff4 [2022-06-27T01:57:30.855Z] ---> 5f6dac5cb724 [2022-06-27T01:57:30.855Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T01:57:31.456Z] ---> 4af7407e338b [2022-06-27T01:57:31.456Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T01:57:31.456Z] ---> Running in 5b0e3c3d0f82 [2022-06-27T01:58:39.519Z] Removing intermediate container 5b0e3c3d0f82 [2022-06-27T01:58:39.519Z] ---> 2b67cad8854b [2022-06-27T01:58:39.519Z] Step 11/12 : COPY . . [2022-06-27T01:58:39.519Z] ---> 7e86820845f4 [2022-06-27T01:58:39.519Z] Step 12/12 : RUN ${MAKE} [2022-06-27T01:58:39.519Z] ---> Running in 3c5a0bf460b0 [2022-06-27T01:58:39.519Z] noop [2022-06-27T01:58:39.519Z] Removing intermediate container 3c5a0bf460b0 [2022-06-27T01:58:39.519Z] ---> 132d57dcac62 [2022-06-27T01:58:39.519Z] Successfully built 132d57dcac62 [2022-06-27T01:58:39.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:58:40.003Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T01:58:40.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:58:40.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container [2022-06-27T01:58:40.409Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T01:58:41.729Z] $ docker top d3fc9054664d94440c1517a3722bbe5eeafbb9e176ecf23cc865f3fdc514c1ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T01:58:42.704Z] + go version [2022-06-27T01:58:42.704Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T01:58:42.743Z] $ docker stop --time=1 d3fc9054664d94440c1517a3722bbe5eeafbb9e176ecf23cc865f3fdc514c1ab [2022-06-27T01:58:44.418Z] $ docker rm -f d3fc9054664d94440c1517a3722bbe5eeafbb9e176ecf23cc865f3fdc514c1ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T01:58:45.346Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T01:58:45.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T01:58:45.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container [2022-06-27T01:58:45.756Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T01:58:47.057Z] $ docker top a1275a8227efc32c17d6ce6df9f45fa397f82a3d9d8fbc0595bc8865a7b16359 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T01:58:48.043Z] + make test [2022-06-27T01:58:48.043Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T01:58:49.493Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T02:00:11.372Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T02:00:11.372Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T02:00:11.372Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T02:00:11.372Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:00:43.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:00:43.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:00:43.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:00:44.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:00:44.441Z] $ docker stop --time=1 a1275a8227efc32c17d6ce6df9f45fa397f82a3d9d8fbc0595bc8865a7b16359 [2022-06-27T02:00:46.283Z] $ docker rm -f a1275a8227efc32c17d6ce6df9f45fa397f82a3d9d8fbc0595bc8865a7b16359 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:00:47.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:00:47.379Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T02:00:47.879Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:00:48.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:00:48.854Z] + ls -al . [2022-06-27T02:00:48.855Z] total 168 [2022-06-27T02:00:48.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:00 . [2022-06-27T02:00:48.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 01:56 .. [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 01:56 .dockerignore [2022-06-27T02:00:48.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 01:56 .git [2022-06-27T02:00:48.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:56 .github [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 01:56 .gitignore [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 01:56 .golangci.yml [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 01:56 Attribution.txt [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 01:56 CHANGELOG.md [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 01:56 Dockerfile [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 01:56 GOVERNANCE.md [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 01:56 Jenkinsfile [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 01:56 LICENSE [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 01:56 Makefile [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 01:56 OWNERS.md [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 01:56 README.md [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 01:53 VERSION [2022-06-27T02:00:48.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 01:56 bin [2022-06-27T02:00:48.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:56 cmd [2022-06-27T02:00:48.855Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 01:58 coverage.out [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 3286 Jun 27 01:56 go.mod [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 47631 Jun 27 01:56 go.sum [2022-06-27T02:00:48.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:56 internal [2022-06-27T02:00:48.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 01:56 snap [2022-06-27T02:00:48.855Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:00:49.291Z] + 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=8bf535f0ce4e380f32a4a208eac40e23dfd63f39 --label arch=arm64 --label version=0.0.0 . [2022-06-27T02:00:49.567Z] Sending build context to Docker daemon 7.945MB [2022-06-27T02:00:49.841Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:00:49.842Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T02:00:49.842Z] ---> 132d57dcac62 [2022-06-27T02:00:49.842Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T02:00:49.842Z] ---> Running in e5acd5cd9f0e [2022-06-27T02:00:50.116Z] Removing intermediate container e5acd5cd9f0e [2022-06-27T02:00:50.116Z] ---> e31907a41e06 [2022-06-27T02:00:50.116Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:00:50.398Z] ---> Running in 1176ce8ef28a [2022-06-27T02:00:50.675Z] Removing intermediate container 1176ce8ef28a [2022-06-27T02:00:50.675Z] ---> 53143a18e5bb [2022-06-27T02:00:50.675Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:00:50.675Z] ---> Running in ea78c4ef81e0 [2022-06-27T02:00:50.949Z] Removing intermediate container ea78c4ef81e0 [2022-06-27T02:00:50.949Z] ---> 6aa0c3da947b [2022-06-27T02:00:50.949Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T02:00:50.949Z] ---> Running in 18b2d09218b5 [2022-06-27T02:00:51.230Z] Removing intermediate container 18b2d09218b5 [2022-06-27T02:00:51.230Z] ---> e974d3ec359b [2022-06-27T02:00:51.230Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:00:51.512Z] ---> Running in 3e5551330ecb [2022-06-27T02:00:52.948Z] Removing intermediate container 3e5551330ecb [2022-06-27T02:00:52.948Z] ---> 82070e9c9115 [2022-06-27T02:00:52.948Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:00:52.948Z] ---> Running in 53ada269eb40 [2022-06-27T02:00:53.927Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:00:54.908Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:00:55.892Z] OK: 224 MiB in 56 packages [2022-06-27T02:00:56.487Z] Removing intermediate container 53ada269eb40 [2022-06-27T02:00:56.487Z] ---> 732c40fdc993 [2022-06-27T02:00:56.487Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T02:00:57.084Z] ---> 4a3a0b9da520 [2022-06-27T02:00:57.084Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:00:57.084Z] ---> Running in fbcc30cb04d1 [2022-06-27T02:00:59.065Z] Removing intermediate container fbcc30cb04d1 [2022-06-27T02:00:59.065Z] ---> a0d148ee76f4 [2022-06-27T02:00:59.065Z] Step 11/26 : COPY . . [2022-06-27T02:01:00.042Z] ---> e2ae638a6253 [2022-06-27T02:01:00.043Z] Step 12/26 : RUN ${MAKE} [2022-06-27T02:01:00.043Z] ---> Running in 17f237d5824a [2022-06-27T02:01:01.025Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T02:03:07.930Z] Removing intermediate container 17f237d5824a [2022-06-27T02:03:07.930Z] ---> 8fc1f2dca3fc [2022-06-27T02:03:07.930Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T02:03:07.930Z] 3.15: Pulling from library/alpine [2022-06-27T02:03:07.930Z] 9981e73032c8: Pulling fs layer [2022-06-27T02:03:07.930Z] 9981e73032c8: Download complete [2022-06-27T02:03:07.930Z] 9981e73032c8: Pull complete [2022-06-27T02:03:07.930Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T02:03:07.930Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T02:03:07.930Z] ---> 3fb3c9af89a9 [2022-06-27T02:03:07.930Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T02:03:07.930Z] ---> Running in 2f635ccf91b5 [2022-06-27T02:03:07.930Z] Removing intermediate container 2f635ccf91b5 [2022-06-27T02:03:07.930Z] ---> d4147fa264b4 [2022-06-27T02:03:07.930Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:03:07.930Z] ---> Running in f222a40f9ca3 [2022-06-27T02:03:08.924Z] Removing intermediate container f222a40f9ca3 [2022-06-27T02:03:08.924Z] ---> ea96fd8338d4 [2022-06-27T02:03:08.924Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T02:03:08.924Z] ---> Running in e515ef4e0f88 [2022-06-27T02:03:09.906Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:03:10.888Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:03:11.865Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T02:03:11.865Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T02:03:11.865Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T02:03:12.144Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T02:03:12.144Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T02:03:12.144Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T02:03:12.144Z] OK: 8 MiB in 19 packages [2022-06-27T02:03:13.128Z] Removing intermediate container e515ef4e0f88 [2022-06-27T02:03:13.128Z] ---> f04f353ac2e2 [2022-06-27T02:03:13.128Z] Step 17/26 : WORKDIR / [2022-06-27T02:03:13.128Z] ---> Running in b8a1024119d5 [2022-06-27T02:03:13.404Z] Removing intermediate container b8a1024119d5 [2022-06-27T02:03:13.404Z] ---> e8816f9750c4 [2022-06-27T02:03:13.404Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T02:03:14.006Z] ---> 85cdb1e2b52c [2022-06-27T02:03:14.006Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T02:03:14.603Z] ---> 0f86f1e98084 [2022-06-27T02:03:14.603Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T02:03:16.043Z] ---> 79c2177f0885 [2022-06-27T02:03:16.043Z] Step 21/26 : EXPOSE 59910 [2022-06-27T02:03:16.043Z] ---> Running in c26e43552673 [2022-06-27T02:03:16.324Z] Removing intermediate container c26e43552673 [2022-06-27T02:03:16.324Z] ---> ab187bcfd622 [2022-06-27T02:03:16.324Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T02:03:16.597Z] ---> Running in 803c92d66994 [2022-06-27T02:03:16.868Z] Removing intermediate container 803c92d66994 [2022-06-27T02:03:16.869Z] ---> a191f990f4e7 [2022-06-27T02:03:16.869Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:03:16.869Z] ---> Running in 5bd413668227 [2022-06-27T02:03:17.143Z] Removing intermediate container 5bd413668227 [2022-06-27T02:03:17.143Z] ---> 11e2eea2e351 [2022-06-27T02:03:17.143Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T02:03:17.143Z] ---> Running in 0bab9b7f3ebc [2022-06-27T02:03:17.424Z] Removing intermediate container 0bab9b7f3ebc [2022-06-27T02:03:17.424Z] ---> 7fd29b3e0dd3 [2022-06-27T02:03:17.424Z] Step 25/26 : LABEL git_sha=8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [2022-06-27T02:03:17.701Z] ---> Running in 46bb0874c567 [2022-06-27T02:03:17.975Z] Removing intermediate container 46bb0874c567 [2022-06-27T02:03:17.975Z] ---> bb01ea0a1f9e [2022-06-27T02:03:17.975Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T02:03:17.975Z] ---> Running in a7db215512f7 [2022-06-27T02:03:18.247Z] Removing intermediate container a7db215512f7 [2022-06-27T02:03:18.247Z] ---> 020f4ea728a9 [2022-06-27T02:03:18.247Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:03:18.247Z] Successfully built 020f4ea728a9 [2022-06-27T02:03:18.247Z] 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 [2022-06-27T02:03:19.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:03:19.038Z] [2022-06-27T02:03:19.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:03:19.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:03:19.727Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T02:03:19.727Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T02:03:19.727Z] 04944245beec: Pulling fs layer [2022-06-27T02:03:19.727Z] 699f458cf7ca: Pulling fs layer [2022-06-27T02:03:19.727Z] 765212b225bb: Pulling fs layer [2022-06-27T02:03:19.727Z] f23df028b6ca: Pulling fs layer [2022-06-27T02:03:19.727Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T02:03:19.727Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T02:03:19.727Z] 765212b225bb: Waiting [2022-06-27T02:03:19.727Z] f23df028b6ca: Waiting [2022-06-27T02:03:19.727Z] d65c8cfc05b1: Waiting [2022-06-27T02:03:19.727Z] 04944245beec: Verifying Checksum [2022-06-27T02:03:19.727Z] 04944245beec: Download complete [2022-06-27T02:03:19.727Z] 765212b225bb: Verifying Checksum [2022-06-27T02:03:19.727Z] 765212b225bb: Download complete [2022-06-27T02:03:19.727Z] f23df028b6ca: Verifying Checksum [2022-06-27T02:03:19.727Z] f23df028b6ca: Download complete [2022-06-27T02:03:19.727Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T02:03:19.727Z] d65c8cfc05b1: Download complete [2022-06-27T02:03:20.002Z] 699f458cf7ca: Verifying Checksum [2022-06-27T02:03:20.002Z] 699f458cf7ca: Download complete [2022-06-27T02:03:20.280Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T02:03:20.280Z] 8998bd30e6a1: Download complete [2022-06-27T02:03:22.263Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T02:03:22.263Z] 2437ff75d9bd: Download complete [2022-06-27T02:03:24.895Z] 8998bd30e6a1: Pull complete [2022-06-27T02:03:24.895Z] 04944245beec: Pull complete [2022-06-27T02:03:26.385Z] 699f458cf7ca: Pull complete [2022-06-27T02:03:26.660Z] 765212b225bb: Pull complete [2022-06-27T02:03:27.259Z] f23df028b6ca: Pull complete [2022-06-27T02:03:27.533Z] d65c8cfc05b1: Pull complete [2022-06-27T02:03:42.641Z] 2437ff75d9bd: Pull complete [2022-06-27T02:03:42.641Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T02:03:42.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:03:42.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:03:43.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container [2022-06-27T02:03:43.214Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T02:03:45.873Z] $ docker top 6a867bbb1739736f287fb8db0fa9e54546efca9fed23ddc2c9a666097c4fe681 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:46.855Z] ---> job-cost.sh [2022-06-27T02:03:46.855Z] lf-activate-venv: SKIPPING [2022-06-27T02:03:46.855Z] INFO: No Stack... [2022-06-27T02:03:47.127Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T02:03:48.101Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:03:48.772Z] + cut -d, -f6 [2022-06-27T02:03:48.772Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-06-27T02:03:48.855Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [2022-06-27T02:03:48.860Z] Resource [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] did not exist. Created. [2022-06-27T02:03:48.860Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:03:49.617Z] /w/workspace/device-gpio/1@tmp/durable-9b3e119f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T02:03:50.308Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T02:03:50.350Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T02:03:50.393Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:03:50.408Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-43-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:03:50.549Z] $ docker stop --time=1 6a867bbb1739736f287fb8db0fa9e54546efca9fed23ddc2c9a666097c4fe681 [2022-06-27T02:03:52.027Z] $ docker rm -f 6a867bbb1739736f287fb8db0fa9e54546efca9fed23ddc2c9a666097c4fe681 [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 [2022-06-27T02:03:53.007Z] provisioning config files... [2022-06-27T02:03:53.016Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config3576086509952352641tmp [Pipeline] { [Pipeline] sh [2022-06-27T02:03:53.348Z] + set +x [2022-06-27T02:03:53.348Z] + bash -s -- [2022-06-27T02:03:53.348Z] + curl -s https://codecov.io/bash [2022-06-27T02:03:53.348Z] [2022-06-27T02:03:53.348Z] _____ _ [2022-06-27T02:03:53.348Z] / ____| | | [2022-06-27T02:03:53.348Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T02:03:53.348Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T02:03:53.348Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T02:03:53.348Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T02:03:53.348Z] Bash-1.0.6 [2022-06-27T02:03:53.348Z] [2022-06-27T02:03:53.348Z] [2022-06-27T02:03:53.348Z] ==> git version 2.25.1 found [2022-06-27T02:03:53.348Z] ==> 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 [2022-06-27T02:03:53.348Z] Release-Date: 2020-01-08 [2022-06-27T02:03:53.348Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T02:03:53.348Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T02:03:53.348Z] ==> Jenkins CI detected. [2022-06-27T02:03:53.348Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-43 [2022-06-27T02:03:53.348Z] project root: . [2022-06-27T02:03:53.348Z] --> token set from env [2022-06-27T02:03:53.348Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T02:03:53.348Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T02:03:53.348Z] ==> Python coveragepy not found [2022-06-27T02:03:53.348Z] ==> Searching for coverage reports in: [2022-06-27T02:03:53.348Z] + . [2022-06-27T02:03:53.348Z] -> Found 1 reports [2022-06-27T02:03:53.348Z] ==> Detecting git/mercurial file structure [2022-06-27T02:03:53.348Z] ==> Reading reports [2022-06-27T02:03:53.348Z] + ./coverage.out bytes=10 [2022-06-27T02:03:53.348Z] ==> Appending adjustments [2022-06-27T02:03:53.348Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T02:03:53.348Z] + Found adjustments [2022-06-27T02:03:53.348Z] ==> Gzipping contents [2022-06-27T02:03:53.610Z] 4.0K /tmp/codecov.SbytPg.gz [2022-06-27T02:03:53.610Z] ==> Uploading reports [2022-06-27T02:03:53.610Z] url: https://codecov.io [2022-06-27T02:03:53.610Z] query: branch=PR-43&commit=8bf535f0ce4e380f32a4a208eac40e23dfd63f39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-43%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-27T02:03:53.610Z] -> Pinging Codecov [2022-06-27T02:03:53.610Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-43&commit=8bf535f0ce4e380f32a4a208eac40e23dfd63f39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-43%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-27T02:03:53.874Z] -> Uploading to [2022-06-27T02:03:53.874Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8bf535f0ce4e380f32a4a208eac40e23dfd63f39/f978e772-8a84-4fca-93c0-9af6c63fb3d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T020353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da6f0bd1502240adc62c01317b348210ad6a948f1128137a3c2b1d77bc4a5e10 [2022-06-27T02:03:53.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:03:53.874Z] Dload Upload Total Spent Left Speed [2022-06-27T02:03:54.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3617 --:--:-- --:--:-- --:--:-- 3617 [2022-06-27T02:03:54.137Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [Pipeline] } [2022-06-27T02:03:54.171Z] 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 [2022-06-27T02:03:55.898Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-43/archives ] [2022-06-27T02:03:55.898Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T02:03:55.898Z] total 16 [2022-06-27T02:03:55.898Z] drwxr-xr-x 3 root root 4096 Jun 27 01:55 . [2022-06-27T02:03:55.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 01:55 .. [2022-06-27T02:03:55.898Z] drwxr-xr-x 2 root root 4096 Jun 27 01:55 cost [2022-06-27T02:03:55.898Z] -rw-r--r-- 1 root root 81 Jun 27 01:55 cost.csv [2022-06-27T02:03:55.898Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T02:03:55.898Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T02:03:55.898Z] total 16 [2022-06-27T02:03:55.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 01:55 . [2022-06-27T02:03:55.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 01:55 .. [2022-06-27T02:03:55.898Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 01:55 cost [2022-06-27T02:03:55.898Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 27 01:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:56.237Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:57.133Z] ---> package-listing.sh [2022-06-27T02:03:57.134Z] ++ facter osfamily [2022-06-27T02:03:57.134Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T02:03:57.397Z] + OS_FAMILY=debian [2022-06-27T02:03:57.397Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-43 [2022-06-27T02:03:57.397Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T02:03:57.397Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T02:03:57.397Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T02:03:57.397Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T02:03:57.397Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-43 ']' [2022-06-27T02:03:57.397Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T02:03:57.397Z] + case "${OS_FAMILY}" in [2022-06-27T02:03:57.397Z] + dpkg -l [2022-06-27T02:03:57.397Z] + grep '^ii' [2022-06-27T02:03:57.397Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T02:03:57.397Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T02:03:57.397Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T02:03:57.397Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-43 ']' [2022-06-27T02:03:57.397Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-43/archives/ [2022-06-27T02:03:57.397Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-43/archives/ [Pipeline] echo [2022-06-27T02:03:57.433Z] 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-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T02:03:57.737Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:03:58.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:03:58.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:03:58.547Z] prd-ubuntu20.04-docker-8c-8g-15660 does not seem to be running inside a container [2022-06-27T02:03:58.591Z] $ 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-43/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-43 -v /w/workspace/edgexfoundry_device-gpio_PR-43:/w/workspace/edgexfoundry_device-gpio_PR-43:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-43@tmp:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T02:03:58.852Z] $ docker top e571e58f78d13cb9cdec647fe88002f683b7f046db365678bc4b9b2810017d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:03:59.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T02:03:59.557Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T02:03:59.866Z] + ls /var/log/sa-host [2022-06-27T02:03:59.866Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:03:59.993Z] provisioning config files... [2022-06-27T02:04:00.003Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config2489121424383952060tmp [Pipeline] { [Pipeline] echo [2022-06-27T02:04:00.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:04:00.360Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T02:04:00.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:04:00.788Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T02:04:00.820Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:04:01.137Z] ---> sudo-logs.sh [2022-06-27T02:04:01.137Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T02:04:01.222Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:04:01.533Z] ---> job-cost.sh [2022-06-27T02:04:01.534Z] lf-activate-venv: SKIPPING [2022-06-27T02:04:01.534Z] DEBUG: total: 0.2199999988079071 [2022-06-27T02:04:01.534Z] INFO: Retrieving Stack Cost... [2022-06-27T02:04:02.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:04:02.675Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T02:04:02.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:04:03.035Z] ---> logs-deploy.sh [2022-06-27T02:04:03.035Z] lf-activate-venv: SKIPPING [2022-06-27T02:04:03.035Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-43/1 [2022-06-27T02:04:03.035Z] INFO: archiving workspace using pattern(s): [2022-06-27T02:04:03.973Z] Archives upload complete. [2022-06-27T02:04:03.973Z] INFO: archiving logs to Nexus