Pull request #15 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 ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 82ef7daef7d68be7d447f3fb96a94a64028417f0+dc2975e542a944f4e8f45132f2113a92bb59edd1 (c4fc1dd291b0400f40146a70806f039afca03e02) 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-ssh16695267276830262578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh15257848133965338018.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-15/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-15/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16425444100658279110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh18300558863996281731.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-15/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-15/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6482282809371069862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2133 in /w/workspace/edgexfoundry_device-gpio_PR-15 [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-15 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh6030358870324310222.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit 82ef7daef7d68be7d447f3fb96a94a64028417f0 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh1522062257245832950.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 82ef7daef7d68be7d447f3fb96a94a64028417f0 Checking out Revision 82ef7daef7d68be7d447f3fb96a94a64028417f0 (PR-15) > git checkout -f 82ef7daef7d68be7d447f3fb96a94a64028417f0 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh8256453067335320559.key > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82ef7daef7d68be7d447f3fb96a94a64028417f0 # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T23:16:16.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T23:16:16.653Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T23:16:16.671Z] ========================================================= [2022-01-19T23:16:16.671Z] EdgeX Global Pipelines Version Info [2022-01-19T23:16:16.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b73f0a4a532f14874cbed236bda23691976dd10e # timeout=10 [2022-01-19T23:16:17.795Z] ------------------- [2022-01-19T23:16:17.795Z] stable info: [2022-01-19T23:16:17.795Z] ------------------- [2022-01-19T23:16:17.795Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T23:16:17.795Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:16:17.795Z] Message: update stable to v1.0.219 [2022-01-19T23:16:18.382Z] ------------------- [2022-01-19T23:16:18.382Z] experimental info: [2022-01-19T23:16:18.382Z] ------------------- [2022-01-19T23:16:18.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T23:16:18.382Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:16:18.382Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T23:16:18.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-01-19T23:16:18.516Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-01-19T23:16:18.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T23:16:18.542Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T23:16:18.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T23:16:18.568Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T23:16:18.578Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T23:16:18.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T23:16:18.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T23:16:18.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T23:16:18.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T23:16:18.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-01-19T23:16:18.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T23:16:18.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T23:16:18.691Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:16:18.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:16:18.719Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T23:16:18.733Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T23:16:18.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T23:16:18.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T23:16:18.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T23:16:18.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T23:16:18.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T23:16:18.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T23:16:18.838Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T23:16:18.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T23:16:18.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo [2022-01-19T23:16:18.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo [2022-01-19T23:16:18.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo [2022-01-19T23:16:18.896Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82ef7daef7d68be7d447f3fb96a94a64028417f0 [Pipeline] echo [2022-01-19T23:16:18.906Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82ef7da [Pipeline] echo [2022-01-19T23:16:18.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:16:18.963Z] provisioning config files... [2022-01-19T23:16:18.979Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config5665499348077312175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:16:19.287Z] ---> docker-login.sh [2022-01-19T23:16:19.287Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:16:19.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:19.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:19.550Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:19.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:19.550Z] [2022-01-19T23:16:19.550Z] Login Succeeded [2022-01-19T23:16:19.550Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:16:19.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:19.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:19.550Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:19.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:19.550Z] [2022-01-19T23:16:19.550Z] Login Succeeded [2022-01-19T23:16:19.550Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:16:19.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:19.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:19.814Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:19.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:19.814Z] [2022-01-19T23:16:19.814Z] Login Succeeded [2022-01-19T23:16:19.814Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:16:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:19.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:19.814Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:19.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:19.814Z] [2022-01-19T23:16:19.814Z] Login Succeeded [2022-01-19T23:16:19.814Z] docker.io [2022-01-19T23:16:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:20.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:20.393Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:20.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:20.393Z] [2022-01-19T23:16:20.393Z] Login Succeeded [2022-01-19T23:16:20.393Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:16:20.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T23:16:20.783Z] + git rev-list -1 --merges 82ef7daef7d68be7d447f3fb96a94a64028417f0~1..82ef7daef7d68be7d447f3fb96a94a64028417f0 [Pipeline] echo [2022-01-19T23:16:20.817Z] -----------> git rev-list -1 --merges 82ef7daef7d68be7d447f3fb96a94a64028417f0~1..82ef7daef7d68be7d447f3fb96a94a64028417f0 82ef7daef7d68be7d447f3fb96a94a64028417f0 [false] [Pipeline] sh [2022-01-19T23:16:21.123Z] + git log --format=format:%s -1 82ef7daef7d68be7d447f3fb96a94a64028417f0 [Pipeline] echo [2022-01-19T23:16:21.139Z] ========================================================= [2022-01-19T23:16:21.139Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T23:16:21.139Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:16:21.486Z] + git log --format=format:%s -1 82ef7daef7d68be7d447f3fb96a94a64028417f0 [Pipeline] echo [2022-01-19T23:16:21.502Z] [semverPrep] GIT_COMMIT: 82ef7daef7d68be7d447f3fb96a94a64028417f0, Commit Message: ci: Go 1.17 related changes [Pipeline] echo [2022-01-19T23:16:21.510Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T23:16:21.883Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T23:16:21.883Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T23:16:21.883Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T23:16:21.883Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T23:16:21.883Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T23:16:21.883Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T23:16:21.883Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:16:22.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:16:22.230Z] [2022-01-19T23:16:22.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:16:22.539Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:16:22.539Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T23:16:22.539Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T23:16:22.539Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T23:16:22.539Z] 4c7163046ea9: Pulling fs layer [2022-01-19T23:16:22.539Z] 0c2d73faf560: Pulling fs layer [2022-01-19T23:16:22.539Z] 0c2d73faf560: Waiting [2022-01-19T23:16:22.539Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T23:16:22.539Z] 3e5f54012d9b: Download complete [2022-01-19T23:16:22.539Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T23:16:22.539Z] a0d0a0d46f8b: Download complete [2022-01-19T23:16:22.539Z] 4c7163046ea9: Verifying Checksum [2022-01-19T23:16:22.539Z] 4c7163046ea9: Download complete [2022-01-19T23:16:22.799Z] 0c2d73faf560: Verifying Checksum [2022-01-19T23:16:22.799Z] 0c2d73faf560: Download complete [2022-01-19T23:16:22.799Z] a0d0a0d46f8b: Pull complete [2022-01-19T23:16:22.799Z] 3e5f54012d9b: Pull complete [2022-01-19T23:16:23.061Z] 4c7163046ea9: Pull complete [2022-01-19T23:16:23.325Z] 0c2d73faf560: Pull complete [2022-01-19T23:16:23.325Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T23:16:23.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:16:23.325Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T23:16:23.416Z] prd-centos7-docker-4c-2g-2133 does not seem to be running inside a container [2022-01-19T23:16:23.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T23:16:24.150Z] $ docker top 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T23:16:24.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:16:24.251Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:16:24.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:16:24.377Z] $ docker exec 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 ssh-agent [2022-01-19T23:16:24.492Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBfijJJ/agent.14 [2022-01-19T23:16:24.492Z] SSH_AGENT_PID=20 [2022-01-19T23:16:24.503Z] Running ssh-add (command line suppressed) [2022-01-19T23:16:24.606Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_7760076379006638314.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_7760076379006638314.key) [2022-01-19T23:16:24.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:16:24.922Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T23:16:24.937Z] $ docker exec --env ******** --env ******** 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 ssh-agent -k [2022-01-19T23:16:25.034Z] unset SSH_AUTH_SOCK; [2022-01-19T23:16:25.034Z] unset SSH_AGENT_PID; [2022-01-19T23:16:25.034Z] echo Agent pid 20 killed; [2022-01-19T23:16:25.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T23:16:25.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:16:25.070Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:16:25.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:16:25.200Z] $ docker exec 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 ssh-agent [2022-01-19T23:16:25.303Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFaioNB/agent.52 [2022-01-19T23:16:25.303Z] SSH_AGENT_PID=58 [2022-01-19T23:16:25.308Z] Running ssh-add (command line suppressed) [2022-01-19T23:16:25.408Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_1964578610012355565.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_1964578610012355565.key) [2022-01-19T23:16:25.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:16:25.717Z] + git semver init [2022-01-19T23:16:25.717Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T23:16:25.717Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.git [2022-01-19T23:16:25.717Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-15 [2022-01-19T23:16:25.717Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T23:16:25.717Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T23:16:25.717Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T23:16:25.717Z] # $SEMVER_BRANCH = PR-15 [2022-01-19T23:16:25.717Z] # $SEMVER_TEMP = /tmp/semver-934692054 [2022-01-19T23:16:25.717Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-01-19T23:16:26.660Z] # '/tmp/semver-934692054' -> '/w/workspace/edgexfoundry_device-gpio_PR-15/.semver' [2022-01-19T23:16:26.660Z] # -> Force: false [2022-01-19T23:16:26.660Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.semver [Pipeline] } [2022-01-19T23:16:26.674Z] $ docker exec --env ******** --env ******** 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 ssh-agent -k [2022-01-19T23:16:26.775Z] unset SSH_AUTH_SOCK; [2022-01-19T23:16:26.775Z] unset SSH_AGENT_PID; [2022-01-19T23:16:26.775Z] echo Agent pid 58 killed; [2022-01-19T23:16:26.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T23:16:27.096Z] + git semver [Pipeline] } [2022-01-19T23:16:27.114Z] $ docker stop --time=1 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 [2022-01-19T23:16:28.379Z] $ docker rm -f 53f5d33b133ff40d5d74cb359d18c8f95e3b2b36167aadb11e2f28c6d5782f68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T23:16:28.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T23:16:28.988Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T23:16:28.992Z] [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-01-19T23:16:29.143Z] provisioning config files... [2022-01-19T23:16:29.152Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config7771791513195826797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:16:29.465Z] ---> docker-login.sh [2022-01-19T23:16:29.465Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:16:29.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:29.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:29.465Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:29.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:29.465Z] [2022-01-19T23:16:29.465Z] Login Succeeded [2022-01-19T23:16:29.465Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:16:29.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:29.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:29.465Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:29.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:29.465Z] [2022-01-19T23:16:29.465Z] Login Succeeded [2022-01-19T23:16:29.465Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:16:29.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:29.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:29.726Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:29.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:29.726Z] [2022-01-19T23:16:29.726Z] Login Succeeded [2022-01-19T23:16:29.726Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:16:29.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:29.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:29.987Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:29.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:29.987Z] [2022-01-19T23:16:29.987Z] Login Succeeded [2022-01-19T23:16:29.987Z] docker.io [2022-01-19T23:16:29.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:16:30.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:16:30.248Z] Configure a credential helper to remove this warning. See [2022-01-19T23:16:30.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:16:30.248Z] [2022-01-19T23:16:30.248Z] Login Succeeded [2022-01-19T23:16:30.248Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:16:30.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T23:16:30.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:16:30.336Z] ========================================================= [2022-01-19T23:16:30.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T23:16:30.336Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:16:30.654Z] + 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-01-19T23:16:30.654Z] Sending build context to Docker daemon 10.94MB [2022-01-19T23:16:30.654Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:16:30.654Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T23:16:30.654Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T23:16:30.654Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T23:16:30.654Z] 666ba61612fd: Pulling fs layer [2022-01-19T23:16:30.654Z] 8ed8ca486205: Pulling fs layer [2022-01-19T23:16:30.654Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T23:16:30.654Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T23:16:30.654Z] f965cba54748: Pulling fs layer [2022-01-19T23:16:30.654Z] 861ffc35075e: Pulling fs layer [2022-01-19T23:16:30.654Z] 4b385c91608e: Pulling fs layer [2022-01-19T23:16:30.654Z] 560528eb2ebb: Pulling fs layer [2022-01-19T23:16:30.654Z] 4fe6c5a15a65: Waiting [2022-01-19T23:16:30.654Z] 22a0e8bec74d: Waiting [2022-01-19T23:16:30.654Z] f965cba54748: Waiting [2022-01-19T23:16:30.654Z] 861ffc35075e: Waiting [2022-01-19T23:16:30.654Z] 4b385c91608e: Waiting [2022-01-19T23:16:30.654Z] 560528eb2ebb: Waiting [2022-01-19T23:16:30.920Z] 8ed8ca486205: Verifying Checksum [2022-01-19T23:16:30.920Z] 8ed8ca486205: Download complete [2022-01-19T23:16:30.920Z] 666ba61612fd: Verifying Checksum [2022-01-19T23:16:30.920Z] 666ba61612fd: Download complete [2022-01-19T23:16:30.920Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T23:16:30.920Z] 22a0e8bec74d: Download complete [2022-01-19T23:16:30.920Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T23:16:30.920Z] 59bf1c3509f3: Download complete [2022-01-19T23:16:30.920Z] f965cba54748: Verifying Checksum [2022-01-19T23:16:30.920Z] f965cba54748: Download complete [2022-01-19T23:16:30.920Z] 861ffc35075e: Verifying Checksum [2022-01-19T23:16:30.920Z] 861ffc35075e: Download complete [2022-01-19T23:16:30.920Z] 4b385c91608e: Verifying Checksum [2022-01-19T23:16:30.920Z] 4b385c91608e: Download complete [2022-01-19T23:16:31.185Z] 59bf1c3509f3: Pull complete [2022-01-19T23:16:31.452Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T23:16:31.452Z] 4fe6c5a15a65: Download complete [2022-01-19T23:16:31.452Z] 666ba61612fd: Pull complete [2022-01-19T23:16:31.724Z] 560528eb2ebb: Verifying Checksum [2022-01-19T23:16:31.724Z] 560528eb2ebb: Download complete [2022-01-19T23:16:31.724Z] 8ed8ca486205: Pull complete [2022-01-19T23:16:35.992Z] 4fe6c5a15a65: Pull complete [2022-01-19T23:16:35.992Z] 22a0e8bec74d: Pull complete [2022-01-19T23:16:35.992Z] f965cba54748: Pull complete [2022-01-19T23:16:35.992Z] 861ffc35075e: Pull complete [2022-01-19T23:16:36.260Z] 4b385c91608e: Pull complete [2022-01-19T23:16:38.864Z] 560528eb2ebb: Pull complete [2022-01-19T23:16:38.864Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T23:16:38.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:16:38.864Z] ---> dd4a08f94e63 [2022-01-19T23:16:38.864Z] Step 3/11 : ARG MAKE='make build' [2022-01-19T23:16:40.789Z] ---> Running in 4a03ae46b013 [2022-01-19T23:16:40.789Z] Removing intermediate container 4a03ae46b013 [2022-01-19T23:16:40.789Z] ---> c2baa1ae25d6 [2022-01-19T23:16:40.789Z] Step 4/11 : WORKDIR /device-gpio [2022-01-19T23:16:40.789Z] ---> Running in f1f69a054fb1 [2022-01-19T23:16:41.052Z] Removing intermediate container f1f69a054fb1 [2022-01-19T23:16:41.052Z] ---> 287cd54391ac [2022-01-19T23:16:41.052Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:16:41.052Z] ---> Running in b7e0286588a7 [2022-01-19T23:16:41.052Z] Removing intermediate container b7e0286588a7 [2022-01-19T23:16:41.052Z] ---> 45a26b4c381d [2022-01-19T23:16:41.052Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:16:41.052Z] ---> Running in 0510c98b2895 [2022-01-19T23:16:41.629Z] Removing intermediate container 0510c98b2895 [2022-01-19T23:16:41.629Z] ---> a8f608ae8fa4 [2022-01-19T23:16:41.629Z] Step 7/11 : RUN apk add --update --no-cache make git [2022-01-19T23:16:41.629Z] ---> Running in bbc0bb5ea444 [2022-01-19T23:16:41.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T23:16:42.837Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T23:16:43.098Z] OK: 221 MiB in 52 packages [2022-01-19T23:16:43.360Z] Removing intermediate container bbc0bb5ea444 [2022-01-19T23:16:43.360Z] ---> 343581feefe9 [2022-01-19T23:16:43.360Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T23:16:43.360Z] ---> 938e6610be26 [2022-01-19T23:16:43.360Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:16:43.621Z] ---> Running in 217c532e5bb6 [2022-01-19T23:16:44.095Z] Still waiting to schedule task [2022-01-19T23:16:44.095Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-19T23:17:01.771Z] Removing intermediate container 217c532e5bb6 [2022-01-19T23:17:01.771Z] ---> 53fccfd371ac [2022-01-19T23:17:01.771Z] Step 10/11 : COPY . . [2022-01-19T23:17:01.771Z] ---> 829de58c5659 [2022-01-19T23:17:01.771Z] Step 11/11 : RUN ${MAKE} [2022-01-19T23:17:01.771Z] ---> Running in f8d6a3a54f07 [2022-01-19T23:17:02.039Z] noop [2022-01-19T23:17:02.300Z] Removing intermediate container f8d6a3a54f07 [2022-01-19T23:17:02.300Z] ---> a6f4934008be [2022-01-19T23:17:02.300Z] Successfully built a6f4934008be [2022-01-19T23:17:02.300Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:17:02.604Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:17:02.604Z] . [Pipeline] withDockerContainer [2022-01-19T23:17:02.689Z] prd-centos7-docker-4c-2g-2133 does not seem to be running inside a container [2022-01-19T23:17:02.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T23:17:03.134Z] $ docker top 9398c2eb3a2cf91558d04427b591680085ac6af158a2f3633392caeb5d4f7904 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:17:03.502Z] + go version [2022-01-19T23:17:03.502Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T23:17:03.521Z] $ docker stop --time=1 9398c2eb3a2cf91558d04427b591680085ac6af158a2f3633392caeb5d4f7904 [2022-01-19T23:17:04.730Z] $ docker rm -f 9398c2eb3a2cf91558d04427b591680085ac6af158a2f3633392caeb5d4f7904 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:17:05.167Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:17:05.167Z] . [Pipeline] withDockerContainer [2022-01-19T23:17:05.241Z] prd-centos7-docker-4c-2g-2133 does not seem to be running inside a container [2022-01-19T23:17:05.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T23:17:05.664Z] $ docker top 7d4e2111f928eac2d3cdb8e99fe557aacac6c7ce1aa21f2f83168a02618176e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:17:06.038Z] + make test [2022-01-19T23:17:06.038Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T23:17:06.038Z] go: updates to go.mod needed; to update it: [2022-01-19T23:17:06.038Z] go mod tidy [2022-01-19T23:17:06.038Z] make: *** [Makefile:25: test] Error 1 [Pipeline] } [2022-01-19T23:17:06.056Z] $ docker stop --time=1 7d4e2111f928eac2d3cdb8e99fe557aacac6c7ce1aa21f2f83168a02618176e8 [2022-01-19T23:17:07.266Z] $ docker rm -f 7d4e2111f928eac2d3cdb8e99fe557aacac6c7ce1aa21f2f83168a02618176e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:17:07.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:17:07.745Z] [2022-01-19T23:17:07.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:17:08.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:17:08.058Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T23:17:08.058Z] b4d181a07f80: Pulling fs layer [2022-01-19T23:17:08.058Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T23:17:08.058Z] ed53099fbce6: Pulling fs layer [2022-01-19T23:17:08.058Z] dc539afda2c1: Pulling fs layer [2022-01-19T23:17:08.058Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T23:17:08.058Z] 9065ff56babe: Pulling fs layer [2022-01-19T23:17:08.058Z] d287ab97295c: Pulling fs layer [2022-01-19T23:17:08.058Z] 77bc0d833cb6: Waiting [2022-01-19T23:17:08.058Z] 9065ff56babe: Waiting [2022-01-19T23:17:08.058Z] d287ab97295c: Waiting [2022-01-19T23:17:08.058Z] dc539afda2c1: Waiting [2022-01-19T23:17:08.058Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T23:17:08.058Z] a1111a8f2ec3: Download complete [2022-01-19T23:17:08.058Z] dc539afda2c1: Verifying Checksum [2022-01-19T23:17:08.058Z] dc539afda2c1: Download complete [2022-01-19T23:17:08.058Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T23:17:08.058Z] 77bc0d833cb6: Download complete [2022-01-19T23:17:08.331Z] 9065ff56babe: Verifying Checksum [2022-01-19T23:17:08.331Z] 9065ff56babe: Download complete [2022-01-19T23:17:08.331Z] ed53099fbce6: Verifying Checksum [2022-01-19T23:17:08.331Z] ed53099fbce6: Download complete [2022-01-19T23:17:08.331Z] b4d181a07f80: Verifying Checksum [2022-01-19T23:17:08.331Z] b4d181a07f80: Download complete [2022-01-19T23:17:08.919Z] d287ab97295c: Verifying Checksum [2022-01-19T23:17:08.919Z] d287ab97295c: Download complete [2022-01-19T23:17:09.879Z] b4d181a07f80: Pull complete [2022-01-19T23:17:10.141Z] a1111a8f2ec3: Pull complete [2022-01-19T23:17:10.731Z] ed53099fbce6: Pull complete [2022-01-19T23:17:10.731Z] dc539afda2c1: Pull complete [2022-01-19T23:17:10.994Z] 77bc0d833cb6: Pull complete [2022-01-19T23:17:10.994Z] 9065ff56babe: Pull complete [2022-01-19T23:17:17.638Z] d287ab97295c: Pull complete [2022-01-19T23:17:17.638Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T23:17:17.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:17:17.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T23:17:17.709Z] prd-centos7-docker-4c-2g-2133 does not seem to be running inside a container [2022-01-19T23:17:17.748Z] $ 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-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@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-01-19T23:17:20.443Z] $ docker top 7d9eb325594485778891101c3b0257923aa7579cb5c685aea2aaf59c5c4abb04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:17:20.861Z] ---> job-cost.sh [2022-01-19T23:17:20.861Z] lf-activate-venv: SKIPPING [2022-01-19T23:17:20.861Z] INFO: No Stack... [2022-01-19T23:17:21.124Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T23:17:21.699Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T23:17:22.000Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-15/archives/cost.csv [2022-01-19T23:17:22.000Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T23:17:22.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [2022-01-19T23:17:22.026Z] Resource [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] did not exist. Created. [2022-01-19T23:17:22.026Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T23:17:22.356Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T23:17:22.388Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T23:17:22.394Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T23:17:22.418Z] $ docker stop --time=1 7d9eb325594485778891101c3b0257923aa7579cb5c685aea2aaf59c5c4abb04 [2022-01-19T23:17:23.573Z] $ docker rm -f 7d9eb325594485778891101c3b0257923aa7579cb5c685aea2aaf59c5c4abb04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T23:17:23.694Z] Failed in branch amd64 [2022-01-19T23:19:04.955Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2136 in /w/workspace/edgexfoundry_device-gpio_PR-15 [Pipeline] { [Pipeline] ws [2022-01-19T23:19:04.970Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2022-01-19T23:19:05.171Z] The recommended git tool is: git [2022-01-19T23:19:10.198Z] using credential edgex-jenkins-ssh [2022-01-19T23:19:10.220Z] Cloning the remote Git repository [2022-01-19T23:19:10.285Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:19:10.371Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2022-01-19T23:19:10.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:19:10.471Z] > git --version # timeout=10 [2022-01-19T23:19:10.493Z] > git --version # 'git version 2.17.1' [2022-01-19T23:19:10.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:19:10.571Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:19:12.471Z] Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit 82ef7daef7d68be7d447f3fb96a94a64028417f0 [2022-01-19T23:19:11.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-01-19T23:19:11.801Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:19:11.833Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-01-19T23:19:11.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:19:11.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:19:11.898Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-19T23:19:12.494Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:19:12.511Z] > git checkout -f 82ef7daef7d68be7d447f3fb96a94a64028417f0 # timeout=10 [2022-01-19T23:19:12.599Z] > git remote # timeout=10 [2022-01-19T23:19:12.624Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T23:19:12.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:19:12.688Z] Merge succeeded, producing 82ef7daef7d68be7d447f3fb96a94a64028417f0 [2022-01-19T23:19:12.689Z] Checking out Revision 82ef7daef7d68be7d447f3fb96a94a64028417f0 (PR-15) [2022-01-19T23:19:12.648Z] > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 [2022-01-19T23:19:12.673Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T23:19:12.699Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:19:12.721Z] > git checkout -f 82ef7daef7d68be7d447f3fb96a94a64028417f0 # timeout=10 [2022-01-19T23:19:16.891Z] Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:19:17.715Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T23:19:17.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T23:19:17.715Z] Dload Upload Total Spent Left Speed [2022-01-19T23:19:17.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-01-19T23:19:18.220Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T23:19:18.561Z] + + sudo tee /etc/docker/daemon.new [2022-01-19T23:19:18.561Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T23:19:18.561Z] { [2022-01-19T23:19:18.561Z] "registry-mirrors": [ [2022-01-19T23:19:18.561Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T23:19:18.561Z] ], [2022-01-19T23:19:18.561Z] "bip": "10.250.0.254/24", [2022-01-19T23:19:18.561Z] "hosts": [ [2022-01-19T23:19:18.561Z] "tcp://0.0.0.0:5555", [2022-01-19T23:19:18.561Z] "unix:///var/run/docker.sock" [2022-01-19T23:19:18.561Z] ], [2022-01-19T23:19:18.561Z] "mtu": 1458, [2022-01-19T23:19:18.561Z] "selinux-enabled": true, [2022-01-19T23:19:18.561Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T23:19:18.561Z] } [Pipeline] sh [2022-01-19T23:19:18.911Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T23:19:19.333Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:19:37.680Z] provisioning config files... [2022-01-19T23:19:37.708Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config7843560341467309943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:19:38.086Z] ---> docker-login.sh [2022-01-19T23:19:38.086Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:19:38.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:19:38.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:19:38.959Z] Configure a credential helper to remove this warning. See [2022-01-19T23:19:38.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:19:38.959Z] [2022-01-19T23:19:38.959Z] Login Succeeded [2022-01-19T23:19:38.959Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:19:39.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:19:39.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:19:39.510Z] Configure a credential helper to remove this warning. See [2022-01-19T23:19:39.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:19:39.510Z] [2022-01-19T23:19:39.510Z] Login Succeeded [2022-01-19T23:19:39.510Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:19:39.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:19:39.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:19:39.785Z] Configure a credential helper to remove this warning. See [2022-01-19T23:19:39.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:19:39.785Z] [2022-01-19T23:19:39.785Z] Login Succeeded [2022-01-19T23:19:39.785Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:19:40.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:19:40.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:19:40.389Z] Configure a credential helper to remove this warning. See [2022-01-19T23:19:40.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:19:40.389Z] [2022-01-19T23:19:40.389Z] Login Succeeded [2022-01-19T23:19:40.389Z] docker.io [2022-01-19T23:19:40.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:19:40.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:19:40.948Z] Configure a credential helper to remove this warning. See [2022-01-19T23:19:40.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:19:40.948Z] [2022-01-19T23:19:40.948Z] Login Succeeded [2022-01-19T23:19:41.223Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:19:41.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T23:19:41.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:19:41.862Z] ========================================================= [2022-01-19T23:19:41.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T23:19:41.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:19:42.219Z] + 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-01-19T23:19:42.496Z] Sending build context to Docker daemon 5.523MB [2022-01-19T23:19:42.496Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:19:42.496Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T23:19:42.772Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T23:19:42.772Z] 9b3977197b4f: Pulling fs layer [2022-01-19T23:19:42.772Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T23:19:42.772Z] 94645a83ff95: Pulling fs layer [2022-01-19T23:19:42.772Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T23:19:42.772Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T23:19:42.772Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T23:19:42.772Z] 9a6b49a46696: Pulling fs layer [2022-01-19T23:19:42.772Z] cf05db05a679: Pulling fs layer [2022-01-19T23:19:42.772Z] 3f3a8bcf1eab: Waiting [2022-01-19T23:19:42.772Z] 0c92f367c5e7: Waiting [2022-01-19T23:19:42.772Z] 4b8299f9d1f4: Waiting [2022-01-19T23:19:42.772Z] 9a6b49a46696: Waiting [2022-01-19T23:19:42.772Z] cf05db05a679: Waiting [2022-01-19T23:19:42.772Z] 94645a83ff95: Verifying Checksum [2022-01-19T23:19:42.772Z] 94645a83ff95: Download complete [2022-01-19T23:19:42.772Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T23:19:42.772Z] 1a89e8eeedd5: Download complete [2022-01-19T23:19:42.772Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T23:19:42.772Z] 0c92f367c5e7: Download complete [2022-01-19T23:19:42.772Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T23:19:42.772Z] 4b8299f9d1f4: Download complete [2022-01-19T23:19:42.772Z] 9a6b49a46696: Download complete [2022-01-19T23:19:42.772Z] 9b3977197b4f: Download complete [2022-01-19T23:19:43.761Z] 9b3977197b4f: Pull complete [2022-01-19T23:19:44.367Z] 1a89e8eeedd5: Pull complete [2022-01-19T23:19:44.642Z] 94645a83ff95: Pull complete [2022-01-19T23:19:44.918Z] cf05db05a679: Verifying Checksum [2022-01-19T23:19:44.918Z] cf05db05a679: Download complete [2022-01-19T23:19:45.518Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T23:19:45.518Z] 3f3a8bcf1eab: Download complete [2022-01-19T23:19:57.926Z] 3f3a8bcf1eab: Pull complete [2022-01-19T23:19:57.926Z] 0c92f367c5e7: Pull complete [2022-01-19T23:19:57.926Z] 4b8299f9d1f4: Pull complete [2022-01-19T23:19:57.926Z] 9a6b49a46696: Pull complete [2022-01-19T23:20:03.331Z] cf05db05a679: Pull complete [2022-01-19T23:20:03.331Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T23:20:03.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:20:03.331Z] ---> 0ccda1f7e2ee [2022-01-19T23:20:03.331Z] Step 3/11 : ARG MAKE='make build' [2022-01-19T23:20:05.961Z] ---> Running in 8956a45104b3 [2022-01-19T23:20:05.961Z] Removing intermediate container 8956a45104b3 [2022-01-19T23:20:05.961Z] ---> ffe4285a63f4 [2022-01-19T23:20:05.961Z] Step 4/11 : WORKDIR /device-gpio [2022-01-19T23:20:05.961Z] ---> Running in ef4ea9585477 [2022-01-19T23:20:06.230Z] Removing intermediate container ef4ea9585477 [2022-01-19T23:20:06.230Z] ---> b7d5cb0df7f9 [2022-01-19T23:20:06.230Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:20:06.508Z] ---> Running in 57666779cead [2022-01-19T23:20:06.784Z] Removing intermediate container 57666779cead [2022-01-19T23:20:06.784Z] ---> 4fcc09f96fe6 [2022-01-19T23:20:06.784Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:20:06.784Z] ---> Running in 83b3a34a9dd7 [2022-01-19T23:20:08.758Z] Removing intermediate container 83b3a34a9dd7 [2022-01-19T23:20:08.758Z] ---> 59eb64869406 [2022-01-19T23:20:08.758Z] Step 7/11 : RUN apk add --update --no-cache make git [2022-01-19T23:20:08.758Z] ---> Running in c8b7dd1cde8a [2022-01-19T23:20:09.736Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T23:20:10.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T23:20:11.695Z] OK: 220 MiB in 52 packages [2022-01-19T23:20:12.672Z] Removing intermediate container c8b7dd1cde8a [2022-01-19T23:20:12.672Z] ---> 8ff54e2869ed [2022-01-19T23:20:12.672Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T23:20:13.270Z] ---> 155e5e2eab5e [2022-01-19T23:20:13.270Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:20:13.270Z] ---> Running in 57e68f4e5273 [2022-01-19T23:21:00.255Z] Removing intermediate container 57e68f4e5273 [2022-01-19T23:21:00.256Z] ---> d94db51583a9 [2022-01-19T23:21:00.256Z] Step 10/11 : COPY . . [2022-01-19T23:21:00.256Z] ---> f7f8d8a3f14a [2022-01-19T23:21:00.256Z] Step 11/11 : RUN ${MAKE} [2022-01-19T23:21:00.256Z] ---> Running in d021759387a5 [2022-01-19T23:21:00.256Z] noop [2022-01-19T23:21:00.256Z] Removing intermediate container d021759387a5 [2022-01-19T23:21:00.256Z] ---> b232314ed7a2 [2022-01-19T23:21:00.256Z] Successfully built b232314ed7a2 [2022-01-19T23:21:00.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:21:00.605Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:21:00.606Z] . [Pipeline] withDockerContainer [2022-01-19T23:21:00.821Z] prd-ubuntu18.04-docker-arm64-4c-16g-2136 does not seem to be running inside a container [2022-01-19T23:21:00.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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-arm64 cat [2022-01-19T23:21:02.321Z] $ docker top 7a0b6e93ab4ef316838e9e04a27235d27239101fc5e6168e60715b964771a739 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:21:03.229Z] + go version [2022-01-19T23:21:03.229Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T23:21:03.252Z] $ docker stop --time=1 7a0b6e93ab4ef316838e9e04a27235d27239101fc5e6168e60715b964771a739 [2022-01-19T23:21:04.889Z] $ docker rm -f 7a0b6e93ab4ef316838e9e04a27235d27239101fc5e6168e60715b964771a739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:21:05.487Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:21:05.487Z] . [Pipeline] withDockerContainer [2022-01-19T23:21:05.697Z] prd-ubuntu18.04-docker-arm64-4c-16g-2136 does not seem to be running inside a container [2022-01-19T23:21:05.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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-arm64 cat [2022-01-19T23:21:07.113Z] $ docker top c83c2e8c246126621307c1beef0c981b662f3bf690ad204afed2edea48b54a2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:21:08.022Z] + make test [2022-01-19T23:21:08.022Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T23:21:08.295Z] go: updates to go.mod needed; to update it: [2022-01-19T23:21:08.295Z] go mod tidy [2022-01-19T23:21:08.295Z] make: *** [Makefile:25: test] Error 1 [Pipeline] } [2022-01-19T23:21:08.317Z] $ docker stop --time=1 c83c2e8c246126621307c1beef0c981b662f3bf690ad204afed2edea48b54a2b [2022-01-19T23:21:09.992Z] $ docker rm -f c83c2e8c246126621307c1beef0c981b662f3bf690ad204afed2edea48b54a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:21:10.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:21:10.654Z] [2022-01-19T23:21:10.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:21:10.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:21:11.269Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T23:21:11.269Z] 448f6bf000e3: Pulling fs layer [2022-01-19T23:21:11.269Z] f757da607395: Pulling fs layer [2022-01-19T23:21:11.269Z] 05883995daec: Pulling fs layer [2022-01-19T23:21:11.269Z] 8603b9c90790: Pulling fs layer [2022-01-19T23:21:11.269Z] 1560dd03e051: Pulling fs layer [2022-01-19T23:21:11.269Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T23:21:11.269Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T23:21:11.269Z] 27f5ce0e4adf: Waiting [2022-01-19T23:21:11.269Z] 8603b9c90790: Waiting [2022-01-19T23:21:11.269Z] c2d8d7efcc4b: Waiting [2022-01-19T23:21:11.269Z] 1560dd03e051: Waiting [2022-01-19T23:21:11.269Z] f757da607395: Verifying Checksum [2022-01-19T23:21:11.269Z] f757da607395: Download complete [2022-01-19T23:21:11.269Z] 8603b9c90790: Verifying Checksum [2022-01-19T23:21:11.269Z] 8603b9c90790: Download complete [2022-01-19T23:21:11.547Z] 1560dd03e051: Verifying Checksum [2022-01-19T23:21:11.547Z] 1560dd03e051: Download complete [2022-01-19T23:21:11.547Z] 05883995daec: Verifying Checksum [2022-01-19T23:21:11.547Z] 05883995daec: Download complete [2022-01-19T23:21:11.547Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T23:21:11.547Z] 27f5ce0e4adf: Download complete [2022-01-19T23:21:11.824Z] 448f6bf000e3: Verifying Checksum [2022-01-19T23:21:11.824Z] 448f6bf000e3: Download complete [2022-01-19T23:21:14.437Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T23:21:14.437Z] c2d8d7efcc4b: Download complete [2022-01-19T23:21:15.411Z] 448f6bf000e3: Pull complete [2022-01-19T23:21:16.004Z] f757da607395: Pull complete [2022-01-19T23:21:17.444Z] 05883995daec: Pull complete [2022-01-19T23:21:17.717Z] 8603b9c90790: Pull complete [2022-01-19T23:21:18.703Z] 1560dd03e051: Pull complete [2022-01-19T23:21:18.703Z] 27f5ce0e4adf: Pull complete [2022-01-19T23:21:33.792Z] c2d8d7efcc4b: Pull complete [2022-01-19T23:21:33.792Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T23:21:33.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:21:33.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T23:21:34.009Z] prd-ubuntu18.04-docker-arm64-4c-16g-2136 does not seem to be running inside a container [2022-01-19T23:21:34.086Z] $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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:arm64 cat [2022-01-19T23:21:36.572Z] $ docker top 6e9acc8404d574503c725b655c7d9c5ab4e26db351714dc3b5591911b6ed4931 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:37.477Z] ---> job-cost.sh [2022-01-19T23:21:37.477Z] lf-activate-venv: SKIPPING [2022-01-19T23:21:37.477Z] INFO: No Stack... [2022-01-19T23:21:37.750Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T23:21:38.341Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T23:21:39.001Z] + cut -d, -f6 [2022-01-19T23:21:39.001Z] + cat /w/workspace/device-gpio/3/archives/cost.csv [Pipeline] lock [2022-01-19T23:21:39.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [2022-01-19T23:21:39.072Z] Resource [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] did not exist. Created. [2022-01-19T23:21:39.072Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T23:21:39.749Z] /w/workspace/device-gpio/3@tmp/durable-24eed56e/script.sh: 1: /w/workspace/device-gpio/3@tmp/durable-24eed56e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T23:21:40.129Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T23:21:40.135Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T23:21:40.687Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T23:21:40.696Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T23:21:40.719Z] $ docker stop --time=1 6e9acc8404d574503c725b655c7d9c5ab4e26db351714dc3b5591911b6ed4931 [2022-01-19T23:21:42.245Z] $ docker rm -f 6e9acc8404d574503c725b655c7d9c5ab4e26db351714dc3b5591911b6ed4931 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T23:21:42.558Z] 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) [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-01-19T23:21:43.202Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-15/archives ']' [2022-01-19T23:21:43.202Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:21:43.202Z] total 8 [2022-01-19T23:21:43.202Z] drwxr-xr-x. 3 root root 34 Jan 19 23:17 . [2022-01-19T23:21:43.202Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:17 .. [2022-01-19T23:21:43.202Z] drwxr-xr-x. 2 root root 6 Jan 19 23:17 cost [2022-01-19T23:21:43.202Z] -rw-r--r--. 1 root root 81 Jan 19 23:17 cost.csv [2022-01-19T23:21:43.202Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:21:43.202Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:21:43.202Z] total 8 [2022-01-19T23:21:43.202Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 23:17 . [2022-01-19T23:21:43.202Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:17 .. [2022-01-19T23:21:43.202Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 23:17 cost [2022-01-19T23:21:43.202Z] -rw-r--r--. 1 jenkins jenkins 81 Jan 19 23:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:43.508Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:44.077Z] ---> package-listing.sh [2022-01-19T23:21:44.077Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T23:21:44.077Z] ++ facter osfamily [2022-01-19T23:21:44.337Z] + OS_FAMILY=redhat [2022-01-19T23:21:44.337Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-15 [2022-01-19T23:21:44.337Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T23:21:44.337Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T23:21:44.337Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T23:21:44.337Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T23:21:44.337Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' [2022-01-19T23:21:44.337Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T23:21:44.337Z] + case "${OS_FAMILY}" in [2022-01-19T23:21:44.337Z] + rpm -qa [2022-01-19T23:21:44.337Z] + sort [2022-01-19T23:21:44.910Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T23:21:44.910Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T23:21:44.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T23:21:44.910Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' [2022-01-19T23:21:44.910Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [2022-01-19T23:21:44.910Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [Pipeline] echo [2022-01-19T23:21:44.923Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-15/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T23:21:45.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:21:45.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:21:45.782Z] . [Pipeline] withDockerContainer [2022-01-19T23:21:45.853Z] prd-centos7-docker-4c-2g-2133 does not seem to be running inside a container [2022-01-19T23:21:45.886Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-15/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-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@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-01-19T23:21:46.091Z] $ docker top b0d098d7b0b813a58b48530e0e7eb2145f5d6d11ea1aebbd5e9e7480d52e4b50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:21:46.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T23:21:46.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T23:21:47.041Z] + ls /var/log/sa-host [2022-01-19T23:21:47.041Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T23:21:47.041Z] file_magic: OK [2022-01-19T23:21:47.041Z] HZ: Using current value: 100 [2022-01-19T23:21:47.041Z] file_header: OK [2022-01-19T23:21:47.041Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T23:21:47.041Z] Statistics: [2022-01-19T23:21:47.041Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:21:47.041Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T23:21:47.041Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T23:21:47.041Z] file_magic: OK [2022-01-19T23:21:47.041Z] HZ: Using current value: 100 [2022-01-19T23:21:47.041Z] file_header: OK [2022-01-19T23:21:47.041Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T23:21:47.041Z] Statistics: [2022-01-19T23:21:47.041Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:21:47.041Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:21:47.129Z] provisioning config files... [2022-01-19T23:21:47.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config8935959896822858224tmp [Pipeline] { [Pipeline] echo [2022-01-19T23:21:47.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:47.434Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T23:21:47.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:47.779Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T23:21:47.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:48.100Z] ---> sudo-logs.sh [2022-01-19T23:21:48.100Z] Archiving 'sudo' log.. [2022-01-19T23:21:48.100Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2133.novalocal: Name or service not known [2022-01-19T23:21:48.100Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2133.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T23:21:48.201Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:48.686Z] ---> job-cost.sh [2022-01-19T23:21:48.686Z] lf-activate-venv: SKIPPING [2022-01-19T23:21:48.686Z] DEBUG: total: 0.05999999865889549 [2022-01-19T23:21:48.686Z] INFO: Retrieving Stack Cost... [2022-01-19T23:21:49.012Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T23:21:49.302Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T23:21:49.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:21:49.604Z] ---> logs-deploy.sh [2022-01-19T23:21:49.604Z] lf-activate-venv: SKIPPING [2022-01-19T23:21:49.604Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-15/3 [2022-01-19T23:21:49.604Z] INFO: archiving workspace using pattern(s): [2022-01-19T23:21:50.174Z] Archives upload complete. [2022-01-19T23:21:50.433Z] INFO: archiving logs to Nexus