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 c2023a1e29f4fda9801be29a1ec0d842d0d32f4e+dc2975e542a944f4e8f45132f2113a92bb59edd1 (5786edf722ce07f7c35f2162a8482deb6ccfcdb0) 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-ssh16327704618338368927.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-ssh9417903627996373009.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-ssh6200625720872106712.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-ssh4684011943544520363.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-ssh13160702199991382642.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-2140 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-ssh243069284071753034.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 c2023a1e29f4fda9801be29a1ec0d842d0d32f4e Merge succeeded, producing c2023a1e29f4fda9801be29a1ec0d842d0d32f4e Checking out Revision c2023a1e29f4fda9801be29a1ec0d842d0d32f4e (PR-15) > 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-ssh9047002324764814888.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 > git checkout -f c2023a1e29f4fda9801be29a1ec0d842d0d32f4e # 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-ssh4684541944955644829.key > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2023a1e29f4fda9801be29a1ec0d842d0d32f4e # 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 23:27:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:27:39 ========================================================= 23:27:39 EdgeX Global Pipelines Version Info 23:27:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 82ef7daef7d68be7d447f3fb96a94a64028417f0 # timeout=10 23:27:40 ------------------- 23:27:40 stable info: 23:27:40 ------------------- 23:27:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:27:40 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:27:40 Message: update stable to v1.0.219 23:27:41 ------------------- 23:27:41 experimental info: 23:27:41 ------------------- 23:27:41 Commited By: **** collab-it+edgex@linuxfoundation.org 23:27:41 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:27:41 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:27:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2023a1e29f4fda9801be29a1ec0d842d0d32f4e [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2023a1 [Pipeline] echo 23:27:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:42 provisioning config files... 23:27:42 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config1920674559960640636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:42 ---> docker-login.sh 23:27:42 nexus3.edgexfoundry.org:10001 23:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:42 Configure a credential helper to remove this warning. See 23:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:42 23:27:42 Login Succeeded 23:27:42 nexus3.edgexfoundry.org:10002 23:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:42 Configure a credential helper to remove this warning. See 23:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:42 23:27:42 Login Succeeded 23:27:42 nexus3.edgexfoundry.org:10003 23:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:42 Configure a credential helper to remove this warning. See 23:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:42 23:27:42 Login Succeeded 23:27:42 nexus3.edgexfoundry.org:10004 23:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:43 Configure a credential helper to remove this warning. See 23:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:43 23:27:43 Login Succeeded 23:27:43 docker.io 23:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:43 Configure a credential helper to remove this warning. See 23:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:43 23:27:43 Login Succeeded 23:27:43 ---> docker-login.sh ends [Pipeline] } 23:27:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:27:43 + git rev-list -1 --merges c2023a1e29f4fda9801be29a1ec0d842d0d32f4e~1..c2023a1e29f4fda9801be29a1ec0d842d0d32f4e [Pipeline] echo 23:27:43 -----------> git rev-list -1 --merges c2023a1e29f4fda9801be29a1ec0d842d0d32f4e~1..c2023a1e29f4fda9801be29a1ec0d842d0d32f4e c2023a1e29f4fda9801be29a1ec0d842d0d32f4e [false] [Pipeline] sh 23:27:43 + git log --format=format:%s -1 c2023a1e29f4fda9801be29a1ec0d842d0d32f4e [Pipeline] echo 23:27:44 ========================================================= 23:27:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:27:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:27:44 + git log --format=format:%s -1 c2023a1e29f4fda9801be29a1ec0d842d0d32f4e [Pipeline] echo 23:27:44 [semverPrep] GIT_COMMIT: c2023a1e29f4fda9801be29a1ec0d842d0d32f4e, Commit Message: ci: Go 1.17 related changes [Pipeline] echo 23:27:44 [semverPrep] This is not a build commit. [Pipeline] sh 23:27:44 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:27:44 + grep -v github /etc/ssh/ssh_known_hosts 23:27:44 + '[' -e /tmp/ssh_known_hosts ']' 23:27:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:27:44 + sudo tee -a /etc/ssh/ssh_known_hosts 23:27:44 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:27:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:45 23:27:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:27:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:45 latest: Pulling from edgex-devops/git-semver 23:27:45 a0d0a0d46f8b: Pulling fs layer 23:27:45 3e5f54012d9b: Pulling fs layer 23:27:45 4c7163046ea9: Pulling fs layer 23:27:45 0c2d73faf560: Pulling fs layer 23:27:45 0c2d73faf560: Waiting 23:27:45 3e5f54012d9b: Download complete 23:27:45 a0d0a0d46f8b: Verifying Checksum 23:27:45 a0d0a0d46f8b: Download complete 23:27:45 0c2d73faf560: Download complete 23:27:45 4c7163046ea9: Verifying Checksum 23:27:45 4c7163046ea9: Download complete 23:27:45 a0d0a0d46f8b: Pull complete 23:27:45 3e5f54012d9b: Pull complete 23:27:45 4c7163046ea9: Pull complete 23:27:46 0c2d73faf560: Pull complete 23:27:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:27:46 prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container 23:27:46 $ 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 23:27:46 $ docker top c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:27:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:47 [ssh-agent] Looking for ssh-agent implementation... 23:27:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:47 $ docker exec c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf ssh-agent 23:27:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhelCiH/agent.14 23:27:47 SSH_AGENT_PID=21 23:27:47 Running ssh-add (command line suppressed) 23:27:47 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_5761883450564205821.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_5761883450564205821.key) 23:27:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:47 + git tag --points-at HEAD [Pipeline] } 23:27:47 $ docker exec --env ******** --env ******** c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf ssh-agent -k 23:27:47 unset SSH_AUTH_SOCK; 23:27:47 unset SSH_AGENT_PID; 23:27:47 echo Agent pid 21 killed; 23:27:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:27:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:47 [ssh-agent] Looking for ssh-agent implementation... 23:27:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:47 $ docker exec c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf ssh-agent 23:27:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcCnnkf/agent.55 23:27:48 SSH_AGENT_PID=62 23:27:48 Running ssh-add (command line suppressed) 23:27:48 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_8474007713763745001.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_8474007713763745001.key) 23:27:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:48 + git semver init 23:27:48 # -> Open(): unable to determine branch for HEAD 23:27:48 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.git 23:27:48 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-15 23:27:48 # $SEMVER_REMOTE_NAME = origin 23:27:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:27:48 # $SEMVER_USER_NAME = edgex-jenkins 23:27:48 # $SEMVER_BRANCH = PR-15 23:27:48 # $SEMVER_TEMP = /tmp/semver-315766756 23:27:48 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 23:27:49 # '/tmp/semver-315766756' -> '/w/workspace/edgexfoundry_device-gpio_PR-15/.semver' 23:27:49 # -> Force: false 23:27:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.semver [Pipeline] } 23:27:49 $ docker exec --env ******** --env ******** c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf ssh-agent -k 23:27:49 unset SSH_AUTH_SOCK; 23:27:49 unset SSH_AGENT_PID; 23:27:49 echo Agent pid 62 killed; 23:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:27:49 + git semver [Pipeline] } 23:27:49 $ docker stop --time=1 c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf 23:27:51 $ docker rm -f c5cbde04164827912bd3ef741e6eaf5d74db90073954663b22d15081ed1b0daf [Pipeline] // withDockerContainer [Pipeline] sh 23:27:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:27:51 Stashed 1 file(s) [Pipeline] echo 23:27:51 [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 23:27:51 provisioning config files... 23:27:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config6728472495508195402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:52 ---> docker-login.sh 23:27:52 nexus3.edgexfoundry.org:10001 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:52 nexus3.edgexfoundry.org:10002 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:52 nexus3.edgexfoundry.org:10003 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:52 nexus3.edgexfoundry.org:10004 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:52 docker.io 23:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:52 Configure a credential helper to remove this warning. See 23:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:52 23:27:52 Login Succeeded 23:27:52 ---> docker-login.sh ends [Pipeline] } 23:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:53 ========================================================= 23:27:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:27:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:27:53 + 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 . 23:27:53 Sending build context to Docker daemon 10.94MB 23:27:53 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:27:53 Step 2/11 : FROM ${BASE} AS builder 23:27:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:27:53 59bf1c3509f3: Pulling fs layer 23:27:53 666ba61612fd: Pulling fs layer 23:27:53 8ed8ca486205: Pulling fs layer 23:27:53 4fe6c5a15a65: Pulling fs layer 23:27:53 22a0e8bec74d: Pulling fs layer 23:27:53 f965cba54748: Pulling fs layer 23:27:53 861ffc35075e: Pulling fs layer 23:27:53 4b385c91608e: Pulling fs layer 23:27:53 560528eb2ebb: Pulling fs layer 23:27:53 4fe6c5a15a65: Waiting 23:27:53 22a0e8bec74d: Waiting 23:27:53 f965cba54748: Waiting 23:27:53 861ffc35075e: Waiting 23:27:53 560528eb2ebb: Waiting 23:27:53 8ed8ca486205: Verifying Checksum 23:27:53 8ed8ca486205: Download complete 23:27:53 666ba61612fd: Verifying Checksum 23:27:53 666ba61612fd: Download complete 23:27:53 22a0e8bec74d: Verifying Checksum 23:27:53 22a0e8bec74d: Download complete 23:27:53 f965cba54748: Verifying Checksum 23:27:53 f965cba54748: Download complete 23:27:53 59bf1c3509f3: Verifying Checksum 23:27:53 59bf1c3509f3: Download complete 23:27:53 861ffc35075e: Verifying Checksum 23:27:53 861ffc35075e: Download complete 23:27:53 4b385c91608e: Verifying Checksum 23:27:53 4b385c91608e: Download complete 23:27:53 59bf1c3509f3: Pull complete 23:27:54 4fe6c5a15a65: Verifying Checksum 23:27:54 4fe6c5a15a65: Download complete 23:27:54 666ba61612fd: Pull complete 23:27:54 8ed8ca486205: Pull complete 23:27:54 560528eb2ebb: Verifying Checksum 23:27:54 560528eb2ebb: Download complete 23:27:58 4fe6c5a15a65: Pull complete 23:27:58 22a0e8bec74d: Pull complete 23:27:58 f965cba54748: Pull complete 23:27:58 861ffc35075e: Pull complete 23:27:58 4b385c91608e: Pull complete 23:28:00 560528eb2ebb: Pull complete 23:28:00 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 23:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:28:00 ---> dd4a08f94e63 23:28:00 Step 3/11 : ARG MAKE='make build' 23:28:02 ---> Running in c66857238425 23:28:02 Removing intermediate container c66857238425 23:28:02 ---> b783014f510c 23:28:02 Step 4/11 : WORKDIR /device-gpio 23:28:02 ---> Running in 501ae94eddd7 23:28:02 Removing intermediate container 501ae94eddd7 23:28:02 ---> 80960a5e4a06 23:28:02 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:28:02 ---> Running in fc3067abb1f3 23:28:02 Removing intermediate container fc3067abb1f3 23:28:02 ---> d8792b2e042b 23:28:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:28:03 ---> Running in 9dc33f8b846d 23:28:03 Removing intermediate container 9dc33f8b846d 23:28:03 ---> c19a3eec6f81 23:28:03 Step 7/11 : RUN apk add --update --no-cache make git 23:28:03 ---> Running in 9625fa8fabec 23:28:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:28:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:28:04 OK: 221 MiB in 52 packages 23:28:05 Removing intermediate container 9625fa8fabec 23:28:05 ---> b40342b422e1 23:28:05 Step 8/11 : COPY go.mod vendor* ./ 23:28:05 ---> 2a364a0d5311 23:28:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:05 ---> Running in b5187f6360e7 23:28:06 Still waiting to schedule task 23:28:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:28:23 Removing intermediate container b5187f6360e7 23:28:23 ---> 4b3e6c29a5d8 23:28:23 Step 10/11 : COPY . . 23:28:23 ---> a791e3142c46 23:28:23 Step 11/11 : RUN ${MAKE} 23:28:23 ---> Running in 7ed339313008 23:28:23 noop 23:28:23 Removing intermediate container 7ed339313008 23:28:23 ---> ad887c526c0e 23:28:23 Successfully built ad887c526c0e 23:28:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:28:23 + docker inspect -f . ci-base-image-x86_64 23:28:23 . [Pipeline] withDockerContainer 23:28:23 prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container 23:28:23 $ 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 23:28:24 $ docker top 28aa2bcbfd0388885f5ecf924709a5ab164519e4f7698b9f865269a92abfbd49 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:24 + go version 23:28:24 go version go1.17.6 linux/amd64 [Pipeline] } 23:28:24 $ docker stop --time=1 28aa2bcbfd0388885f5ecf924709a5ab164519e4f7698b9f865269a92abfbd49 23:28:25 $ docker rm -f 28aa2bcbfd0388885f5ecf924709a5ab164519e4f7698b9f865269a92abfbd49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:28:26 + docker inspect -f . ci-base-image-x86_64 23:28:26 . [Pipeline] withDockerContainer 23:28:26 prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container 23:28:26 $ 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 23:28:26 $ docker top 53fb208905cf29efbeea1cc67d9c3af45c168ad7abfd9367d99d80c0c2e1856b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:28:26 + make test 23:28:26 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:28:27 ? github.com/edgexfoundry/device-gpio [no test files] 23:28:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:28:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:28:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:28:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:41 ./bin/test-attribution-txt.sh 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 An attribution for explicit; is missing from in Attribution.txt, please add 23:28:41 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:28:41 $ docker stop --time=1 53fb208905cf29efbeea1cc67d9c3af45c168ad7abfd9367d99d80c0c2e1856b 23:28:43 $ docker rm -f 53fb208905cf29efbeea1cc67d9c3af45c168ad7abfd9367d99d80c0c2e1856b [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 23:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:43 23:28:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:44 latest: Pulling from edgex-lftools-log-publisher 23:28:44 b4d181a07f80: Pulling fs layer 23:28:44 a1111a8f2ec3: Pulling fs layer 23:28:44 ed53099fbce6: Pulling fs layer 23:28:44 dc539afda2c1: Pulling fs layer 23:28:44 77bc0d833cb6: Pulling fs layer 23:28:44 9065ff56babe: Pulling fs layer 23:28:44 d287ab97295c: Pulling fs layer 23:28:44 77bc0d833cb6: Waiting 23:28:44 9065ff56babe: Waiting 23:28:44 d287ab97295c: Waiting 23:28:44 dc539afda2c1: Waiting 23:28:44 a1111a8f2ec3: Verifying Checksum 23:28:44 a1111a8f2ec3: Download complete 23:28:44 dc539afda2c1: Verifying Checksum 23:28:44 dc539afda2c1: Download complete 23:28:44 ed53099fbce6: Verifying Checksum 23:28:44 ed53099fbce6: Download complete 23:28:44 77bc0d833cb6: Verifying Checksum 23:28:44 77bc0d833cb6: Download complete 23:28:44 9065ff56babe: Verifying Checksum 23:28:44 9065ff56babe: Download complete 23:28:44 b4d181a07f80: Verifying Checksum 23:28:44 b4d181a07f80: Download complete 23:28:45 d287ab97295c: Verifying Checksum 23:28:45 d287ab97295c: Download complete 23:28:46 b4d181a07f80: Pull complete 23:28:46 a1111a8f2ec3: Pull complete 23:28:46 ed53099fbce6: Pull complete 23:28:46 dc539afda2c1: Pull complete 23:28:46 77bc0d833cb6: Pull complete 23:28:46 9065ff56babe: Pull complete 23:28:52 d287ab97295c: Pull complete 23:28:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:28:52 prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container 23:28:52 $ 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 23:28:54 $ docker top 63e2be0081777a2ac99bb6464fbb1b8244b3df0a4e5f38377fdd5d56bb2ce578 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:55 ---> job-cost.sh 23:28:55 lf-activate-venv: SKIPPING 23:28:55 INFO: No Stack... 23:28:55 INFO: Retrieving Pricing Info for: v3-standard-2 23:28:56 INFO: Archiving Costs [Pipeline] sh 23:28:56 + cat /w/workspace/edgexfoundry_device-gpio_PR-15/archives/cost.csv 23:28:56 + cut -d, -f6 [Pipeline] lock 23:28:56 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] 23:28:56 Resource [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] did not exist. Created. 23:28:56 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:56 + echo total: 0.05999999865889549 [Pipeline] stash 23:28:56 Stashed 1 file(s) [Pipeline] } 23:28:56 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:56 $ docker stop --time=1 63e2be0081777a2ac99bb6464fbb1b8244b3df0a4e5f38377fdd5d56bb2ce578 23:28:57 $ docker rm -f 63e2be0081777a2ac99bb6464fbb1b8244b3df0a4e5f38377fdd5d56bb2ce578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:28:57 Failed in branch amd64 23:30:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2141 in /w/workspace/edgexfoundry_device-gpio_PR-15 [Pipeline] { [Pipeline] ws 23:30:41 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 23:30:41 The recommended git tool is: git 23:30:46 using credential edgex-jenkins-ssh 23:30:46 Cloning the remote Git repository 23:30:46 Cloning repository git@github.com:edgexfoundry/device-gpio.git 23:30:46 > git init /w/workspace/device-gpio/4 # timeout=10 23:30:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:30:46 > git --version # timeout=10 23:30:46 > git --version # 'git version 2.17.1' 23:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:48 Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit c2023a1e29f4fda9801be29a1ec0d842d0d32f4e 23:30:49 Merge succeeded, producing c2023a1e29f4fda9801be29a1ec0d842d0d32f4e 23:30:49 Checking out Revision c2023a1e29f4fda9801be29a1ec0d842d0d32f4e (PR-15) 23:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:30:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:48 > 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 23:30:48 > git config core.sparsecheckout # timeout=10 23:30:48 > git checkout -f c2023a1e29f4fda9801be29a1ec0d842d0d32f4e # timeout=10 23:30:49 > git remote # timeout=10 23:30:49 > git config --get remote.origin.url # timeout=10 23:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:49 > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 23:30:49 > git rev-parse HEAD^{commit} # timeout=10 23:30:49 > git config core.sparsecheckout # timeout=10 23:30:49 > git checkout -f c2023a1e29f4fda9801be29a1ec0d842d0d32f4e # timeout=10 23:30:53 Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:54 Dload Upload Total Spent Left Speed 23:30:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 23:30:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:54 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 23:30:54 /etc/docker/daemon.json 23:30:54 { 23:30:54 "registry-mirrors": [ 23:30:54 "https://nexus3.edgexfoundry.org:10001" 23:30:54 ], 23:30:54 "bip": "10.250.0.254/24", 23:30:54 "hosts": [ 23:30:54 "tcp://0.0.0.0:5555", 23:30:54 "unix:///var/run/docker.sock" 23:30:54 ], 23:30:54 "mtu": 1458, 23:30:54 "selinux-enabled": true, 23:30:54 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:54 } [Pipeline] sh 23:30:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:13 provisioning config files... 23:31:13 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config1394058497834874926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:14 ---> docker-login.sh 23:31:14 nexus3.edgexfoundry.org:10001 23:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:15 Configure a credential helper to remove this warning. See 23:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:15 23:31:15 Login Succeeded 23:31:15 nexus3.edgexfoundry.org:10002 23:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:15 Configure a credential helper to remove this warning. See 23:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:15 23:31:15 Login Succeeded 23:31:15 nexus3.edgexfoundry.org:10003 23:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:16 Configure a credential helper to remove this warning. See 23:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:16 23:31:16 Login Succeeded 23:31:16 nexus3.edgexfoundry.org:10004 23:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:16 Configure a credential helper to remove this warning. See 23:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:16 23:31:16 Login Succeeded 23:31:16 docker.io 23:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:17 Configure a credential helper to remove this warning. See 23:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:17 23:31:17 Login Succeeded 23:31:17 ---> docker-login.sh ends [Pipeline] } 23:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:17 ========================================================= 23:31:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:31:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:31:18 + 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 . 23:31:18 Sending build context to Docker daemon 5.526MB 23:31:18 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:31:18 Step 2/11 : FROM ${BASE} AS builder 23:31:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:31:18 9b3977197b4f: Pulling fs layer 23:31:18 1a89e8eeedd5: Pulling fs layer 23:31:18 94645a83ff95: Pulling fs layer 23:31:18 3f3a8bcf1eab: Pulling fs layer 23:31:18 0c92f367c5e7: Pulling fs layer 23:31:18 4b8299f9d1f4: Pulling fs layer 23:31:18 9a6b49a46696: Pulling fs layer 23:31:18 cf05db05a679: Pulling fs layer 23:31:18 0c92f367c5e7: Waiting 23:31:18 9a6b49a46696: Waiting 23:31:18 4b8299f9d1f4: Waiting 23:31:18 cf05db05a679: Waiting 23:31:18 3f3a8bcf1eab: Waiting 23:31:18 94645a83ff95: Verifying Checksum 23:31:18 94645a83ff95: Download complete 23:31:18 1a89e8eeedd5: Verifying Checksum 23:31:18 1a89e8eeedd5: Download complete 23:31:18 0c92f367c5e7: Verifying Checksum 23:31:18 0c92f367c5e7: Download complete 23:31:18 4b8299f9d1f4: Verifying Checksum 23:31:18 4b8299f9d1f4: Download complete 23:31:18 9b3977197b4f: Verifying Checksum 23:31:18 9b3977197b4f: Download complete 23:31:18 9a6b49a46696: Verifying Checksum 23:31:18 9a6b49a46696: Download complete 23:31:19 9b3977197b4f: Pull complete 23:31:19 1a89e8eeedd5: Pull complete 23:31:20 94645a83ff95: Pull complete 23:31:20 cf05db05a679: Verifying Checksum 23:31:20 cf05db05a679: Download complete 23:31:21 3f3a8bcf1eab: Verifying Checksum 23:31:21 3f3a8bcf1eab: Download complete 23:31:33 3f3a8bcf1eab: Pull complete 23:31:33 0c92f367c5e7: Pull complete 23:31:33 4b8299f9d1f4: Pull complete 23:31:33 9a6b49a46696: Pull complete 23:31:39 cf05db05a679: Pull complete 23:31:39 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 23:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:31:39 ---> 0ccda1f7e2ee 23:31:39 Step 3/11 : ARG MAKE='make build' 23:31:40 ---> Running in d115cc33c73a 23:31:40 Removing intermediate container d115cc33c73a 23:31:40 ---> f6c3034fbfd5 23:31:40 Step 4/11 : WORKDIR /device-gpio 23:31:40 ---> Running in 57e356143d6f 23:31:41 Removing intermediate container 57e356143d6f 23:31:41 ---> 7f7bfb263ec1 23:31:41 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:31:41 ---> Running in cec08677f2e7 23:31:42 Removing intermediate container cec08677f2e7 23:31:42 ---> ec8dc4cea413 23:31:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:31:42 ---> Running in 4e23c6095b1b 23:31:44 Removing intermediate container 4e23c6095b1b 23:31:44 ---> 7d14745ecb8c 23:31:44 Step 7/11 : RUN apk add --update --no-cache make git 23:31:44 ---> Running in 79c61c0e97fb 23:31:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:31:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:31:46 OK: 220 MiB in 52 packages 23:31:47 Removing intermediate container 79c61c0e97fb 23:31:47 ---> 1f45c256d359 23:31:47 Step 8/11 : COPY go.mod vendor* ./ 23:31:48 ---> 5ce58d6e214e 23:31:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:48 ---> Running in d0d1c9268297 23:32:35 Removing intermediate container d0d1c9268297 23:32:35 ---> 21d9635701e4 23:32:35 Step 10/11 : COPY . . 23:32:35 ---> 8d380e760920 23:32:35 Step 11/11 : RUN ${MAKE} 23:32:35 ---> Running in 4d760b6cd28c 23:32:35 noop 23:32:35 Removing intermediate container 4d760b6cd28c 23:32:35 ---> 6545a5e13302 23:32:35 Successfully built 6545a5e13302 23:32:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:32:35 + docker inspect -f . ci-base-image-arm64 23:32:35 . [Pipeline] withDockerContainer 23:32:35 prd-ubuntu18.04-docker-arm64-4c-16g-2141 does not seem to be running inside a container 23:32:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 23:32:37 $ docker top ea86a018c7ff5e312b9f3b8ca487ccac2f22b691f22e711a8c6f332cb67503cb -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:37 + go version 23:32:37 go version go1.17.6 linux/arm64 [Pipeline] } 23:32:37 $ docker stop --time=1 ea86a018c7ff5e312b9f3b8ca487ccac2f22b691f22e711a8c6f332cb67503cb 23:32:39 $ docker rm -f ea86a018c7ff5e312b9f3b8ca487ccac2f22b691f22e711a8c6f332cb67503cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:32:40 + docker inspect -f . ci-base-image-arm64 23:32:40 . [Pipeline] withDockerContainer 23:32:40 prd-ubuntu18.04-docker-arm64-4c-16g-2141 does not seem to be running inside a container 23:32:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 23:32:41 $ docker top 59d8dee3b961723a503b9a57eba2a8b2245c935144ebf2f911a4ece3a271335f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:32:42 + make test 23:32:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:32:43 ? github.com/edgexfoundry/device-gpio [no test files] 23:33:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:33:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:33:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:33:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:33:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:33:34 ./bin/test-attribution-txt.sh 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:34 An attribution for explicit; is missing from in Attribution.txt, please add 23:33:35 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:33:35 $ docker stop --time=1 59d8dee3b961723a503b9a57eba2a8b2245c935144ebf2f911a4ece3a271335f 23:33:37 $ docker rm -f 59d8dee3b961723a503b9a57eba2a8b2245c935144ebf2f911a4ece3a271335f [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 23:33:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:37 23:33:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:33:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:38 arm64: Pulling from edgex-lftools-log-publisher 23:33:38 448f6bf000e3: Pulling fs layer 23:33:38 f757da607395: Pulling fs layer 23:33:38 05883995daec: Pulling fs layer 23:33:38 8603b9c90790: Pulling fs layer 23:33:38 1560dd03e051: Pulling fs layer 23:33:38 27f5ce0e4adf: Pulling fs layer 23:33:38 c2d8d7efcc4b: Pulling fs layer 23:33:38 8603b9c90790: Waiting 23:33:38 1560dd03e051: Waiting 23:33:38 27f5ce0e4adf: Waiting 23:33:38 c2d8d7efcc4b: Waiting 23:33:38 f757da607395: Verifying Checksum 23:33:38 f757da607395: Download complete 23:33:38 8603b9c90790: Verifying Checksum 23:33:38 8603b9c90790: Download complete 23:33:38 1560dd03e051: Verifying Checksum 23:33:38 1560dd03e051: Download complete 23:33:38 27f5ce0e4adf: Verifying Checksum 23:33:38 27f5ce0e4adf: Download complete 23:33:38 05883995daec: Verifying Checksum 23:33:38 05883995daec: Download complete 23:33:38 448f6bf000e3: Verifying Checksum 23:33:38 448f6bf000e3: Download complete 23:33:41 c2d8d7efcc4b: Verifying Checksum 23:33:41 c2d8d7efcc4b: Download complete 23:33:42 448f6bf000e3: Pull complete 23:33:42 f757da607395: Pull complete 23:33:44 05883995daec: Pull complete 23:33:44 8603b9c90790: Pull complete 23:33:45 1560dd03e051: Pull complete 23:33:45 27f5ce0e4adf: Pull complete 23:34:00 c2d8d7efcc4b: Pull complete 23:34:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:34:00 prd-ubuntu18.04-docker-arm64-4c-16g-2141 does not seem to be running inside a container 23:34:00 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 23:34:03 $ docker top 716cb273d7247d0495ab3c52f98dd7636e871c8776ce843f4d3bb59f8721043e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:04 ---> job-cost.sh 23:34:04 lf-activate-venv: SKIPPING 23:34:04 INFO: No Stack... 23:34:04 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:04 INFO: Archiving Costs [Pipeline] sh 23:34:05 + cat /w/workspace/device-gpio/4/archives/cost.csv 23:34:05 + cut -d, -f6 [Pipeline] lock 23:34:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] 23:34:05 Resource [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] did not exist. Created. 23:34:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:06 /w/workspace/device-gpio/4@tmp/durable-6029f294/script.sh: 1: /w/workspace/device-gpio/4@tmp/durable-6029f294/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:07 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:07 Warning: overwriting stash ‘stack-cost’ 23:34:07 Stashed 1 file(s) [Pipeline] } 23:34:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:07 $ docker stop --time=1 716cb273d7247d0495ab3c52f98dd7636e871c8776ce843f4d3bb59f8721043e 23:34:08 $ docker rm -f 716cb273d7247d0495ab3c52f98dd7636e871c8776ce843f4d3bb59f8721043e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:09 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 23:34:09 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-15/archives ']' 23:34:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:34:09 total 8 23:34:09 drwxr-xr-x. 3 root root 34 Jan 19 23:28 . 23:34:09 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:28 .. 23:34:09 drwxr-xr-x. 2 root root 6 Jan 19 23:28 cost 23:34:09 -rw-r--r--. 1 root root 81 Jan 19 23:28 cost.csv 23:34:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:34:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:34:09 total 8 23:34:09 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 23:28 . 23:34:09 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:28 .. 23:34:09 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 23:28 cost 23:34:09 -rw-r--r--. 1 jenkins jenkins 81 Jan 19 23:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> package-listing.sh 23:34:10 ++ facter osfamily 23:34:10 ++ tr '[:upper:]' '[:lower:]' 23:34:11 + OS_FAMILY=redhat 23:34:11 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-15 23:34:11 + START_PACKAGES=/tmp/packages_start.txt 23:34:11 + END_PACKAGES=/tmp/packages_end.txt 23:34:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:11 + PACKAGES=/tmp/packages_start.txt 23:34:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' 23:34:11 + PACKAGES=/tmp/packages_end.txt 23:34:11 + case "${OS_FAMILY}" in 23:34:11 + sort 23:34:11 + rpm -qa 23:34:11 + '[' -f /tmp/packages_start.txt ']' 23:34:11 + '[' -f /tmp/packages_end.txt ']' 23:34:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' 23:34:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ 23:34:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [Pipeline] echo 23:34:11 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 23:34:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:12 . [Pipeline] withDockerContainer 23:34:12 prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container 23:34:12 $ 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 23:34:12 $ docker top 8daf1a754d1f61d639711e647edc62021b89f45b125177bb7939bb08d29f8014 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:13 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:13 + ls /var/log/sa-host 23:34:13 + sadf -c /var/log/sa-host/sa17 23:34:13 file_magic: OK 23:34:13 HZ: Using current value: 100 23:34:13 file_header: OK 23:34:13 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 23:34:13 Statistics: 23:34:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:34:13 File successfully converted to sysstat format version 12.0.3 23:34:13 + sadf -c /var/log/sa-host/sa19 23:34:13 file_magic: OK 23:34:13 HZ: Using current value: 100 23:34:13 file_header: OK 23:34:13 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 23:34:13 Statistics: 23:34:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:34:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:13 provisioning config files... 23:34:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config3683545677958470485tmp [Pipeline] { [Pipeline] echo 23:34:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> create-netrc.sh [Pipeline] } 23:34:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> python-tools-install.sh [Pipeline] echo 23:34:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> sudo-logs.sh 23:34:14 Archiving 'sudo' log.. 23:34:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-2140.novalocal: Name or service not known 23:34:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-2140.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:34:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> job-cost.sh 23:34:15 lf-activate-venv: SKIPPING 23:34:15 DEBUG: total: 0.05999999865889549 23:34:15 INFO: Retrieving Stack Cost... 23:34:15 INFO: Retrieving Pricing Info for: v3-standard-2 23:34:15 INFO: Archiving Costs [Pipeline] echo 23:34:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> logs-deploy.sh 23:34:16 lf-activate-venv: SKIPPING 23:34:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-15/4 23:34:16 INFO: archiving workspace using pattern(s): 23:34:16 Archives upload complete. 23:34:16 INFO: archiving logs to Nexus