Pull request #13 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-gpio Loading trusted files from base branch main at d550a7515acedfb5a6817696fd12096f388c1d1e rather than 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e 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-ssh119692455199529369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9024832381278637401.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-13/workspace@libs/edgex-global-pipelines/.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-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16855582883716284874.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh255474751335926739.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-13/workspace@libs/lf-pipelines/.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-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8509252963918485489.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7958 in /w/workspace/edgexfoundry_device-gpio_PR-13 [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-13 # 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 d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa Merge succeeded, producing 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa Checking out Revision 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa (PR-13) > 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/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # 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 d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 Commit message: "build(snap): cleanup readme and snapcraft" > git rev-list --no-walk 77b5df9a5fbda4615766292996bf2ff042b53e04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-18T11:58:58.237Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-18T11:58:58.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-18T11:58:58.320Z] ========================================================= [2022-03-18T11:58:58.320Z] EdgeX Global Pipelines Version Info [2022-03-18T11:58:58.320Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-18T11:58:59.113Z] ------------------- [2022-03-18T11:58:59.113Z] stable info: [2022-03-18T11:58:59.113Z] ------------------- [2022-03-18T11:58:59.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-18T11:58:59.113Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T11:58:59.114Z] Message: update stable to v1.0.221 [2022-03-18T11:58:59.688Z] ------------------- [2022-03-18T11:58:59.688Z] experimental info: [2022-03-18T11:58:59.688Z] ------------------- [2022-03-18T11:58:59.688Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-18T11:58:59.688Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T11:58:59.688Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-18T11:58:59.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-18T11:58:59.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-18T11:58:59.846Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-18T11:58:59.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-18T11:58:59.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-18T11:58:59.907Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-18T11:58:59.926Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-18T11:58:59.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-18T11:58:59.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-18T11:58:59.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-18T11:58:59.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-18T11:59:00.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-18T11:59:00.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-18T11:59:00.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-18T11:59:00.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T11:59:00.076Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T11:59:00.093Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T11:59:00.109Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T11:59:00.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-18T11:59:00.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-18T11:59:00.162Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-18T11:59:00.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-18T11:59:00.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-18T11:59:00.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-18T11:59:00.220Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-18T11:59:00.235Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-18T11:59:00.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo [2022-03-18T11:59:00.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo [2022-03-18T11:59:00.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo [2022-03-18T11:59:00.282Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo [2022-03-18T11:59:00.294Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12dfc2a [Pipeline] echo [2022-03-18T11:59:00.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T11:59:00.342Z] provisioning config files... [2022-03-18T11:59:00.355Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config6273070148647618641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T11:59:00.657Z] ---> docker-login.sh [2022-03-18T11:59:00.657Z] nexus3.edgexfoundry.org:10001 [2022-03-18T11:59:00.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:01.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:01.180Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:01.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:01.180Z] [2022-03-18T11:59:01.180Z] Login Succeeded [2022-03-18T11:59:01.180Z] nexus3.edgexfoundry.org:10002 [2022-03-18T11:59:01.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:01.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:01.180Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:01.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:01.180Z] [2022-03-18T11:59:01.180Z] Login Succeeded [2022-03-18T11:59:01.180Z] nexus3.edgexfoundry.org:10003 [2022-03-18T11:59:01.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:01.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:01.441Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:01.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:01.441Z] [2022-03-18T11:59:01.441Z] Login Succeeded [2022-03-18T11:59:01.441Z] nexus3.edgexfoundry.org:10004 [2022-03-18T11:59:01.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:01.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:01.441Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:01.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:01.441Z] [2022-03-18T11:59:01.441Z] Login Succeeded [2022-03-18T11:59:01.441Z] docker.io [2022-03-18T11:59:01.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:01.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:01.972Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:01.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:01.972Z] [2022-03-18T11:59:01.972Z] Login Succeeded [2022-03-18T11:59:01.972Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T11:59:01.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-18T11:59:02.364Z] + git rev-list -1 --merges 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa~1..12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo [2022-03-18T11:59:02.495Z] -----------> git rev-list -1 --merges 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa~1..12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [false] [Pipeline] sh [2022-03-18T11:59:02.796Z] + git log --format=format:%s -1 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo [2022-03-18T11:59:02.817Z] ========================================================= [2022-03-18T11:59:02.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T11:59:02.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T11:59:03.179Z] + git log --format=format:%s -1 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo [2022-03-18T11:59:03.191Z] [semverPrep] GIT_COMMIT: 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa, Commit Message: build(snap): cleanup readme and snapcraft [Pipeline] echo [2022-03-18T11:59:03.205Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-18T11:59:03.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T11:59:03.635Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-18T11:59:03.635Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-18T11:59:03.635Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-18T11:59:03.635Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-18T11:59:03.635Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-18T11:59:03.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T11:59:04.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T11:59:04.070Z] [2022-03-18T11:59:04.070Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T11:59:04.377Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T11:59:04.377Z] latest: Pulling from edgex-devops/git-semver [2022-03-18T11:59:04.377Z] a0d0a0d46f8b: Pulling fs layer [2022-03-18T11:59:04.377Z] 3e5f54012d9b: Pulling fs layer [2022-03-18T11:59:04.377Z] 4c7163046ea9: Pulling fs layer [2022-03-18T11:59:04.377Z] 0c2d73faf560: Pulling fs layer [2022-03-18T11:59:04.377Z] 0c2d73faf560: Waiting [2022-03-18T11:59:04.377Z] 3e5f54012d9b: Verifying Checksum [2022-03-18T11:59:04.377Z] 3e5f54012d9b: Download complete [2022-03-18T11:59:04.377Z] a0d0a0d46f8b: Download complete [2022-03-18T11:59:04.639Z] 0c2d73faf560: Verifying Checksum [2022-03-18T11:59:04.639Z] 0c2d73faf560: Download complete [2022-03-18T11:59:04.639Z] 4c7163046ea9: Verifying Checksum [2022-03-18T11:59:04.639Z] 4c7163046ea9: Download complete [2022-03-18T11:59:04.639Z] a0d0a0d46f8b: Pull complete [2022-03-18T11:59:04.639Z] 3e5f54012d9b: Pull complete [2022-03-18T11:59:05.212Z] 4c7163046ea9: Pull complete [2022-03-18T11:59:05.212Z] 0c2d73faf560: Pull complete [2022-03-18T11:59:05.212Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-18T11:59:05.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T11:59:05.212Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-18T11:59:05.298Z] prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container [2022-03-18T11:59:05.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T11:59:06.053Z] $ docker top aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T11:59:06.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T11:59:06.161Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T11:59:06.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T11:59:06.300Z] $ docker exec aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent [2022-03-18T11:59:06.426Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPdpKbL/agent.13 [2022-03-18T11:59:06.426Z] SSH_AGENT_PID=19 [2022-03-18T11:59:06.433Z] Running ssh-add (command line suppressed) [2022-03-18T11:59:06.555Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3102564142552584792.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3102564142552584792.key) [2022-03-18T11:59:06.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T11:59:06.864Z] + git tag --points-at HEAD [Pipeline] } [2022-03-18T11:59:06.876Z] $ docker exec --env ******** --env ******** aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent -k [2022-03-18T11:59:06.988Z] unset SSH_AUTH_SOCK; [2022-03-18T11:59:06.988Z] unset SSH_AGENT_PID; [2022-03-18T11:59:06.988Z] echo Agent pid 19 killed; [2022-03-18T11:59:07.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-18T11:59:07.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T11:59:07.024Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T11:59:07.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T11:59:07.156Z] $ docker exec aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent [2022-03-18T11:59:07.288Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMjpGc/agent.52 [2022-03-18T11:59:07.288Z] SSH_AGENT_PID=58 [2022-03-18T11:59:07.293Z] Running ssh-add (command line suppressed) [2022-03-18T11:59:07.413Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3090438477937926389.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3090438477937926389.key) [2022-03-18T11:59:07.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T11:59:07.725Z] + git semver init [2022-03-18T11:59:07.725Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T11:59:07.725Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git [2022-03-18T11:59:07.725Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T11:59:07.725Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T11:59:07.725Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T11:59:07.725Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T11:59:07.725Z] # $SEMVER_BRANCH = PR-13 [2022-03-18T11:59:07.725Z] # $SEMVER_TEMP = /tmp/semver-970289643 [2022-03-18T11:59:07.725Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-18T11:59:08.667Z] # '/tmp/semver-970289643' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' [2022-03-18T11:59:08.667Z] # -> Force: false [2022-03-18T11:59:08.667Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } [2022-03-18T11:59:08.679Z] $ docker exec --env ******** --env ******** aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent -k [2022-03-18T11:59:08.791Z] unset SSH_AUTH_SOCK; [2022-03-18T11:59:08.792Z] unset SSH_AGENT_PID; [2022-03-18T11:59:08.792Z] echo Agent pid 58 killed; [2022-03-18T11:59:08.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T11:59:09.116Z] + git semver [Pipeline] } [2022-03-18T11:59:09.131Z] $ docker stop --time=1 aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be [2022-03-18T11:59:10.514Z] $ docker rm -f aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T11:59:10.869Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-18T11:59:11.147Z] Stashed 1 file(s) [Pipeline] echo [2022-03-18T11:59:11.151Z] [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-03-18T11:59:11.316Z] provisioning config files... [2022-03-18T11:59:11.329Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config7226457930529859098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T11:59:11.636Z] ---> docker-login.sh [2022-03-18T11:59:11.636Z] nexus3.edgexfoundry.org:10001 [2022-03-18T11:59:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:11.636Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:11.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:11.636Z] [2022-03-18T11:59:11.636Z] Login Succeeded [2022-03-18T11:59:11.636Z] nexus3.edgexfoundry.org:10002 [2022-03-18T11:59:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:11.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:11.897Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:11.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:11.897Z] [2022-03-18T11:59:11.897Z] Login Succeeded [2022-03-18T11:59:11.897Z] nexus3.edgexfoundry.org:10003 [2022-03-18T11:59:11.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:11.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:11.897Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:11.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:11.897Z] [2022-03-18T11:59:11.897Z] Login Succeeded [2022-03-18T11:59:11.897Z] nexus3.edgexfoundry.org:10004 [2022-03-18T11:59:12.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:12.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:12.158Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:12.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:12.158Z] [2022-03-18T11:59:12.158Z] Login Succeeded [2022-03-18T11:59:12.158Z] docker.io [2022-03-18T11:59:12.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T11:59:12.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T11:59:12.418Z] Configure a credential helper to remove this warning. See [2022-03-18T11:59:12.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T11:59:12.418Z] [2022-03-18T11:59:12.418Z] Login Succeeded [2022-03-18T11:59:12.418Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T11:59:12.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T11:59:12.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T11:59:12.505Z] ========================================================= [2022-03-18T11:59:12.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-18T11:59:12.505Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T11:59:12.828Z] + 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-03-18T11:59:12.828Z] Sending build context to Docker daemon 11.2MB [2022-03-18T11:59:12.828Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T11:59:12.828Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-18T11:59:12.828Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-18T11:59:12.828Z] 59bf1c3509f3: Pulling fs layer [2022-03-18T11:59:12.828Z] 666ba61612fd: Pulling fs layer [2022-03-18T11:59:12.828Z] 8ed8ca486205: Pulling fs layer [2022-03-18T11:59:12.828Z] 4fe6c5a15a65: Pulling fs layer [2022-03-18T11:59:12.828Z] 22a0e8bec74d: Pulling fs layer [2022-03-18T11:59:12.828Z] 640e595b4fbd: Pulling fs layer [2022-03-18T11:59:12.828Z] 763cafe07f6e: Pulling fs layer [2022-03-18T11:59:12.828Z] 0c0b528cf693: Pulling fs layer [2022-03-18T11:59:12.828Z] 10935f4eaf8b: Pulling fs layer [2022-03-18T11:59:12.828Z] 640e595b4fbd: Waiting [2022-03-18T11:59:12.828Z] 763cafe07f6e: Waiting [2022-03-18T11:59:12.828Z] 0c0b528cf693: Waiting [2022-03-18T11:59:12.828Z] 10935f4eaf8b: Waiting [2022-03-18T11:59:12.828Z] 4fe6c5a15a65: Waiting [2022-03-18T11:59:12.828Z] 22a0e8bec74d: Waiting [2022-03-18T11:59:12.828Z] 8ed8ca486205: Verifying Checksum [2022-03-18T11:59:12.828Z] 8ed8ca486205: Download complete [2022-03-18T11:59:13.090Z] 666ba61612fd: Verifying Checksum [2022-03-18T11:59:13.090Z] 666ba61612fd: Download complete [2022-03-18T11:59:13.090Z] 22a0e8bec74d: Download complete [2022-03-18T11:59:13.090Z] 59bf1c3509f3: Verifying Checksum [2022-03-18T11:59:13.090Z] 640e595b4fbd: Verifying Checksum [2022-03-18T11:59:13.090Z] 640e595b4fbd: Download complete [2022-03-18T11:59:13.090Z] 763cafe07f6e: Verifying Checksum [2022-03-18T11:59:13.090Z] 763cafe07f6e: Download complete [2022-03-18T11:59:13.090Z] 0c0b528cf693: Verifying Checksum [2022-03-18T11:59:13.090Z] 0c0b528cf693: Download complete [2022-03-18T11:59:13.090Z] 59bf1c3509f3: Pull complete [2022-03-18T11:59:13.350Z] 666ba61612fd: Pull complete [2022-03-18T11:59:13.350Z] 8ed8ca486205: Pull complete [2022-03-18T11:59:13.610Z] 10935f4eaf8b: Verifying Checksum [2022-03-18T11:59:13.610Z] 10935f4eaf8b: Download complete [2022-03-18T11:59:13.871Z] 4fe6c5a15a65: Verifying Checksum [2022-03-18T11:59:13.871Z] 4fe6c5a15a65: Download complete [2022-03-18T11:59:18.064Z] 4fe6c5a15a65: Pull complete [2022-03-18T11:59:18.064Z] 22a0e8bec74d: Pull complete [2022-03-18T11:59:18.064Z] 640e595b4fbd: Pull complete [2022-03-18T11:59:18.064Z] 763cafe07f6e: Pull complete [2022-03-18T11:59:18.323Z] 0c0b528cf693: Pull complete [2022-03-18T11:59:20.868Z] 10935f4eaf8b: Pull complete [2022-03-18T11:59:20.868Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-18T11:59:20.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-18T11:59:20.868Z] ---> 99d49a6021b9 [2022-03-18T11:59:20.868Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T11:59:22.256Z] ---> Running in 1b0d393f78ff [2022-03-18T11:59:22.256Z] Removing intermediate container 1b0d393f78ff [2022-03-18T11:59:22.256Z] ---> cd2a840d0235 [2022-03-18T11:59:22.256Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T11:59:22.256Z] ---> Running in f3305a8b21b9 [2022-03-18T11:59:22.256Z] Removing intermediate container f3305a8b21b9 [2022-03-18T11:59:22.256Z] ---> e67e512c613c [2022-03-18T11:59:22.256Z] Step 5/11 : WORKDIR /device-gpio [2022-03-18T11:59:22.256Z] ---> Running in b9868ecc0aa4 [2022-03-18T11:59:22.516Z] Removing intermediate container b9868ecc0aa4 [2022-03-18T11:59:22.516Z] ---> e07fca0bd855 [2022-03-18T11:59:22.516Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T11:59:22.516Z] ---> Running in 4204b69e8bd3 [2022-03-18T11:59:23.092Z] Removing intermediate container 4204b69e8bd3 [2022-03-18T11:59:23.092Z] ---> 14212fae2627 [2022-03-18T11:59:23.092Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T11:59:23.092Z] ---> Running in 30081f4acf35 [2022-03-18T11:59:23.354Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T11:59:24.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T11:59:24.556Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-18T11:59:24.557Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-18T11:59:24.818Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-18T11:59:24.818Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-18T11:59:24.818Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T11:59:25.085Z] OK: 224 MiB in 56 packages [2022-03-18T11:59:25.347Z] Removing intermediate container 30081f4acf35 [2022-03-18T11:59:25.347Z] ---> 85cb85271f63 [2022-03-18T11:59:25.347Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-18T11:59:25.606Z] ---> e939a5cf4f2c [2022-03-18T11:59:25.606Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T11:59:25.606Z] ---> Running in bc7db2cefb73 [2022-03-18T11:59:26.264Z] Still waiting to schedule task [2022-03-18T11:59:26.265Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-18T11:59:57.740Z] Removing intermediate container bc7db2cefb73 [2022-03-18T11:59:57.740Z] ---> 40175b4b7968 [2022-03-18T11:59:57.740Z] Step 10/11 : COPY . . [2022-03-18T11:59:57.740Z] ---> a2f7095206f7 [2022-03-18T11:59:57.740Z] Step 11/11 : RUN ${MAKE} [2022-03-18T11:59:57.740Z] ---> Running in ff30cf899ce7 [2022-03-18T11:59:57.740Z] Removing intermediate container ff30cf899ce7 [2022-03-18T11:59:57.740Z] ---> c12421ada987 [2022-03-18T11:59:57.740Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-18T11:59:57.740Z] Successfully built c12421ada987 [2022-03-18T11:59:57.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T11:59:58.042Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T11:59:58.043Z] . [Pipeline] withDockerContainer [2022-03-18T11:59:58.115Z] prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container [2022-03-18T11:59:58.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T11:59:58.606Z] $ docker top 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T11:59:58.977Z] + go version [2022-03-18T11:59:58.977Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-18T11:59:58.992Z] $ docker stop --time=1 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 [2022-03-18T12:00:00.287Z] $ docker rm -f 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:00:00.732Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T12:00:00.732Z] . [Pipeline] withDockerContainer [2022-03-18T12:00:00.810Z] prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container [2022-03-18T12:00:00.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T12:00:01.243Z] $ docker top 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T12:00:01.611Z] + make test [2022-03-18T12:00:01.612Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-18T12:00:01.873Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-18T12:00:08.593Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-18T12:00:08.593Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-18T12:00:08.853Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T12:00:12.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T12:00:12.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T12:00:12.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-18T12:00:12.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T12:00:12.451Z] $ docker stop --time=1 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 [2022-03-18T12:00:14.150Z] $ docker rm -f 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T12:00:14.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T12:00:14.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-18T12:00:15.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T12:00:15.893Z] + ls -al . [2022-03-18T12:00:15.893Z] total 184 [2022-03-18T12:00:15.893Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 12:00 . [2022-03-18T12:00:15.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 11:58 .. [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 11:58 .dockerignore [2022-03-18T12:00:15.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 11:58 .git [2022-03-18T12:00:15.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 11:58 .github [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 11:58 .gitignore [2022-03-18T12:00:15.893Z] drwx------ 3 jenkins jenkins 4096 Mar 18 11:59 .semver [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 11:58 Attribution.txt [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 11:58 Dockerfile [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 11:58 GOVERNANCE.md [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 11:58 Jenkinsfile [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 11:58 LICENSE [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 11:58 Makefile [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 11:58 OWNERS.md [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 11:58 README.md [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 11:59 VERSION [2022-03-18T12:00:15.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 11:58 bin [2022-03-18T12:00:15.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 cmd [2022-03-18T12:00:15.893Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 18 12:00 coverage.out [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 11:58 go.mod [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 11:58 go.sum [2022-03-18T12:00:15.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 internal [2022-03-18T12:00:15.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 snap [2022-03-18T12:00:15.893Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 11:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:00:16.195Z] + 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=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa --label arch=amd64 --label version=0.0.0 . [2022-03-18T12:00:16.195Z] Sending build context to Docker daemon 11.2MB [2022-03-18T12:00:16.195Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T12:00:16.195Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-18T12:00:16.195Z] ---> c12421ada987 [2022-03-18T12:00:16.195Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T12:00:16.195Z] ---> Running in 6968d4302f92 [2022-03-18T12:00:16.457Z] Removing intermediate container 6968d4302f92 [2022-03-18T12:00:16.457Z] ---> b794f6765b5b [2022-03-18T12:00:16.457Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T12:00:16.457Z] ---> Running in d18b2375912a [2022-03-18T12:00:16.457Z] Removing intermediate container d18b2375912a [2022-03-18T12:00:16.457Z] ---> 8c0d8b7740e6 [2022-03-18T12:00:16.457Z] Step 5/25 : WORKDIR /device-gpio [2022-03-18T12:00:16.718Z] ---> Running in c92a14450532 [2022-03-18T12:00:16.718Z] Removing intermediate container c92a14450532 [2022-03-18T12:00:16.718Z] ---> 412e0f4a7753 [2022-03-18T12:00:16.718Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T12:00:16.718Z] ---> Running in 1f176cb0cfb0 [2022-03-18T12:00:17.292Z] Removing intermediate container 1f176cb0cfb0 [2022-03-18T12:00:17.292Z] ---> 1b5295d4878b [2022-03-18T12:00:17.292Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T12:00:17.292Z] ---> Running in 0068e21457a9 [2022-03-18T12:00:17.552Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T12:00:18.495Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T12:00:18.755Z] OK: 224 MiB in 56 packages [2022-03-18T12:00:19.324Z] Removing intermediate container 0068e21457a9 [2022-03-18T12:00:19.324Z] ---> c0acddff397b [2022-03-18T12:00:19.324Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-18T12:00:19.324Z] ---> c439231a5d76 [2022-03-18T12:00:19.324Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T12:00:19.583Z] ---> Running in f4b5f7e09a91 [2022-03-18T12:00:20.155Z] Removing intermediate container f4b5f7e09a91 [2022-03-18T12:00:20.155Z] ---> ff2320e9a177 [2022-03-18T12:00:20.155Z] Step 10/25 : COPY . . [2022-03-18T12:00:20.726Z] ---> ab863b67a3e6 [2022-03-18T12:00:20.726Z] Step 11/25 : RUN ${MAKE} [2022-03-18T12:00:20.726Z] ---> Running in fcba89fa88e5 [2022-03-18T12:00:21.296Z] Removing intermediate container fcba89fa88e5 [2022-03-18T12:00:21.296Z] ---> 9777af5a19ba [2022-03-18T12:00:21.296Z] Step 12/25 : FROM alpine:3.15 [2022-03-18T12:00:21.866Z] 3.15: Pulling from library/alpine [2022-03-18T12:00:21.866Z] 3d2430473443: Pulling fs layer [2022-03-18T12:00:22.127Z] 3d2430473443: Verifying Checksum [2022-03-18T12:00:22.127Z] 3d2430473443: Download complete [2022-03-18T12:00:22.127Z] 3d2430473443: Pull complete [2022-03-18T12:00:22.387Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-18T12:00:22.387Z] Status: Downloaded newer image for alpine:3.15 [2022-03-18T12:00:22.387Z] ---> e9adb5357e84 [2022-03-18T12:00:22.387Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-18T12:00:22.387Z] ---> Running in ad7aaa9d4fa8 [2022-03-18T12:00:22.387Z] Removing intermediate container ad7aaa9d4fa8 [2022-03-18T12:00:22.387Z] ---> b6e00e705675 [2022-03-18T12:00:22.387Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T12:00:22.387Z] ---> Running in 5eef85b3577a [2022-03-18T12:00:22.957Z] Removing intermediate container 5eef85b3577a [2022-03-18T12:00:22.957Z] ---> 8c3aa3884b3f [2022-03-18T12:00:22.957Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-18T12:00:23.215Z] ---> Running in cbb2debba53e [2022-03-18T12:00:23.475Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T12:00:24.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T12:00:24.620Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-18T12:00:24.620Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-18T12:00:24.620Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-18T12:00:24.880Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-18T12:00:24.880Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-18T12:00:24.880Z] Executing busybox-1.34.1-r4.trigger [2022-03-18T12:00:24.880Z] OK: 8 MiB in 19 packages [2022-03-18T12:00:25.449Z] Removing intermediate container cbb2debba53e [2022-03-18T12:00:25.449Z] ---> 3f0bbfae004e [2022-03-18T12:00:25.449Z] Step 16/25 : WORKDIR / [2022-03-18T12:00:25.449Z] ---> Running in d72b642f323d [2022-03-18T12:00:25.449Z] Removing intermediate container d72b642f323d [2022-03-18T12:00:25.449Z] ---> d534d217ba39 [2022-03-18T12:00:25.449Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-18T12:00:25.708Z] ---> f9873759a592 [2022-03-18T12:00:25.708Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-18T12:00:25.968Z] ---> e6611357a663 [2022-03-18T12:00:25.968Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-18T12:00:25.968Z] ---> 30496404d349 [2022-03-18T12:00:25.968Z] Step 20/25 : EXPOSE 59910 [2022-03-18T12:00:26.228Z] ---> Running in ebf6b81415a8 [2022-03-18T12:00:26.229Z] Removing intermediate container ebf6b81415a8 [2022-03-18T12:00:26.229Z] ---> b8bb840b2baa [2022-03-18T12:00:26.229Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-18T12:00:26.229Z] ---> Running in 9ad34387fad8 [2022-03-18T12:00:26.492Z] Removing intermediate container 9ad34387fad8 [2022-03-18T12:00:26.492Z] ---> d27e5aaae8ef [2022-03-18T12:00:26.492Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-18T12:00:26.492Z] ---> Running in 76ab0fc08ef2 [2022-03-18T12:00:26.492Z] Removing intermediate container 76ab0fc08ef2 [2022-03-18T12:00:26.492Z] ---> 25dfec973f34 [2022-03-18T12:00:26.492Z] Step 23/25 : LABEL arch=amd64 [2022-03-18T12:00:26.492Z] ---> Running in 2314039e1adc [2022-03-18T12:00:26.752Z] Removing intermediate container 2314039e1adc [2022-03-18T12:00:26.752Z] ---> ee6f2b7018af [2022-03-18T12:00:26.752Z] Step 24/25 : LABEL git_sha=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [2022-03-18T12:00:26.752Z] ---> Running in 5e4c9ab9265f [2022-03-18T12:00:26.752Z] Removing intermediate container 5e4c9ab9265f [2022-03-18T12:00:26.752Z] ---> 553ec216a675 [2022-03-18T12:00:26.752Z] Step 25/25 : LABEL version=0.0.0 [2022-03-18T12:00:26.752Z] ---> Running in 5d5f5bc4017a [2022-03-18T12:00:27.013Z] Removing intermediate container 5d5f5bc4017a [2022-03-18T12:00:27.013Z] ---> 1e08fe5c7349 [2022-03-18T12:00:27.013Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-18T12:00:27.013Z] Successfully built 1e08fe5c7349 [2022-03-18T12:00:27.013Z] Successfully tagged device-gpio:latest [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] sh [2022-03-18T12:00:27.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T12:00:27.411Z] [2022-03-18T12:00:27.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:00:27.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T12:00:27.709Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-18T12:00:27.709Z] 5eb5b503b376: Pulling fs layer [2022-03-18T12:00:27.709Z] 5c69ac0246d0: Pulling fs layer [2022-03-18T12:00:27.709Z] ec43610c2a17: Pulling fs layer [2022-03-18T12:00:27.709Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-18T12:00:27.709Z] 33b1e0a273af: Pulling fs layer [2022-03-18T12:00:27.709Z] 5d3b04190fa2: Pulling fs layer [2022-03-18T12:00:27.709Z] 2f39f015ded8: Pulling fs layer [2022-03-18T12:00:27.709Z] 33b1e0a273af: Waiting [2022-03-18T12:00:27.709Z] 5d3b04190fa2: Waiting [2022-03-18T12:00:27.709Z] 2f39f015ded8: Waiting [2022-03-18T12:00:27.709Z] 3a2ae6a8a46f: Waiting [2022-03-18T12:00:27.709Z] 5c69ac0246d0: Verifying Checksum [2022-03-18T12:00:27.709Z] 5c69ac0246d0: Download complete [2022-03-18T12:00:27.709Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-18T12:00:27.709Z] 3a2ae6a8a46f: Download complete [2022-03-18T12:00:27.709Z] 33b1e0a273af: Verifying Checksum [2022-03-18T12:00:27.709Z] 33b1e0a273af: Download complete [2022-03-18T12:00:27.709Z] ec43610c2a17: Verifying Checksum [2022-03-18T12:00:27.709Z] ec43610c2a17: Download complete [2022-03-18T12:00:27.709Z] 5d3b04190fa2: Verifying Checksum [2022-03-18T12:00:27.709Z] 5d3b04190fa2: Download complete [2022-03-18T12:00:27.968Z] 5eb5b503b376: Verifying Checksum [2022-03-18T12:00:27.968Z] 5eb5b503b376: Download complete [2022-03-18T12:00:28.535Z] 2f39f015ded8: Download complete [2022-03-18T12:00:29.475Z] 5eb5b503b376: Pull complete [2022-03-18T12:00:29.475Z] 5c69ac0246d0: Pull complete [2022-03-18T12:00:30.044Z] ec43610c2a17: Pull complete [2022-03-18T12:00:30.044Z] 3a2ae6a8a46f: Pull complete [2022-03-18T12:00:30.307Z] 33b1e0a273af: Pull complete [2022-03-18T12:00:30.307Z] 5d3b04190fa2: Pull complete [2022-03-18T12:00:35.582Z] 2f39f015ded8: Pull complete [2022-03-18T12:00:35.582Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-18T12:00:35.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T12:00:35.582Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-18T12:00:35.648Z] prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container [2022-03-18T12:00:35.686Z] $ 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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T12:00:37.603Z] $ docker top 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:00:38.031Z] ---> job-cost.sh [2022-03-18T12:00:38.032Z] lf-activate-venv: SKIPPING [2022-03-18T12:00:38.032Z] INFO: No Stack... [2022-03-18T12:00:38.292Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T12:00:38.864Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T12:00:39.157Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv [2022-03-18T12:00:39.157Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T12:00:39.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [2022-03-18T12:00:39.182Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] did not exist. Created. [2022-03-18T12:00:39.182Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T12:00:39.491Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-18T12:00:39.526Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T12:00:39.535Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T12:00:39.559Z] $ docker stop --time=1 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 [2022-03-18T12:00:40.749Z] $ docker rm -f 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-18T12:00:58.760Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7959 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws [2022-03-18T12:00:58.774Z] Running in /w/workspace/device-gpio/9 [Pipeline] { [Pipeline] checkout [2022-03-18T12:00:59.113Z] The recommended git tool is: git [2022-03-18T12:01:06.947Z] using credential edgex-jenkins-ssh [2022-03-18T12:01:06.966Z] Cloning the remote Git repository [2022-03-18T12:01:07.063Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-18T12:01:07.141Z] > git init /w/workspace/device-gpio/9 # timeout=10 [2022-03-18T12:01:07.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-18T12:01:07.251Z] > git --version # timeout=10 [2022-03-18T12:01:07.297Z] > git --version # 'git version 2.25.1' [2022-03-18T12:01:07.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T12:01:07.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T12:01:08.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-18T12:01:08.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T12:01:09.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-18T12:01:09.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-18T12:01:09.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T12:01:09.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-18T12:01:09.696Z] Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [2022-03-18T12:01:09.966Z] Merge succeeded, producing 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [2022-03-18T12:01:09.966Z] Checking out Revision 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa (PR-13) [2022-03-18T12:01:09.730Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T12:01:09.778Z] > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 [2022-03-18T12:01:09.876Z] > git remote # timeout=10 [2022-03-18T12:01:09.905Z] > git config --get remote.origin.url # timeout=10 [2022-03-18T12:01:09.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T12:01:09.930Z] > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [2022-03-18T12:01:09.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-18T12:01:09.976Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T12:01:09.998Z] > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 [2022-03-18T12:01:14.284Z] Commit message: "build(snap): cleanup readme and snapcraft" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T12:01:15.238Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-18T12:01:15.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T12:01:15.239Z] Dload Upload Total Spent Left Speed [2022-03-18T12:01:15.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49345 0 --:--:-- --:--:-- --:--:-- 49345 [Pipeline] sh [2022-03-18T12:01:15.806Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-18T12:01:16.155Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-18T12:01:16.155Z] + sudo tee /etc/docker/daemon.new [2022-03-18T12:01:16.155Z] { [2022-03-18T12:01:16.155Z] "registry-mirrors": [ [2022-03-18T12:01:16.155Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-18T12:01:16.155Z] ], [2022-03-18T12:01:16.155Z] "bip": "10.250.0.254/24", [2022-03-18T12:01:16.155Z] "hosts": [ [2022-03-18T12:01:16.155Z] "tcp://0.0.0.0:5555", [2022-03-18T12:01:16.155Z] "unix:///var/run/docker.sock" [2022-03-18T12:01:16.155Z] ], [2022-03-18T12:01:16.155Z] "mtu": 1458, [2022-03-18T12:01:16.155Z] "selinux-enabled": true, [2022-03-18T12:01:16.155Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-18T12:01:16.155Z] } [Pipeline] sh [2022-03-18T12:01:16.503Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-18T12:01:16.853Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T12:01:35.196Z] provisioning config files... [2022-03-18T12:01:35.222Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/9@tmp/config6542595741247301062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:01:35.642Z] ---> docker-login.sh [2022-03-18T12:01:35.642Z] nexus3.edgexfoundry.org:10001 [2022-03-18T12:01:36.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T12:01:36.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T12:01:36.535Z] Configure a credential helper to remove this warning. See [2022-03-18T12:01:36.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T12:01:36.535Z] [2022-03-18T12:01:36.535Z] Login Succeeded [2022-03-18T12:01:36.535Z] nexus3.edgexfoundry.org:10002 [2022-03-18T12:01:36.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T12:01:37.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T12:01:37.084Z] Configure a credential helper to remove this warning. See [2022-03-18T12:01:37.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T12:01:37.084Z] [2022-03-18T12:01:37.084Z] Login Succeeded [2022-03-18T12:01:37.084Z] nexus3.edgexfoundry.org:10003 [2022-03-18T12:01:37.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T12:01:37.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T12:01:37.635Z] Configure a credential helper to remove this warning. See [2022-03-18T12:01:37.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T12:01:37.635Z] [2022-03-18T12:01:37.635Z] Login Succeeded [2022-03-18T12:01:37.635Z] nexus3.edgexfoundry.org:10004 [2022-03-18T12:01:37.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T12:01:37.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T12:01:37.908Z] Configure a credential helper to remove this warning. See [2022-03-18T12:01:37.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T12:01:37.908Z] [2022-03-18T12:01:37.908Z] Login Succeeded [2022-03-18T12:01:37.908Z] docker.io [2022-03-18T12:01:38.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T12:01:38.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T12:01:38.775Z] Configure a credential helper to remove this warning. See [2022-03-18T12:01:38.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T12:01:38.775Z] [2022-03-18T12:01:38.775Z] Login Succeeded [2022-03-18T12:01:38.775Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T12:01:38.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T12:01:39.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T12:01:39.241Z] ========================================================= [2022-03-18T12:01:39.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-18T12:01:39.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:01:39.626Z] + 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-03-18T12:01:40.228Z] Sending build context to Docker daemon 5.742MB [2022-03-18T12:01:40.228Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T12:01:40.228Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-18T12:01:40.228Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-18T12:01:40.228Z] 9b3977197b4f: Pulling fs layer [2022-03-18T12:01:40.228Z] 1a89e8eeedd5: Pulling fs layer [2022-03-18T12:01:40.228Z] 94645a83ff95: Pulling fs layer [2022-03-18T12:01:40.228Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-18T12:01:40.228Z] 0c92f367c5e7: Pulling fs layer [2022-03-18T12:01:40.228Z] f7c0051592d6: Pulling fs layer [2022-03-18T12:01:40.228Z] a227ed2f7395: Pulling fs layer [2022-03-18T12:01:40.228Z] 7b1c46037f91: Pulling fs layer [2022-03-18T12:01:40.228Z] f7c0051592d6: Waiting [2022-03-18T12:01:40.228Z] 3f3a8bcf1eab: Waiting [2022-03-18T12:01:40.228Z] a227ed2f7395: Waiting [2022-03-18T12:01:40.228Z] 0c92f367c5e7: Waiting [2022-03-18T12:01:40.228Z] 7b1c46037f91: Waiting [2022-03-18T12:01:40.228Z] 94645a83ff95: Download complete [2022-03-18T12:01:40.228Z] 1a89e8eeedd5: Verifying Checksum [2022-03-18T12:01:40.228Z] 1a89e8eeedd5: Download complete [2022-03-18T12:01:40.509Z] 0c92f367c5e7: Verifying Checksum [2022-03-18T12:01:40.509Z] 0c92f367c5e7: Download complete [2022-03-18T12:01:40.509Z] f7c0051592d6: Verifying Checksum [2022-03-18T12:01:40.509Z] f7c0051592d6: Download complete [2022-03-18T12:01:40.509Z] a227ed2f7395: Verifying Checksum [2022-03-18T12:01:40.509Z] a227ed2f7395: Download complete [2022-03-18T12:01:40.509Z] 9b3977197b4f: Verifying Checksum [2022-03-18T12:01:40.509Z] 9b3977197b4f: Download complete [2022-03-18T12:01:41.110Z] 9b3977197b4f: Pull complete [2022-03-18T12:01:41.721Z] 1a89e8eeedd5: Pull complete [2022-03-18T12:01:42.000Z] 94645a83ff95: Pull complete [2022-03-18T12:01:42.277Z] 7b1c46037f91: Verifying Checksum [2022-03-18T12:01:42.277Z] 7b1c46037f91: Download complete [2022-03-18T12:01:42.892Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-18T12:01:42.892Z] 3f3a8bcf1eab: Download complete [2022-03-18T12:01:55.311Z] 3f3a8bcf1eab: Pull complete [2022-03-18T12:01:55.311Z] 0c92f367c5e7: Pull complete [2022-03-18T12:01:55.311Z] f7c0051592d6: Pull complete [2022-03-18T12:01:55.587Z] a227ed2f7395: Pull complete [2022-03-18T12:02:02.333Z] 7b1c46037f91: Pull complete [2022-03-18T12:02:02.333Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-18T12:02:02.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-18T12:02:02.333Z] ---> f79e39bc4007 [2022-03-18T12:02:02.333Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T12:02:02.612Z] ---> Running in 3b84a5ef2455 [2022-03-18T12:02:02.886Z] Removing intermediate container 3b84a5ef2455 [2022-03-18T12:02:02.886Z] ---> 4fed340a4a39 [2022-03-18T12:02:02.886Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T12:02:02.886Z] ---> Running in e5d513952d63 [2022-03-18T12:02:03.168Z] Removing intermediate container e5d513952d63 [2022-03-18T12:02:03.168Z] ---> 98f18187d4db [2022-03-18T12:02:03.168Z] Step 5/11 : WORKDIR /device-gpio [2022-03-18T12:02:03.168Z] ---> Running in ac4f544d8ec4 [2022-03-18T12:02:03.784Z] Removing intermediate container ac4f544d8ec4 [2022-03-18T12:02:03.784Z] ---> f833e84e4063 [2022-03-18T12:02:03.784Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T12:02:03.784Z] ---> Running in b324000417a4 [2022-03-18T12:02:05.765Z] Removing intermediate container b324000417a4 [2022-03-18T12:02:05.765Z] ---> f4171c6a58b4 [2022-03-18T12:02:05.765Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T12:02:05.765Z] ---> Running in 641aa93498c0 [2022-03-18T12:02:06.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T12:02:07.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T12:02:08.318Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-18T12:02:08.318Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-18T12:02:08.318Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-18T12:02:08.592Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-18T12:02:08.592Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T12:02:08.592Z] OK: 224 MiB in 56 packages [2022-03-18T12:02:09.581Z] Removing intermediate container 641aa93498c0 [2022-03-18T12:02:09.581Z] ---> 676ea51afaff [2022-03-18T12:02:09.581Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-18T12:02:10.184Z] ---> a941e72950ba [2022-03-18T12:02:10.184Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T12:02:10.184Z] ---> Running in 65d4510ce931 [2022-03-18T12:03:32.021Z] Removing intermediate container 65d4510ce931 [2022-03-18T12:03:32.021Z] ---> 7a01a33b16f8 [2022-03-18T12:03:32.021Z] Step 10/11 : COPY . . [2022-03-18T12:03:32.021Z] ---> 3143439eb074 [2022-03-18T12:03:32.021Z] Step 11/11 : RUN ${MAKE} [2022-03-18T12:03:32.021Z] ---> Running in 8c635ff10bde [2022-03-18T12:03:32.021Z] Removing intermediate container 8c635ff10bde [2022-03-18T12:03:32.021Z] ---> 6fc8fc459258 [2022-03-18T12:03:32.021Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-18T12:03:32.021Z] Successfully built 6fc8fc459258 [2022-03-18T12:03:32.021Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:03:32.373Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T12:03:32.373Z] . [Pipeline] withDockerContainer [2022-03-18T12:03:32.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container [2022-03-18T12:03:32.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T12:03:33.986Z] $ docker top d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T12:03:34.903Z] + go version [2022-03-18T12:03:34.903Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-18T12:03:34.930Z] $ docker stop --time=1 d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 [2022-03-18T12:03:36.591Z] $ docker rm -f d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:03:37.383Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T12:03:37.383Z] . [Pipeline] withDockerContainer [2022-03-18T12:03:37.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container [2022-03-18T12:03:37.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T12:03:38.955Z] $ docker top 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T12:03:39.862Z] + make test [2022-03-18T12:03:39.862Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-18T12:03:40.861Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-18T12:04:27.881Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-18T12:04:27.881Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-18T12:04:27.881Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T12:04:46.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T12:04:46.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T12:04:46.222Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-18T12:04:46.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T12:04:46.266Z] $ docker stop --time=1 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 [2022-03-18T12:04:47.989Z] $ docker rm -f 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T12:04:48.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T12:04:48.833Z] Warning: overwriting stash ‘coverage-report’ [2022-03-18T12:04:49.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T12:04:49.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T12:04:50.050Z] + ls -al . [2022-03-18T12:04:50.050Z] total 180 [2022-03-18T12:04:50.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 12:04 . [2022-03-18T12:04:50.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 12:01 .. [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 12:01 .dockerignore [2022-03-18T12:04:50.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 12:01 .git [2022-03-18T12:04:50.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 12:01 .github [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 12:01 .gitignore [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 12:01 Attribution.txt [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 12:01 Dockerfile [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 12:01 GOVERNANCE.md [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 12:01 Jenkinsfile [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 12:01 LICENSE [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 12:01 Makefile [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 12:01 OWNERS.md [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 12:01 README.md [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 11:59 VERSION [2022-03-18T12:04:50.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 12:01 bin [2022-03-18T12:04:50.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 cmd [2022-03-18T12:04:50.050Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 18 12:03 coverage.out [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 12:01 go.mod [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 12:01 go.sum [2022-03-18T12:04:50.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 internal [2022-03-18T12:04:50.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 snap [2022-03-18T12:04:50.050Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 12:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:04:50.398Z] + 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=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa --label arch=arm64 --label version=0.0.0 . [2022-03-18T12:04:50.673Z] Sending build context to Docker daemon 5.743MB [2022-03-18T12:04:50.946Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T12:04:50.946Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-18T12:04:50.946Z] ---> 6fc8fc459258 [2022-03-18T12:04:50.946Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T12:04:50.946Z] ---> Running in 7ee2f6915644 [2022-03-18T12:04:51.222Z] Removing intermediate container 7ee2f6915644 [2022-03-18T12:04:51.222Z] ---> a2663ab4bca3 [2022-03-18T12:04:51.222Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T12:04:51.222Z] ---> Running in 3dbd6bf29ece [2022-03-18T12:04:51.835Z] Removing intermediate container 3dbd6bf29ece [2022-03-18T12:04:51.835Z] ---> fc4401aac620 [2022-03-18T12:04:51.835Z] Step 5/25 : WORKDIR /device-gpio [2022-03-18T12:04:51.835Z] ---> Running in 599e8d310842 [2022-03-18T12:04:52.111Z] Removing intermediate container 599e8d310842 [2022-03-18T12:04:52.111Z] ---> b8872641ee5c [2022-03-18T12:04:52.111Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T12:04:52.111Z] ---> Running in cabb98002a8a [2022-03-18T12:04:54.100Z] Removing intermediate container cabb98002a8a [2022-03-18T12:04:54.100Z] ---> fecab8813479 [2022-03-18T12:04:54.100Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T12:04:54.100Z] ---> Running in 0d59df295321 [2022-03-18T12:04:54.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T12:04:55.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T12:04:56.728Z] OK: 224 MiB in 56 packages [2022-03-18T12:04:57.759Z] Removing intermediate container 0d59df295321 [2022-03-18T12:04:57.759Z] ---> fd3c56f870f1 [2022-03-18T12:04:57.759Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-18T12:04:58.379Z] ---> f9213112492e [2022-03-18T12:04:58.379Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T12:04:58.379Z] ---> Running in 27c30eb0c7ea [2022-03-18T12:05:00.356Z] Removing intermediate container 27c30eb0c7ea [2022-03-18T12:05:00.356Z] ---> 50bf97018088 [2022-03-18T12:05:00.356Z] Step 10/25 : COPY . . [2022-03-18T12:05:01.797Z] ---> 916d08b99a33 [2022-03-18T12:05:01.797Z] Step 11/25 : RUN ${MAKE} [2022-03-18T12:05:01.797Z] ---> Running in 3aec46fb5d53 [2022-03-18T12:05:03.229Z] Removing intermediate container 3aec46fb5d53 [2022-03-18T12:05:03.229Z] ---> 54f9408f0ea3 [2022-03-18T12:05:03.230Z] Step 12/25 : FROM alpine:3.15 [2022-03-18T12:05:03.826Z] 3.15: Pulling from library/alpine [2022-03-18T12:05:04.101Z] 148d739a8e6b: Pulling fs layer [2022-03-18T12:05:04.101Z] 148d739a8e6b: Download complete [2022-03-18T12:05:04.700Z] 148d739a8e6b: Pull complete [2022-03-18T12:05:04.700Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-18T12:05:04.700Z] Status: Downloaded newer image for alpine:3.15 [2022-03-18T12:05:04.700Z] ---> 3abe2e34c907 [2022-03-18T12:05:04.700Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-18T12:05:04.973Z] ---> Running in 84e8569ba4f4 [2022-03-18T12:05:05.248Z] Removing intermediate container 84e8569ba4f4 [2022-03-18T12:05:05.248Z] ---> 875d19385df2 [2022-03-18T12:05:05.248Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T12:05:05.248Z] ---> Running in 99fb00043513 [2022-03-18T12:05:07.225Z] Removing intermediate container 99fb00043513 [2022-03-18T12:05:07.225Z] ---> b3de4593052f [2022-03-18T12:05:07.225Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-18T12:05:07.225Z] ---> Running in 50f4bd574835 [2022-03-18T12:05:07.824Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T12:05:08.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T12:05:09.782Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-18T12:05:09.782Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-18T12:05:09.782Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-18T12:05:10.059Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-18T12:05:10.059Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-18T12:05:10.059Z] Executing busybox-1.34.1-r4.trigger [2022-03-18T12:05:10.059Z] OK: 8 MiB in 19 packages [2022-03-18T12:05:11.039Z] Removing intermediate container 50f4bd574835 [2022-03-18T12:05:11.039Z] ---> 5db50db6fca9 [2022-03-18T12:05:11.039Z] Step 16/25 : WORKDIR / [2022-03-18T12:05:11.039Z] ---> Running in 62a26e217f2d [2022-03-18T12:05:11.311Z] Removing intermediate container 62a26e217f2d [2022-03-18T12:05:11.311Z] ---> 5396f0a07eaf [2022-03-18T12:05:11.311Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-18T12:05:11.909Z] ---> d48613c676d5 [2022-03-18T12:05:11.909Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-18T12:05:12.504Z] ---> 26cdb9bc31be [2022-03-18T12:05:12.504Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-18T12:05:13.101Z] ---> dc16be8ccf80 [2022-03-18T12:05:13.101Z] Step 20/25 : EXPOSE 59910 [2022-03-18T12:05:13.101Z] ---> Running in 8a2014e6f5da [2022-03-18T12:05:13.371Z] Removing intermediate container 8a2014e6f5da [2022-03-18T12:05:13.371Z] ---> 921679d40011 [2022-03-18T12:05:13.371Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-18T12:05:13.371Z] ---> Running in 3fd3546fcac8 [2022-03-18T12:05:13.644Z] Removing intermediate container 3fd3546fcac8 [2022-03-18T12:05:13.644Z] ---> 7b85e453bbf4 [2022-03-18T12:05:13.644Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-18T12:05:13.644Z] ---> Running in 9bb1ce76f5ea [2022-03-18T12:05:13.915Z] Removing intermediate container 9bb1ce76f5ea [2022-03-18T12:05:13.915Z] ---> 5c558706f03e [2022-03-18T12:05:13.915Z] Step 23/25 : LABEL arch=arm64 [2022-03-18T12:05:14.189Z] ---> Running in 46114de75f78 [2022-03-18T12:05:14.466Z] Removing intermediate container 46114de75f78 [2022-03-18T12:05:14.466Z] ---> 493977e70a35 [2022-03-18T12:05:14.466Z] Step 24/25 : LABEL git_sha=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [2022-03-18T12:05:14.466Z] ---> Running in 94f696ece86d [2022-03-18T12:05:14.739Z] Removing intermediate container 94f696ece86d [2022-03-18T12:05:14.739Z] ---> 813712708dbe [2022-03-18T12:05:14.739Z] Step 25/25 : LABEL version=0.0.0 [2022-03-18T12:05:14.739Z] ---> Running in e36d08908d15 [2022-03-18T12:05:15.010Z] Removing intermediate container e36d08908d15 [2022-03-18T12:05:15.010Z] ---> 606c039d10a3 [2022-03-18T12:05:15.010Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-18T12:05:15.282Z] Successfully built 606c039d10a3 [2022-03-18T12:05:15.282Z] Successfully tagged device-gpio-arm64:latest [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] sh [2022-03-18T12:05:15.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T12:05:15.721Z] [2022-03-18T12:05:15.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:05:16.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T12:05:16.358Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-18T12:05:16.359Z] 8998bd30e6a1: Pulling fs layer [2022-03-18T12:05:16.359Z] 04944245beec: Pulling fs layer [2022-03-18T12:05:16.359Z] 699f458cf7ca: Pulling fs layer [2022-03-18T12:05:16.359Z] 765212b225bb: Pulling fs layer [2022-03-18T12:05:16.359Z] f23df028b6ca: Pulling fs layer [2022-03-18T12:05:16.359Z] d65c8cfc05b1: Pulling fs layer [2022-03-18T12:05:16.359Z] 2437ff75d9bd: Pulling fs layer [2022-03-18T12:05:16.359Z] f23df028b6ca: Waiting [2022-03-18T12:05:16.359Z] d65c8cfc05b1: Waiting [2022-03-18T12:05:16.359Z] 765212b225bb: Waiting [2022-03-18T12:05:16.359Z] 04944245beec: Download complete [2022-03-18T12:05:16.359Z] 765212b225bb: Verifying Checksum [2022-03-18T12:05:16.359Z] 765212b225bb: Download complete [2022-03-18T12:05:16.359Z] f23df028b6ca: Download complete [2022-03-18T12:05:16.359Z] d65c8cfc05b1: Verifying Checksum [2022-03-18T12:05:16.359Z] d65c8cfc05b1: Download complete [2022-03-18T12:05:16.634Z] 699f458cf7ca: Verifying Checksum [2022-03-18T12:05:16.634Z] 699f458cf7ca: Download complete [2022-03-18T12:05:16.910Z] 8998bd30e6a1: Verifying Checksum [2022-03-18T12:05:16.910Z] 8998bd30e6a1: Download complete [2022-03-18T12:05:19.530Z] 2437ff75d9bd: Verifying Checksum [2022-03-18T12:05:19.530Z] 2437ff75d9bd: Download complete [2022-03-18T12:05:21.517Z] 8998bd30e6a1: Pull complete [2022-03-18T12:05:21.790Z] 04944245beec: Pull complete [2022-03-18T12:05:23.222Z] 699f458cf7ca: Pull complete [2022-03-18T12:05:23.495Z] 765212b225bb: Pull complete [2022-03-18T12:05:24.471Z] f23df028b6ca: Pull complete [2022-03-18T12:05:24.471Z] d65c8cfc05b1: Pull complete [2022-03-18T12:05:39.558Z] 2437ff75d9bd: Pull complete [2022-03-18T12:05:39.558Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-18T12:05:39.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T12:05:39.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-18T12:05:39.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container [2022-03-18T12:05:39.859Z] $ 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/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-18T12:05:42.354Z] $ docker top fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:43.285Z] ---> job-cost.sh [2022-03-18T12:05:43.285Z] lf-activate-venv: SKIPPING [2022-03-18T12:05:43.285Z] INFO: No Stack... [2022-03-18T12:05:43.560Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-18T12:05:44.532Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T12:05:45.194Z] + cat /w/workspace/device-gpio/9/archives/cost.csv [2022-03-18T12:05:45.194Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T12:05:45.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [2022-03-18T12:05:45.265Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] did not exist. Created. [2022-03-18T12:05:45.265Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T12:05:45.946Z] /w/workspace/device-gpio/9@tmp/durable-90bfea58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-18T12:05:46.625Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-18T12:05:46.646Z] Warning: overwriting stash ‘stack-cost’ [2022-03-18T12:05:46.688Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T12:05:46.694Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T12:05:46.720Z] $ docker stop --time=1 fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf [2022-03-18T12:05:48.226Z] $ docker rm -f fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf [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-03-18T12:05:48.701Z] provisioning config files... [2022-03-18T12:05:48.710Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3346522074461245667tmp [Pipeline] { [Pipeline] sh [2022-03-18T12:05:49.013Z] + set +x [2022-03-18T12:05:49.013Z] + curl -s https://codecov.io/bash [2022-03-18T12:05:49.013Z] + bash -s -- [2022-03-18T12:05:49.013Z] [2022-03-18T12:05:49.013Z] _____ _ [2022-03-18T12:05:49.013Z] / ____| | | [2022-03-18T12:05:49.013Z] | | ___ __| | ___ ___ _____ __ [2022-03-18T12:05:49.013Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-18T12:05:49.013Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-18T12:05:49.013Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-18T12:05:49.013Z] Bash-1.0.6 [2022-03-18T12:05:49.013Z] [2022-03-18T12:05:49.013Z] [2022-03-18T12:05:49.013Z] ==> git version 2.25.1 found [2022-03-18T12:05:49.013Z] ==> 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-03-18T12:05:49.013Z] Release-Date: 2020-01-08 [2022-03-18T12:05:49.013Z] 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-03-18T12:05:49.013Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-18T12:05:49.013Z] ==> Jenkins CI detected. [2022-03-18T12:05:49.013Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T12:05:49.013Z] project root: . [2022-03-18T12:05:49.013Z] --> token set from env [2022-03-18T12:05:49.013Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-18T12:05:49.013Z] ==> Running gcov in . (disable via -X gcov) [2022-03-18T12:05:49.013Z] ==> Python coveragepy not found [2022-03-18T12:05:49.013Z] ==> Searching for coverage reports in: [2022-03-18T12:05:49.013Z] + . [2022-03-18T12:05:49.013Z] -> Found 1 reports [2022-03-18T12:05:49.013Z] ==> Detecting git/mercurial file structure [2022-03-18T12:05:49.282Z] ==> Reading reports [2022-03-18T12:05:49.283Z] + ./coverage.out bytes=10 [2022-03-18T12:05:49.283Z] ==> Appending adjustments [2022-03-18T12:05:49.283Z] https://docs.codecov.io/docs/fixing-reports [2022-03-18T12:05:49.283Z] + Found adjustments [2022-03-18T12:05:49.283Z] ==> Gzipping contents [2022-03-18T12:05:49.283Z] 4.0K /tmp/codecov.Cq5BDM.gz [2022-03-18T12:05:49.283Z] ==> Uploading reports [2022-03-18T12:05:49.283Z] url: https://codecov.io [2022-03-18T12:05:49.283Z] query: branch=PR-13&commit=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-18T12:05:49.283Z] -> Pinging Codecov [2022-03-18T12:05:49.283Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-13&commit=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-18T12:05:49.545Z] -> Uploading to [2022-03-18T12:05:49.545Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa/98324c33-91ef-4c29-a0a5-16b22ad0a325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T120549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=990115dc950ea603367c2529fec1f4df1f05153f91af1b0227d11ba6ed61e8fc [2022-03-18T12:05:49.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T12:05:49.545Z] Dload Upload Total Spent Left Speed [2022-03-18T12:05:49.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3719 --:--:-- --:--:-- --:--:-- 3702 100 822 0 0 100 822 0 3010 --:--:-- --:--:-- --:--:-- 3000 [2022-03-18T12:05:49.805Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] } [2022-03-18T12:05:49.816Z] 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-03-18T12:05:50.607Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] [2022-03-18T12:05:50.607Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T12:05:50.607Z] total 16 [2022-03-18T12:05:50.607Z] drwxr-xr-x 3 root root 4096 Mar 18 12:00 . [2022-03-18T12:05:50.607Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 12:00 .. [2022-03-18T12:05:50.607Z] drwxr-xr-x 2 root root 4096 Mar 18 12:00 cost [2022-03-18T12:05:50.607Z] -rw-r--r-- 1 root root 81 Mar 18 12:00 cost.csv [2022-03-18T12:05:50.607Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T12:05:50.607Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T12:05:50.607Z] total 16 [2022-03-18T12:05:50.607Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 12:00 . [2022-03-18T12:05:50.607Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 12:00 .. [2022-03-18T12:05:50.607Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 12:00 cost [2022-03-18T12:05:50.607Z] -rw-r--r-- 1 jenkins jenkins 81 Mar 18 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:50.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:51.890Z] ---> package-listing.sh [2022-03-18T12:05:51.890Z] ++ facter osfamily [2022-03-18T12:05:51.890Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-18T12:05:52.151Z] + OS_FAMILY=debian [2022-03-18T12:05:52.151Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T12:05:52.151Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-18T12:05:52.151Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-18T12:05:52.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-18T12:05:52.151Z] + PACKAGES=/tmp/packages_start.txt [2022-03-18T12:05:52.151Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-18T12:05:52.151Z] + PACKAGES=/tmp/packages_end.txt [2022-03-18T12:05:52.151Z] + case "${OS_FAMILY}" in [2022-03-18T12:05:52.151Z] + dpkg -l [2022-03-18T12:05:52.151Z] + grep '^ii' [2022-03-18T12:05:52.151Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-18T12:05:52.151Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-18T12:05:52.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-18T12:05:52.151Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-18T12:05:52.151Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [2022-03-18T12:05:52.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo [2022-03-18T12:05:52.165Z] 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-13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-18T12:05:52.462Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-18T12:05:53.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T12:05:53.020Z] . [Pipeline] withDockerContainer [2022-03-18T12:05:53.089Z] prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container [2022-03-18T12:05:53.125Z] $ 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-13/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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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-03-18T12:05:53.354Z] $ docker top 98fa64914711faff78617e6bf5e999cfef3471fe2c20f1c1638771714022dabd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T12:05:53.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-18T12:05:54.006Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-18T12:05:54.297Z] + ls /var/log/sa-host [2022-03-18T12:05:54.297Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T12:05:54.505Z] provisioning config files... [2022-03-18T12:05:54.515Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config5733306268310743404tmp [Pipeline] { [Pipeline] echo [2022-03-18T12:05:54.529Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:54.814Z] ---> create-netrc.sh [Pipeline] } [2022-03-18T12:05:54.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:55.164Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-18T12:05:55.173Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:55.463Z] ---> sudo-logs.sh [2022-03-18T12:05:55.463Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-18T12:05:55.499Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:55.788Z] ---> job-cost.sh [2022-03-18T12:05:55.788Z] lf-activate-venv: SKIPPING [2022-03-18T12:05:55.788Z] DEBUG: total: 0.2199999988079071 [2022-03-18T12:05:55.788Z] INFO: Retrieving Stack Cost... [2022-03-18T12:05:56.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T12:05:56.618Z] INFO: Archiving Costs [Pipeline] echo [2022-03-18T12:05:56.631Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T12:05:56.918Z] ---> logs-deploy.sh [2022-03-18T12:05:56.918Z] lf-activate-venv: SKIPPING [2022-03-18T12:05:56.918Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/9 [2022-03-18T12:05:56.918Z] INFO: archiving workspace using pattern(s): [2022-03-18T12:05:57.856Z] Archives upload complete. [2022-03-18T12:05:57.856Z] INFO: archiving logs to Nexus