Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bf535f0ce4e380f32a4a208eac40e23dfd63f39+5484f883e7ca8c4d12e7326cabafe33807e184e7 (684c913cfc8ecc885210ac23a1ccc99ad059d6a4) 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-ssh17695844591342131751.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-ssh13184762292195514126.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh13487164334557369804.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 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-ssh6987718122727620080.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh18042566752003895768.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16145’ Running on prd-ubuntu20.04-docker-8c-8g-16147 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 5484f883e7ca8c4d12e7326cabafe33807e184e7 into PR head commit 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 Merge succeeded, producing 0c99b0f58784df179b2686b16edcc28a7de27881 Checking out Revision 0c99b0f58784df179b2686b16edcc28a7de27881 (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 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c99b0f58784df179b2686b16edcc28a7de27881 # timeout=10 Commit message: "Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD" > git rev-list --no-walk 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T21:21:41.946Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T21:21:42.005Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T21:21:42.027Z] ========================================================= [2022-06-27T21:21:42.027Z] EdgeX Global Pipelines Version Info [2022-06-27T21:21:42.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:21:42.772Z] ------------------- [2022-06-27T21:21:42.772Z] stable info: [2022-06-27T21:21:42.772Z] ------------------- [2022-06-27T21:21:42.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T21:21:42.772Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T21:21:42.772Z] Message: update stable to v1.0.234 [2022-06-27T21:21:43.343Z] ------------------- [2022-06-27T21:21:43.343Z] experimental info: [2022-06-27T21:21:43.343Z] ------------------- [2022-06-27T21:21:43.343Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T21:21:43.343Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T21:21:43.343Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T21:21:43.580Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-27T21:21:43.594Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-27T21:21:43.607Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T21:21:43.620Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T21:21:43.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T21:21:43.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T21:21:43.653Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T21:21:43.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T21:21:43.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T21:21:43.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T21:21:43.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T21:21:43.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-27T21:21:43.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T21:21:43.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T21:21:43.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T21:21:43.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T21:21:43.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T21:21:43.781Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T21:21:43.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T21:21:43.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T21:21:43.819Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T21:21:43.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T21:21:43.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T21:21:43.843Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T21:21:43.851Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T21:21:43.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T21:21:43.868Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T21:21:43.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo [2022-06-27T21:21:43.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo [2022-06-27T21:21:43.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo [2022-06-27T21:21:43.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c99b0f58784df179b2686b16edcc28a7de27881 [Pipeline] echo [2022-06-27T21:21:43.913Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c99b0f [Pipeline] echo [2022-06-27T21:21:43.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T21:21:43.960Z] provisioning config files... [2022-06-27T21:21:43.974Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config3267396874396908023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:21:44.276Z] ---> docker-login.sh [2022-06-27T21:21:44.276Z] nexus3.edgexfoundry.org:10001 [2022-06-27T21:21:44.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:44.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:44.538Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:44.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:44.538Z] [2022-06-27T21:21:44.538Z] Login Succeeded [2022-06-27T21:21:44.538Z] nexus3.edgexfoundry.org:10002 [2022-06-27T21:21:44.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:44.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:44.799Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:44.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:44.799Z] [2022-06-27T21:21:44.799Z] Login Succeeded [2022-06-27T21:21:44.799Z] nexus3.edgexfoundry.org:10003 [2022-06-27T21:21:44.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:44.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:44.799Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:44.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:44.799Z] [2022-06-27T21:21:44.799Z] Login Succeeded [2022-06-27T21:21:44.799Z] nexus3.edgexfoundry.org:10004 [2022-06-27T21:21:44.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:45.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:45.060Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:45.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:45.060Z] [2022-06-27T21:21:45.060Z] Login Succeeded [2022-06-27T21:21:45.060Z] docker.io [2022-06-27T21:21:45.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:45.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:45.321Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:45.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:45.321Z] [2022-06-27T21:21:45.321Z] Login Succeeded [2022-06-27T21:21:45.321Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T21:21:45.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T21:21:45.717Z] + git rev-list -1 --merges 0c99b0f58784df179b2686b16edcc28a7de27881~1..0c99b0f58784df179b2686b16edcc28a7de27881 [Pipeline] echo [2022-06-27T21:21:45.745Z] -----------> git rev-list -1 --merges 0c99b0f58784df179b2686b16edcc28a7de27881~1..0c99b0f58784df179b2686b16edcc28a7de27881 0c99b0f58784df179b2686b16edcc28a7de27881 [2022-06-27T21:21:45.745Z] 0c99b0f58784df179b2686b16edcc28a7de27881 [false] [Pipeline] sh [2022-06-27T21:21:46.043Z] + git log --format=format:%s -1 0c99b0f58784df179b2686b16edcc28a7de27881 [Pipeline] echo [2022-06-27T21:21:46.060Z] ========================================================= [2022-06-27T21:21:46.060Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T21:21:46.060Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T21:21:46.404Z] + git log --format=format:%s -1 0c99b0f58784df179b2686b16edcc28a7de27881 [Pipeline] echo [2022-06-27T21:21:46.417Z] [semverPrep] GIT_COMMIT: 0c99b0f58784df179b2686b16edcc28a7de27881, Commit Message: Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD [Pipeline] echo [2022-06-27T21:21:46.427Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T21:21:46.794Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T21:21:46.794Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T21:21:46.794Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T21:21:46.794Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T21:21:46.794Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T21:21:46.794Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T21:21:46.794Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:21:47.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T21:21:47.222Z] [2022-06-27T21:21:47.222Z] 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-27T21:21:47.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T21:21:47.533Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T21:21:47.533Z] 42c077c10790: Pulling fs layer [2022-06-27T21:21:47.533Z] f63e77b7563a: Pulling fs layer [2022-06-27T21:21:47.533Z] bd5fdadae976: Pulling fs layer [2022-06-27T21:21:47.533Z] 205491f53016: Pulling fs layer [2022-06-27T21:21:47.533Z] df18705c85c3: Pulling fs layer [2022-06-27T21:21:47.533Z] 205491f53016: Waiting [2022-06-27T21:21:47.533Z] bdb3f477010e: Pulling fs layer [2022-06-27T21:21:47.533Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T21:21:47.533Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T21:21:47.533Z] bdb8f0575790: Pulling fs layer [2022-06-27T21:21:47.533Z] df18705c85c3: Waiting [2022-06-27T21:21:47.533Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T21:21:47.533Z] 2343380bae48: Pulling fs layer [2022-06-27T21:21:47.533Z] c8a8fc8e1c8f: Waiting [2022-06-27T21:21:47.533Z] bdb3f477010e: Waiting [2022-06-27T21:21:47.533Z] 2c6e9b1d212d: Waiting [2022-06-27T21:21:47.533Z] bdb8f0575790: Waiting [2022-06-27T21:21:47.533Z] f63e77b7563a: Verifying Checksum [2022-06-27T21:21:47.793Z] 205491f53016: Download complete [2022-06-27T21:21:47.793Z] df18705c85c3: Verifying Checksum [2022-06-27T21:21:47.793Z] df18705c85c3: Download complete [2022-06-27T21:21:47.793Z] bdb3f477010e: Verifying Checksum [2022-06-27T21:21:47.793Z] bdb3f477010e: Download complete [2022-06-27T21:21:47.793Z] bd5fdadae976: Verifying Checksum [2022-06-27T21:21:47.793Z] bd5fdadae976: Download complete [2022-06-27T21:21:47.793Z] 2c6e9b1d212d: Download complete [2022-06-27T21:21:47.793Z] bdb8f0575790: Download complete [2022-06-27T21:21:47.793Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T21:21:47.793Z] 386e3cb2ff24: Download complete [2022-06-27T21:21:47.793Z] 2343380bae48: Download complete [2022-06-27T21:21:48.053Z] 42c077c10790: Verifying Checksum [2022-06-27T21:21:48.053Z] 42c077c10790: Download complete [2022-06-27T21:21:48.053Z] c8a8fc8e1c8f: Download complete [2022-06-27T21:21:49.434Z] 42c077c10790: Pull complete [2022-06-27T21:21:49.434Z] f63e77b7563a: Pull complete [2022-06-27T21:21:49.695Z] bd5fdadae976: Pull complete [2022-06-27T21:21:49.955Z] 205491f53016: Pull complete [2022-06-27T21:21:50.214Z] df18705c85c3: Pull complete [2022-06-27T21:21:50.214Z] bdb3f477010e: Pull complete [2022-06-27T21:21:52.122Z] c8a8fc8e1c8f: Pull complete [2022-06-27T21:21:52.122Z] 2c6e9b1d212d: Pull complete [2022-06-27T21:21:52.122Z] bdb8f0575790: Pull complete [2022-06-27T21:21:52.122Z] 386e3cb2ff24: Pull complete [2022-06-27T21:21:52.122Z] 2343380bae48: Pull complete [2022-06-27T21:21:52.122Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T21:21:52.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T21:21:52.122Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:21:52.216Z] prd-ubuntu20.04-docker-8c-8g-16147 does not seem to be running inside a container [2022-06-27T21:21:52.258Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T21:21:53.657Z] $ docker top 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 -eo pid,comm [2022-06-27T21:21:53.721Z] 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-27T21:21:53.721Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T21:21:53.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T21:21:53.763Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T21:21:53.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T21:21:53.901Z] $ docker exec 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 ssh-agent [2022-06-27T21:21:54.020Z] SSH_AUTH_SOCK=/tmp/ssh-zXJmGjrL2LLs/agent.33 [2022-06-27T21:21:54.020Z] SSH_AGENT_PID=39 [2022-06-27T21:21:54.025Z] Running ssh-add (command line suppressed) [2022-06-27T21:21:54.154Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_8517436399105646136.key (/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_8517436399105646136.key) [2022-06-27T21:21:54.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T21:21:54.457Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T21:21:54.480Z] $ docker exec --env ******** --env ******** 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 ssh-agent -k [2022-06-27T21:21:54.605Z] unset SSH_AUTH_SOCK; [2022-06-27T21:21:54.605Z] unset SSH_AGENT_PID; [2022-06-27T21:21:54.605Z] echo Agent pid 39 killed; [2022-06-27T21:21:54.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T21:21:54.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T21:21:54.637Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T21:21:54.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T21:21:54.765Z] $ docker exec 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 ssh-agent [2022-06-27T21:21:54.903Z] SSH_AUTH_SOCK=/tmp/ssh-gKuZrq2eH7cQ/agent.73 [2022-06-27T21:21:54.903Z] SSH_AGENT_PID=80 [2022-06-27T21:21:54.908Z] Running ssh-add (command line suppressed) [2022-06-27T21:21:55.022Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_6184957556130787679.key (/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/private_key_6184957556130787679.key) [2022-06-27T21:21:55.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T21:21:55.324Z] + git semver init [2022-06-27T21:21:55.584Z] 2022-06-27 21:21:55,523 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T21:21:55.584Z] 2022-06-27 21:21:55,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-43/.semver [2022-06-27T21:21:55.584Z] 2022-06-27 21:21:55,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-43/.semver [2022-06-27T21:21:55.584Z] 2022-06-27 21:21:55,525 [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-27T21:21:56.528Z] 2022-06-27 21:21:56,326 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-43/.git/info/exclude [2022-06-27T21:21:56.528Z] 2022-06-27 21:21:56,327 [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-27T21:21:56.528Z] 2022-06-27 21:21:56,327 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-43/.semver/PR-43 [2022-06-27T21:21:56.528Z] 2022-06-27 21:21:56,331 [execute] INFO git cat-file --batch-check [2022-06-27T21:21:56.528Z] 2022-06-27 21:21:56,332 [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-27T21:21:56.528Z] 2022-06-27 21:21:56,336 [execute] INFO git cat-file --batch [2022-06-27T21:21:56.528Z] 2022-06-27 21:21:56,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-43/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T21:21:56.528Z] 2022-06-27 21:21:56,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-43/.semver/PR-43 [2022-06-27T21:21:56.528Z] 0.0.0 [Pipeline] } [2022-06-27T21:21:56.543Z] $ docker exec --env ******** --env ******** 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 ssh-agent -k [2022-06-27T21:21:56.654Z] unset SSH_AUTH_SOCK; [2022-06-27T21:21:56.654Z] unset SSH_AGENT_PID; [2022-06-27T21:21:56.655Z] echo Agent pid 80 killed; [2022-06-27T21:21:56.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T21:21:56.970Z] + git semver [Pipeline] } [2022-06-27T21:21:57.246Z] $ docker stop --time=1 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 [2022-06-27T21:21:58.552Z] $ docker rm -f 4f85486fcf932ad5a44c3ceafe4e6d0a354316da663c9d74ca2b2961cda9c421 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T21:21:58.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T21:21:59.145Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T21:21:59.148Z] [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-27T21:21:59.292Z] provisioning config files... [2022-06-27T21:21:59.301Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config7412404788965596821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:21:59.596Z] ---> docker-login.sh [2022-06-27T21:21:59.596Z] nexus3.edgexfoundry.org:10001 [2022-06-27T21:21:59.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:59.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:59.596Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:59.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:59.596Z] [2022-06-27T21:21:59.596Z] Login Succeeded [2022-06-27T21:21:59.596Z] nexus3.edgexfoundry.org:10002 [2022-06-27T21:21:59.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:59.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:59.596Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:59.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:59.596Z] [2022-06-27T21:21:59.596Z] Login Succeeded [2022-06-27T21:21:59.857Z] nexus3.edgexfoundry.org:10003 [2022-06-27T21:21:59.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:21:59.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:21:59.857Z] Configure a credential helper to remove this warning. See [2022-06-27T21:21:59.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:21:59.857Z] [2022-06-27T21:21:59.857Z] Login Succeeded [2022-06-27T21:21:59.857Z] nexus3.edgexfoundry.org:10004 [2022-06-27T21:21:59.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:22:00.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:22:00.117Z] Configure a credential helper to remove this warning. See [2022-06-27T21:22:00.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:22:00.117Z] [2022-06-27T21:22:00.117Z] Login Succeeded [2022-06-27T21:22:00.117Z] docker.io [2022-06-27T21:22:00.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:22:01.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:22:01.056Z] Configure a credential helper to remove this warning. See [2022-06-27T21:22:01.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:22:01.056Z] [2022-06-27T21:22:01.056Z] Login Succeeded [2022-06-27T21:22:01.056Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T21:22:01.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T21:22:01.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T21:22:01.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T21:22:01.142Z] ========================================================= [2022-06-27T21:22:01.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T21:22:01.142Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:22:01.466Z] + 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-27T21:22:01.466Z] Sending build context to Docker daemon 15.75MB [2022-06-27T21:22:01.466Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T21:22:01.466Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T21:22:01.466Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T21:22:01.466Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T21:22:01.466Z] 666ba61612fd: Pulling fs layer [2022-06-27T21:22:01.466Z] 8ed8ca486205: Pulling fs layer [2022-06-27T21:22:01.466Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T21:22:01.466Z] c516ae0d96e1: Pulling fs layer [2022-06-27T21:22:01.466Z] 684cea983483: Pulling fs layer [2022-06-27T21:22:01.466Z] dd3240ac7de5: Pulling fs layer [2022-06-27T21:22:01.466Z] b1e948a4e11c: Pulling fs layer [2022-06-27T21:22:01.466Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T21:22:01.466Z] 646ad004c059: Pulling fs layer [2022-06-27T21:22:01.466Z] c516ae0d96e1: Waiting [2022-06-27T21:22:01.466Z] 684cea983483: Waiting [2022-06-27T21:22:01.466Z] dd3240ac7de5: Waiting [2022-06-27T21:22:01.466Z] b1e948a4e11c: Waiting [2022-06-27T21:22:01.466Z] a8fd76ee1af6: Waiting [2022-06-27T21:22:01.466Z] 646ad004c059: Waiting [2022-06-27T21:22:01.466Z] 8ed8ca486205: Verifying Checksum [2022-06-27T21:22:01.466Z] 8ed8ca486205: Download complete [2022-06-27T21:22:01.466Z] 666ba61612fd: Download complete [2022-06-27T21:22:01.725Z] c516ae0d96e1: Verifying Checksum [2022-06-27T21:22:01.725Z] c516ae0d96e1: Download complete [2022-06-27T21:22:01.725Z] 684cea983483: Verifying Checksum [2022-06-27T21:22:01.725Z] 684cea983483: Download complete [2022-06-27T21:22:01.725Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T21:22:01.725Z] 59bf1c3509f3: Download complete [2022-06-27T21:22:01.725Z] dd3240ac7de5: Verifying Checksum [2022-06-27T21:22:01.725Z] dd3240ac7de5: Download complete [2022-06-27T21:22:01.725Z] b1e948a4e11c: Download complete [2022-06-27T21:22:01.725Z] 59bf1c3509f3: Pull complete [2022-06-27T21:22:01.990Z] 666ba61612fd: Pull complete [2022-06-27T21:22:01.990Z] 8ed8ca486205: Pull complete [2022-06-27T21:22:02.252Z] 646ad004c059: Verifying Checksum [2022-06-27T21:22:02.252Z] 646ad004c059: Download complete [2022-06-27T21:22:02.252Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T21:22:02.252Z] cc1cd167ecdc: Download complete [2022-06-27T21:22:02.252Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T21:22:02.252Z] a8fd76ee1af6: Download complete [2022-06-27T21:22:05.536Z] cc1cd167ecdc: Pull complete [2022-06-27T21:22:05.795Z] c516ae0d96e1: Pull complete [2022-06-27T21:22:05.795Z] 684cea983483: Pull complete [2022-06-27T21:22:05.795Z] dd3240ac7de5: Pull complete [2022-06-27T21:22:06.055Z] b1e948a4e11c: Pull complete [2022-06-27T21:22:07.962Z] a8fd76ee1af6: Pull complete [2022-06-27T21:22:08.902Z] 646ad004c059: Pull complete [2022-06-27T21:22:08.902Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T21:22:08.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T21:22:08.902Z] ---> 8f69c11f6b0c [2022-06-27T21:22:08.902Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T21:22:12.198Z] ---> Running in 41c14fac559b [2022-06-27T21:22:12.198Z] Removing intermediate container 41c14fac559b [2022-06-27T21:22:12.198Z] ---> cf1adea2d64e [2022-06-27T21:22:12.198Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T21:22:12.198Z] ---> Running in c576f0476e7b [2022-06-27T21:22:12.198Z] Removing intermediate container c576f0476e7b [2022-06-27T21:22:12.198Z] ---> 5640b1c205b9 [2022-06-27T21:22:12.198Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T21:22:12.198Z] ---> Running in 4ee2c05a81cd [2022-06-27T21:22:12.198Z] Removing intermediate container 4ee2c05a81cd [2022-06-27T21:22:12.198Z] ---> 4cb775fd3dd5 [2022-06-27T21:22:12.198Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T21:22:12.198Z] ---> Running in 06a94d48521e [2022-06-27T21:22:12.198Z] Removing intermediate container 06a94d48521e [2022-06-27T21:22:12.198Z] ---> b4a5c2e5cfdb [2022-06-27T21:22:12.198Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:22:12.458Z] ---> Running in af74ac3089c9 [2022-06-27T21:22:13.030Z] Removing intermediate container af74ac3089c9 [2022-06-27T21:22:13.030Z] ---> b6777141766f [2022-06-27T21:22:13.030Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T21:22:13.030Z] ---> Running in ff440a17d08c [2022-06-27T21:22:13.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T21:22:14.231Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T21:22:14.231Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T21:22:14.248Z] Still waiting to schedule task [2022-06-27T21:22:14.248Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16146’ is offline [2022-06-27T21:22:14.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T21:22:14.491Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T21:22:14.750Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T21:22:14.750Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T21:22:14.750Z] OK: 224 MiB in 56 packages [2022-06-27T21:22:15.317Z] Removing intermediate container ff440a17d08c [2022-06-27T21:22:15.317Z] ---> 8d6838286890 [2022-06-27T21:22:15.317Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T21:22:15.317Z] ---> ecbd752df315 [2022-06-27T21:22:15.317Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T21:22:15.317Z] ---> Running in c7d4d327e4fe [2022-06-27T21:22:33.445Z] Removing intermediate container c7d4d327e4fe [2022-06-27T21:22:33.445Z] ---> 0226b7639a77 [2022-06-27T21:22:33.445Z] Step 11/12 : COPY . . [2022-06-27T21:22:33.705Z] ---> cb716c6827ad [2022-06-27T21:22:33.705Z] Step 12/12 : RUN ${MAKE} [2022-06-27T21:22:33.705Z] ---> Running in ff3b70dd7d0e [2022-06-27T21:22:33.967Z] noop [2022-06-27T21:22:34.537Z] Removing intermediate container ff3b70dd7d0e [2022-06-27T21:22:34.537Z] ---> 33a762e3b989 [2022-06-27T21:22:34.537Z] Successfully built 33a762e3b989 [2022-06-27T21:22:34.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:22:34.853Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T21:22:34.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:22:34.934Z] prd-ubuntu20.04-docker-8c-8g-16147 does not seem to be running inside a container [2022-06-27T21:22:34.969Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T21:22:35.368Z] $ docker top 11dd59389af0f57573678578f1f30b43812e68cd78fef8c7070721b9391ca26b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T21:22:35.720Z] + go version [2022-06-27T21:22:35.720Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T21:22:35.733Z] $ docker stop --time=1 11dd59389af0f57573678578f1f30b43812e68cd78fef8c7070721b9391ca26b [2022-06-27T21:22:37.057Z] $ docker rm -f 11dd59389af0f57573678578f1f30b43812e68cd78fef8c7070721b9391ca26b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:22:37.471Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T21:22:37.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:22:37.584Z] prd-ubuntu20.04-docker-8c-8g-16147 does not seem to be running inside a container [2022-06-27T21:22:37.629Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T21:22:37.999Z] $ docker top bcbffd05b35618103ae0ca1a6fc95f18582856d3b8174960421e9a375e03ee00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T21:22:38.372Z] + make test [2022-06-27T21:22:38.372Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T21:22:38.632Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T21:22:46.755Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T21:22:46.755Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T21:22:53.329Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T21:22:56.622Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T21:22:56.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T21:22:56.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T21:22:56.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T21:22:56.652Z] $ docker stop --time=1 bcbffd05b35618103ae0ca1a6fc95f18582856d3b8174960421e9a375e03ee00 [2022-06-27T21:22:58.647Z] $ docker rm -f bcbffd05b35618103ae0ca1a6fc95f18582856d3b8174960421e9a375e03ee00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T21:22:59.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T21:22:59.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T21:22:59.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T21:22:59.844Z] + ls -al . [2022-06-27T21:22:59.844Z] total 172 [2022-06-27T21:22:59.844Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 21:22 . [2022-06-27T21:22:59.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 21:21 .. [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 21:21 .dockerignore [2022-06-27T21:22:59.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 21:21 .git [2022-06-27T21:22:59.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:21 .github [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 21:21 .gitignore [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 21:21 .golangci.yml [2022-06-27T21:22:59.844Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 21:21 .semver [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 21:21 Attribution.txt [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 21:21 CHANGELOG.md [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 21:21 Dockerfile [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 21:21 GOVERNANCE.md [2022-06-27T21:22:59.844Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 21:21 Jenkinsfile [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 21:21 LICENSE [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 21:21 Makefile [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 21:21 OWNERS.md [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 21:21 README.md [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 21:21 VERSION [2022-06-27T21:22:59.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 21:21 bin [2022-06-27T21:22:59.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:21 cmd [2022-06-27T21:22:59.845Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 21:22 coverage.out [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 21:21 go.mod [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 21:21 go.sum [2022-06-27T21:22:59.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:21 internal [2022-06-27T21:22:59.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:21 snap [2022-06-27T21:22:59.845Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:23:00.153Z] + 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=0c99b0f58784df179b2686b16edcc28a7de27881 --label arch=amd64 --label version=0.0.0 . [2022-06-27T21:23:00.153Z] Sending build context to Docker daemon 15.75MB [2022-06-27T21:23:00.153Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T21:23:00.153Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T21:23:00.153Z] ---> 33a762e3b989 [2022-06-27T21:23:00.153Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T21:23:00.415Z] ---> Running in 47d56b348f14 [2022-06-27T21:23:00.415Z] Removing intermediate container 47d56b348f14 [2022-06-27T21:23:00.415Z] ---> e531295276c5 [2022-06-27T21:23:00.415Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T21:23:00.415Z] ---> Running in 9d3766c7626e [2022-06-27T21:23:00.415Z] Removing intermediate container 9d3766c7626e [2022-06-27T21:23:00.415Z] ---> 1e3f8a9aa397 [2022-06-27T21:23:00.415Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T21:23:00.674Z] ---> Running in 9ea4ab1c6ac4 [2022-06-27T21:23:00.674Z] Removing intermediate container 9ea4ab1c6ac4 [2022-06-27T21:23:00.674Z] ---> 1abf09a610f9 [2022-06-27T21:23:00.674Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T21:23:00.674Z] ---> Running in d8c35328a49e [2022-06-27T21:23:00.674Z] Removing intermediate container d8c35328a49e [2022-06-27T21:23:00.674Z] ---> 92ebcd0ce514 [2022-06-27T21:23:00.674Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:23:00.934Z] ---> Running in c587e80936f2 [2022-06-27T21:23:01.505Z] Removing intermediate container c587e80936f2 [2022-06-27T21:23:01.505Z] ---> 2b31c8616df1 [2022-06-27T21:23:01.505Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T21:23:01.505Z] ---> Running in cfa370f01740 [2022-06-27T21:23:01.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T21:23:02.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T21:23:02.703Z] OK: 224 MiB in 56 packages [2022-06-27T21:23:02.963Z] Removing intermediate container cfa370f01740 [2022-06-27T21:23:02.963Z] ---> 763dddceac3d [2022-06-27T21:23:02.963Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T21:23:03.221Z] ---> 7382b0fefefc [2022-06-27T21:23:03.221Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T21:23:03.221Z] ---> Running in bf3886ce28bd [2022-06-27T21:23:04.160Z] Removing intermediate container bf3886ce28bd [2022-06-27T21:23:04.160Z] ---> d47f56de8c9e [2022-06-27T21:23:04.160Z] Step 11/26 : COPY . . [2022-06-27T21:23:04.420Z] ---> 6d1bc4cf65b2 [2022-06-27T21:23:04.420Z] Step 12/26 : RUN ${MAKE} [2022-06-27T21:23:04.420Z] ---> Running in 57fd7666a8b6 [2022-06-27T21:23:04.683Z] 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-27T21:23:26.631Z] Removing intermediate container 57fd7666a8b6 [2022-06-27T21:23:26.631Z] ---> 2cbe5a06c7fa [2022-06-27T21:23:26.631Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T21:23:26.631Z] 3.15: Pulling from library/alpine [2022-06-27T21:23:26.631Z] df9b9388f04a: Pulling fs layer [2022-06-27T21:23:26.631Z] df9b9388f04a: Verifying Checksum [2022-06-27T21:23:26.631Z] df9b9388f04a: Download complete [2022-06-27T21:23:26.631Z] df9b9388f04a: Pull complete [2022-06-27T21:23:26.631Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T21:23:26.631Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T21:23:26.631Z] ---> 0ac33e5f5afa [2022-06-27T21:23:26.631Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T21:23:26.631Z] ---> Running in 9080cf799f76 [2022-06-27T21:23:26.631Z] Removing intermediate container 9080cf799f76 [2022-06-27T21:23:26.631Z] ---> c357475037a0 [2022-06-27T21:23:26.631Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:23:26.631Z] ---> Running in 96af8999c4d6 [2022-06-27T21:23:26.631Z] Removing intermediate container 96af8999c4d6 [2022-06-27T21:23:26.631Z] ---> 9de8ab1b7de8 [2022-06-27T21:23:26.631Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T21:23:26.631Z] ---> Running in f55bde22ab07 [2022-06-27T21:23:26.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T21:23:26.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T21:23:26.631Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T21:23:26.631Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T21:23:26.631Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T21:23:26.892Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T21:23:26.892Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T21:23:26.892Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T21:23:26.892Z] OK: 8 MiB in 19 packages [2022-06-27T21:23:27.461Z] Removing intermediate container f55bde22ab07 [2022-06-27T21:23:27.461Z] ---> a6264d4218ea [2022-06-27T21:23:27.461Z] Step 17/26 : WORKDIR / [2022-06-27T21:23:27.461Z] ---> Running in ad7067330004 [2022-06-27T21:23:27.461Z] Removing intermediate container ad7067330004 [2022-06-27T21:23:27.461Z] ---> 4754858b55ae [2022-06-27T21:23:27.461Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T21:23:27.722Z] ---> 85fdff5ed568 [2022-06-27T21:23:27.722Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T21:23:27.983Z] ---> dc08636be717 [2022-06-27T21:23:27.983Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T21:23:28.554Z] ---> 27c6bc632e8a [2022-06-27T21:23:28.554Z] Step 21/26 : EXPOSE 59910 [2022-06-27T21:23:28.554Z] ---> Running in a3bcfb1bf3c1 [2022-06-27T21:23:28.554Z] Removing intermediate container a3bcfb1bf3c1 [2022-06-27T21:23:28.554Z] ---> 351038f33e41 [2022-06-27T21:23:28.554Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T21:23:28.813Z] ---> Running in b44f869e2f9d [2022-06-27T21:23:28.813Z] Removing intermediate container b44f869e2f9d [2022-06-27T21:23:28.813Z] ---> fc649b69671c [2022-06-27T21:23:28.813Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T21:23:28.813Z] ---> Running in 237db85fadd2 [2022-06-27T21:23:29.079Z] Removing intermediate container 237db85fadd2 [2022-06-27T21:23:29.079Z] ---> 40ba5ca6ad02 [2022-06-27T21:23:29.079Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T21:23:29.079Z] ---> Running in f576217f663d [2022-06-27T21:23:29.079Z] Removing intermediate container f576217f663d [2022-06-27T21:23:29.079Z] ---> da6959e68f7d [2022-06-27T21:23:29.079Z] Step 25/26 : LABEL git_sha=0c99b0f58784df179b2686b16edcc28a7de27881 [2022-06-27T21:23:29.079Z] ---> Running in 0d2708d7b04d [2022-06-27T21:23:29.341Z] Removing intermediate container 0d2708d7b04d [2022-06-27T21:23:29.341Z] ---> e895d3b0b87a [2022-06-27T21:23:29.341Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T21:23:29.341Z] ---> Running in a4019d70c1e2 [2022-06-27T21:23:29.341Z] Removing intermediate container a4019d70c1e2 [2022-06-27T21:23:29.341Z] ---> b6f69b18e392 [2022-06-27T21:23:29.341Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T21:23:29.341Z] Successfully built b6f69b18e392 [2022-06-27T21:23:29.341Z] 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-27T21:23:29.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T21:23:29.794Z] [2022-06-27T21:23:29.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:23:30.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T21:23:30.100Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T21:23:30.100Z] 5eb5b503b376: Pulling fs layer [2022-06-27T21:23:30.100Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T21:23:30.100Z] ec43610c2a17: Pulling fs layer [2022-06-27T21:23:30.100Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T21:23:30.100Z] 33b1e0a273af: Pulling fs layer [2022-06-27T21:23:30.100Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T21:23:30.100Z] 2f39f015ded8: Pulling fs layer [2022-06-27T21:23:30.100Z] 33b1e0a273af: Waiting [2022-06-27T21:23:30.100Z] 5d3b04190fa2: Waiting [2022-06-27T21:23:30.100Z] 2f39f015ded8: Waiting [2022-06-27T21:23:30.100Z] 3a2ae6a8a46f: Waiting [2022-06-27T21:23:30.100Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T21:23:30.100Z] 5c69ac0246d0: Download complete [2022-06-27T21:23:30.100Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T21:23:30.100Z] 3a2ae6a8a46f: Download complete [2022-06-27T21:23:30.100Z] 33b1e0a273af: Verifying Checksum [2022-06-27T21:23:30.100Z] 33b1e0a273af: Download complete [2022-06-27T21:23:30.100Z] 5d3b04190fa2: Download complete [2022-06-27T21:23:30.100Z] ec43610c2a17: Verifying Checksum [2022-06-27T21:23:30.100Z] ec43610c2a17: Download complete [2022-06-27T21:23:30.361Z] 5eb5b503b376: Download complete [2022-06-27T21:23:30.929Z] 2f39f015ded8: Download complete [2022-06-27T21:23:31.499Z] 5eb5b503b376: Pull complete [2022-06-27T21:23:31.758Z] 5c69ac0246d0: Pull complete [2022-06-27T21:23:32.017Z] ec43610c2a17: Pull complete [2022-06-27T21:23:32.017Z] 3a2ae6a8a46f: Pull complete [2022-06-27T21:23:32.276Z] 33b1e0a273af: Pull complete [2022-06-27T21:23:32.276Z] 5d3b04190fa2: Pull complete [2022-06-27T21:23:36.465Z] 2f39f015ded8: Pull complete [2022-06-27T21:23:36.465Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T21:23:36.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T21:23:36.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:23:36.558Z] prd-ubuntu20.04-docker-8c-8g-16147 does not seem to be running inside a container [2022-06-27T21:23:36.591Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T21:23:38.667Z] $ docker top fbfaaff2c77e85f5071efe6e08bd6c98f8f82ef85c5433e6f5552cb3431e7d2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:23:39.054Z] ---> job-cost.sh [2022-06-27T21:23:39.054Z] lf-activate-venv: SKIPPING [2022-06-27T21:23:39.054Z] INFO: No Stack... [2022-06-27T21:23:39.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T21:23:39.887Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T21:23:40.177Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-43/archives/cost.csv [2022-06-27T21:23:40.177Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T21:23:40.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [2022-06-27T21:23:40.197Z] Resource [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] did not exist. Created. [2022-06-27T21:23:40.197Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T21:23:40.501Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T21:23:40.528Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T21:23:40.535Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T21:23:40.558Z] $ docker stop --time=1 fbfaaff2c77e85f5071efe6e08bd6c98f8f82ef85c5433e6f5552cb3431e7d2f [2022-06-27T21:23:41.752Z] $ docker rm -f fbfaaff2c77e85f5071efe6e08bd6c98f8f82ef85c5433e6f5552cb3431e7d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T21:23:50.016Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16149 in /w/workspace/edgexfoundry_device-gpio_PR-43 [Pipeline] { [Pipeline] ws [2022-06-27T21:23:50.030Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-06-27T21:23:50.073Z] The recommended git tool is: git [2022-06-27T21:23:55.691Z] using credential edgex-jenkins-ssh [2022-06-27T21:23:55.712Z] Cloning the remote Git repository [2022-06-27T21:23:55.770Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-27T21:23:55.846Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-06-27T21:23:55.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T21:23:55.920Z] > git --version # timeout=10 [2022-06-27T21:23:55.944Z] > git --version # 'git version 2.25.1' [2022-06-27T21:23:55.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T21:23:56.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T21:23:57.512Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T21:23:57.531Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T21:23:57.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T21:23:57.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T21:23:57.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T21:23:57.608Z] > 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-27T21:23:58.024Z] Merging remotes/origin/main commit 5484f883e7ca8c4d12e7326cabafe33807e184e7 into PR head commit 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 [2022-06-27T21:23:58.240Z] Merge succeeded, producing 2563b731bc25ead2b54b0fa2ba7f41ac38b772a1 [2022-06-27T21:23:58.240Z] Checking out Revision 2563b731bc25ead2b54b0fa2ba7f41ac38b772a1 (PR-43) [2022-06-27T21:23:58.042Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T21:23:58.057Z] > git checkout -f 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 [2022-06-27T21:23:58.131Z] > git remote # timeout=10 [2022-06-27T21:23:58.147Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T21:23:58.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T21:23:58.171Z] > git merge 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 [2022-06-27T21:23:58.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T21:23:58.248Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T21:23:58.261Z] > git checkout -f 2563b731bc25ead2b54b0fa2ba7f41ac38b772a1 # timeout=10 [2022-06-27T21:24:02.374Z] Commit message: "Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD" [2022-06-27T21:24:02.385Z] > git rev-list --no-walk 8bf535f0ce4e380f32a4a208eac40e23dfd63f39 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T21:24:03.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T21:24:03.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T21:24:03.416Z] Dload Upload Total Spent Left Speed [2022-06-27T21:24:03.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 96480 [Pipeline] sh [2022-06-27T21:24:04.120Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T21:24:04.460Z] + sudo tee /etc/docker/daemon.new [2022-06-27T21:24:04.460Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T21:24:04.460Z] { [2022-06-27T21:24:04.460Z] "registry-mirrors": [ [2022-06-27T21:24:04.460Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T21:24:04.460Z] ], [2022-06-27T21:24:04.460Z] "bip": "10.250.0.254/24", [2022-06-27T21:24:04.460Z] "hosts": [ [2022-06-27T21:24:04.460Z] "tcp://0.0.0.0:5555", [2022-06-27T21:24:04.460Z] "unix:///var/run/docker.sock" [2022-06-27T21:24:04.460Z] ], [2022-06-27T21:24:04.460Z] "mtu": 1458, [2022-06-27T21:24:04.460Z] "selinux-enabled": true, [2022-06-27T21:24:04.460Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T21:24:04.460Z] } [Pipeline] sh [2022-06-27T21:24:04.809Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T21:24:05.164Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T21:24:23.518Z] provisioning config files... [2022-06-27T21:24:23.548Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config5104741512807578008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:24:23.922Z] ---> docker-login.sh [2022-06-27T21:24:23.922Z] nexus3.edgexfoundry.org:10001 [2022-06-27T21:24:24.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:24:24.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:24:24.796Z] Configure a credential helper to remove this warning. See [2022-06-27T21:24:24.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:24:24.796Z] [2022-06-27T21:24:24.796Z] Login Succeeded [2022-06-27T21:24:24.796Z] nexus3.edgexfoundry.org:10002 [2022-06-27T21:24:25.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:24:25.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:24:25.070Z] Configure a credential helper to remove this warning. See [2022-06-27T21:24:25.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:24:25.070Z] [2022-06-27T21:24:25.070Z] Login Succeeded [2022-06-27T21:24:25.344Z] nexus3.edgexfoundry.org:10003 [2022-06-27T21:24:25.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:24:25.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:24:25.617Z] Configure a credential helper to remove this warning. See [2022-06-27T21:24:25.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:24:25.617Z] [2022-06-27T21:24:25.617Z] Login Succeeded [2022-06-27T21:24:25.617Z] nexus3.edgexfoundry.org:10004 [2022-06-27T21:24:26.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:24:26.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:24:26.224Z] Configure a credential helper to remove this warning. See [2022-06-27T21:24:26.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:24:26.224Z] [2022-06-27T21:24:26.224Z] Login Succeeded [2022-06-27T21:24:26.224Z] docker.io [2022-06-27T21:24:26.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T21:24:26.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T21:24:26.768Z] Configure a credential helper to remove this warning. See [2022-06-27T21:24:26.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T21:24:26.768Z] [2022-06-27T21:24:26.768Z] Login Succeeded [2022-06-27T21:24:27.042Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T21:24:27.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T21:24:27.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T21:24:27.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T21:24:27.320Z] ========================================================= [2022-06-27T21:24:27.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T21:24:27.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:24:27.676Z] + 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-27T21:24:27.953Z] Sending build context to Docker daemon 7.941MB [2022-06-27T21:24:28.236Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T21:24:28.236Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T21:24:28.236Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T21:24:28.236Z] 9b3977197b4f: Pulling fs layer [2022-06-27T21:24:28.236Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T21:24:28.236Z] 94645a83ff95: Pulling fs layer [2022-06-27T21:24:28.236Z] e6fb740bc735: Pulling fs layer [2022-06-27T21:24:28.236Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T21:24:28.236Z] 355e64cbe906: Pulling fs layer [2022-06-27T21:24:28.236Z] 63ab81a10011: Pulling fs layer [2022-06-27T21:24:28.236Z] 555d1d1c4555: Pulling fs layer [2022-06-27T21:24:28.236Z] 7d9057610161: Pulling fs layer [2022-06-27T21:24:28.236Z] e6fb740bc735: Waiting [2022-06-27T21:24:28.236Z] 3a77bd46dcc9: Waiting [2022-06-27T21:24:28.236Z] 355e64cbe906: Waiting [2022-06-27T21:24:28.236Z] 63ab81a10011: Waiting [2022-06-27T21:24:28.236Z] 555d1d1c4555: Waiting [2022-06-27T21:24:28.236Z] 7d9057610161: Waiting [2022-06-27T21:24:28.236Z] 94645a83ff95: Verifying Checksum [2022-06-27T21:24:28.236Z] 94645a83ff95: Download complete [2022-06-27T21:24:28.236Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T21:24:28.236Z] 1a89e8eeedd5: Download complete [2022-06-27T21:24:28.236Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T21:24:28.236Z] 3a77bd46dcc9: Download complete [2022-06-27T21:24:28.236Z] 355e64cbe906: Verifying Checksum [2022-06-27T21:24:28.236Z] 355e64cbe906: Download complete [2022-06-27T21:24:28.236Z] 9b3977197b4f: Download complete [2022-06-27T21:24:28.236Z] 63ab81a10011: Verifying Checksum [2022-06-27T21:24:28.236Z] 63ab81a10011: Download complete [2022-06-27T21:24:29.231Z] 9b3977197b4f: Pull complete [2022-06-27T21:24:29.232Z] 7d9057610161: Verifying Checksum [2022-06-27T21:24:29.232Z] 7d9057610161: Download complete [2022-06-27T21:24:29.835Z] 1a89e8eeedd5: Pull complete [2022-06-27T21:24:30.111Z] 94645a83ff95: Pull complete [2022-06-27T21:24:30.709Z] 555d1d1c4555: Verifying Checksum [2022-06-27T21:24:30.709Z] 555d1d1c4555: Download complete [2022-06-27T21:24:30.984Z] e6fb740bc735: Download complete [2022-06-27T21:24:43.400Z] e6fb740bc735: Pull complete [2022-06-27T21:24:43.400Z] 3a77bd46dcc9: Pull complete [2022-06-27T21:24:43.400Z] 355e64cbe906: Pull complete [2022-06-27T21:24:43.674Z] 63ab81a10011: Pull complete [2022-06-27T21:24:50.395Z] 555d1d1c4555: Pull complete [2022-06-27T21:24:51.837Z] 7d9057610161: Pull complete [2022-06-27T21:24:51.837Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T21:24:51.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T21:24:51.837Z] ---> 819e984ddca1 [2022-06-27T21:24:51.837Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T21:24:53.818Z] ---> Running in fad8b23b70ba [2022-06-27T21:24:53.818Z] Removing intermediate container fad8b23b70ba [2022-06-27T21:24:53.818Z] ---> 9c35ef865973 [2022-06-27T21:24:53.818Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T21:24:53.818Z] ---> Running in 02627290adfc [2022-06-27T21:24:54.095Z] Removing intermediate container 02627290adfc [2022-06-27T21:24:54.095Z] ---> 0f64b0b659b8 [2022-06-27T21:24:54.095Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T21:24:54.406Z] ---> Running in 282a14962443 [2022-06-27T21:24:54.694Z] Removing intermediate container 282a14962443 [2022-06-27T21:24:54.694Z] ---> ab9f30a91e3b [2022-06-27T21:24:54.694Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T21:24:54.694Z] ---> Running in 6b08cfe84108 [2022-06-27T21:24:56.134Z] Removing intermediate container 6b08cfe84108 [2022-06-27T21:24:56.134Z] ---> 566db2cbd718 [2022-06-27T21:24:56.134Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:24:56.134Z] ---> Running in e895148b6602 [2022-06-27T21:24:58.128Z] Removing intermediate container e895148b6602 [2022-06-27T21:24:58.128Z] ---> 3186791b1945 [2022-06-27T21:24:58.128Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T21:24:58.128Z] ---> Running in 13a5f29ab60f [2022-06-27T21:24:59.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T21:24:59.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T21:25:00.675Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T21:25:00.675Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T21:25:00.675Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T21:25:00.949Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T21:25:01.223Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T21:25:01.223Z] OK: 224 MiB in 56 packages [2022-06-27T21:25:02.202Z] Removing intermediate container 13a5f29ab60f [2022-06-27T21:25:02.202Z] ---> fd2ab0ba9b48 [2022-06-27T21:25:02.202Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T21:25:02.478Z] ---> 2f7c9e316b04 [2022-06-27T21:25:02.478Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T21:25:02.478Z] ---> Running in 65e66ab44c97 [2022-06-27T21:25:59.046Z] Removing intermediate container 65e66ab44c97 [2022-06-27T21:25:59.046Z] ---> 609c4f0aa046 [2022-06-27T21:25:59.046Z] Step 11/12 : COPY . . [2022-06-27T21:25:59.046Z] ---> fcd93014f3a2 [2022-06-27T21:25:59.046Z] Step 12/12 : RUN ${MAKE} [2022-06-27T21:25:59.046Z] ---> Running in 784c6aaee446 [2022-06-27T21:25:59.046Z] noop [2022-06-27T21:25:59.320Z] Removing intermediate container 784c6aaee446 [2022-06-27T21:25:59.320Z] ---> 4fe4ea229313 [2022-06-27T21:25:59.320Z] Successfully built 4fe4ea229313 [2022-06-27T21:25:59.321Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:25:59.680Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T21:25:59.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:25:59.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-16149 does not seem to be running inside a container [2022-06-27T21:26:00.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T21:26:01.279Z] $ docker top d56991024f74402b717b4be1c9bbb06e10871920b6c4f3b63d1e54eacf89f6fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T21:26:02.189Z] + go version [2022-06-27T21:26:02.189Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T21:26:02.220Z] $ docker stop --time=1 d56991024f74402b717b4be1c9bbb06e10871920b6c4f3b63d1e54eacf89f6fc [2022-06-27T21:26:03.868Z] $ docker rm -f d56991024f74402b717b4be1c9bbb06e10871920b6c4f3b63d1e54eacf89f6fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:26:04.464Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T21:26:04.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:26:04.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-16149 does not seem to be running inside a container [2022-06-27T21:26:04.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T21:26:05.985Z] $ docker top a11d081f0cf3c38e66088fdb7da1aa801895beca6e082b94e5c2f71435fbfde2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T21:26:06.871Z] + make test [2022-06-27T21:26:06.871Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T21:26:08.306Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T21:27:30.149Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T21:27:30.149Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T21:27:30.149Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T21:27:30.149Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T21:27:48.494Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T21:27:48.494Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T21:27:48.494Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T21:27:49.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T21:27:49.966Z] $ docker stop --time=1 a11d081f0cf3c38e66088fdb7da1aa801895beca6e082b94e5c2f71435fbfde2 [2022-06-27T21:27:51.719Z] $ docker rm -f a11d081f0cf3c38e66088fdb7da1aa801895beca6e082b94e5c2f71435fbfde2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T21:27:52.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T21:27:52.647Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T21:27:53.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T21:27:53.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T21:27:54.119Z] + ls -al . [2022-06-27T21:27:54.119Z] total 168 [2022-06-27T21:27:54.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 21:27 . [2022-06-27T21:27:54.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 21:23 .. [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 21:23 .dockerignore [2022-06-27T21:27:54.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 21:24 .git [2022-06-27T21:27:54.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:23 .github [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 21:23 .gitignore [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 21:23 .golangci.yml [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 21:23 Attribution.txt [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 21:23 CHANGELOG.md [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 21:23 Dockerfile [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 21:23 GOVERNANCE.md [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 21:23 Jenkinsfile [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 21:23 LICENSE [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 21:23 Makefile [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 21:23 OWNERS.md [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 21:23 README.md [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 21:21 VERSION [2022-06-27T21:27:54.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 21:23 bin [2022-06-27T21:27:54.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:23 cmd [2022-06-27T21:27:54.119Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 21:26 coverage.out [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 21:23 go.mod [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 21:23 go.sum [2022-06-27T21:27:54.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:23 internal [2022-06-27T21:27:54.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 21:23 snap [2022-06-27T21:27:54.119Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:27:54.468Z] + 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=2563b731bc25ead2b54b0fa2ba7f41ac38b772a1 --label arch=arm64 --label version=0.0.0 . [2022-06-27T21:27:54.743Z] Sending build context to Docker daemon 7.942MB [2022-06-27T21:27:55.018Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T21:27:55.018Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T21:27:55.018Z] ---> 4fe4ea229313 [2022-06-27T21:27:55.018Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T21:27:55.018Z] ---> Running in cdc978f32061 [2022-06-27T21:27:55.290Z] Removing intermediate container cdc978f32061 [2022-06-27T21:27:55.290Z] ---> 4b82b09c0f5e [2022-06-27T21:27:55.290Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T21:27:55.290Z] ---> Running in 883dfd418175 [2022-06-27T21:27:55.566Z] Removing intermediate container 883dfd418175 [2022-06-27T21:27:55.566Z] ---> e6aca5666aca [2022-06-27T21:27:55.566Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T21:27:55.839Z] ---> Running in 52a6b5fb08d7 [2022-06-27T21:27:56.114Z] Removing intermediate container 52a6b5fb08d7 [2022-06-27T21:27:56.114Z] ---> 5db7fd06d96b [2022-06-27T21:27:56.114Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T21:27:56.114Z] ---> Running in 728b7450bd75 [2022-06-27T21:27:56.395Z] Removing intermediate container 728b7450bd75 [2022-06-27T21:27:56.395Z] ---> f7f9fb7d25eb [2022-06-27T21:27:56.395Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:27:56.395Z] ---> Running in e14fded31e31 [2022-06-27T21:27:58.378Z] Removing intermediate container e14fded31e31 [2022-06-27T21:27:58.378Z] ---> bc88d0c0ad5f [2022-06-27T21:27:58.378Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T21:27:58.378Z] ---> Running in dadaae806e4e [2022-06-27T21:27:59.358Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T21:27:59.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T21:28:00.935Z] OK: 224 MiB in 56 packages [2022-06-27T21:28:01.926Z] Removing intermediate container dadaae806e4e [2022-06-27T21:28:01.926Z] ---> 034a99c05451 [2022-06-27T21:28:01.926Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T21:28:02.202Z] ---> dad41daa31ed [2022-06-27T21:28:02.202Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T21:28:02.478Z] ---> Running in 3bc3490613ca [2022-06-27T21:28:04.462Z] Removing intermediate container 3bc3490613ca [2022-06-27T21:28:04.462Z] ---> 16fad5589434 [2022-06-27T21:28:04.462Z] Step 11/26 : COPY . . [2022-06-27T21:28:05.447Z] ---> 06700be89833 [2022-06-27T21:28:05.447Z] Step 12/26 : RUN ${MAKE} [2022-06-27T21:28:05.447Z] ---> Running in f38ee1fcc814 [2022-06-27T21:28:06.433Z] 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-27T21:30:13.323Z] Removing intermediate container f38ee1fcc814 [2022-06-27T21:30:13.323Z] ---> 27ffe07026cb [2022-06-27T21:30:13.323Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T21:30:13.323Z] 3.15: Pulling from library/alpine [2022-06-27T21:30:13.323Z] 9981e73032c8: Pulling fs layer [2022-06-27T21:30:13.323Z] 9981e73032c8: Verifying Checksum [2022-06-27T21:30:13.323Z] 9981e73032c8: Download complete [2022-06-27T21:30:13.323Z] 9981e73032c8: Pull complete [2022-06-27T21:30:13.323Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T21:30:13.323Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T21:30:13.323Z] ---> 3fb3c9af89a9 [2022-06-27T21:30:13.323Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T21:30:13.323Z] ---> Running in 3bced65b512c [2022-06-27T21:30:13.323Z] Removing intermediate container 3bced65b512c [2022-06-27T21:30:13.323Z] ---> 70fec331d60b [2022-06-27T21:30:13.323Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T21:30:13.323Z] ---> Running in 76438a3def2f [2022-06-27T21:30:13.323Z] Removing intermediate container 76438a3def2f [2022-06-27T21:30:13.323Z] ---> 8dd15bc5643c [2022-06-27T21:30:13.323Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T21:30:13.323Z] ---> Running in a203220e23b9 [2022-06-27T21:30:13.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T21:30:13.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T21:30:13.323Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T21:30:13.323Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T21:30:13.323Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T21:30:13.323Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T21:30:13.323Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T21:30:13.323Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T21:30:13.323Z] OK: 8 MiB in 19 packages [2022-06-27T21:30:13.323Z] Removing intermediate container a203220e23b9 [2022-06-27T21:30:13.323Z] ---> 62e98bdcc406 [2022-06-27T21:30:13.323Z] Step 17/26 : WORKDIR / [2022-06-27T21:30:13.323Z] ---> Running in 160f5898471f [2022-06-27T21:30:13.323Z] Removing intermediate container 160f5898471f [2022-06-27T21:30:13.323Z] ---> f9ece42a7bb2 [2022-06-27T21:30:13.323Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T21:30:13.323Z] ---> 545890922f80 [2022-06-27T21:30:13.323Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T21:30:13.323Z] ---> cb0e09d5ea1a [2022-06-27T21:30:13.323Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T21:30:13.323Z] ---> a200118a2600 [2022-06-27T21:30:13.323Z] Step 21/26 : EXPOSE 59910 [2022-06-27T21:30:13.323Z] ---> Running in 816d77eac2cf [2022-06-27T21:30:13.323Z] Removing intermediate container 816d77eac2cf [2022-06-27T21:30:13.323Z] ---> ac00a8cf374d [2022-06-27T21:30:13.323Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T21:30:13.323Z] ---> Running in 5ed2eea71740 [2022-06-27T21:30:13.323Z] Removing intermediate container 5ed2eea71740 [2022-06-27T21:30:13.323Z] ---> 9774456cb739 [2022-06-27T21:30:13.323Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T21:30:13.323Z] ---> Running in df63a0da98c8 [2022-06-27T21:30:13.323Z] Removing intermediate container df63a0da98c8 [2022-06-27T21:30:13.323Z] ---> 02917a9e4aa7 [2022-06-27T21:30:13.323Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T21:30:13.323Z] ---> Running in 628b3b6edf4d [2022-06-27T21:30:13.323Z] Removing intermediate container 628b3b6edf4d [2022-06-27T21:30:13.323Z] ---> ce6610ffe6c8 [2022-06-27T21:30:13.323Z] Step 25/26 : LABEL git_sha=2563b731bc25ead2b54b0fa2ba7f41ac38b772a1 [2022-06-27T21:30:13.323Z] ---> Running in c197eb3e99f9 [2022-06-27T21:30:13.323Z] Removing intermediate container c197eb3e99f9 [2022-06-27T21:30:13.323Z] ---> 64a0dad6ad79 [2022-06-27T21:30:13.323Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T21:30:13.323Z] ---> Running in 57862994db44 [2022-06-27T21:30:13.323Z] Removing intermediate container 57862994db44 [2022-06-27T21:30:13.323Z] ---> cb67c8132f09 [2022-06-27T21:30:13.323Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T21:30:13.323Z] Successfully built cb67c8132f09 [2022-06-27T21:30:13.324Z] 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-27T21:30:13.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T21:30:13.780Z] [2022-06-27T21:30:13.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:30:14.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T21:30:14.405Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T21:30:14.405Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T21:30:14.405Z] 04944245beec: Pulling fs layer [2022-06-27T21:30:14.405Z] 699f458cf7ca: Pulling fs layer [2022-06-27T21:30:14.405Z] 765212b225bb: Pulling fs layer [2022-06-27T21:30:14.405Z] f23df028b6ca: Pulling fs layer [2022-06-27T21:30:14.405Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T21:30:14.405Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T21:30:14.405Z] f23df028b6ca: Waiting [2022-06-27T21:30:14.405Z] 2437ff75d9bd: Waiting [2022-06-27T21:30:14.405Z] d65c8cfc05b1: Waiting [2022-06-27T21:30:14.405Z] 765212b225bb: Waiting [2022-06-27T21:30:14.405Z] 04944245beec: Verifying Checksum [2022-06-27T21:30:14.405Z] 04944245beec: Download complete [2022-06-27T21:30:14.405Z] 765212b225bb: Verifying Checksum [2022-06-27T21:30:14.405Z] 765212b225bb: Download complete [2022-06-27T21:30:14.405Z] f23df028b6ca: Verifying Checksum [2022-06-27T21:30:14.405Z] f23df028b6ca: Download complete [2022-06-27T21:30:14.405Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T21:30:14.405Z] d65c8cfc05b1: Download complete [2022-06-27T21:30:14.680Z] 699f458cf7ca: Verifying Checksum [2022-06-27T21:30:14.680Z] 699f458cf7ca: Download complete [2022-06-27T21:30:14.954Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T21:30:14.954Z] 8998bd30e6a1: Download complete [2022-06-27T21:30:17.593Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T21:30:17.593Z] 2437ff75d9bd: Download complete [2022-06-27T21:30:19.579Z] 8998bd30e6a1: Pull complete [2022-06-27T21:30:19.852Z] 04944245beec: Pull complete [2022-06-27T21:30:21.290Z] 699f458cf7ca: Pull complete [2022-06-27T21:30:21.565Z] 765212b225bb: Pull complete [2022-06-27T21:30:22.165Z] f23df028b6ca: Pull complete [2022-06-27T21:30:22.441Z] d65c8cfc05b1: Pull complete [2022-06-27T21:30:37.538Z] 2437ff75d9bd: Pull complete [2022-06-27T21:30:37.538Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T21:30:37.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T21:30:37.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:30:37.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-16149 does not seem to be running inside a container [2022-06-27T21:30:37.906Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T21:30:40.415Z] $ docker top a5ad8d59e37163fac4c8ce743e9076cf9490431d19cac6fbd0cae004d8d70145 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:41.324Z] ---> job-cost.sh [2022-06-27T21:30:41.324Z] lf-activate-venv: SKIPPING [2022-06-27T21:30:41.324Z] INFO: No Stack... [2022-06-27T21:30:41.918Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T21:30:42.515Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T21:30:43.198Z] + + cut -d, -f6 [2022-06-27T21:30:43.198Z] cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock [2022-06-27T21:30:43.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [2022-06-27T21:30:43.276Z] Resource [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] did not exist. Created. [2022-06-27T21:30:43.276Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T21:30:43.961Z] /w/workspace/device-gpio/2@tmp/durable-441daf7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T21:30:44.637Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T21:30:44.663Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T21:30:44.710Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T21:30:44.721Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-43-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T21:30:44.744Z] $ docker stop --time=1 a5ad8d59e37163fac4c8ce743e9076cf9490431d19cac6fbd0cae004d8d70145 [2022-06-27T21:30:46.238Z] $ docker rm -f a5ad8d59e37163fac4c8ce743e9076cf9490431d19cac6fbd0cae004d8d70145 [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-27T21:30:46.681Z] provisioning config files... [2022-06-27T21:30:46.694Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config3766536189104978593tmp [Pipeline] { [Pipeline] sh [2022-06-27T21:30:47.028Z] + set +x [2022-06-27T21:30:47.028Z] + curl -s https://codecov.io/bash [2022-06-27T21:30:47.028Z] + bash -s -- [2022-06-27T21:30:47.028Z] [2022-06-27T21:30:47.028Z] _____ _ [2022-06-27T21:30:47.028Z] / ____| | | [2022-06-27T21:30:47.028Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T21:30:47.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T21:30:47.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T21:30:47.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T21:30:47.028Z] Bash-1.0.6 [2022-06-27T21:30:47.028Z] [2022-06-27T21:30:47.028Z] [2022-06-27T21:30:47.028Z] ==> git version 2.25.1 found [2022-06-27T21:30:47.028Z] ==> 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-27T21:30:47.028Z] Release-Date: 2020-01-08 [2022-06-27T21:30:47.028Z] 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-27T21:30:47.028Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T21:30:47.028Z] ==> Jenkins CI detected. [2022-06-27T21:30:47.028Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-43 [2022-06-27T21:30:47.028Z] project root: . [2022-06-27T21:30:47.028Z] --> token set from env [2022-06-27T21:30:47.028Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T21:30:47.028Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T21:30:47.028Z] ==> Python coveragepy not found [2022-06-27T21:30:47.028Z] ==> Searching for coverage reports in: [2022-06-27T21:30:47.028Z] + . [2022-06-27T21:30:47.028Z] -> Found 1 reports [2022-06-27T21:30:47.028Z] ==> Detecting git/mercurial file structure [2022-06-27T21:30:47.028Z] ==> Reading reports [2022-06-27T21:30:47.028Z] + ./coverage.out bytes=10 [2022-06-27T21:30:47.028Z] ==> Appending adjustments [2022-06-27T21:30:47.028Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T21:30:47.287Z] + Found adjustments [2022-06-27T21:30:47.287Z] ==> Gzipping contents [2022-06-27T21:30:47.287Z] 4.0K /tmp/codecov.NcvaFu.gz [2022-06-27T21:30:47.287Z] ==> Uploading reports [2022-06-27T21:30:47.287Z] url: https://codecov.io [2022-06-27T21:30:47.287Z] query: branch=PR-43&commit=0c99b0f58784df179b2686b16edcc28a7de27881&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-27T21:30:47.287Z] -> Pinging Codecov [2022-06-27T21:30:47.287Z] 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=0c99b0f58784df179b2686b16edcc28a7de27881&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-27T21:30:47.287Z] -> Uploading to [2022-06-27T21:30:47.287Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/0c99b0f58784df179b2686b16edcc28a7de27881/1c11d703-2e67-41d1-a9a7-afc901b613b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T213047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78f8e335ec81aa015ec39eec7949f2b23f3aa49d82da3b831bd6653d162cc864 [2022-06-27T21:30:47.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T21:30:47.287Z] Dload Upload Total Spent Left Speed [2022-06-27T21:30:47.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3586 --:--:-- --:--:-- --:--:-- 3586 [2022-06-27T21:30:47.546Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/0c99b0f58784df179b2686b16edcc28a7de27881 [Pipeline] } [2022-06-27T21:30:47.555Z] 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-27T21:30:48.234Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-43/archives ] [2022-06-27T21:30:48.234Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T21:30:48.234Z] total 16 [2022-06-27T21:30:48.234Z] drwxr-xr-x 3 root root 4096 Jun 27 21:23 . [2022-06-27T21:30:48.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 21:23 .. [2022-06-27T21:30:48.234Z] drwxr-xr-x 2 root root 4096 Jun 27 21:23 cost [2022-06-27T21:30:48.234Z] -rw-r--r-- 1 root root 81 Jun 27 21:23 cost.csv [2022-06-27T21:30:48.234Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T21:30:48.234Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-43/archives [2022-06-27T21:30:48.234Z] total 16 [2022-06-27T21:30:48.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 21:23 . [2022-06-27T21:30:48.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 21:23 .. [2022-06-27T21:30:48.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 21:23 cost [2022-06-27T21:30:48.234Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 27 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:48.528Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:49.396Z] ---> package-listing.sh [2022-06-27T21:30:49.396Z] ++ facter osfamily [2022-06-27T21:30:49.396Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T21:30:49.657Z] + OS_FAMILY=debian [2022-06-27T21:30:49.657Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-43 [2022-06-27T21:30:49.657Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T21:30:49.657Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T21:30:49.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T21:30:49.657Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T21:30:49.657Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-43 ']' [2022-06-27T21:30:49.657Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T21:30:49.657Z] + case "${OS_FAMILY}" in [2022-06-27T21:30:49.657Z] + dpkg -l [2022-06-27T21:30:49.657Z] + grep '^ii' [2022-06-27T21:30:49.657Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T21:30:49.657Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T21:30:49.657Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T21:30:49.657Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-43 ']' [2022-06-27T21:30:49.657Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-43/archives/ [2022-06-27T21:30:49.657Z] + 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-27T21:30:49.669Z] 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-27T21:30:49.947Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T21:30:50.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T21:30:50.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T21:30:50.593Z] prd-ubuntu20.04-docker-8c-8g-16147 does not seem to be running inside a container [2022-06-27T21:30:50.627Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T21:30:51.127Z] $ docker top 25aa3daa994ca61daf78bd952cd201db30dc936d22edb36a8027563aa3cfd8f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T21:30:51.477Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T21:30:51.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T21:30:52.052Z] + ls /var/log/sa-host [2022-06-27T21:30:52.052Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T21:30:52.175Z] provisioning config files... [2022-06-27T21:30:52.183Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-43@tmp/config1641462775612399980tmp [Pipeline] { [Pipeline] echo [2022-06-27T21:30:52.194Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:52.477Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T21:30:52.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:52.816Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T21:30:52.824Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:53.107Z] ---> sudo-logs.sh [2022-06-27T21:30:53.107Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T21:30:53.128Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:53.411Z] ---> job-cost.sh [2022-06-27T21:30:53.411Z] lf-activate-venv: SKIPPING [2022-06-27T21:30:53.411Z] DEBUG: total: 0.2199999988079071 [2022-06-27T21:30:53.411Z] INFO: Retrieving Stack Cost... [2022-06-27T21:30:53.673Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T21:30:54.243Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T21:30:54.256Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T21:30:54.544Z] ---> logs-deploy.sh [2022-06-27T21:30:54.544Z] lf-activate-venv: SKIPPING [2022-06-27T21:30:54.544Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-43/2 [2022-06-27T21:30:54.544Z] INFO: archiving workspace using pattern(s): [2022-06-27T21:30:55.484Z] Archives upload complete. [2022-06-27T21:30:55.484Z] INFO: archiving logs to Nexus