Pull request #26 opened 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 lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 57b0b837d8065d541f970715d5150be559e5ae70+789344be25786e147f452924c2aa2731bf7a9eb5 (6fb3d70b49f9d929218886f2a0919ceca4dbd27f) 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-ssh1733297381155487563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0296cfd70f3001d69e24c2db393b493f66f700db 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-ssh1067282325490629011.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 0296cfd70f3001d69e24c2db393b493f66f700db 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-26/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-26/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9343512480124990368.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-26/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh517551178008446898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0296cfd70f3001d69e24c2db393b493f66f700db (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0296cfd70f3001d69e24c2db393b493f66f700db # timeout=10 Commit message: "Merge pull request #381 from edgexfoundry/us3314" > 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-ssh2308077429468474190.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-26/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-26/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11694646868510965656.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 0296cfd70f3001d69e24c2db393b493f66f700db 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33503 in /w/workspace/edgexfoundry_device-gpio_PR-26 [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-26 # 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 789344be25786e147f452924c2aa2731bf7a9eb5 into PR head commit 57b0b837d8065d541f970715d5150be559e5ae70 Merge succeeded, producing 57b0b837d8065d541f970715d5150be559e5ae70 Checking out Revision 57b0b837d8065d541f970715d5150be559e5ae70 (PR-26) > 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/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57b0b837d8065d541f970715d5150be559e5ae70 # 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 789344be25786e147f452924c2aa2731bf7a9eb5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57b0b837d8065d541f970715d5150be559e5ae70 # timeout=10 Commit message: "docs: Add CHANGELOG.md" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0296cfd70f3001d69e24c2db393b493f66f700db [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:24:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:25 ========================================================= 16:24:25 EdgeX Global Pipelines Version Info 16:24:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:24:26 ------------------- 16:24:26 stable info: 16:24:26 ------------------- 16:24:26 Commited By: Emilio Reyes emilio.reyes@intel.com 16:24:26 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 16:24:26 Message: update stable to v1.0.225 16:24:26 ------------------- 16:24:26 experimental info: 16:24:26 ------------------- 16:24:26 Commited By: **** collab-it+edgex@linuxfoundation.org 16:24:26 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 16:24:26 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:24:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57b0b837d8065d541f970715d5150be559e5ae70 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57b0b83 [Pipeline] echo 16:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:28 provisioning config files... 16:24:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/config3438857063394436467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:28 ---> docker-login.sh 16:24:28 nexus3.edgexfoundry.org:10001 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:29 Configure a credential helper to remove this warning. See 16:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:29 16:24:29 Login Succeeded 16:24:29 nexus3.edgexfoundry.org:10002 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:29 Configure a credential helper to remove this warning. See 16:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:29 16:24:29 Login Succeeded 16:24:29 nexus3.edgexfoundry.org:10003 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:29 Configure a credential helper to remove this warning. See 16:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:29 16:24:29 Login Succeeded 16:24:29 nexus3.edgexfoundry.org:10004 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:29 Configure a credential helper to remove this warning. See 16:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:29 16:24:29 Login Succeeded 16:24:29 docker.io 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:30 Configure a credential helper to remove this warning. See 16:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:30 16:24:30 Login Succeeded 16:24:30 ---> docker-login.sh ends [Pipeline] } 16:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:24:30 + git rev-list -1 --merges 57b0b837d8065d541f970715d5150be559e5ae70~1..57b0b837d8065d541f970715d5150be559e5ae70 [Pipeline] echo 16:24:31 -----------> git rev-list -1 --merges 57b0b837d8065d541f970715d5150be559e5ae70~1..57b0b837d8065d541f970715d5150be559e5ae70 57b0b837d8065d541f970715d5150be559e5ae70 [false] [Pipeline] sh 16:24:31 + git log --format=format:%s -1 57b0b837d8065d541f970715d5150be559e5ae70 [Pipeline] echo 16:24:31 ========================================================= 16:24:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:24:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:31 + git log --format=format:%s -1 57b0b837d8065d541f970715d5150be559e5ae70 [Pipeline] echo 16:24:31 [semverPrep] GIT_COMMIT: 57b0b837d8065d541f970715d5150be559e5ae70, Commit Message: docs: Add CHANGELOG.md [Pipeline] echo 16:24:31 [semverPrep] This is not a build commit. [Pipeline] sh 16:24:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:24:32 + grep -v github /etc/ssh/ssh_known_hosts 16:24:32 + [ -e /tmp/ssh_known_hosts ] 16:24:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:24:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:24:32 + sudo tee -a /etc/ssh/ssh_known_hosts 16:24:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:24:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:24:32 16:24:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:24:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:24:33 latest: Pulling from edgex-devops/py-git-semver 16:24:33 1fe172e4850f: Pulling fs layer 16:24:33 caf521ccaac6: Pulling fs layer 16:24:33 3ead6fa29328: Pulling fs layer 16:24:33 5c2a1cbceb83: Pulling fs layer 16:24:33 a8d5f1318db7: Pulling fs layer 16:24:33 5c2a1cbceb83: Waiting 16:24:33 c427282e49a2: Pulling fs layer 16:24:33 1827001aaf11: Pulling fs layer 16:24:33 0714d37db230: Pulling fs layer 16:24:33 a8d5f1318db7: Waiting 16:24:33 ac28cf19c067: Pulling fs layer 16:24:33 ca983d60f3e2: Pulling fs layer 16:24:33 9f894cec8388: Pulling fs layer 16:24:33 1827001aaf11: Waiting 16:24:33 0714d37db230: Waiting 16:24:33 c427282e49a2: Waiting 16:24:33 ca983d60f3e2: Waiting 16:24:33 9f894cec8388: Waiting 16:24:33 ac28cf19c067: Waiting 16:24:33 caf521ccaac6: Download complete 16:24:33 5c2a1cbceb83: Download complete 16:24:33 a8d5f1318db7: Verifying Checksum 16:24:33 a8d5f1318db7: Download complete 16:24:33 c427282e49a2: Download complete 16:24:33 3ead6fa29328: Verifying Checksum 16:24:33 3ead6fa29328: Download complete 16:24:33 0714d37db230: Download complete 16:24:33 ac28cf19c067: Verifying Checksum 16:24:33 ac28cf19c067: Download complete 16:24:33 ca983d60f3e2: Download complete 16:24:33 9f894cec8388: Verifying Checksum 16:24:33 9f894cec8388: Download complete 16:24:33 1fe172e4850f: Verifying Checksum 16:24:33 1fe172e4850f: Download complete 16:24:33 1827001aaf11: Verifying Checksum 16:24:33 1827001aaf11: Download complete 16:24:35 1fe172e4850f: Pull complete 16:24:35 caf521ccaac6: Pull complete 16:24:35 3ead6fa29328: Pull complete 16:24:35 5c2a1cbceb83: Pull complete 16:24:36 a8d5f1318db7: Pull complete 16:24:36 c427282e49a2: Pull complete 16:24:38 1827001aaf11: Pull complete 16:24:38 0714d37db230: Pull complete 16:24:38 ac28cf19c067: Pull complete 16:24:38 ca983d60f3e2: Pull complete 16:24:38 9f894cec8388: Pull complete 16:24:38 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 16:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:24:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 16:24:38 prd-ubuntu20.04-docker-8c-8g-33503 does not seem to be running inside a container 16:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-26 -v /w/workspace/edgexfoundry_device-gpio_PR-26:/w/workspace/edgexfoundry_device-gpio_PR-26:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-26@tmp:/w/workspace/edgexfoundry_device-gpio_PR-26@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-devops/py-git-semver:latest cat 16:24:40 $ docker top c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f -eo pid,comm 16:24:40 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). 16:24:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:40 [ssh-agent] Looking for ssh-agent implementation... 16:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:40 $ docker exec c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f ssh-agent 16:24:40 SSH_AUTH_SOCK=/tmp/ssh-Tld9dx19E659/agent.33 16:24:40 SSH_AGENT_PID=39 16:24:40 Running ssh-add (command line suppressed) 16:24:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-26@tmp/private_key_3739021750155851520.key (/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/private_key_3739021750155851520.key) 16:24:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:41 + git tag --points-at HEAD [Pipeline] } 16:24:41 $ docker exec --env ******** --env ******** c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f ssh-agent -k 16:24:41 unset SSH_AUTH_SOCK; 16:24:41 unset SSH_AGENT_PID; 16:24:41 echo Agent pid 39 killed; 16:24:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:24:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:41 [ssh-agent] Looking for ssh-agent implementation... 16:24:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:41 $ docker exec c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f ssh-agent 16:24:41 SSH_AUTH_SOCK=/tmp/ssh-1OXjKFxIyE1L/agent.71 16:24:41 SSH_AGENT_PID=78 16:24:41 Running ssh-add (command line suppressed) 16:24:41 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-26@tmp/private_key_2171106128106449326.key (/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/private_key_2171106128106449326.key) 16:24:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:42 + git semver init 16:24:42 2022-04-27 16:24:42,335 [run_init] DEBUG init version:0.0.0 force:False 16:24:42 2022-04-27 16:24:42,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-26/.semver 16:24:42 2022-04-27 16:24:42,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-26/.semver 16:24:42 2022-04-27 16:24:42,337 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-26/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-26, universal_newlines=False, shell=None, istream=None) 16:24:43 2022-04-27 16:24:43,155 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-26/.git/info/exclude 16:24:43 2022-04-27 16:24:43,155 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-26/.semver/PR-26 with force:False 16:24:43 2022-04-27 16:24:43,155 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-26/.semver/PR-26 16:24:43 2022-04-27 16:24:43,159 [execute] INFO git cat-file --batch-check 16:24:43 2022-04-27 16:24:43,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-26/.semver, universal_newlines=False, shell=None, istream=) 16:24:43 2022-04-27 16:24:43,166 [execute] INFO git cat-file --batch 16:24:43 2022-04-27 16:24:43,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-26/.semver, universal_newlines=False, shell=None, istream=) 16:24:43 2022-04-27 16:24:43,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-26/.semver/PR-26 16:24:43 0.0.0 [Pipeline] } 16:24:43 $ docker exec --env ******** --env ******** c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f ssh-agent -k 16:24:43 unset SSH_AUTH_SOCK; 16:24:43 unset SSH_AGENT_PID; 16:24:43 echo Agent pid 78 killed; 16:24:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:44 + git semver [Pipeline] } 16:24:44 $ docker stop --time=1 c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f 16:24:45 $ docker rm -f c5e95537c294712d87f10f55ad04351c337a3768400d55ef717173176d167b4f [Pipeline] // withDockerContainer [Pipeline] sh 16:24:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:24:46 Stashed 1 file(s) [Pipeline] echo 16:24:46 [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 16:24:47 provisioning config files... 16:24:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/config6474595940771954678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:47 ---> docker-login.sh 16:24:47 nexus3.edgexfoundry.org:10001 16:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:47 Configure a credential helper to remove this warning. See 16:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:47 16:24:47 Login Succeeded 16:24:47 nexus3.edgexfoundry.org:10002 16:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:47 Configure a credential helper to remove this warning. See 16:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:47 16:24:47 Login Succeeded 16:24:47 nexus3.edgexfoundry.org:10003 16:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:47 Configure a credential helper to remove this warning. See 16:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:47 16:24:47 Login Succeeded 16:24:47 nexus3.edgexfoundry.org:10004 16:24:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:48 Configure a credential helper to remove this warning. See 16:24:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:48 16:24:48 Login Succeeded 16:24:48 docker.io 16:24:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:48 Configure a credential helper to remove this warning. See 16:24:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:48 16:24:48 Login Succeeded 16:24:48 ---> docker-login.sh ends [Pipeline] } 16:24:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:48 ========================================================= 16:24:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:24:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:24:49 + 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 . 16:24:49 Sending build context to Docker daemon 11.17MB 16:24:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:24:49 Step 2/11 : FROM ${BASE} AS builder 16:24:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:24:49 59bf1c3509f3: Pulling fs layer 16:24:49 666ba61612fd: Pulling fs layer 16:24:49 8ed8ca486205: Pulling fs layer 16:24:49 4fe6c5a15a65: Pulling fs layer 16:24:49 22a0e8bec74d: Pulling fs layer 16:24:49 ca2b28591e48: Pulling fs layer 16:24:49 a51346096db8: Pulling fs layer 16:24:49 daebc70d1ce1: Pulling fs layer 16:24:49 0e18a0eac166: Pulling fs layer 16:24:49 22a0e8bec74d: Waiting 16:24:49 a51346096db8: Waiting 16:24:49 ca2b28591e48: Waiting 16:24:49 4fe6c5a15a65: Waiting 16:24:49 daebc70d1ce1: Waiting 16:24:49 8ed8ca486205: Verifying Checksum 16:24:49 8ed8ca486205: Download complete 16:24:49 666ba61612fd: Download complete 16:24:49 22a0e8bec74d: Verifying Checksum 16:24:49 22a0e8bec74d: Download complete 16:24:49 ca2b28591e48: Download complete 16:24:49 59bf1c3509f3: Verifying Checksum 16:24:49 59bf1c3509f3: Download complete 16:24:49 a51346096db8: Verifying Checksum 16:24:49 a51346096db8: Download complete 16:24:49 daebc70d1ce1: Verifying Checksum 16:24:49 daebc70d1ce1: Download complete 16:24:49 59bf1c3509f3: Pull complete 16:24:49 666ba61612fd: Pull complete 16:24:49 8ed8ca486205: Pull complete 16:24:49 0e18a0eac166: Verifying Checksum 16:24:49 0e18a0eac166: Download complete 16:24:50 4fe6c5a15a65: Verifying Checksum 16:24:50 4fe6c5a15a65: Download complete 16:24:55 4fe6c5a15a65: Pull complete 16:24:55 22a0e8bec74d: Pull complete 16:24:55 ca2b28591e48: Pull complete 16:24:55 a51346096db8: Pull complete 16:24:55 daebc70d1ce1: Pull complete 16:24:57 0e18a0eac166: Pull complete 16:24:57 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:24:57 ---> f018257e8ee9 16:24:57 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:24:58 ---> Running in 40abc0c9bb70 16:24:58 Removing intermediate container 40abc0c9bb70 16:24:58 ---> 1720118f89d8 16:24:58 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:24:58 ---> Running in 4dcafa28da7c 16:24:58 Removing intermediate container 4dcafa28da7c 16:24:58 ---> f5a8cd304908 16:24:58 Step 5/11 : WORKDIR /device-gpio 16:24:58 ---> Running in 4f7688e70965 16:24:58 Removing intermediate container 4f7688e70965 16:24:58 ---> d92e539183cb 16:24:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:58 ---> Running in 264fd7732e93 16:24:59 Removing intermediate container 264fd7732e93 16:24:59 ---> 8e4d91542748 16:24:59 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:59 ---> Running in 0ac646cfa16d 16:24:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:25:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:25:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:25:01 (2/4) Installing libedit (20210910.3.1-r0) 16:25:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:25:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:25:01 Executing busybox-1.34.1-r3.trigger 16:25:01 OK: 224 MiB in 56 packages 16:25:01 Removing intermediate container 0ac646cfa16d 16:25:01 ---> 37a5831f96d8 16:25:01 Step 8/11 : COPY go.mod vendor* ./ 16:25:02 ---> ba4704ae0912 16:25:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:02 ---> Running in b67287ad5247 16:25:02 Still waiting to schedule task 16:25:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33502’ is offline 16:25:28 Removing intermediate container b67287ad5247 16:25:28 ---> ce3e425e0ff1 16:25:28 Step 10/11 : COPY . . 16:25:28 ---> 193c86aa3622 16:25:28 Step 11/11 : RUN ${MAKE} 16:25:28 ---> Running in a21c8320103a 16:25:28 Removing intermediate container a21c8320103a 16:25:28 ---> 1989fb43ad92 16:25:28 [Warning] One or more build-args [MAKE] were not consumed 16:25:28 Successfully built 1989fb43ad92 16:25:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:25:28 + docker inspect -f . ci-base-image-x86_64 16:25:28 . [Pipeline] withDockerContainer 16:25:29 prd-ubuntu20.04-docker-8c-8g-33503 does not seem to be running inside a container 16:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-26 -v /w/workspace/edgexfoundry_device-gpio_PR-26:/w/workspace/edgexfoundry_device-gpio_PR-26:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-26@tmp:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:25:29 $ docker top 1281cb07c575285326cdea8daf3e2d7a11dfb88b94edd64aad357af4e42ac024 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:30 + go version 16:25:30 go version go1.17.6 linux/amd64 [Pipeline] } 16:25:30 $ docker stop --time=1 1281cb07c575285326cdea8daf3e2d7a11dfb88b94edd64aad357af4e42ac024 16:25:31 $ docker rm -f 1281cb07c575285326cdea8daf3e2d7a11dfb88b94edd64aad357af4e42ac024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:32 + docker inspect -f . ci-base-image-x86_64 16:25:32 . [Pipeline] withDockerContainer 16:25:32 prd-ubuntu20.04-docker-8c-8g-33503 does not seem to be running inside a container 16:25:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-26 -v /w/workspace/edgexfoundry_device-gpio_PR-26:/w/workspace/edgexfoundry_device-gpio_PR-26:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-26@tmp:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:25:32 $ docker top 5889ed824206fc222b157c0a93e99c42be79128049ed765c5d5a174d4d1de848 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:25:33 + make test 16:25:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:25:33 ? github.com/edgexfoundry/device-gpio [no test files] 16:25:41 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:25:41 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:25:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:25:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:50 ./bin/test-attribution-txt.sh [Pipeline] echo 16:25:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:50 $ docker stop --time=1 5889ed824206fc222b157c0a93e99c42be79128049ed765c5d5a174d4d1de848 16:25:52 $ docker rm -f 5889ed824206fc222b157c0a93e99c42be79128049ed765c5d5a174d4d1de848 [Pipeline] // withDockerContainer [Pipeline] sh 16:25:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:25:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:53 + ls -al . 16:25:53 total 192 16:25:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 16:25 . 16:25:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 16:24 .. 16:25:53 -rw-rw-r-- 1 jenkins jenkins 120 Apr 27 16:24 .dockerignore 16:25:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 16:24 .git 16:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:24 .github 16:25:53 -rw-rw-r-- 1 jenkins jenkins 343 Apr 27 16:24 .gitignore 16:25:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 16:24 .golangci.yml 16:25:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 16:24 .semver 16:25:53 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 27 16:24 Attribution.txt 16:25:53 -rw-rw-r-- 1 jenkins jenkins 1235 Apr 27 16:24 CHANGELOG.md 16:25:53 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 27 16:24 Dockerfile 16:25:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 16:24 GOVERNANCE.md 16:25:53 -rw-rw-r-- 1 jenkins jenkins 657 Apr 27 16:24 Jenkinsfile 16:25:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 16:24 LICENSE 16:25:53 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 27 16:24 Makefile 16:25:53 -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 16:24 OWNERS.md 16:25:53 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 27 16:24 README.md 16:25:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 16:24 VERSION 16:25:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 16:24 bin 16:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:24 cmd 16:25:53 -rw-r--r-- 1 jenkins jenkins 10 Apr 27 16:25 coverage.out 16:25:53 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 27 16:24 go.mod 16:25:53 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 27 16:24 go.sum 16:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:24 internal 16:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:24 snap 16:25:53 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 16:24 version.go [Pipeline] isUnix [Pipeline] sh 16:25:53 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=57b0b837d8065d541f970715d5150be559e5ae70 --label arch=amd64 --label version=0.0.0 . 16:25:53 Sending build context to Docker daemon 11.17MB 16:25:53 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:25:53 Step 2/25 : FROM ${BASE} AS builder 16:25:53 ---> 1989fb43ad92 16:25:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:25:54 ---> Running in 543cd1ccbabe 16:25:54 Removing intermediate container 543cd1ccbabe 16:25:54 ---> 9d1d7aa05462 16:25:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:25:54 ---> Running in 8bf5c761a16d 16:25:54 Removing intermediate container 8bf5c761a16d 16:25:54 ---> ded84f5f390d 16:25:54 Step 5/25 : WORKDIR /device-gpio 16:25:54 ---> Running in e2f006cba83b 16:25:54 Removing intermediate container e2f006cba83b 16:25:54 ---> 2e8d2e5cfadb 16:25:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:54 ---> Running in fae7189679c0 16:25:55 Removing intermediate container fae7189679c0 16:25:55 ---> cd12d2e75955 16:25:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:55 ---> Running in f3161c690f06 16:25:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:25:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:25:56 OK: 224 MiB in 56 packages 16:25:57 Removing intermediate container f3161c690f06 16:25:57 ---> 2dd420e4bac7 16:25:57 Step 8/25 : COPY go.mod vendor* ./ 16:25:57 ---> 7eb7ae1f1cfa 16:25:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:57 ---> Running in 4a14541b3db3 16:25:58 Removing intermediate container 4a14541b3db3 16:25:58 ---> a547df4e8bb3 16:25:58 Step 10/25 : COPY . . 16:25:58 ---> c0ec5e19cb53 16:25:58 Step 11/25 : RUN ${MAKE} 16:25:58 ---> Running in 6ef958166105 16:25:58 Removing intermediate container 6ef958166105 16:25:58 ---> 1311e81a7e61 16:25:58 Step 12/25 : FROM alpine:3.15 16:25:59 3.15: Pulling from library/alpine 16:25:59 df9b9388f04a: Pulling fs layer 16:25:59 df9b9388f04a: Download complete 16:26:00 df9b9388f04a: Pull complete 16:26:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:26:00 Status: Downloaded newer image for alpine:3.15 16:26:00 ---> 0ac33e5f5afa 16:26:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:26:00 ---> Running in 0cc95a81849e 16:26:00 Removing intermediate container 0cc95a81849e 16:26:00 ---> cd72399a4093 16:26:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:00 ---> Running in eda0a03902b1 16:26:00 Removing intermediate container eda0a03902b1 16:26:00 ---> 60d6c72406c6 16:26:00 Step 15/25 : RUN apk add --update --no-cache zeromq 16:26:00 ---> Running in 460ff1724244 16:26:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:26:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:26:02 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:26:02 (2/5) Installing libsodium (1.0.18-r0) 16:26:02 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:26:02 (4/5) Installing libzmq (4.3.4-r0) 16:26:02 (5/5) Installing zeromq (4.3.4-r0) 16:26:02 Executing busybox-1.34.1-r5.trigger 16:26:02 OK: 8 MiB in 19 packages 16:26:03 Removing intermediate container 460ff1724244 16:26:03 ---> ffdbf0d7b19b 16:26:03 Step 16/25 : WORKDIR / 16:26:03 ---> Running in fcbc07d25c23 16:26:03 Removing intermediate container fcbc07d25c23 16:26:03 ---> 24fa2f4212d9 16:26:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:26:03 ---> eae79ba20c4e 16:26:03 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:26:03 ---> 7a39a2c1fffc 16:26:03 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:26:03 ---> 9861f76110a8 16:26:03 Step 20/25 : EXPOSE 59910 16:26:03 ---> Running in ab7353c3c757 16:26:03 Removing intermediate container ab7353c3c757 16:26:03 ---> 6af14c041166 16:26:03 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:26:03 ---> Running in 5e309cc7e7d2 16:26:03 Removing intermediate container 5e309cc7e7d2 16:26:03 ---> 7910c8cd56e3 16:26:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:26:03 ---> Running in 961c6816a5d6 16:26:03 Removing intermediate container 961c6816a5d6 16:26:03 ---> 8e123625befb 16:26:03 Step 23/25 : LABEL arch=amd64 16:26:03 ---> Running in 57ac1bbaf28c 16:26:04 Removing intermediate container 57ac1bbaf28c 16:26:04 ---> e85d4541eed5 16:26:04 Step 24/25 : LABEL git_sha=57b0b837d8065d541f970715d5150be559e5ae70 16:26:04 ---> Running in 97c9384284f6 16:26:04 Removing intermediate container 97c9384284f6 16:26:04 ---> efe68fd6aa06 16:26:04 Step 25/25 : LABEL version=0.0.0 16:26:04 ---> Running in 61d9c5e71296 16:26:04 Removing intermediate container 61d9c5e71296 16:26:04 ---> 8c7fc0b2aa7f 16:26:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:26:04 Successfully built 8c7fc0b2aa7f 16:26:04 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:04 16:26:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:26:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:05 latest: Pulling from edgex-lftools-log-publisher 16:26:05 5eb5b503b376: Pulling fs layer 16:26:05 5c69ac0246d0: Pulling fs layer 16:26:05 ec43610c2a17: Pulling fs layer 16:26:05 3a2ae6a8a46f: Pulling fs layer 16:26:05 33b1e0a273af: Pulling fs layer 16:26:05 5d3b04190fa2: Pulling fs layer 16:26:05 2f39f015ded8: Pulling fs layer 16:26:05 3a2ae6a8a46f: Waiting 16:26:05 33b1e0a273af: Waiting 16:26:05 5d3b04190fa2: Waiting 16:26:05 2f39f015ded8: Waiting 16:26:05 5c69ac0246d0: Verifying Checksum 16:26:05 5c69ac0246d0: Download complete 16:26:05 3a2ae6a8a46f: Verifying Checksum 16:26:05 3a2ae6a8a46f: Download complete 16:26:05 33b1e0a273af: Verifying Checksum 16:26:05 33b1e0a273af: Download complete 16:26:05 ec43610c2a17: Verifying Checksum 16:26:05 ec43610c2a17: Download complete 16:26:05 5eb5b503b376: Verifying Checksum 16:26:05 5eb5b503b376: Download complete 16:26:06 2f39f015ded8: Download complete 16:26:07 5eb5b503b376: Pull complete 16:26:07 5c69ac0246d0: Pull complete 16:26:07 ec43610c2a17: Pull complete 16:26:07 3a2ae6a8a46f: Pull complete 16:26:07 33b1e0a273af: Pull complete 16:26:07 5d3b04190fa2: Pull complete 16:26:13 2f39f015ded8: Pull complete 16:26:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:26:13 prd-ubuntu20.04-docker-8c-8g-33503 does not seem to be running inside a container 16:26:13 $ 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-26 -v /w/workspace/edgexfoundry_device-gpio_PR-26:/w/workspace/edgexfoundry_device-gpio_PR-26:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-26@tmp:/w/workspace/edgexfoundry_device-gpio_PR-26@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 16:26:14 $ docker top 1bebac7bf931556cc7aa980a8da4515125a4350efac7ae9529f011b5308d881d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:15 ---> job-cost.sh 16:26:15 lf-activate-venv: SKIPPING 16:26:15 INFO: No Stack... 16:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:16 INFO: Archiving Costs [Pipeline] sh 16:26:16 + cat /w/workspace/edgexfoundry_device-gpio_PR-26/archives/cost.csv 16:26:16 + cut -d, -f6 [Pipeline] lock 16:26:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] 16:26:16 Resource [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] did not exist. Created. 16:26:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:26:16 + echo total: 0.2199999988079071 [Pipeline] stash 16:26:16 Stashed 1 file(s) [Pipeline] } 16:26:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:26:17 $ docker stop --time=1 1bebac7bf931556cc7aa980a8da4515125a4350efac7ae9529f011b5308d881d 16:26:18 $ docker rm -f 1bebac7bf931556cc7aa980a8da4515125a4350efac7ae9529f011b5308d881d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33505 in /w/workspace/edgexfoundry_device-gpio_PR-26 [Pipeline] { [Pipeline] ws 16:26:48 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 16:26:49 The recommended git tool is: git 16:26:56 using credential edgex-jenkins-ssh 16:26:56 Cloning the remote Git repository 16:26:57 Cloning repository git@github.com:edgexfoundry/device-gpio.git 16:26:57 > git init /w/workspace/device-gpio/1 # timeout=10 16:26:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:26:57 > git --version # timeout=10 16:26:57 > git --version # 'git version 2.25.1' 16:26:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:58 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:26:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:58 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:26:58 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:26:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:26:59 Merging remotes/origin/main commit 789344be25786e147f452924c2aa2731bf7a9eb5 into PR head commit 57b0b837d8065d541f970715d5150be559e5ae70 16:26:59 Merge succeeded, producing 57b0b837d8065d541f970715d5150be559e5ae70 16:26:59 Checking out Revision 57b0b837d8065d541f970715d5150be559e5ae70 (PR-26) 16:26:59 > git config core.sparsecheckout # timeout=10 16:26:59 > git checkout -f 57b0b837d8065d541f970715d5150be559e5ae70 # timeout=10 16:26:59 > git remote # timeout=10 16:26:59 > git config --get remote.origin.url # timeout=10 16:26:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:59 > git merge 789344be25786e147f452924c2aa2731bf7a9eb5 # timeout=10 16:26:59 > git rev-parse HEAD^{commit} # timeout=10 16:26:59 > git config core.sparsecheckout # timeout=10 16:26:59 > git checkout -f 57b0b837d8065d541f970715d5150be559e5ae70 # timeout=10 16:27:04 Commit message: "docs: Add CHANGELOG.md" 16:27:04 > git --version # timeout=10 16:27:04 > git --version # 'git version 2.25.1' 16:27:04 fatal: bad object 0296cfd70f3001d69e24c2db393b493f66f700db [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:27:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:05 Dload Upload Total Spent Left Speed 16:27:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh 16:27:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:27:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:27:06 + sudo tee /etc/docker/daemon.new 16:27:06 { 16:27:06 "registry-mirrors": [ 16:27:06 "https://nexus3.edgexfoundry.org:10001" 16:27:06 ], 16:27:06 "bip": "10.250.0.254/24", 16:27:06 "hosts": [ 16:27:06 "tcp://0.0.0.0:5555", 16:27:06 "unix:///var/run/docker.sock" 16:27:06 ], 16:27:06 "mtu": 1458, 16:27:06 "selinux-enabled": true, 16:27:06 "seccomp-profile": "/etc/docker/seccomp.json" 16:27:06 } [Pipeline] sh 16:27:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:27:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:25 provisioning config files... 16:27:25 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1240379077667806301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:26 ---> docker-login.sh 16:27:26 nexus3.edgexfoundry.org:10001 16:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:27 Configure a credential helper to remove this warning. See 16:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:27 16:27:27 Login Succeeded 16:27:27 nexus3.edgexfoundry.org:10002 16:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:27 Configure a credential helper to remove this warning. See 16:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:27 16:27:27 Login Succeeded 16:27:27 nexus3.edgexfoundry.org:10003 16:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:28 Configure a credential helper to remove this warning. See 16:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:28 16:27:28 Login Succeeded 16:27:28 nexus3.edgexfoundry.org:10004 16:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:29 Configure a credential helper to remove this warning. See 16:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:29 16:27:29 Login Succeeded 16:27:29 docker.io 16:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:29 Configure a credential helper to remove this warning. See 16:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:29 16:27:29 Login Succeeded 16:27:29 ---> docker-login.sh ends [Pipeline] } 16:27:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:27:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:30 ========================================================= 16:27:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:27:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:27:30 + 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 . 16:27:31 Sending build context to Docker daemon 5.647MB 16:27:31 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:27:31 Step 2/11 : FROM ${BASE} AS builder 16:27:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:27:31 9b3977197b4f: Pulling fs layer 16:27:31 1a89e8eeedd5: Pulling fs layer 16:27:31 94645a83ff95: Pulling fs layer 16:27:31 3f3a8bcf1eab: Pulling fs layer 16:27:31 0c92f367c5e7: Pulling fs layer 16:27:31 3096ccb668a1: Pulling fs layer 16:27:31 e8cf19c19ddd: Pulling fs layer 16:27:31 a4caa8a26152: Pulling fs layer 16:27:31 3f3a8bcf1eab: Waiting 16:27:31 0c92f367c5e7: Waiting 16:27:31 3096ccb668a1: Waiting 16:27:31 e8cf19c19ddd: Waiting 16:27:31 a4caa8a26152: Waiting 16:27:31 94645a83ff95: Verifying Checksum 16:27:31 94645a83ff95: Download complete 16:27:31 1a89e8eeedd5: Verifying Checksum 16:27:31 1a89e8eeedd5: Download complete 16:27:31 0c92f367c5e7: Verifying Checksum 16:27:31 0c92f367c5e7: Download complete 16:27:31 3096ccb668a1: Verifying Checksum 16:27:31 3096ccb668a1: Download complete 16:27:31 9b3977197b4f: Verifying Checksum 16:27:31 9b3977197b4f: Download complete 16:27:31 e8cf19c19ddd: Verifying Checksum 16:27:31 e8cf19c19ddd: Download complete 16:27:32 9b3977197b4f: Pull complete 16:27:33 1a89e8eeedd5: Pull complete 16:27:33 94645a83ff95: Pull complete 16:27:33 a4caa8a26152: Download complete 16:27:34 3f3a8bcf1eab: Verifying Checksum 16:27:34 3f3a8bcf1eab: Download complete 16:27:46 3f3a8bcf1eab: Pull complete 16:27:46 0c92f367c5e7: Pull complete 16:27:46 3096ccb668a1: Pull complete 16:27:46 e8cf19c19ddd: Pull complete 16:27:52 a4caa8a26152: Pull complete 16:27:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:27:52 ---> 725f1c02e7f9 16:27:52 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:27:53 ---> Running in d3f2343294da 16:27:53 Removing intermediate container d3f2343294da 16:27:53 ---> 154dc4669fde 16:27:53 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:27:53 ---> Running in b8619d65138a 16:27:53 Removing intermediate container b8619d65138a 16:27:53 ---> 55151d96370e 16:27:53 Step 5/11 : WORKDIR /device-gpio 16:27:53 ---> Running in 0d1bd5adb242 16:27:54 Removing intermediate container 0d1bd5adb242 16:27:54 ---> 9880c93436f8 16:27:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:54 ---> Running in f2329968332d 16:27:56 Removing intermediate container f2329968332d 16:27:56 ---> 42829a587e3e 16:27:56 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:27:56 ---> Running in 387b79580a32 16:27:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:27:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:27:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:27:59 (2/4) Installing libedit (20210910.3.1-r0) 16:27:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:27:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:27:59 Executing busybox-1.34.1-r3.trigger 16:27:59 OK: 224 MiB in 56 packages 16:28:01 Removing intermediate container 387b79580a32 16:28:01 ---> cfe30d93d1f1 16:28:01 Step 8/11 : COPY go.mod vendor* ./ 16:28:02 ---> 477d0a1a8128 16:28:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:02 ---> Running in 5479d4083a62 16:29:39 Removing intermediate container 5479d4083a62 16:29:39 ---> a6cf211a8248 16:29:39 Step 10/11 : COPY . . 16:29:39 ---> a24e4e92e7ab 16:29:39 Step 11/11 : RUN ${MAKE} 16:29:39 ---> Running in 11c310a49bf6 16:29:39 Removing intermediate container 11c310a49bf6 16:29:39 ---> d910694b9cd4 16:29:39 [Warning] One or more build-args [MAKE] were not consumed 16:29:39 Successfully built d910694b9cd4 16:29:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:29:39 + docker inspect -f . ci-base-image-arm64 16:29:39 . [Pipeline] withDockerContainer 16:29:39 prd-ubuntu20.04-docker-arm64-4c-16g-33505 does not seem to be running inside a container 16:29:40 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:29:41 $ docker top 2f98844a48d186ebf99a55f4fcbf63c85c71dbe4cae41f6833d55b27d0a0ba34 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:42 + go version 16:29:42 go version go1.17.6 linux/arm64 [Pipeline] } 16:29:42 $ docker stop --time=1 2f98844a48d186ebf99a55f4fcbf63c85c71dbe4cae41f6833d55b27d0a0ba34 16:29:44 $ docker rm -f 2f98844a48d186ebf99a55f4fcbf63c85c71dbe4cae41f6833d55b27d0a0ba34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:29:44 + docker inspect -f . ci-base-image-arm64 16:29:44 . [Pipeline] withDockerContainer 16:29:45 prd-ubuntu20.04-docker-arm64-4c-16g-33505 does not seem to be running inside a container 16:29:45 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:29:46 $ docker top 632d8ed98710d459dbca8be0e7966354d48afe045248302e808173b90fafacd9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:29:47 + make test 16:29:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:29:49 ? github.com/edgexfoundry/device-gpio [no test files] 16:30:45 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:30:45 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:30:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:31:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:04 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:04 $ docker stop --time=1 632d8ed98710d459dbca8be0e7966354d48afe045248302e808173b90fafacd9 16:31:06 $ docker rm -f 632d8ed98710d459dbca8be0e7966354d48afe045248302e808173b90fafacd9 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:07 Warning: overwriting stash ‘coverage-report’ 16:31:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:08 + ls -al . 16:31:08 total 188 16:31:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 16:31 . 16:31:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 16:26 .. 16:31:08 -rw-rw-r-- 1 jenkins jenkins 120 Apr 27 16:26 .dockerignore 16:31:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 16:27 .git 16:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:26 .github 16:31:08 -rw-rw-r-- 1 jenkins jenkins 343 Apr 27 16:26 .gitignore 16:31:08 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 16:26 .golangci.yml 16:31:08 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 27 16:26 Attribution.txt 16:31:08 -rw-rw-r-- 1 jenkins jenkins 1235 Apr 27 16:26 CHANGELOG.md 16:31:08 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 27 16:26 Dockerfile 16:31:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 16:26 GOVERNANCE.md 16:31:08 -rw-rw-r-- 1 jenkins jenkins 657 Apr 27 16:26 Jenkinsfile 16:31:08 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 16:26 LICENSE 16:31:08 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 27 16:26 Makefile 16:31:08 -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 16:26 OWNERS.md 16:31:08 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 27 16:26 README.md 16:31:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 16:24 VERSION 16:31:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 16:26 bin 16:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:26 cmd 16:31:08 -rw-r--r-- 1 jenkins jenkins 10 Apr 27 16:29 coverage.out 16:31:08 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 27 16:26 go.mod 16:31:08 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 27 16:26 go.sum 16:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:26 internal 16:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 16:26 snap 16:31:08 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 16:26 version.go [Pipeline] isUnix [Pipeline] sh 16:31:08 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=57b0b837d8065d541f970715d5150be559e5ae70 --label arch=arm64 --label version=0.0.0 . 16:31:09 Sending build context to Docker daemon 5.648MB 16:31:09 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:31:09 Step 2/25 : FROM ${BASE} AS builder 16:31:09 ---> d910694b9cd4 16:31:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:31:09 ---> Running in 0539ca37c69c 16:31:09 Removing intermediate container 0539ca37c69c 16:31:09 ---> 10e28c36488f 16:31:09 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:31:09 ---> Running in d97578f97971 16:31:10 Removing intermediate container d97578f97971 16:31:10 ---> be8b7670d9e8 16:31:10 Step 5/25 : WORKDIR /device-gpio 16:31:10 ---> Running in 3efdd5cd3632 16:31:10 Removing intermediate container 3efdd5cd3632 16:31:10 ---> 9538d09317a4 16:31:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:31:10 ---> Running in b8b6beb48db6 16:31:12 Removing intermediate container b8b6beb48db6 16:31:12 ---> e8d29113a8ad 16:31:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:12 ---> Running in c2734fb35a2f 16:31:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:31:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:31:15 OK: 224 MiB in 56 packages 16:31:16 Removing intermediate container c2734fb35a2f 16:31:16 ---> 3d95332ca4fd 16:31:16 Step 8/25 : COPY go.mod vendor* ./ 16:31:17 ---> 2375fe327466 16:31:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:17 ---> Running in be0eab1f7100 16:31:19 Removing intermediate container be0eab1f7100 16:31:19 ---> 31a6a88ff325 16:31:19 Step 10/25 : COPY . . 16:31:20 ---> 0ef51ba88ce6 16:31:20 Step 11/25 : RUN ${MAKE} 16:31:20 ---> Running in 087b37d879b5 16:31:22 Removing intermediate container 087b37d879b5 16:31:22 ---> 51a2a6f6277a 16:31:22 Step 12/25 : FROM alpine:3.15 16:31:23 3.15: Pulling from library/alpine 16:31:23 9981e73032c8: Pulling fs layer 16:31:23 9981e73032c8: Verifying Checksum 16:31:23 9981e73032c8: Pull complete 16:31:23 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:31:23 Status: Downloaded newer image for alpine:3.15 16:31:23 ---> 3fb3c9af89a9 16:31:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:31:24 ---> Running in 4e26775f5892 16:31:24 Removing intermediate container 4e26775f5892 16:31:24 ---> d5195a982ee2 16:31:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:31:24 ---> Running in 546278b2030c 16:31:26 Removing intermediate container 546278b2030c 16:31:26 ---> ac5e11b1c4dd 16:31:26 Step 15/25 : RUN apk add --update --no-cache zeromq 16:31:26 ---> Running in c5242ece2b6c 16:31:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:31:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:31:29 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:31:29 (2/5) Installing libsodium (1.0.18-r0) 16:31:29 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:31:29 (4/5) Installing libzmq (4.3.4-r0) 16:31:29 (5/5) Installing zeromq (4.3.4-r0) 16:31:29 Executing busybox-1.34.1-r5.trigger 16:31:29 OK: 8 MiB in 19 packages 16:31:30 Removing intermediate container c5242ece2b6c 16:31:30 ---> 8a40533cabce 16:31:30 Step 16/25 : WORKDIR / 16:31:30 ---> Running in a28b1d96fde1 16:31:31 Removing intermediate container a28b1d96fde1 16:31:31 ---> 3b1b5bdf01ae 16:31:31 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:31:31 ---> 3236f8aaaac4 16:31:31 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:31:32 ---> 7b2ed0e8251d 16:31:32 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:31:32 ---> aeb2f34df116 16:31:32 Step 20/25 : EXPOSE 59910 16:31:33 ---> Running in 667bf4031768 16:31:33 Removing intermediate container 667bf4031768 16:31:33 ---> 7c2c53e1f557 16:31:33 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:31:33 ---> Running in 910927051e7b 16:31:33 Removing intermediate container 910927051e7b 16:31:33 ---> 1bb9371c291f 16:31:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:31:34 ---> Running in 3b3cd2d01a98 16:31:34 Removing intermediate container 3b3cd2d01a98 16:31:34 ---> 1b6442afbb3a 16:31:34 Step 23/25 : LABEL arch=arm64 16:31:34 ---> Running in 5737a1520a41 16:31:34 Removing intermediate container 5737a1520a41 16:31:34 ---> 3798f92af416 16:31:34 Step 24/25 : LABEL git_sha=57b0b837d8065d541f970715d5150be559e5ae70 16:31:34 ---> Running in e252150069e5 16:31:35 Removing intermediate container e252150069e5 16:31:35 ---> 15fb8e612434 16:31:35 Step 25/25 : LABEL version=0.0.0 16:31:35 ---> Running in 57c600c96672 16:31:35 Removing intermediate container 57c600c96672 16:31:35 ---> 9f31f6b5ca52 16:31:35 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:31:35 Successfully built 9f31f6b5ca52 16:31:35 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:36 16:31:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:36 arm64: Pulling from edgex-lftools-log-publisher 16:31:36 8998bd30e6a1: Pulling fs layer 16:31:36 04944245beec: Pulling fs layer 16:31:36 699f458cf7ca: Pulling fs layer 16:31:36 765212b225bb: Pulling fs layer 16:31:36 f23df028b6ca: Pulling fs layer 16:31:36 d65c8cfc05b1: Pulling fs layer 16:31:36 2437ff75d9bd: Pulling fs layer 16:31:36 765212b225bb: Waiting 16:31:36 f23df028b6ca: Waiting 16:31:36 d65c8cfc05b1: Waiting 16:31:36 2437ff75d9bd: Waiting 16:31:36 04944245beec: Verifying Checksum 16:31:36 04944245beec: Download complete 16:31:36 765212b225bb: Verifying Checksum 16:31:36 765212b225bb: Download complete 16:31:36 f23df028b6ca: Verifying Checksum 16:31:36 f23df028b6ca: Download complete 16:31:36 d65c8cfc05b1: Verifying Checksum 16:31:36 d65c8cfc05b1: Download complete 16:31:37 699f458cf7ca: Verifying Checksum 16:31:37 699f458cf7ca: Download complete 16:31:37 8998bd30e6a1: Verifying Checksum 16:31:37 8998bd30e6a1: Download complete 16:31:40 2437ff75d9bd: Verifying Checksum 16:31:42 8998bd30e6a1: Pull complete 16:31:42 04944245beec: Pull complete 16:31:43 699f458cf7ca: Pull complete 16:31:44 765212b225bb: Pull complete 16:31:45 f23df028b6ca: Pull complete 16:31:45 d65c8cfc05b1: Pull complete 16:32:00 2437ff75d9bd: Pull complete 16:32:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:32:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:32:00 prd-ubuntu20.04-docker-arm64-4c-16g-33505 does not seem to be running inside a container 16:32: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/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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:32:03 $ docker top bd0d74d9a1ef3d78fa4da845633e7cef22a1b06d3aeecdb173bc4366bb8342a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:04 ---> job-cost.sh 16:32:04 lf-activate-venv: SKIPPING 16:32:04 INFO: No Stack... 16:32:04 INFO: Retrieving Pricing Info for: v3-standard-4 16:32:05 INFO: Archiving Costs [Pipeline] sh 16:32:06 + + cut -d,cat -f6 /w/workspace/device-gpio/1/archives/cost.csv 16:32:06 [Pipeline] lock 16:32:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] 16:32:06 Resource [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] did not exist. Created. 16:32:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:32:07 /w/workspace/device-gpio/1@tmp/durable-02996cb8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:32:08 + echo total: 0.10999999940395355 [Pipeline] stash 16:32:08 Warning: overwriting stash ‘stack-cost’ 16:32:08 Stashed 1 file(s) [Pipeline] } 16:32:08 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:32:08 $ docker stop --time=1 bd0d74d9a1ef3d78fa4da845633e7cef22a1b06d3aeecdb173bc4366bb8342a7 16:32:09 $ docker rm -f bd0d74d9a1ef3d78fa4da845633e7cef22a1b06d3aeecdb173bc4366bb8342a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:32:10 provisioning config files... 16:32:10 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/config5597977184368220489tmp [Pipeline] { [Pipeline] sh 16:32:11 + set +x 16:32:11 + bash -s -- 16:32:11 + curl -s https://codecov.io/bash 16:32:11 16:32:11 _____ _ 16:32:11 / ____| | | 16:32:11 | | ___ __| | ___ ___ _____ __ 16:32:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:32:11 | |___| (_) | (_| | __/ (_| (_) \ V / 16:32:11 \_____\___/ \__,_|\___|\___\___/ \_/ 16:32:11 Bash-1.0.6 16:32:11 16:32:11 16:32:11 ==> git version 2.25.1 found 16:32:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:32:11 Release-Date: 2020-01-08 16:32:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:32:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:32:11 ==> Jenkins CI detected. 16:32:11 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-26 16:32:11 project root: . 16:32:11 --> token set from env 16:32:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:32:11 ==> Running gcov in . (disable via -X gcov) 16:32:11 ==> Python coveragepy not found 16:32:11 ==> Searching for coverage reports in: 16:32:11 + . 16:32:11 -> Found 1 reports 16:32:11 ==> Detecting git/mercurial file structure 16:32:11 ==> Reading reports 16:32:11 + ./coverage.out bytes=10 16:32:11 ==> Appending adjustments 16:32:11 https://docs.codecov.io/docs/fixing-reports 16:32:11 + Found adjustments 16:32:11 ==> Gzipping contents 16:32:11 4.0K /tmp/codecov.nsK5zN.gz 16:32:11 ==> Uploading reports 16:32:11 url: https://codecov.io 16:32:11 query: branch=PR-26&commit=57b0b837d8065d541f970715d5150be559e5ae70&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=26&job=&cmd_args= 16:32:11 -> Pinging Codecov 16:32:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-26&commit=57b0b837d8065d541f970715d5150be559e5ae70&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=26&job=&cmd_args= 16:32:11 -> Uploading to 16:32:11 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/57b0b837d8065d541f970715d5150be559e5ae70/6829abc3-58fd-4d15-9a88-2705a72ee0e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T163211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=063f37cf385beb41dcea794ff03507d42606695c8afa65cd68b7f37a0e4a9830 16:32:11 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:11 Dload Upload Total Spent Left Speed 16:32:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 2810 --:--:-- --:--:-- --:--:-- 2810 16:32:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/57b0b837d8065d541f970715d5150be559e5ae70 [Pipeline] } 16:32:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:32:13 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-26/archives ] 16:32:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-26/archives 16:32:13 total 16 16:32:13 drwxr-xr-x 3 root root 4096 Apr 27 16:26 . 16:32:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 16:26 .. 16:32:13 drwxr-xr-x 2 root root 4096 Apr 27 16:26 cost 16:32:13 -rw-r--r-- 1 root root 81 Apr 27 16:26 cost.csv 16:32:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-26/archives 16:32:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-26/archives 16:32:13 total 16 16:32:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 16:26 . 16:32:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 16:26 .. 16:32:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 16:26 cost 16:32:13 -rw-r--r-- 1 jenkins jenkins 81 Apr 27 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:32:15 ---> package-listing.sh 16:32:15 ++ facter osfamily 16:32:15 ++ tr '[:upper:]' '[:lower:]' 16:32:15 + OS_FAMILY=debian 16:32:15 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-26 16:32:15 + START_PACKAGES=/tmp/packages_start.txt 16:32:15 + END_PACKAGES=/tmp/packages_end.txt 16:32:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:32:15 + PACKAGES=/tmp/packages_start.txt 16:32:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-26 ']' 16:32:15 + PACKAGES=/tmp/packages_end.txt 16:32:15 + case "${OS_FAMILY}" in 16:32:15 + dpkg -l 16:32:15 + grep '^ii' 16:32:15 + '[' -f /tmp/packages_start.txt ']' 16:32:15 + '[' -f /tmp/packages_end.txt ']' 16:32:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:32:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-26 ']' 16:32:15 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-26/archives/ 16:32:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-26/archives/ [Pipeline] echo 16:32:15 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:32:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:32:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:16 . [Pipeline] withDockerContainer 16:32:16 prd-ubuntu20.04-docker-8c-8g-33503 does not seem to be running inside a container 16:32:16 $ 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-26/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-26 -v /w/workspace/edgexfoundry_device-gpio_PR-26:/w/workspace/edgexfoundry_device-gpio_PR-26:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-26@tmp:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:16 $ docker top 0549e3ee7293fa46c154548985541add8642f1bae146d5c8defe2aff4b048893 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:16 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:17 + mkdir -p /var/log/sysstat [Pipeline] sh 16:32:17 + ls /var/log/sa-host 16:32:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:17 provisioning config files... 16:32:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-26@tmp/config8842650555826863084tmp [Pipeline] { [Pipeline] echo 16:32:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:18 ---> create-netrc.sh [Pipeline] } 16:32:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:32:18 ---> python-tools-install.sh [Pipeline] echo 16:32:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:19 ---> sudo-logs.sh 16:32:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:32:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:19 ---> job-cost.sh 16:32:19 lf-activate-venv: SKIPPING 16:32:19 DEBUG: total: 0.2199999988079071 16:32:19 INFO: Retrieving Stack Cost... 16:32:19 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:20 INFO: Archiving Costs [Pipeline] echo 16:32:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:20 ---> logs-deploy.sh 16:32:20 lf-activate-venv: SKIPPING 16:32:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-26/1 16:32:20 INFO: archiving workspace using pattern(s): 16:32:21 Archives upload complete. 16:32:21 INFO: archiving logs to Nexus