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 2fccfded593c6d1bc38f5c1e250721b5beb7a312 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-ssh5320192516945063467.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-ssh5566120828950975346.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1254326172614724662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16487489551273171056.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-ssh13176301646265721226.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh703520716571718706.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 ‘prd-ubuntu20.04-docker-8c-8g-7116’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7121 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 2fccfded593c6d1bc38f5c1e250721b5beb7a312 Merge succeeded, producing 2fccfded593c6d1bc38f5c1e250721b5beb7a312 Checking out Revision 2fccfded593c6d1bc38f5c1e250721b5beb7a312 (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 2fccfded593c6d1bc38f5c1e250721b5beb7a312 # 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 2fccfded593c6d1bc38f5c1e250721b5beb7a312 # timeout=10 Commit message: "docs(snap): Replace with svg store icon" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-15T09:56:51.536Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-15T09:56:51.706Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-15T09:56:51.805Z] ========================================================= [2022-03-15T09:56:51.805Z] EdgeX Global Pipelines Version Info [2022-03-15T09:56:51.805Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:56:53.448Z] ------------------- [2022-03-15T09:56:53.448Z] stable info: [2022-03-15T09:56:53.448Z] ------------------- [2022-03-15T09:56:53.448Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-15T09:56:53.448Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-15T09:56:53.448Z] Message: update stable to v1.0.221 [2022-03-15T09:56:53.710Z] ------------------- [2022-03-15T09:56:53.710Z] experimental info: [2022-03-15T09:56:53.710Z] ------------------- [2022-03-15T09:56:53.710Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-15T09:56:53.710Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-15T09:56:53.710Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-15T09:56:53.999Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-15T09:56:54.047Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-15T09:56:54.087Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-15T09:56:54.132Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-15T09:56:54.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-15T09:56:54.218Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-15T09:56:54.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-15T09:56:54.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-15T09:56:54.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-15T09:56:54.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-15T09:56:54.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-15T09:56:54.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-15T09:56:54.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-15T09:56:54.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-15T09:56:54.602Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-15T09:56:54.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-15T09:56:54.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-15T09:56:54.740Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-15T09:56:54.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-15T09:56:54.826Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-15T09:56:54.866Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-15T09:56:54.908Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-15T09:56:54.949Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-15T09:56:54.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-15T09:56:55.042Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-15T09:56:55.081Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-15T09:56:55.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo [2022-03-15T09:56:55.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo [2022-03-15T09:56:55.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo [2022-03-15T09:56:55.250Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fccfded593c6d1bc38f5c1e250721b5beb7a312 [Pipeline] echo [2022-03-15T09:56:55.293Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fccfde [Pipeline] echo [2022-03-15T09:56:55.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-15T09:56:55.454Z] provisioning config files... [2022-03-15T09:56:55.468Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config354485526779941517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:56:55.827Z] ---> docker-login.sh [2022-03-15T09:56:55.828Z] nexus3.edgexfoundry.org:10001 [2022-03-15T09:56:56.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:56:56.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:56:56.090Z] Configure a credential helper to remove this warning. See [2022-03-15T09:56:56.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:56:56.090Z] [2022-03-15T09:56:56.090Z] Login Succeeded [2022-03-15T09:56:56.090Z] nexus3.edgexfoundry.org:10002 [2022-03-15T09:56:56.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:56:56.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:56:56.352Z] Configure a credential helper to remove this warning. See [2022-03-15T09:56:56.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:56:56.352Z] [2022-03-15T09:56:56.352Z] Login Succeeded [2022-03-15T09:56:56.352Z] nexus3.edgexfoundry.org:10003 [2022-03-15T09:56:56.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:56:56.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:56:56.352Z] Configure a credential helper to remove this warning. See [2022-03-15T09:56:56.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:56:56.352Z] [2022-03-15T09:56:56.352Z] Login Succeeded [2022-03-15T09:56:56.352Z] nexus3.edgexfoundry.org:10004 [2022-03-15T09:56:56.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:56:56.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:56:56.614Z] Configure a credential helper to remove this warning. See [2022-03-15T09:56:56.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:56:56.614Z] [2022-03-15T09:56:56.614Z] Login Succeeded [2022-03-15T09:56:56.614Z] docker.io [2022-03-15T09:56:56.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:56:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:56:56.876Z] Configure a credential helper to remove this warning. See [2022-03-15T09:56:56.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:56:56.876Z] [2022-03-15T09:56:56.876Z] Login Succeeded [2022-03-15T09:56:56.876Z] ---> docker-login.sh ends [Pipeline] } [2022-03-15T09:56:56.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-15T09:56:57.560Z] + git rev-list -1 --merges 2fccfded593c6d1bc38f5c1e250721b5beb7a312~1..2fccfded593c6d1bc38f5c1e250721b5beb7a312 [Pipeline] echo [2022-03-15T09:56:57.612Z] -----------> git rev-list -1 --merges 2fccfded593c6d1bc38f5c1e250721b5beb7a312~1..2fccfded593c6d1bc38f5c1e250721b5beb7a312 2fccfded593c6d1bc38f5c1e250721b5beb7a312 [false] [Pipeline] sh [2022-03-15T09:56:57.923Z] + git log --format=format:%s -1 2fccfded593c6d1bc38f5c1e250721b5beb7a312 [Pipeline] echo [2022-03-15T09:56:57.961Z] ========================================================= [2022-03-15T09:56:57.961Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-15T09:56:57.961Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-15T09:56:58.395Z] + git log --format=format:%s -1 2fccfded593c6d1bc38f5c1e250721b5beb7a312 [Pipeline] echo [2022-03-15T09:56:58.430Z] [semverPrep] GIT_COMMIT: 2fccfded593c6d1bc38f5c1e250721b5beb7a312, Commit Message: docs(snap): Replace with svg store icon [Pipeline] echo [2022-03-15T09:56:58.477Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-15T09:56:58.958Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-15T09:56:58.958Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-15T09:56:58.958Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-15T09:56:58.958Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-15T09:56:58.958Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-03-15T09:56:58.958Z] -a /etc/ssh/ssh_known_hosts [2022-03-15T09:56:58.958Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:56:59.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:56:59.438Z] [2022-03-15T09:56:59.438Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:56:59.784Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:56:59.784Z] latest: Pulling from edgex-devops/git-semver [2022-03-15T09:56:59.784Z] a0d0a0d46f8b: Pulling fs layer [2022-03-15T09:56:59.784Z] 3e5f54012d9b: Pulling fs layer [2022-03-15T09:56:59.784Z] 4c7163046ea9: Pulling fs layer [2022-03-15T09:56:59.784Z] 0c2d73faf560: Pulling fs layer [2022-03-15T09:56:59.784Z] 0c2d73faf560: Waiting [2022-03-15T09:56:59.784Z] 3e5f54012d9b: Verifying Checksum [2022-03-15T09:56:59.784Z] 3e5f54012d9b: Download complete [2022-03-15T09:56:59.784Z] a0d0a0d46f8b: Verifying Checksum [2022-03-15T09:56:59.784Z] a0d0a0d46f8b: Download complete [2022-03-15T09:56:59.784Z] 0c2d73faf560: Verifying Checksum [2022-03-15T09:56:59.784Z] 4c7163046ea9: Verifying Checksum [2022-03-15T09:56:59.784Z] 4c7163046ea9: Download complete [2022-03-15T09:57:00.044Z] a0d0a0d46f8b: Pull complete [2022-03-15T09:57:00.044Z] 3e5f54012d9b: Pull complete [2022-03-15T09:57:00.305Z] 4c7163046ea9: Pull complete [2022-03-15T09:57:00.567Z] 0c2d73faf560: Pull complete [2022-03-15T09:57:00.567Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-15T09:57:00.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:57:00.567Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-15T09:57:00.718Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2022-03-15T09:57:00.777Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-15T09:57:01.462Z] $ docker top a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-15T09:57:01.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-15T09:57:01.670Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-15T09:57:01.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-15T09:57:01.811Z] $ docker exec a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 ssh-agent [2022-03-15T09:57:01.941Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEagbce/agent.13 [2022-03-15T09:57:01.941Z] SSH_AGENT_PID=19 [2022-03-15T09:57:01.949Z] Running ssh-add (command line suppressed) [2022-03-15T09:57:02.052Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_354744215581227421.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_354744215581227421.key) [2022-03-15T09:57:02.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-15T09:57:02.406Z] + git tag --points-at HEAD [Pipeline] } [2022-03-15T09:57:02.427Z] $ docker exec --env ******** --env ******** a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 ssh-agent -k [2022-03-15T09:57:02.534Z] unset SSH_AUTH_SOCK; [2022-03-15T09:57:02.535Z] unset SSH_AGENT_PID; [2022-03-15T09:57:02.535Z] echo Agent pid 19 killed; [2022-03-15T09:57:02.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-15T09:57:02.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-15T09:57:02.644Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-15T09:57:02.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-15T09:57:02.770Z] $ docker exec a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 ssh-agent [2022-03-15T09:57:02.897Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlmlGDc/agent.53 [2022-03-15T09:57:02.897Z] SSH_AGENT_PID=59 [2022-03-15T09:57:02.904Z] Running ssh-add (command line suppressed) [2022-03-15T09:57:03.009Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9119634069164037653.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9119634069164037653.key) [2022-03-15T09:57:03.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-15T09:57:03.359Z] + git semver init [2022-03-15T09:57:03.359Z] # -> Open(): unable to determine branch for HEAD [2022-03-15T09:57:03.359Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git [2022-03-15T09:57:03.359Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-15T09:57:03.359Z] # $SEMVER_REMOTE_NAME = origin [2022-03-15T09:57:03.359Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-15T09:57:03.359Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-15T09:57:03.359Z] # $SEMVER_BRANCH = PR-13 [2022-03-15T09:57:03.359Z] # $SEMVER_TEMP = /tmp/semver-227301107 [2022-03-15T09:57:03.359Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-15T09:57:04.303Z] # '/tmp/semver-227301107' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' [2022-03-15T09:57:04.303Z] # -> Force: false [2022-03-15T09:57:04.303Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } [2022-03-15T09:57:04.329Z] $ docker exec --env ******** --env ******** a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 ssh-agent -k [2022-03-15T09:57:04.439Z] unset SSH_AUTH_SOCK; [2022-03-15T09:57:04.440Z] unset SSH_AGENT_PID; [2022-03-15T09:57:04.440Z] echo Agent pid 59 killed; [2022-03-15T09:57:04.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-15T09:57:04.905Z] + git semver [Pipeline] } [2022-03-15T09:57:04.935Z] $ docker stop --time=1 a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 [2022-03-15T09:57:06.314Z] $ docker rm -f a54763f99a66a8b30ebfd76f1a0403e21a49aaf547d2e06f2fd4144c08c450c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-15T09:57:06.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-15T09:57:07.050Z] Stashed 1 file(s) [Pipeline] echo [2022-03-15T09:57:07.068Z] [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-15T09:57:07.662Z] provisioning config files... [2022-03-15T09:57:07.675Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config5520830236962812911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:57:08.024Z] ---> docker-login.sh [2022-03-15T09:57:08.024Z] nexus3.edgexfoundry.org:10001 [2022-03-15T09:57:08.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:57:08.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:57:08.024Z] Configure a credential helper to remove this warning. See [2022-03-15T09:57:08.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:57:08.024Z] [2022-03-15T09:57:08.024Z] Login Succeeded [2022-03-15T09:57:08.024Z] nexus3.edgexfoundry.org:10002 [2022-03-15T09:57:08.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:57:08.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:57:08.291Z] Configure a credential helper to remove this warning. See [2022-03-15T09:57:08.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:57:08.291Z] [2022-03-15T09:57:08.291Z] Login Succeeded [2022-03-15T09:57:08.291Z] nexus3.edgexfoundry.org:10003 [2022-03-15T09:57:08.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:57:08.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:57:08.291Z] Configure a credential helper to remove this warning. See [2022-03-15T09:57:08.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:57:08.291Z] [2022-03-15T09:57:08.291Z] Login Succeeded [2022-03-15T09:57:08.291Z] nexus3.edgexfoundry.org:10004 [2022-03-15T09:57:08.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:57:08.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:57:08.553Z] Configure a credential helper to remove this warning. See [2022-03-15T09:57:08.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:57:08.553Z] [2022-03-15T09:57:08.553Z] Login Succeeded [2022-03-15T09:57:08.553Z] docker.io [2022-03-15T09:57:08.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:57:08.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:57:08.815Z] Configure a credential helper to remove this warning. See [2022-03-15T09:57:08.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:57:08.815Z] [2022-03-15T09:57:08.815Z] Login Succeeded [2022-03-15T09:57:08.815Z] ---> docker-login.sh ends [Pipeline] } [2022-03-15T09:57:08.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-15T09:57:09.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-15T09:57:09.082Z] ========================================================= [2022-03-15T09:57:09.083Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-15T09:57:09.083Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:57:09.492Z] + 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-15T09:57:09.492Z] Sending build context to Docker daemon 11.18MB [2022-03-15T09:57:09.492Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:57:09.492Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-15T09:57:09.492Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-15T09:57:09.492Z] 59bf1c3509f3: Pulling fs layer [2022-03-15T09:57:09.492Z] 666ba61612fd: Pulling fs layer [2022-03-15T09:57:09.492Z] 8ed8ca486205: Pulling fs layer [2022-03-15T09:57:09.492Z] 4fe6c5a15a65: Pulling fs layer [2022-03-15T09:57:09.492Z] 22a0e8bec74d: Pulling fs layer [2022-03-15T09:57:09.492Z] 640e595b4fbd: Pulling fs layer [2022-03-15T09:57:09.492Z] 763cafe07f6e: Pulling fs layer [2022-03-15T09:57:09.492Z] 0c0b528cf693: Pulling fs layer [2022-03-15T09:57:09.492Z] 10935f4eaf8b: Pulling fs layer [2022-03-15T09:57:09.492Z] 4fe6c5a15a65: Waiting [2022-03-15T09:57:09.492Z] 22a0e8bec74d: Waiting [2022-03-15T09:57:09.492Z] 640e595b4fbd: Waiting [2022-03-15T09:57:09.492Z] 763cafe07f6e: Waiting [2022-03-15T09:57:09.492Z] 0c0b528cf693: Waiting [2022-03-15T09:57:09.492Z] 10935f4eaf8b: Waiting [2022-03-15T09:57:09.752Z] 8ed8ca486205: Download complete [2022-03-15T09:57:09.752Z] 666ba61612fd: Download complete [2022-03-15T09:57:09.752Z] 22a0e8bec74d: Verifying Checksum [2022-03-15T09:57:09.752Z] 22a0e8bec74d: Download complete [2022-03-15T09:57:09.752Z] 59bf1c3509f3: Verifying Checksum [2022-03-15T09:57:09.752Z] 59bf1c3509f3: Download complete [2022-03-15T09:57:09.752Z] 640e595b4fbd: Verifying Checksum [2022-03-15T09:57:09.752Z] 640e595b4fbd: Download complete [2022-03-15T09:57:09.752Z] 763cafe07f6e: Verifying Checksum [2022-03-15T09:57:09.752Z] 763cafe07f6e: Download complete [2022-03-15T09:57:09.752Z] 0c0b528cf693: Verifying Checksum [2022-03-15T09:57:09.752Z] 0c0b528cf693: Download complete [2022-03-15T09:57:09.753Z] 59bf1c3509f3: Pull complete [2022-03-15T09:57:10.014Z] 666ba61612fd: Pull complete [2022-03-15T09:57:10.278Z] 8ed8ca486205: Pull complete [2022-03-15T09:57:10.278Z] 10935f4eaf8b: Verifying Checksum [2022-03-15T09:57:10.278Z] 10935f4eaf8b: Download complete [2022-03-15T09:57:10.538Z] 4fe6c5a15a65: Verifying Checksum [2022-03-15T09:57:10.538Z] 4fe6c5a15a65: Download complete [2022-03-15T09:57:14.744Z] 4fe6c5a15a65: Pull complete [2022-03-15T09:57:14.744Z] 22a0e8bec74d: Pull complete [2022-03-15T09:57:14.744Z] 640e595b4fbd: Pull complete [2022-03-15T09:57:14.744Z] 763cafe07f6e: Pull complete [2022-03-15T09:57:15.003Z] 0c0b528cf693: Pull complete [2022-03-15T09:57:16.916Z] 10935f4eaf8b: Pull complete [2022-03-15T09:57:16.916Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-15T09:57:16.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-15T09:57:16.916Z] ---> 99d49a6021b9 [2022-03-15T09:57:16.916Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:57:18.836Z] ---> Running in 442f6c14f5aa [2022-03-15T09:57:18.836Z] Removing intermediate container 442f6c14f5aa [2022-03-15T09:57:18.836Z] ---> 5dd0e9f5289c [2022-03-15T09:57:18.836Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:57:18.836Z] ---> Running in a004e4828fe3 [2022-03-15T09:57:18.836Z] Removing intermediate container a004e4828fe3 [2022-03-15T09:57:18.836Z] ---> c63dd21f72c5 [2022-03-15T09:57:18.836Z] Step 5/11 : WORKDIR /device-gpio [2022-03-15T09:57:18.836Z] ---> Running in c0f8a481a644 [2022-03-15T09:57:18.836Z] Removing intermediate container c0f8a481a644 [2022-03-15T09:57:18.836Z] ---> 550ebb8af786 [2022-03-15T09:57:18.836Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:57:18.836Z] ---> Running in 6035e0c65df5 [2022-03-15T09:57:19.408Z] Removing intermediate container 6035e0c65df5 [2022-03-15T09:57:19.408Z] ---> e7732a292dcf [2022-03-15T09:57:19.408Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:57:19.670Z] ---> Running in 76b9fc06d9d8 [2022-03-15T09:57:19.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:57:20.513Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:57:21.086Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-15T09:57:21.086Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-15T09:57:21.086Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-15T09:57:21.348Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-15T09:57:21.348Z] Executing busybox-1.34.1-r3.trigger [2022-03-15T09:57:21.348Z] OK: 224 MiB in 56 packages [2022-03-15T09:57:21.920Z] Removing intermediate container 76b9fc06d9d8 [2022-03-15T09:57:21.920Z] ---> 918ac8ed2afe [2022-03-15T09:57:21.920Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-15T09:57:21.920Z] ---> 67c448e63e61 [2022-03-15T09:57:21.920Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:57:21.920Z] ---> Running in 791f9f18fe28 [2022-03-15T09:57:22.489Z] Still waiting to schedule task [2022-03-15T09:57:22.489Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7118’ is offline [2022-03-15T09:57:48.506Z] Removing intermediate container 791f9f18fe28 [2022-03-15T09:57:48.506Z] ---> 65bcd3ba3b98 [2022-03-15T09:57:48.506Z] Step 10/11 : COPY . . [2022-03-15T09:57:48.506Z] ---> f09236eda958 [2022-03-15T09:57:48.506Z] Step 11/11 : RUN ${MAKE} [2022-03-15T09:57:48.506Z] ---> Running in 7198838e9d73 [2022-03-15T09:57:48.506Z] Removing intermediate container 7198838e9d73 [2022-03-15T09:57:48.506Z] ---> 0f388d3b21cf [2022-03-15T09:57:48.506Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-15T09:57:48.506Z] Successfully built 0f388d3b21cf [2022-03-15T09:57:48.506Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:57:48.839Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-15T09:57:48.839Z] . [Pipeline] withDockerContainer [2022-03-15T09:57:48.926Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2022-03-15T09:57:48.971Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-15T09:57:49.354Z] $ docker top 121e2aa1654b87ca845754765e0c5e5012747df4bbe78143b04c62c7f3bb4334 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-15T09:57:49.756Z] + go version [2022-03-15T09:57:49.756Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-15T09:57:49.795Z] $ docker stop --time=1 121e2aa1654b87ca845754765e0c5e5012747df4bbe78143b04c62c7f3bb4334 [2022-03-15T09:57:51.100Z] $ docker rm -f 121e2aa1654b87ca845754765e0c5e5012747df4bbe78143b04c62c7f3bb4334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:57:51.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-15T09:57:51.785Z] . [Pipeline] withDockerContainer [2022-03-15T09:57:51.872Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2022-03-15T09:57:51.914Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-15T09:57:52.294Z] $ docker top 74454aef005989d324c881d0cbfceb93e5476f64475b1358744673afca8dee93 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-15T09:57:52.755Z] + make test [2022-03-15T09:57:52.755Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-15T09:57:53.015Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-15T09:57:59.587Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-15T09:57:59.587Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-15T09:57:59.587Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-15T09:58:02.130Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-15T09:58:02.130Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-15T09:58:02.130Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-15T09:58:02.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-15T09:58:02.772Z] $ docker stop --time=1 74454aef005989d324c881d0cbfceb93e5476f64475b1358744673afca8dee93 [2022-03-15T09:58:04.488Z] $ docker rm -f 74454aef005989d324c881d0cbfceb93e5476f64475b1358744673afca8dee93 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-15T09:58:04.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-15T09:58:04.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-15T09:58:06.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-15T09:58:06.521Z] + ls -al . [2022-03-15T09:58:06.521Z] total 184 [2022-03-15T09:58:06.521Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 09:58 . [2022-03-15T09:58:06.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:56 .. [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 09:56 .dockerignore [2022-03-15T09:58:06.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:56 .git [2022-03-15T09:58:06.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:56 .github [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 09:56 .gitignore [2022-03-15T09:58:06.521Z] drwx------ 3 jenkins jenkins 4096 Mar 15 09:57 .semver [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 15 09:56 Attribution.txt [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 15 09:56 Dockerfile [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:56 GOVERNANCE.md [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 09:56 Jenkinsfile [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:56 LICENSE [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 15 09:56 Makefile [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 09:56 OWNERS.md [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 15 09:56 README.md [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:57 VERSION [2022-03-15T09:58:06.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:56 bin [2022-03-15T09:58:06.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:56 cmd [2022-03-15T09:58:06.521Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 15 09:57 coverage.out [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 15 09:56 go.mod [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 15 09:56 go.sum [2022-03-15T09:58:06.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:56 internal [2022-03-15T09:58:06.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:56 snap [2022-03-15T09:58:06.521Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 09:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:58:06.866Z] + 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=2fccfded593c6d1bc38f5c1e250721b5beb7a312 --label arch=amd64 --label version=0.0.0 . [2022-03-15T09:58:06.866Z] Sending build context to Docker daemon 11.18MB [2022-03-15T09:58:06.866Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:58:06.866Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-15T09:58:06.866Z] ---> 0f388d3b21cf [2022-03-15T09:58:06.866Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:58:06.866Z] ---> Running in fab13b87da3a [2022-03-15T09:58:07.127Z] Removing intermediate container fab13b87da3a [2022-03-15T09:58:07.127Z] ---> 28de862abddd [2022-03-15T09:58:07.127Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:58:07.127Z] ---> Running in 25149c031a91 [2022-03-15T09:58:07.127Z] Removing intermediate container 25149c031a91 [2022-03-15T09:58:07.127Z] ---> d3d08b6dd618 [2022-03-15T09:58:07.127Z] Step 5/25 : WORKDIR /device-gpio [2022-03-15T09:58:07.127Z] ---> Running in 442ddba20cd7 [2022-03-15T09:58:07.387Z] Removing intermediate container 442ddba20cd7 [2022-03-15T09:58:07.387Z] ---> ba04f78edfae [2022-03-15T09:58:07.387Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:58:07.387Z] ---> Running in 770140b5980d [2022-03-15T09:58:07.957Z] Removing intermediate container 770140b5980d [2022-03-15T09:58:07.957Z] ---> cfb92b213587 [2022-03-15T09:58:07.957Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:58:07.957Z] ---> Running in 16b8fcef3f2b [2022-03-15T09:58:08.217Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:58:09.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:58:09.421Z] OK: 224 MiB in 56 packages [2022-03-15T09:58:09.688Z] Removing intermediate container 16b8fcef3f2b [2022-03-15T09:58:09.688Z] ---> bb1681743179 [2022-03-15T09:58:09.688Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-15T09:58:09.949Z] ---> 04a7a2be57ad [2022-03-15T09:58:09.949Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:58:09.949Z] ---> Running in 0b72759a6588 [2022-03-15T09:58:10.520Z] Removing intermediate container 0b72759a6588 [2022-03-15T09:58:10.520Z] ---> 3593bcd37644 [2022-03-15T09:58:10.520Z] Step 10/25 : COPY . . [2022-03-15T09:58:11.091Z] ---> f6a5cbfa0d05 [2022-03-15T09:58:11.092Z] Step 11/25 : RUN ${MAKE} [2022-03-15T09:58:11.092Z] ---> Running in d9f30659edde [2022-03-15T09:58:11.664Z] Removing intermediate container d9f30659edde [2022-03-15T09:58:11.664Z] ---> ae141be6a7ec [2022-03-15T09:58:11.664Z] Step 12/25 : FROM alpine:3.15 [2022-03-15T09:58:12.231Z] 3.15: Pulling from library/alpine [2022-03-15T09:58:12.231Z] 59bf1c3509f3: Already exists [2022-03-15T09:58:12.493Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-03-15T09:58:12.493Z] Status: Downloaded newer image for alpine:3.15 [2022-03-15T09:58:12.493Z] ---> c059bfaa849c [2022-03-15T09:58:12.493Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-15T09:58:12.493Z] ---> Running in b9d32b3d3c46 [2022-03-15T09:58:12.493Z] Removing intermediate container b9d32b3d3c46 [2022-03-15T09:58:12.493Z] ---> 0ca35bc26314 [2022-03-15T09:58:12.493Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:58:12.756Z] ---> Running in bcb9e1894692 [2022-03-15T09:58:13.328Z] Removing intermediate container bcb9e1894692 [2022-03-15T09:58:13.328Z] ---> 128c2b64e623 [2022-03-15T09:58:13.328Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-15T09:58:13.328Z] ---> Running in 5eadd3f87506 [2022-03-15T09:58:13.589Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:58:14.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:58:14.792Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-15T09:58:14.792Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-15T09:58:14.792Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-15T09:58:15.055Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-15T09:58:15.055Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-15T09:58:15.055Z] Executing busybox-1.34.1-r3.trigger [2022-03-15T09:58:15.055Z] OK: 8 MiB in 19 packages [2022-03-15T09:58:15.631Z] Removing intermediate container 5eadd3f87506 [2022-03-15T09:58:15.631Z] ---> c16033ff7be6 [2022-03-15T09:58:15.631Z] Step 16/25 : WORKDIR / [2022-03-15T09:58:15.631Z] ---> Running in 0e357c55d74d [2022-03-15T09:58:15.631Z] Removing intermediate container 0e357c55d74d [2022-03-15T09:58:15.631Z] ---> 14187b479d2d [2022-03-15T09:58:15.631Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-15T09:58:15.893Z] ---> 0756def554ab [2022-03-15T09:58:15.893Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-15T09:58:16.153Z] ---> feb826ce1276 [2022-03-15T09:58:16.153Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-15T09:58:16.153Z] ---> d422f096133b [2022-03-15T09:58:16.153Z] Step 20/25 : EXPOSE 59910 [2022-03-15T09:58:16.153Z] ---> Running in 4945ada8208c [2022-03-15T09:58:16.414Z] Removing intermediate container 4945ada8208c [2022-03-15T09:58:16.414Z] ---> 66156ed309ed [2022-03-15T09:58:16.414Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-15T09:58:16.414Z] ---> Running in 05e9f3c4d956 [2022-03-15T09:58:16.414Z] Removing intermediate container 05e9f3c4d956 [2022-03-15T09:58:16.414Z] ---> b67764aa8711 [2022-03-15T09:58:16.414Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-15T09:58:16.673Z] ---> Running in 667a6215ccf8 [2022-03-15T09:58:16.673Z] Removing intermediate container 667a6215ccf8 [2022-03-15T09:58:16.673Z] ---> 5ef4ef6fa23a [2022-03-15T09:58:16.673Z] Step 23/25 : LABEL arch=amd64 [2022-03-15T09:58:16.673Z] ---> Running in 013f89eef0d8 [2022-03-15T09:58:16.673Z] Removing intermediate container 013f89eef0d8 [2022-03-15T09:58:16.673Z] ---> e6add74e2b11 [2022-03-15T09:58:16.673Z] Step 24/25 : LABEL git_sha=2fccfded593c6d1bc38f5c1e250721b5beb7a312 [2022-03-15T09:58:16.940Z] ---> Running in 89c97f1cb6c2 [2022-03-15T09:58:16.940Z] Removing intermediate container 89c97f1cb6c2 [2022-03-15T09:58:16.940Z] ---> 96efca43f2e9 [2022-03-15T09:58:16.940Z] Step 25/25 : LABEL version=0.0.0 [2022-03-15T09:58:16.940Z] ---> Running in ebe9a942e904 [2022-03-15T09:58:17.203Z] Removing intermediate container ebe9a942e904 [2022-03-15T09:58:17.203Z] ---> 9ac28368eefc [2022-03-15T09:58:17.203Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-15T09:58:17.203Z] Successfully built 9ac28368eefc [2022-03-15T09:58:17.203Z] 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-15T09:58:17.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:58:17.932Z] [2022-03-15T09:58:17.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:58:18.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:58:18.274Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-15T09:58:18.274Z] 5eb5b503b376: Pulling fs layer [2022-03-15T09:58:18.274Z] 5c69ac0246d0: Pulling fs layer [2022-03-15T09:58:18.274Z] ec43610c2a17: Pulling fs layer [2022-03-15T09:58:18.274Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-15T09:58:18.274Z] 33b1e0a273af: Pulling fs layer [2022-03-15T09:58:18.274Z] 5d3b04190fa2: Pulling fs layer [2022-03-15T09:58:18.274Z] 2f39f015ded8: Pulling fs layer [2022-03-15T09:58:18.274Z] 33b1e0a273af: Waiting [2022-03-15T09:58:18.274Z] 5d3b04190fa2: Waiting [2022-03-15T09:58:18.274Z] 2f39f015ded8: Waiting [2022-03-15T09:58:18.274Z] 3a2ae6a8a46f: Waiting [2022-03-15T09:58:18.274Z] 5c69ac0246d0: Verifying Checksum [2022-03-15T09:58:18.274Z] 5c69ac0246d0: Download complete [2022-03-15T09:58:18.274Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-15T09:58:18.274Z] 3a2ae6a8a46f: Download complete [2022-03-15T09:58:18.274Z] 33b1e0a273af: Verifying Checksum [2022-03-15T09:58:18.274Z] 33b1e0a273af: Download complete [2022-03-15T09:58:18.274Z] ec43610c2a17: Verifying Checksum [2022-03-15T09:58:18.274Z] ec43610c2a17: Download complete [2022-03-15T09:58:18.274Z] 5d3b04190fa2: Verifying Checksum [2022-03-15T09:58:18.274Z] 5d3b04190fa2: Download complete [2022-03-15T09:58:18.534Z] 5eb5b503b376: Verifying Checksum [2022-03-15T09:58:18.534Z] 5eb5b503b376: Download complete [2022-03-15T09:58:19.105Z] 2f39f015ded8: Download complete [2022-03-15T09:58:20.042Z] 5eb5b503b376: Pull complete [2022-03-15T09:58:20.042Z] 5c69ac0246d0: Pull complete [2022-03-15T09:58:20.610Z] ec43610c2a17: Pull complete [2022-03-15T09:58:20.610Z] 3a2ae6a8a46f: Pull complete [2022-03-15T09:58:20.872Z] 33b1e0a273af: Pull complete [2022-03-15T09:58:20.872Z] 5d3b04190fa2: Pull complete [2022-03-15T09:58:26.165Z] 2f39f015ded8: Pull complete [2022-03-15T09:58:26.165Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-15T09:58:26.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:58:26.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-15T09:58:26.254Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2022-03-15T09:58:26.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-15T09:58:28.189Z] $ docker top 6738dc2f753b0889637117f251f57cb2c3ee884e722877a68af558032d7c7812 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:58:28.647Z] ---> job-cost.sh [2022-03-15T09:58:28.647Z] lf-activate-venv: SKIPPING [2022-03-15T09:58:28.647Z] INFO: No Stack... [2022-03-15T09:58:28.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-15T09:58:29.484Z] INFO: Archiving Costs [Pipeline] sh [2022-03-15T09:58:29.801Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv [2022-03-15T09:58:29.802Z] + cut -d, -f6 [Pipeline] lock [2022-03-15T09:58:29.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-5-stack-cost] [2022-03-15T09:58:29.844Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-5-stack-cost] did not exist. Created. [2022-03-15T09:58:29.845Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-15T09:58:30.244Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-15T09:58:30.299Z] Stashed 1 file(s) [Pipeline] } [2022-03-15T09:58:30.334Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-15T09:58:30.424Z] $ docker stop --time=1 6738dc2f753b0889637117f251f57cb2c3ee884e722877a68af558032d7c7812 [2022-03-15T09:58:31.606Z] $ docker rm -f 6738dc2f753b0889637117f251f57cb2c3ee884e722877a68af558032d7c7812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-15T09:58:59.288Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7122 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws [2022-03-15T09:58:59.327Z] Running in /w/workspace/device-gpio/5 [Pipeline] { [Pipeline] checkout [2022-03-15T09:59:00.005Z] The recommended git tool is: git [2022-03-15T09:59:06.976Z] using credential edgex-jenkins-ssh [2022-03-15T09:59:06.999Z] Cloning the remote Git repository [2022-03-15T09:59:07.110Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-15T09:59:07.239Z] > git init /w/workspace/device-gpio/5 # timeout=10 [2022-03-15T09:59:07.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-15T09:59:07.382Z] > git --version # timeout=10 [2022-03-15T09:59:07.443Z] > git --version # 'git version 2.25.1' [2022-03-15T09:59:07.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-15T09:59:07.636Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-15T09:59:08.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-15T09:59:08.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-15T09:59:08.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-15T09:59:08.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-15T09:59:08.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-15T09:59:09.038Z] > 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-15T09:59:09.612Z] Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 2fccfded593c6d1bc38f5c1e250721b5beb7a312 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-15T09:59:09.980Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [2022-03-15T09:59:09.633Z] > git config core.sparsecheckout # timeout=10 [2022-03-15T09:59:09.676Z] > git checkout -f 2fccfded593c6d1bc38f5c1e250721b5beb7a312 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-15T09:59:12.007Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] [2022-03-15T09:59:12.007Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-15T09:59:12.007Z] total 16 [2022-03-15T09:59:12.007Z] drwxr-xr-x 3 root root 4096 Mar 15 09:58 . [2022-03-15T09:59:12.007Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:58 .. [2022-03-15T09:59:12.007Z] drwxr-xr-x 2 root root 4096 Mar 15 09:58 cost [2022-03-15T09:59:12.007Z] -rw-r--r-- 1 root root 81 Mar 15 09:58 cost.csv [2022-03-15T09:59:12.007Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-15T09:59:12.007Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-15T09:59:12.007Z] total 16 [2022-03-15T09:59:12.007Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 09:58 . [2022-03-15T09:59:12.007Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:58 .. [2022-03-15T09:59:12.007Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 09:58 cost [2022-03-15T09:59:12.007Z] -rw-r--r-- 1 jenkins jenkins 81 Mar 15 09:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:12.341Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:13.244Z] ---> package-listing.sh [2022-03-15T09:59:13.244Z] ++ facter osfamily [2022-03-15T09:59:13.244Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-15T09:59:13.505Z] + OS_FAMILY=debian [2022-03-15T09:59:13.505Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-15T09:59:13.505Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-15T09:59:13.505Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-15T09:59:13.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-15T09:59:13.505Z] + PACKAGES=/tmp/packages_start.txt [2022-03-15T09:59:13.505Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-15T09:59:13.505Z] + PACKAGES=/tmp/packages_end.txt [2022-03-15T09:59:13.505Z] + case "${OS_FAMILY}" in [2022-03-15T09:59:13.505Z] + dpkg -l [2022-03-15T09:59:13.505Z] + grep '^ii' [2022-03-15T09:59:13.505Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-15T09:59:13.505Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-15T09:59:13.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-15T09:59:13.505Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-15T09:59:13.505Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [2022-03-15T09:59:13.505Z] + 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-15T09:59:13.535Z] 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-15T09:59:13.831Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:59:14.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:59:14.414Z] . [Pipeline] withDockerContainer [2022-03-15T09:59:14.503Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2022-03-15T09:59:14.542Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-15T09:59:14.796Z] $ docker top 77aec365c985e52239c593ddc29b748706335a4be90dc599a2744da1828d4ebe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-15T09:59:15.187Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-15T09:59:15.497Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-15T09:59:15.878Z] + ls /var/log/sa-host [2022-03-15T09:59:15.878Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-15T09:59:16.027Z] provisioning config files... [2022-03-15T09:59:16.049Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config562236740719356555tmp [Pipeline] { [Pipeline] echo [2022-03-15T09:59:16.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:16.400Z] ---> create-netrc.sh [Pipeline] } [2022-03-15T09:59:16.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:16.827Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-15T09:59:16.864Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:17.183Z] ---> sudo-logs.sh [2022-03-15T09:59:17.183Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-15T09:59:17.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:17.583Z] ---> job-cost.sh [2022-03-15T09:59:17.584Z] lf-activate-venv: SKIPPING [2022-03-15T09:59:17.584Z] DEBUG: total: 0.2199999988079071 [2022-03-15T09:59:17.584Z] INFO: Retrieving Stack Cost... [2022-03-15T09:59:18.155Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-15T09:59:18.415Z] INFO: Archiving Costs [Pipeline] echo [2022-03-15T09:59:18.452Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:59:18.771Z] ---> logs-deploy.sh [2022-03-15T09:59:18.771Z] lf-activate-venv: SKIPPING [2022-03-15T09:59:18.771Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/5 [2022-03-15T09:59:18.771Z] INFO: archiving workspace using pattern(s): [2022-03-15T09:59:19.711Z] Archives upload complete. [2022-03-15T09:59:19.711Z] INFO: archiving logs to Nexus