Pull request #32 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31418bfcbca56456e2316a3e9983b0b8f9aa254d+836c30204e0fb2e2a70ac35e45feaed0f2fb0741 (6c642b49e8d2c702fc5d9ef9f4102021a13c632e) 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-ssh17094080955852813623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9574100552806326217.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4503374845567544421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh625514193420753868.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5115418923209980883.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11440918511156188124.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-63194’ Running on prd-ubuntu20.04-docker-8c-8g-63198 in /w/workspace/edgexfoundry_device-gpio_PR-32 [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-32 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d Merge succeeded, producing 31418bfcbca56456e2316a3e9983b0b8f9aa254d Checking out Revision 31418bfcbca56456e2316a3e9983b0b8f9aa254d (PR-32) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:26:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:26:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:26:11 ========================================================= 21:26:11 EdgeX Global Pipelines Version Info 21:26:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:26:12 ------------------- 21:26:12 stable info: 21:26:12 ------------------- 21:26:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:12 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:12 Message: update stable to v1.0.230 21:26:12 ------------------- 21:26:12 experimental info: 21:26:12 ------------------- 21:26:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:12 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:12 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:26:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31418bf [Pipeline] echo 21:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:14 provisioning config files... 21:26:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config1817047081256406704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:14 ---> docker-login.sh 21:26:14 nexus3.edgexfoundry.org:10001 21:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:15 Configure a credential helper to remove this warning. See 21:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:15 21:26:15 Login Succeeded 21:26:15 nexus3.edgexfoundry.org:10002 21:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:15 Configure a credential helper to remove this warning. See 21:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:15 21:26:15 Login Succeeded 21:26:15 nexus3.edgexfoundry.org:10003 21:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:15 Configure a credential helper to remove this warning. See 21:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:15 21:26:15 Login Succeeded 21:26:15 nexus3.edgexfoundry.org:10004 21:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:15 Configure a credential helper to remove this warning. See 21:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:15 21:26:15 Login Succeeded 21:26:15 docker.io 21:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:15 Configure a credential helper to remove this warning. See 21:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:15 21:26:15 Login Succeeded 21:26:15 ---> docker-login.sh ends [Pipeline] } 21:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:26:16 + git rev-list -1 --merges 31418bfcbca56456e2316a3e9983b0b8f9aa254d~1..31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo 21:26:16 -----------> git rev-list -1 --merges 31418bfcbca56456e2316a3e9983b0b8f9aa254d~1..31418bfcbca56456e2316a3e9983b0b8f9aa254d 31418bfcbca56456e2316a3e9983b0b8f9aa254d [false] [Pipeline] sh 21:26:16 + git log --format=format:%s -1 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo 21:26:16 ========================================================= 21:26:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:26:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:17 + git log --format=format:%s -1 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo 21:26:17 [semverPrep] GIT_COMMIT: 31418bfcbca56456e2316a3e9983b0b8f9aa254d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 21:26:17 [semverPrep] This is not a build commit. [Pipeline] sh 21:26:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:17 + grep -v github /etc/ssh/ssh_known_hosts 21:26:17 + [ -e /tmp/ssh_known_hosts ] 21:26:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:26:17 + + echosudo tee -a /etc/ssh/ssh_known_hosts 21:26:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:26:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:18 21:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:26:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:18 latest: Pulling from edgex-devops/py-git-semver 21:26:18 1fe172e4850f: Pulling fs layer 21:26:18 caf521ccaac6: Pulling fs layer 21:26:18 3ead6fa29328: Pulling fs layer 21:26:18 5c2a1cbceb83: Pulling fs layer 21:26:18 a8d5f1318db7: Pulling fs layer 21:26:18 c427282e49a2: Pulling fs layer 21:26:18 1827001aaf11: Pulling fs layer 21:26:18 0714d37db230: Pulling fs layer 21:26:18 ac28cf19c067: Pulling fs layer 21:26:18 ca983d60f3e2: Pulling fs layer 21:26:18 9f894cec8388: Pulling fs layer 21:26:18 0714d37db230: Waiting 21:26:18 5c2a1cbceb83: Waiting 21:26:18 ca983d60f3e2: Waiting 21:26:18 a8d5f1318db7: Waiting 21:26:18 9f894cec8388: Waiting 21:26:18 c427282e49a2: Waiting 21:26:18 ac28cf19c067: Waiting 21:26:18 caf521ccaac6: Verifying Checksum 21:26:18 caf521ccaac6: Download complete 21:26:18 5c2a1cbceb83: Verifying Checksum 21:26:18 5c2a1cbceb83: Download complete 21:26:18 a8d5f1318db7: Download complete 21:26:18 c427282e49a2: Download complete 21:26:18 3ead6fa29328: Verifying Checksum 21:26:18 3ead6fa29328: Download complete 21:26:18 0714d37db230: Download complete 21:26:18 ac28cf19c067: Verifying Checksum 21:26:18 ac28cf19c067: Download complete 21:26:18 ca983d60f3e2: Download complete 21:26:18 9f894cec8388: Verifying Checksum 21:26:18 9f894cec8388: Download complete 21:26:18 1fe172e4850f: Download complete 21:26:19 1827001aaf11: Verifying Checksum 21:26:19 1827001aaf11: Download complete 21:26:20 1fe172e4850f: Pull complete 21:26:20 caf521ccaac6: Pull complete 21:26:20 3ead6fa29328: Pull complete 21:26:20 5c2a1cbceb83: Pull complete 21:26:20 a8d5f1318db7: Pull complete 21:26:21 c427282e49a2: Pull complete 21:26:23 1827001aaf11: Pull complete 21:26:23 0714d37db230: Pull complete 21:26:23 ac28cf19c067: Pull complete 21:26:23 ca983d60f3e2: Pull complete 21:26:23 9f894cec8388: Pull complete 21:26:23 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:26:23 prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container 21:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:26:24 $ docker top 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 -eo pid,comm 21:26:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:26:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:24 [ssh-agent] Looking for ssh-agent implementation... 21:26:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:24 $ docker exec 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent 21:26:24 SSH_AUTH_SOCK=/tmp/ssh-MeUDvK3Q2PAR/agent.33 21:26:24 SSH_AGENT_PID=40 21:26:24 Running ssh-add (command line suppressed) 21:26:24 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_4395010557976542314.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_4395010557976542314.key) 21:26:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:25 + git tag --points-at HEAD [Pipeline] } 21:26:25 $ docker exec --env ******** --env ******** 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent -k 21:26:25 unset SSH_AUTH_SOCK; 21:26:25 unset SSH_AGENT_PID; 21:26:25 echo Agent pid 40 killed; 21:26:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:26:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:25 [ssh-agent] Looking for ssh-agent implementation... 21:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:25 $ docker exec 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent 21:26:25 SSH_AUTH_SOCK=/tmp/ssh-SwMBzlf0aLh9/agent.72 21:26:25 SSH_AGENT_PID=78 21:26:25 Running ssh-add (command line suppressed) 21:26:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_8355081346632491793.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_8355081346632491793.key) 21:26:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:26 + git semver init 21:26:26 2022-05-11 21:26:26,463 [run_init] DEBUG init version:0.0.0 force:False 21:26:26 2022-05-11 21:26:26,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver 21:26:26 2022-05-11 21:26:26,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-32/.semver 21:26:26 2022-05-11 21:26:26,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-32/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32, universal_newlines=False, shell=None, istream=None) 21:26:27 2022-05-11 21:26:27,411 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.git/info/exclude 21:26:27 2022-05-11 21:26:27,411 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 with force:False 21:26:27 2022-05-11 21:26:27,411 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 21:26:27 2022-05-11 21:26:27,415 [execute] INFO git cat-file --batch-check 21:26:27 2022-05-11 21:26:27,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) 21:26:27 2022-05-11 21:26:27,422 [execute] INFO git cat-file --batch 21:26:27 2022-05-11 21:26:27,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) 21:26:27 2022-05-11 21:26:27,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 21:26:27 0.0.0 [Pipeline] } 21:26:27 $ docker exec --env ******** --env ******** 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent -k 21:26:27 unset SSH_AUTH_SOCK; 21:26:27 unset SSH_AGENT_PID; 21:26:27 echo Agent pid 78 killed; 21:26:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:28 + git semver [Pipeline] } 21:26:28 $ docker stop --time=1 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 21:26:29 $ docker rm -f 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:26:30 Stashed 1 file(s) [Pipeline] echo 21:26:30 [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 21:26:31 provisioning config files... 21:26:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config699620577879088864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:31 ---> docker-login.sh 21:26:31 nexus3.edgexfoundry.org:10001 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 nexus3.edgexfoundry.org:10002 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 nexus3.edgexfoundry.org:10003 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 nexus3.edgexfoundry.org:10004 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 docker.io 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:32 Configure a credential helper to remove this warning. See 21:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:32 21:26:32 Login Succeeded 21:26:32 ---> docker-login.sh ends [Pipeline] } 21:26:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:32 ========================================================= 21:26:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:26:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:26:32 + 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 . 21:26:32 Sending build context to Docker daemon 15.66MB 21:26:32 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:26:32 Step 2/11 : FROM ${BASE} AS builder 21:26:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:26:32 59bf1c3509f3: Pulling fs layer 21:26:32 666ba61612fd: Pulling fs layer 21:26:32 8ed8ca486205: Pulling fs layer 21:26:32 4fe6c5a15a65: Pulling fs layer 21:26:32 22a0e8bec74d: Pulling fs layer 21:26:32 ca2b28591e48: Pulling fs layer 21:26:32 a51346096db8: Pulling fs layer 21:26:32 daebc70d1ce1: Pulling fs layer 21:26:32 0e18a0eac166: Pulling fs layer 21:26:32 22a0e8bec74d: Waiting 21:26:32 ca2b28591e48: Waiting 21:26:32 a51346096db8: Waiting 21:26:32 0e18a0eac166: Waiting 21:26:32 daebc70d1ce1: Waiting 21:26:33 8ed8ca486205: Verifying Checksum 21:26:33 8ed8ca486205: Download complete 21:26:33 666ba61612fd: Verifying Checksum 21:26:33 666ba61612fd: Download complete 21:26:33 22a0e8bec74d: Verifying Checksum 21:26:33 22a0e8bec74d: Download complete 21:26:33 ca2b28591e48: Verifying Checksum 21:26:33 ca2b28591e48: Download complete 21:26:33 59bf1c3509f3: Verifying Checksum 21:26:33 59bf1c3509f3: Download complete 21:26:33 a51346096db8: Download complete 21:26:33 daebc70d1ce1: Verifying Checksum 21:26:33 daebc70d1ce1: Download complete 21:26:33 59bf1c3509f3: Pull complete 21:26:33 666ba61612fd: Pull complete 21:26:33 8ed8ca486205: Pull complete 21:26:33 0e18a0eac166: Verifying Checksum 21:26:33 0e18a0eac166: Download complete 21:26:33 4fe6c5a15a65: Verifying Checksum 21:26:33 4fe6c5a15a65: Download complete 21:26:37 4fe6c5a15a65: Pull complete 21:26:37 22a0e8bec74d: Pull complete 21:26:37 ca2b28591e48: Pull complete 21:26:37 a51346096db8: Pull complete 21:26:37 daebc70d1ce1: Pull complete 21:26:39 0e18a0eac166: Pull complete 21:26:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 21:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:26:39 ---> f018257e8ee9 21:26:39 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:26:40 ---> Running in 72ba6dbeb270 21:26:40 Removing intermediate container 72ba6dbeb270 21:26:40 ---> 317db797968b 21:26:40 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:26:40 ---> Running in 1e027d87954b 21:26:40 Removing intermediate container 1e027d87954b 21:26:40 ---> 73dc1b5b158a 21:26:40 Step 5/11 : WORKDIR /device-gpio 21:26:40 ---> Running in 6bdae60a877f 21:26:41 Removing intermediate container 6bdae60a877f 21:26:41 ---> 5b562fa5ed79 21:26:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:26:41 ---> Running in 679de2c85a0c 21:26:41 Removing intermediate container 679de2c85a0c 21:26:41 ---> abc491d52c5b 21:26:41 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:41 ---> Running in 2ba9b477993e 21:26:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:26:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:26:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:26:43 (2/4) Installing libedit (20210910.3.1-r0) 21:26:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:26:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:26:43 Executing busybox-1.34.1-r3.trigger 21:26:43 OK: 224 MiB in 56 packages 21:26:43 Removing intermediate container 2ba9b477993e 21:26:43 ---> d95d1bb5a49b 21:26:43 Step 8/11 : COPY go.mod vendor* ./ 21:26:43 ---> 1b09ff08c687 21:26:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:43 ---> Running in d5e9e39feb01 21:26:45 Still waiting to schedule task 21:26:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63195’ 21:27:01 Removing intermediate container d5e9e39feb01 21:27:01 ---> 0f909cfd0f19 21:27:01 Step 10/11 : COPY . . 21:27:01 ---> c2831d0a4222 21:27:01 Step 11/11 : RUN ${MAKE} 21:27:01 ---> Running in 8f325fe44b6e 21:27:02 Removing intermediate container 8f325fe44b6e 21:27:02 ---> 263366f985cc 21:27:02 [Warning] One or more build-args [MAKE] were not consumed 21:27:02 Successfully built 263366f985cc 21:27:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:27:02 + docker inspect -f . ci-base-image-x86_64 21:27:02 . [Pipeline] withDockerContainer 21:27:02 prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container 21:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** ci-base-image-x86_64 cat 21:27:03 $ docker top 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:03 + go version 21:27:03 go version go1.17.6 linux/amd64 [Pipeline] } 21:27:03 $ docker stop --time=1 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 21:27:04 $ docker rm -f 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:27:05 + docker inspect -f . ci-base-image-x86_64 21:27:05 . [Pipeline] withDockerContainer 21:27:05 prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container 21:27:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** ci-base-image-x86_64 cat 21:27:05 $ docker top 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:27:06 + make test 21:27:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:27:06 ? github.com/edgexfoundry/device-gpio [no test files] 21:27:14 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:27:14 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:27:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:27:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:27:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:27:24 ./bin/test-attribution-txt.sh 21:27:24 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 21:27:24 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 21:27:24 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 21:27:24 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 21:27:24 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 21:27:24 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 21:27:24 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 21:27:24 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 21:27:24 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 21:27:24 An attribution for gopkg.in/yaml.v2 is missing from in Attribution.txt, please add 21:27:24 make: *** [Makefile:46: test] Error 1 [Pipeline] } 21:27:25 $ docker stop --time=1 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 21:27:26 $ docker rm -f 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 [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 21:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:27 21:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:28 latest: Pulling from edgex-lftools-log-publisher 21:27:28 5eb5b503b376: Pulling fs layer 21:27:28 5c69ac0246d0: Pulling fs layer 21:27:28 ec43610c2a17: Pulling fs layer 21:27:28 3a2ae6a8a46f: Pulling fs layer 21:27:28 33b1e0a273af: Pulling fs layer 21:27:28 5d3b04190fa2: Pulling fs layer 21:27:28 2f39f015ded8: Pulling fs layer 21:27:28 33b1e0a273af: Waiting 21:27:28 5d3b04190fa2: Waiting 21:27:28 2f39f015ded8: Waiting 21:27:28 3a2ae6a8a46f: Waiting 21:27:28 5c69ac0246d0: Verifying Checksum 21:27:28 5c69ac0246d0: Download complete 21:27:28 3a2ae6a8a46f: Verifying Checksum 21:27:28 3a2ae6a8a46f: Download complete 21:27:28 33b1e0a273af: Verifying Checksum 21:27:28 33b1e0a273af: Download complete 21:27:28 ec43610c2a17: Verifying Checksum 21:27:28 ec43610c2a17: Download complete 21:27:28 5d3b04190fa2: Verifying Checksum 21:27:28 5d3b04190fa2: Download complete 21:27:28 5eb5b503b376: Verifying Checksum 21:27:28 5eb5b503b376: Download complete 21:27:29 2f39f015ded8: Verifying Checksum 21:27:29 2f39f015ded8: Download complete 21:27:29 5eb5b503b376: Pull complete 21:27:29 5c69ac0246d0: Pull complete 21:27:30 ec43610c2a17: Pull complete 21:27:30 3a2ae6a8a46f: Pull complete 21:27:30 33b1e0a273af: Pull complete 21:27:30 5d3b04190fa2: Pull complete 21:27:34 2f39f015ded8: Pull complete 21:27:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:27:34 prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container 21:27:34 $ 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-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:27:36 $ docker top b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:36 ---> job-cost.sh 21:27:36 lf-activate-venv: SKIPPING 21:27:36 INFO: No Stack... 21:27:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:27:37 INFO: Archiving Costs [Pipeline] sh 21:27:37 + cat /w/workspace/edgexfoundry_device-gpio_PR-32/archives/cost.csv 21:27:37 + cut -d, -f6 [Pipeline] lock 21:27:37 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] 21:27:37 Resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] did not exist. Created. 21:27:37 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:27:38 Stashed 1 file(s) [Pipeline] } 21:27:38 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:38 $ docker stop --time=1 b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 21:27:39 $ docker rm -f b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:27:39 Failed in branch amd64 21:29:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63204 in /w/workspace/edgexfoundry_device-gpio_PR-32 [Pipeline] { [Pipeline] ws 21:29:29 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 21:29:29 The recommended git tool is: git 21:29:35 using credential edgex-jenkins-ssh 21:29:35 Cloning the remote Git repository 21:29:35 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:29:35 > git init /w/workspace/device-gpio/1 # timeout=10 21:29:35 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:29:35 > git --version # timeout=10 21:29:35 > git --version # 'git version 2.25.1' 21:29:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:38 Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d 21:29:38 Merge succeeded, producing 31418bfcbca56456e2316a3e9983b0b8f9aa254d 21:29:38 Checking out Revision 31418bfcbca56456e2316a3e9983b0b8f9aa254d (PR-32) 21:29:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:29:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:29:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:29:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:29:38 > git config core.sparsecheckout # timeout=10 21:29:38 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 21:29:38 > git remote # timeout=10 21:29:38 > git config --get remote.origin.url # timeout=10 21:29:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:38 > git merge 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 21:29:38 > git rev-parse HEAD^{commit} # timeout=10 21:29:38 > git config core.sparsecheckout # timeout=10 21:29:38 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 21:29:43 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 21:29:43 > git --version # timeout=10 21:29:43 > git --version # 'git version 2.25.1' 21:29:43 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:29:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:29:44 Dload Upload Total Spent Left Speed 21:29:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 21:29:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:29:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:29:45 + sudo tee /etc/docker/daemon.new 21:29:45 { 21:29:45 "registry-mirrors": [ 21:29:45 "https://nexus3.edgexfoundry.org:10001" 21:29:45 ], 21:29:45 "bip": "10.250.0.254/24", 21:29:45 "hosts": [ 21:29:45 "tcp://0.0.0.0:5555", 21:29:45 "unix:///var/run/docker.sock" 21:29:45 ], 21:29:45 "mtu": 1458, 21:29:45 "selinux-enabled": true, 21:29:45 "seccomp-profile": "/etc/docker/seccomp.json" 21:29:45 } [Pipeline] sh 21:29:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:29:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:04 provisioning config files... 21:30:04 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1925342518601125075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:05 ---> docker-login.sh 21:30:05 nexus3.edgexfoundry.org:10001 21:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:06 Configure a credential helper to remove this warning. See 21:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:06 21:30:06 Login Succeeded 21:30:06 nexus3.edgexfoundry.org:10002 21:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:07 Configure a credential helper to remove this warning. See 21:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:07 21:30:07 Login Succeeded 21:30:07 nexus3.edgexfoundry.org:10003 21:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:07 Configure a credential helper to remove this warning. See 21:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:07 21:30:07 Login Succeeded 21:30:07 nexus3.edgexfoundry.org:10004 21:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:08 Configure a credential helper to remove this warning. See 21:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:08 21:30:08 Login Succeeded 21:30:08 docker.io 21:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:09 Configure a credential helper to remove this warning. See 21:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:09 21:30:09 Login Succeeded 21:30:09 ---> docker-login.sh ends [Pipeline] } 21:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:09 ========================================================= 21:30:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:30:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:30:10 + 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 . 21:30:10 Sending build context to Docker daemon 7.903MB 21:30:10 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:30:10 Step 2/11 : FROM ${BASE} AS builder 21:30:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:30:10 9b3977197b4f: Pulling fs layer 21:30:10 1a89e8eeedd5: Pulling fs layer 21:30:10 94645a83ff95: Pulling fs layer 21:30:10 3f3a8bcf1eab: Pulling fs layer 21:30:10 0c92f367c5e7: Pulling fs layer 21:30:10 3096ccb668a1: Pulling fs layer 21:30:10 e8cf19c19ddd: Pulling fs layer 21:30:10 a4caa8a26152: Pulling fs layer 21:30:10 3f3a8bcf1eab: Waiting 21:30:10 0c92f367c5e7: Waiting 21:30:10 3096ccb668a1: Waiting 21:30:10 e8cf19c19ddd: Waiting 21:30:10 a4caa8a26152: Waiting 21:30:10 94645a83ff95: Download complete 21:30:11 1a89e8eeedd5: Verifying Checksum 21:30:11 1a89e8eeedd5: Download complete 21:30:11 0c92f367c5e7: Download complete 21:30:11 3096ccb668a1: Download complete 21:30:11 9b3977197b4f: Verifying Checksum 21:30:11 9b3977197b4f: Download complete 21:30:11 e8cf19c19ddd: Verifying Checksum 21:30:11 e8cf19c19ddd: Download complete 21:30:11 9b3977197b4f: Pull complete 21:30:12 1a89e8eeedd5: Pull complete 21:30:12 94645a83ff95: Pull complete 21:30:13 a4caa8a26152: Verifying Checksum 21:30:13 3f3a8bcf1eab: Verifying Checksum 21:30:13 3f3a8bcf1eab: Download complete 21:30:26 3f3a8bcf1eab: Pull complete 21:30:26 0c92f367c5e7: Pull complete 21:30:26 3096ccb668a1: Pull complete 21:30:26 e8cf19c19ddd: Pull complete 21:30:34 a4caa8a26152: Pull complete 21:30:34 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:30:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:30:34 ---> 725f1c02e7f9 21:30:34 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:30:34 ---> Running in b3f374c52f3a 21:30:35 Removing intermediate container b3f374c52f3a 21:30:35 ---> 798fb1557ff6 21:30:35 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:30:35 ---> Running in 2a33ac7d6749 21:30:35 Removing intermediate container 2a33ac7d6749 21:30:35 ---> ec83eab7a27b 21:30:35 Step 5/11 : WORKDIR /device-gpio 21:30:35 ---> Running in 79668fc78ed2 21:30:35 Removing intermediate container 79668fc78ed2 21:30:35 ---> 3189a0964720 21:30:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:35 ---> Running in 5018c83922e3 21:30:37 Removing intermediate container 5018c83922e3 21:30:37 ---> bd18efdaa333 21:30:37 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:37 ---> Running in 083e28e88331 21:30:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:30:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:30:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:30:41 (2/4) Installing libedit (20210910.3.1-r0) 21:30:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:30:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:30:41 Executing busybox-1.34.1-r3.trigger 21:30:41 OK: 224 MiB in 56 packages 21:30:42 Removing intermediate container 083e28e88331 21:30:42 ---> a1ddb53dfcae 21:30:42 Step 8/11 : COPY go.mod vendor* ./ 21:30:43 ---> 486aa6ae7f7f 21:30:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:43 ---> Running in 5ff6ff493707 21:31:51 Removing intermediate container 5ff6ff493707 21:31:51 ---> cd25b651baf8 21:31:51 Step 10/11 : COPY . . 21:31:51 ---> 714cd3217b59 21:31:51 Step 11/11 : RUN ${MAKE} 21:31:51 ---> Running in ac627596bf7a 21:31:51 Removing intermediate container ac627596bf7a 21:31:51 ---> 8c312e598027 21:31:51 [Warning] One or more build-args [MAKE] were not consumed 21:31:51 Successfully built 8c312e598027 21:31:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:31:51 + docker inspect -f . ci-base-image-arm64 21:31:51 . [Pipeline] withDockerContainer 21:31:52 prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container 21:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** ci-base-image-arm64 cat 21:31:53 $ docker top 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:54 + go version 21:31:54 go version go1.17.6 linux/arm64 [Pipeline] } 21:31:54 $ docker stop --time=1 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a 21:31:56 $ docker rm -f 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:31:57 + docker inspect -f . ci-base-image-arm64 21:31:57 . [Pipeline] withDockerContainer 21:31:57 prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container 21:31:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** ci-base-image-arm64 cat 21:31:59 $ docker top 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:32:00 + make test 21:32:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:32:02 ? github.com/edgexfoundry/device-gpio [no test files] 21:33:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:33:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:33:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:33:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:34:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:06 ./bin/test-attribution-txt.sh 21:34:07 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 21:34:07 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 21:34:07 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 21:34:07 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 21:34:07 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 21:34:08 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 21:34:08 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 21:34:08 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 21:34:08 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 21:34:08 An attribution for gopkg.in/yaml.v2 is missing from in Attribution.txt, please add 21:34:08 make: *** [Makefile:46: test] Error 1 [Pipeline] } 21:34:08 $ docker stop --time=1 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 21:34:10 $ docker rm -f 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 [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 21:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:12 21:34:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:34:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:12 arm64: Pulling from edgex-lftools-log-publisher 21:34:12 8998bd30e6a1: Pulling fs layer 21:34:12 04944245beec: Pulling fs layer 21:34:12 699f458cf7ca: Pulling fs layer 21:34:12 765212b225bb: Pulling fs layer 21:34:12 f23df028b6ca: Pulling fs layer 21:34:12 d65c8cfc05b1: Pulling fs layer 21:34:12 2437ff75d9bd: Pulling fs layer 21:34:12 765212b225bb: Waiting 21:34:12 f23df028b6ca: Waiting 21:34:12 d65c8cfc05b1: Waiting 21:34:12 2437ff75d9bd: Waiting 21:34:12 04944245beec: Verifying Checksum 21:34:12 04944245beec: Download complete 21:34:12 765212b225bb: Verifying Checksum 21:34:12 765212b225bb: Download complete 21:34:13 f23df028b6ca: Verifying Checksum 21:34:13 f23df028b6ca: Download complete 21:34:13 d65c8cfc05b1: Verifying Checksum 21:34:13 d65c8cfc05b1: Download complete 21:34:13 699f458cf7ca: Verifying Checksum 21:34:13 699f458cf7ca: Download complete 21:34:13 8998bd30e6a1: Verifying Checksum 21:34:13 8998bd30e6a1: Download complete 21:34:16 2437ff75d9bd: Verifying Checksum 21:34:16 2437ff75d9bd: Download complete 21:34:19 8998bd30e6a1: Pull complete 21:34:19 04944245beec: Pull complete 21:34:21 699f458cf7ca: Pull complete 21:34:21 765212b225bb: Pull complete 21:34:22 f23df028b6ca: Pull complete 21:34:22 d65c8cfc05b1: Pull complete 21:34:41 2437ff75d9bd: Pull complete 21:34:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:34:41 prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container 21:34:41 $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:34:44 $ docker top dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:45 ---> job-cost.sh 21:34:45 lf-activate-venv: SKIPPING 21:34:45 INFO: No Stack... 21:34:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:34:46 INFO: Archiving Costs [Pipeline] sh 21:34:47 + cut -d, -f6 21:34:47 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 21:34:47 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] 21:34:47 Resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] did not exist. Created. 21:34:47 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:48 /w/workspace/device-gpio/1@tmp/durable-187a0c4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:34:49 + echo total: 0.10999999940395355 [Pipeline] stash 21:34:49 Warning: overwriting stash ‘stack-cost’ 21:34:49 Stashed 1 file(s) [Pipeline] } 21:34:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:49 $ docker stop --time=1 dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce 21:34:51 $ docker rm -f dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:34:52 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 21:34:54 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-32/archives ] 21:34:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives 21:34:54 total 16 21:34:54 drwxr-xr-x 3 root root 4096 May 11 21:27 . 21:34:54 drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:27 .. 21:34:54 drwxr-xr-x 2 root root 4096 May 11 21:27 cost 21:34:54 -rw-r--r-- 1 root root 81 May 11 21:27 cost.csv 21:34:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-32/archives 21:34:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives 21:34:54 total 16 21:34:54 drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:27 . 21:34:54 drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:27 .. 21:34:54 drwxr-xr-x 2 jenkins jenkins 4096 May 11 21:27 cost 21:34:54 -rw-r--r-- 1 jenkins jenkins 81 May 11 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:34:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:34:56 ---> package-listing.sh 21:34:56 ++ facter osfamily 21:34:56 ++ tr '[:upper:]' '[:lower:]' 21:34:56 + OS_FAMILY=debian 21:34:56 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-32 21:34:56 + START_PACKAGES=/tmp/packages_start.txt 21:34:56 + END_PACKAGES=/tmp/packages_end.txt 21:34:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:34:56 + PACKAGES=/tmp/packages_start.txt 21:34:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' 21:34:56 + PACKAGES=/tmp/packages_end.txt 21:34:56 + case "${OS_FAMILY}" in 21:34:56 + dpkg -l 21:34:56 + grep '^ii' 21:34:56 + '[' -f /tmp/packages_start.txt ']' 21:34:56 + '[' -f /tmp/packages_end.txt ']' 21:34:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:34:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' 21:34:56 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ 21:34:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ [Pipeline] echo 21:34:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:34:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:34:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:57 . [Pipeline] withDockerContainer 21:34:57 prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container 21:34:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-32/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-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:34:57 $ docker top d5e2902d8ce22f7c934ee19a34a54145907005ac3ff373076d437c9f4cc0caaf -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:58 + touch /tmp/pre-build-complete [Pipeline] sh 21:34:58 + mkdir -p /var/log/sysstat [Pipeline] sh 21:34:58 + ls /var/log/sa-host 21:34:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:34:59 provisioning config files... 21:34:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config4475220084605501797tmp [Pipeline] { [Pipeline] echo 21:34:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:34:59 ---> create-netrc.sh [Pipeline] } 21:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:34:59 ---> python-tools-install.sh [Pipeline] echo 21:34:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:35:00 ---> sudo-logs.sh 21:35:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:35:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:35:00 ---> job-cost.sh 21:35:00 lf-activate-venv: SKIPPING 21:35:00 DEBUG: total: 0.2199999988079071 21:35:00 INFO: Retrieving Stack Cost... 21:35:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:35:01 INFO: Archiving Costs [Pipeline] echo 21:35:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:35:01 ---> logs-deploy.sh 21:35:01 lf-activate-venv: SKIPPING 21:35:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-32/1 21:35:01 INFO: archiving workspace using pattern(s): 21:35:02 Archives upload complete. 21:35:02 INFO: archiving logs to Nexus