Pull request #32 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31418bfcbca56456e2316a3e9983b0b8f9aa254d+5481a4acbe2c9cded44f119138c580c35965cafd (db881cd71bb04ec5c44ebdc714ef998fbe26b79e) 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-ssh17349738743820174285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8394391687416993459.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16633213630762385058.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13456025845274199693.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15236143508315939098.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63314 in /w/workspace/edgexfoundry_device-gpio_PR-32 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-32 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d Merge succeeded, producing c5d49988d1698b1d0b28f510cd98fc196992d765 Checking out Revision c5d49988d1698b1d0b28f510cd98fc196992d765 (PR-32) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5d49988d1698b1d0b28f510cd98fc196992d765 # timeout=10 Commit message: "Merge commit '5481a4acbe2c9cded44f119138c580c35965cafd' into HEAD" > git rev-list --no-walk 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:12 ========================================================= 00:11:12 EdgeX Global Pipelines Version Info 00:11:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:12 ------------------- 00:11:12 stable info: 00:11:12 ------------------- 00:11:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:12 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:11:12 Message: update stable to v1.0.230 00:11:13 ------------------- 00:11:13 experimental info: 00:11:13 ------------------- 00:11:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:11:13 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5d49988d1698b1d0b28f510cd98fc196992d765 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5d4998 [Pipeline] echo 00:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:13 provisioning config files... 00:11:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config3368762992185048524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:14 ---> docker-login.sh 00:11:14 nexus3.edgexfoundry.org:10001 00:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:14 Configure a credential helper to remove this warning. See 00:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:14 00:11:14 Login Succeeded 00:11:14 nexus3.edgexfoundry.org:10002 00:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:14 Configure a credential helper to remove this warning. See 00:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:14 00:11:14 Login Succeeded 00:11:14 nexus3.edgexfoundry.org:10003 00:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:14 Configure a credential helper to remove this warning. See 00:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:14 00:11:14 Login Succeeded 00:11:14 nexus3.edgexfoundry.org:10004 00:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:15 Configure a credential helper to remove this warning. See 00:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:15 00:11:15 Login Succeeded 00:11:15 docker.io 00:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:15 Configure a credential helper to remove this warning. See 00:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:15 00:11:15 Login Succeeded 00:11:15 ---> docker-login.sh ends [Pipeline] } 00:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:11:15 + git rev-list -1 --merges c5d49988d1698b1d0b28f510cd98fc196992d765~1..c5d49988d1698b1d0b28f510cd98fc196992d765 [Pipeline] echo 00:11:15 -----------> git rev-list -1 --merges c5d49988d1698b1d0b28f510cd98fc196992d765~1..c5d49988d1698b1d0b28f510cd98fc196992d765 c5d49988d1698b1d0b28f510cd98fc196992d765 00:11:15 c5d49988d1698b1d0b28f510cd98fc196992d765 [false] [Pipeline] sh 00:11:16 + git log --format=format:%s -1 c5d49988d1698b1d0b28f510cd98fc196992d765 [Pipeline] echo 00:11:16 ========================================================= 00:11:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:11:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:16 + git log --format=format:%s -1 c5d49988d1698b1d0b28f510cd98fc196992d765 [Pipeline] echo 00:11:16 [semverPrep] GIT_COMMIT: c5d49988d1698b1d0b28f510cd98fc196992d765, Commit Message: Merge commit '5481a4acbe2c9cded44f119138c580c35965cafd' into HEAD [Pipeline] echo 00:11:16 [semverPrep] This is not a build commit. [Pipeline] sh 00:11:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:16 + grep -v github /etc/ssh/ssh_known_hosts 00:11:16 + [ -e /tmp/ssh_known_hosts ] 00:11:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:11:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:11:16 + sudo tee -a /etc/ssh/ssh_known_hosts 00:11:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:11:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:11:17 00:11:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:11:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:11:17 latest: Pulling from edgex-devops/py-git-semver 00:11:17 1fe172e4850f: Pulling fs layer 00:11:17 caf521ccaac6: Pulling fs layer 00:11:17 3ead6fa29328: Pulling fs layer 00:11:17 5c2a1cbceb83: Pulling fs layer 00:11:17 a8d5f1318db7: Pulling fs layer 00:11:17 c427282e49a2: Pulling fs layer 00:11:17 1827001aaf11: Pulling fs layer 00:11:17 0714d37db230: Pulling fs layer 00:11:17 ac28cf19c067: Pulling fs layer 00:11:17 ca983d60f3e2: Pulling fs layer 00:11:17 9f894cec8388: Pulling fs layer 00:11:17 a8d5f1318db7: Waiting 00:11:17 ca983d60f3e2: Waiting 00:11:17 c427282e49a2: Waiting 00:11:17 0714d37db230: Waiting 00:11:17 ac28cf19c067: Waiting 00:11:17 5c2a1cbceb83: Waiting 00:11:17 1827001aaf11: Waiting 00:11:17 caf521ccaac6: Download complete 00:11:17 5c2a1cbceb83: Verifying Checksum 00:11:17 5c2a1cbceb83: Download complete 00:11:17 a8d5f1318db7: Verifying Checksum 00:11:17 a8d5f1318db7: Download complete 00:11:17 c427282e49a2: Download complete 00:11:17 3ead6fa29328: Verifying Checksum 00:11:17 3ead6fa29328: Download complete 00:11:17 0714d37db230: Verifying Checksum 00:11:17 0714d37db230: Download complete 00:11:17 ac28cf19c067: Verifying Checksum 00:11:17 ac28cf19c067: Download complete 00:11:17 ca983d60f3e2: Download complete 00:11:17 9f894cec8388: Verifying Checksum 00:11:17 9f894cec8388: Download complete 00:11:17 1fe172e4850f: Verifying Checksum 00:11:17 1fe172e4850f: Download complete 00:11:18 1827001aaf11: Verifying Checksum 00:11:18 1827001aaf11: Download complete 00:11:19 1fe172e4850f: Pull complete 00:11:19 caf521ccaac6: Pull complete 00:11:20 3ead6fa29328: Pull complete 00:11:20 5c2a1cbceb83: Pull complete 00:11:20 a8d5f1318db7: Pull complete 00:11:20 c427282e49a2: Pull complete 00:11:22 1827001aaf11: Pull complete 00:11:22 0714d37db230: Pull complete 00:11:22 ac28cf19c067: Pull complete 00:11:22 ca983d60f3e2: Pull complete 00:11:22 9f894cec8388: Pull complete 00:11:22 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:11:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:11:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:11:23 prd-ubuntu20.04-docker-8c-8g-63314 does not seem to be running inside a container 00:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:11:24 $ docker top b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 -eo pid,comm 00:11:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:11:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:25 [ssh-agent] Looking for ssh-agent implementation... 00:11:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:25 $ docker exec b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 ssh-agent 00:11:25 SSH_AUTH_SOCK=/tmp/ssh-Vi6dT72yYIc1/agent.32 00:11:25 SSH_AGENT_PID=38 00:11:25 Running ssh-add (command line suppressed) 00:11:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_26713580391240612.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_26713580391240612.key) 00:11:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:25 + git tag --points-at HEAD [Pipeline] } 00:11:25 $ docker exec --env ******** --env ******** b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 ssh-agent -k 00:11:25 unset SSH_AUTH_SOCK; 00:11:25 unset SSH_AGENT_PID; 00:11:25 echo Agent pid 38 killed; 00:11:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:25 [ssh-agent] Looking for ssh-agent implementation... 00:11:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:26 $ docker exec b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 ssh-agent 00:11:26 SSH_AUTH_SOCK=/tmp/ssh-jXgLEcWDlpjs/agent.71 00:11:26 SSH_AGENT_PID=78 00:11:26 Running ssh-add (command line suppressed) 00:11:26 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_2163382551487788468.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_2163382551487788468.key) 00:11:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:26 + git semver init 00:11:26 2022-05-12 00:11:26,920 [run_init] DEBUG init version:0.0.0 force:False 00:11:26 2022-05-12 00:11:26,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver 00:11:26 2022-05-12 00:11:26,921 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-32/.semver 00:11:26 2022-05-12 00:11:26,922 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-32/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32, universal_newlines=False, shell=None, istream=None) 00:11:28 2022-05-12 00:11:27,933 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.git/info/exclude 00:11:28 2022-05-12 00:11:27,934 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 with force:False 00:11:28 2022-05-12 00:11:27,934 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 00:11:28 2022-05-12 00:11:27,938 [execute] INFO git cat-file --batch-check 00:11:28 2022-05-12 00:11:27,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) 00:11:28 2022-05-12 00:11:27,944 [execute] INFO git cat-file --batch 00:11:28 2022-05-12 00:11:27,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) 00:11:28 2022-05-12 00:11:27,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 00:11:28 0.0.0 [Pipeline] } 00:11:28 $ docker exec --env ******** --env ******** b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 ssh-agent -k 00:11:28 unset SSH_AUTH_SOCK; 00:11:28 unset SSH_AGENT_PID; 00:11:28 echo Agent pid 78 killed; 00:11:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:28 + git semver [Pipeline] } 00:11:29 $ docker stop --time=1 b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 00:11:30 $ docker rm -f b3fb17fbeb2fe35630044b97691fd34bb6caae90d19303ba5fb42399a1e98ce3 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:31 Stashed 1 file(s) [Pipeline] echo 00:11:31 [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 00:11:31 provisioning config files... 00:11:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config6979394990912654223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:31 ---> docker-login.sh 00:11:31 nexus3.edgexfoundry.org:10001 00:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:31 Configure a credential helper to remove this warning. See 00:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:31 00:11:31 Login Succeeded 00:11:31 nexus3.edgexfoundry.org:10002 00:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:31 Configure a credential helper to remove this warning. See 00:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:31 00:11:31 Login Succeeded 00:11:31 nexus3.edgexfoundry.org:10003 00:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:31 Configure a credential helper to remove this warning. See 00:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:31 00:11:31 Login Succeeded 00:11:31 nexus3.edgexfoundry.org:10004 00:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 docker.io 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 ---> docker-login.sh ends [Pipeline] } 00:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:32 ========================================================= 00:11:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:11:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:11:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:11:32 Sending build context to Docker daemon 15.68MB 00:11:32 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:11:32 Step 2/11 : FROM ${BASE} AS builder 00:11:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:32 59bf1c3509f3: Pulling fs layer 00:11:32 666ba61612fd: Pulling fs layer 00:11:32 8ed8ca486205: Pulling fs layer 00:11:32 4fe6c5a15a65: Pulling fs layer 00:11:32 22a0e8bec74d: Pulling fs layer 00:11:32 ca2b28591e48: Pulling fs layer 00:11:32 a51346096db8: Pulling fs layer 00:11:32 daebc70d1ce1: Pulling fs layer 00:11:32 0e18a0eac166: Pulling fs layer 00:11:32 4fe6c5a15a65: Waiting 00:11:32 ca2b28591e48: Waiting 00:11:32 a51346096db8: Waiting 00:11:32 daebc70d1ce1: Waiting 00:11:32 0e18a0eac166: Waiting 00:11:32 22a0e8bec74d: Waiting 00:11:32 8ed8ca486205: Verifying Checksum 00:11:32 8ed8ca486205: Download complete 00:11:32 666ba61612fd: Verifying Checksum 00:11:32 22a0e8bec74d: Verifying Checksum 00:11:32 22a0e8bec74d: Download complete 00:11:32 ca2b28591e48: Verifying Checksum 00:11:32 59bf1c3509f3: Verifying Checksum 00:11:32 a51346096db8: Verifying Checksum 00:11:32 59bf1c3509f3: Download complete 00:11:32 a51346096db8: Download complete 00:11:32 daebc70d1ce1: Verifying Checksum 00:11:32 daebc70d1ce1: Download complete 00:11:32 59bf1c3509f3: Pull complete 00:11:33 666ba61612fd: Pull complete 00:11:33 8ed8ca486205: Pull complete 00:11:33 0e18a0eac166: Verifying Checksum 00:11:33 0e18a0eac166: Download complete 00:11:33 4fe6c5a15a65: Verifying Checksum 00:11:33 4fe6c5a15a65: Download complete 00:11:37 4fe6c5a15a65: Pull complete 00:11:37 22a0e8bec74d: Pull complete 00:11:37 ca2b28591e48: Pull complete 00:11:37 a51346096db8: Pull complete 00:11:37 daebc70d1ce1: Pull complete 00:11:39 0e18a0eac166: Pull complete 00:11:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:11:39 ---> f018257e8ee9 00:11:39 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:11:41 ---> Running in 934a9838ecac 00:11:41 Removing intermediate container 934a9838ecac 00:11:41 ---> 56b010e8d3d6 00:11:41 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:11:41 ---> Running in 1d34d53d5b8f 00:11:41 Removing intermediate container 1d34d53d5b8f 00:11:41 ---> 5240965ce2c9 00:11:41 Step 5/11 : WORKDIR /device-gpio 00:11:41 ---> Running in 1b1bc90f4272 00:11:41 Removing intermediate container 1b1bc90f4272 00:11:41 ---> cebafc04f1ba 00:11:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:11:41 ---> Running in c42d403d5168 00:11:42 Removing intermediate container c42d403d5168 00:11:42 ---> a8dfafaf9f6b 00:11:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:42 ---> Running in af688e16cf48 00:11:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:11:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:11:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:11:43 (2/4) Installing libedit (20210910.3.1-r0) 00:11:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:11:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:11:44 Executing busybox-1.34.1-r3.trigger 00:11:44 OK: 224 MiB in 56 packages 00:11:44 Removing intermediate container af688e16cf48 00:11:44 ---> 11a0efc0be40 00:11:44 Step 8/11 : COPY go.mod vendor* ./ 00:11:44 ---> 19e7579157b0 00:11:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:44 ---> Running in bc0711ef7a3a 00:11:46 Still waiting to schedule task 00:11:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:12:02 Removing intermediate container bc0711ef7a3a 00:12:02 ---> 70199c728ecc 00:12:02 Step 10/11 : COPY . . 00:12:02 ---> 4bf8185d99bc 00:12:02 Step 11/11 : RUN ${MAKE} 00:12:02 ---> Running in 0199396f83fe 00:12:03 Removing intermediate container 0199396f83fe 00:12:03 ---> 02c8c43a9c4e 00:12:03 [Warning] One or more build-args [MAKE] were not consumed 00:12:03 Successfully built 02c8c43a9c4e 00:12:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:12:03 + docker inspect -f . ci-base-image-x86_64 00:12:03 . [Pipeline] withDockerContainer 00:12:03 prd-ubuntu20.04-docker-8c-8g-63314 does not seem to be running inside a container 00:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:04 $ docker top f1942c3df76e8cf83b870aa8af77a2deee7617a4bf4ddf3d40f13341be6aecc2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:04 + go version 00:12:04 go version go1.17.6 linux/amd64 [Pipeline] } 00:12:04 $ docker stop --time=1 f1942c3df76e8cf83b870aa8af77a2deee7617a4bf4ddf3d40f13341be6aecc2 00:12:05 $ docker rm -f f1942c3df76e8cf83b870aa8af77a2deee7617a4bf4ddf3d40f13341be6aecc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:12:06 + docker inspect -f . ci-base-image-x86_64 00:12:06 . [Pipeline] withDockerContainer 00:12:06 prd-ubuntu20.04-docker-8c-8g-63314 does not seem to be running inside a container 00:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:07 $ docker top 06b5b758d2dbf16124f58678fa351b1bcaa243507da0e4a5fb330ae3e8f5dde3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:12:07 + make test 00:12:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:12:07 ? github.com/edgexfoundry/device-gpio [no test files] 00:12:17 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:12:17 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:12:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:12:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:28 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:28 $ docker stop --time=1 06b5b758d2dbf16124f58678fa351b1bcaa243507da0e4a5fb330ae3e8f5dde3 00:12:30 $ docker rm -f 06b5b758d2dbf16124f58678fa351b1bcaa243507da0e4a5fb330ae3e8f5dde3 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:32 + ls -al . 00:12:32 total 172 00:12:32 drwxrwxr-x 9 jenkins jenkins 4096 May 12 00:12 . 00:12:32 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:11 .. 00:12:32 -rw-rw-r-- 1 jenkins jenkins 120 May 12 00:11 .dockerignore 00:12:32 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:11 .git 00:12:32 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:11 .github 00:12:32 -rw-rw-r-- 1 jenkins jenkins 343 May 12 00:11 .gitignore 00:12:32 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:11 .golangci.yml 00:12:32 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:11 .semver 00:12:32 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 00:11 Attribution.txt 00:12:32 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 00:11 CHANGELOG.md 00:12:32 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 00:11 Dockerfile 00:12:32 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:11 GOVERNANCE.md 00:12:32 -rw-rw-r-- 1 jenkins jenkins 657 May 12 00:11 Jenkinsfile 00:12:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:11 LICENSE 00:12:32 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 00:11 Makefile 00:12:32 -rw-rw-r-- 1 jenkins jenkins 617 May 12 00:11 OWNERS.md 00:12:32 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 00:11 README.md 00:12:32 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:11 VERSION 00:12:32 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:11 bin 00:12:32 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:11 cmd 00:12:32 -rw-r--r-- 1 jenkins jenkins 10 May 12 00:12 coverage.out 00:12:32 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 00:11 go.mod 00:12:32 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 00:11 go.sum 00:12:32 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:11 internal 00:12:32 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:11 snap 00:12:32 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:11 version.go [Pipeline] isUnix [Pipeline] sh 00:12:32 + 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=c5d49988d1698b1d0b28f510cd98fc196992d765 --label arch=amd64 --label version=0.0.0 . 00:12:32 Sending build context to Docker daemon 15.68MB 00:12:32 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:12:32 Step 2/25 : FROM ${BASE} AS builder 00:12:32 ---> 02c8c43a9c4e 00:12:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:12:32 ---> Running in 9789638f793b 00:12:32 Removing intermediate container 9789638f793b 00:12:32 ---> 4f2f183335ec 00:12:32 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:12:32 ---> Running in be325524cb49 00:12:33 Removing intermediate container be325524cb49 00:12:33 ---> 9cc6debd4c09 00:12:33 Step 5/25 : WORKDIR /device-gpio 00:12:33 ---> Running in 432eb939f51e 00:12:33 Removing intermediate container 432eb939f51e 00:12:33 ---> 2b1e97c4ba73 00:12:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:12:33 ---> Running in 6aeb25ecb7b9 00:12:34 Removing intermediate container 6aeb25ecb7b9 00:12:34 ---> c2b592b5f3f4 00:12:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:34 ---> Running in 7e4abff89506 00:12:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:12:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:12:35 OK: 224 MiB in 56 packages 00:12:36 Removing intermediate container 7e4abff89506 00:12:36 ---> 39d25f187306 00:12:36 Step 8/25 : COPY go.mod vendor* ./ 00:12:36 ---> 16fb5b6483a6 00:12:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:36 ---> Running in 889794a70e07 00:12:37 Removing intermediate container 889794a70e07 00:12:37 ---> 988858e9edd0 00:12:37 Step 10/25 : COPY . . 00:12:37 ---> 287dc170e6e0 00:12:37 Step 11/25 : RUN ${MAKE} 00:12:38 ---> Running in 51bb409ee959 00:12:38 Removing intermediate container 51bb409ee959 00:12:38 ---> 628df1972a35 00:12:38 Step 12/25 : FROM alpine:3.15 00:12:39 3.15: Pulling from library/alpine 00:12:39 df9b9388f04a: Pulling fs layer 00:12:39 df9b9388f04a: Verifying Checksum 00:12:39 df9b9388f04a: Download complete 00:12:39 df9b9388f04a: Pull complete 00:12:39 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:12:39 Status: Downloaded newer image for alpine:3.15 00:12:39 ---> 0ac33e5f5afa 00:12:39 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:12:39 ---> Running in 650ab8ae7003 00:12:39 Removing intermediate container 650ab8ae7003 00:12:39 ---> a4d7dd678bcf 00:12:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:12:40 ---> Running in d8bc01bdc98a 00:12:40 Removing intermediate container d8bc01bdc98a 00:12:40 ---> bf908f0f6bcd 00:12:40 Step 15/25 : RUN apk add --update --no-cache zeromq 00:12:41 ---> Running in 575a589a5d75 00:12:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:12:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:12:42 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:12:42 (2/5) Installing libsodium (1.0.18-r0) 00:12:42 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:12:42 (4/5) Installing libzmq (4.3.4-r0) 00:12:42 (5/5) Installing zeromq (4.3.4-r0) 00:12:43 Executing busybox-1.34.1-r5.trigger 00:12:43 OK: 8 MiB in 19 packages 00:12:43 Removing intermediate container 575a589a5d75 00:12:43 ---> 38b069700353 00:12:43 Step 16/25 : WORKDIR / 00:12:43 ---> Running in 10850dec4ae4 00:12:43 Removing intermediate container 10850dec4ae4 00:12:43 ---> 246706441dbe 00:12:43 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:12:43 ---> 2b8b9c405079 00:12:43 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:12:44 ---> 28cc0d0fd05d 00:12:44 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:12:44 ---> 5084d3124d6c 00:12:44 Step 20/25 : EXPOSE 59910 00:12:44 ---> Running in e573dd14a279 00:12:44 Removing intermediate container e573dd14a279 00:12:44 ---> 3d66a879e7e0 00:12:44 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:12:44 ---> Running in c5cbc28aaaba 00:12:44 Removing intermediate container c5cbc28aaaba 00:12:44 ---> 4c2abe30f337 00:12:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:12:44 ---> Running in 89b79232f74b 00:12:44 Removing intermediate container 89b79232f74b 00:12:44 ---> ea0d91d5683f 00:12:44 Step 23/25 : LABEL arch=amd64 00:12:44 ---> Running in dc2f62492fc4 00:12:45 Removing intermediate container dc2f62492fc4 00:12:45 ---> 95cf0cdc9418 00:12:45 Step 24/25 : LABEL git_sha=c5d49988d1698b1d0b28f510cd98fc196992d765 00:12:45 ---> Running in 62094127601b 00:12:45 Removing intermediate container 62094127601b 00:12:45 ---> b65c4870e7fc 00:12:45 Step 25/25 : LABEL version=0.0.0 00:12:45 ---> Running in 5fb49a4c9857 00:12:45 Removing intermediate container 5fb49a4c9857 00:12:45 ---> 0da9fb97ac56 00:12:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:12:45 Successfully built 0da9fb97ac56 00:12:45 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 00:12:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:46 00:12:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:46 latest: Pulling from edgex-lftools-log-publisher 00:12:46 5eb5b503b376: Pulling fs layer 00:12:46 5c69ac0246d0: Pulling fs layer 00:12:46 ec43610c2a17: Pulling fs layer 00:12:46 3a2ae6a8a46f: Pulling fs layer 00:12:46 33b1e0a273af: Pulling fs layer 00:12:46 5d3b04190fa2: Pulling fs layer 00:12:46 2f39f015ded8: Pulling fs layer 00:12:46 3a2ae6a8a46f: Waiting 00:12:46 33b1e0a273af: Waiting 00:12:46 5d3b04190fa2: Waiting 00:12:46 2f39f015ded8: Waiting 00:12:46 5c69ac0246d0: Verifying Checksum 00:12:46 5c69ac0246d0: Download complete 00:12:46 3a2ae6a8a46f: Download complete 00:12:46 33b1e0a273af: Verifying Checksum 00:12:46 33b1e0a273af: Download complete 00:12:46 5d3b04190fa2: Verifying Checksum 00:12:46 5d3b04190fa2: Download complete 00:12:46 ec43610c2a17: Verifying Checksum 00:12:46 ec43610c2a17: Download complete 00:12:46 5eb5b503b376: Verifying Checksum 00:12:46 5eb5b503b376: Download complete 00:12:47 2f39f015ded8: Download complete 00:12:48 5eb5b503b376: Pull complete 00:12:48 5c69ac0246d0: Pull complete 00:12:48 ec43610c2a17: Pull complete 00:12:48 3a2ae6a8a46f: Pull complete 00:12:49 33b1e0a273af: Pull complete 00:12:49 5d3b04190fa2: Pull complete 00:12:53 2f39f015ded8: Pull complete 00:12:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:12:53 prd-ubuntu20.04-docker-8c-8g-63314 does not seem to be running inside a container 00:12:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:55 $ docker top d7824d00098c9f5ae27a327bd2783062cf4f234929c516e0230174b623b8d083 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:56 ---> job-cost.sh 00:12:56 lf-activate-venv: SKIPPING 00:12:56 INFO: No Stack... 00:12:56 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:57 INFO: Archiving Costs [Pipeline] sh 00:12:57 + cat /w/workspace/edgexfoundry_device-gpio_PR-32/archives/cost.csv 00:12:57 + cut -d, -f6 [Pipeline] lock 00:12:57 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] 00:12:57 Resource [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] did not exist. Created. 00:12:57 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:57 + echo total: 0.2199999988079071 [Pipeline] stash 00:12:57 Stashed 1 file(s) [Pipeline] } 00:12:57 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:57 $ docker stop --time=1 d7824d00098c9f5ae27a327bd2783062cf4f234929c516e0230174b623b8d083 00:12:59 $ docker rm -f d7824d00098c9f5ae27a327bd2783062cf4f234929c516e0230174b623b8d083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63316 in /w/workspace/edgexfoundry_device-gpio_PR-32 [Pipeline] { [Pipeline] ws 00:14:41 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 00:14:42 The recommended git tool is: git 00:14:49 using credential edgex-jenkins-ssh 00:14:49 Cloning the remote Git repository 00:14:49 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:14:49 > git init /w/workspace/device-gpio/2 # timeout=10 00:14:49 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:14:49 > git --version # timeout=10 00:14:49 > git --version # 'git version 2.25.1' 00:14:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:51 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:14:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:51 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:14:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:14:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:14:51 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d 00:14:52 Merge succeeded, producing 35418278ca35beca3dc6c540590ff804e70b28f7 00:14:52 Checking out Revision 35418278ca35beca3dc6c540590ff804e70b28f7 (PR-32) 00:14:51 > git config core.sparsecheckout # timeout=10 00:14:51 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 00:14:52 > git remote # timeout=10 00:14:52 > git config --get remote.origin.url # timeout=10 00:14:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:52 > git merge 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 00:14:52 > git rev-parse HEAD^{commit} # timeout=10 00:14:52 > git config core.sparsecheckout # timeout=10 00:14:52 > git checkout -f 35418278ca35beca3dc6c540590ff804e70b28f7 # timeout=10 00:14:56 Commit message: "Merge commit '5481a4acbe2c9cded44f119138c580c35965cafd' into HEAD" 00:14:56 > git rev-list --no-walk 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:14:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:14:57 Dload Upload Total Spent Left Speed 00:14:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83992 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh 00:14:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:14:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:14:58 + sudo tee /etc/docker/daemon.new 00:14:58 { 00:14:58 "registry-mirrors": [ 00:14:58 "https://nexus3.edgexfoundry.org:10001" 00:14:58 ], 00:14:58 "bip": "10.250.0.254/24", 00:14:58 "hosts": [ 00:14:58 "tcp://0.0.0.0:5555", 00:14:58 "unix:///var/run/docker.sock" 00:14:58 ], 00:14:58 "mtu": 1458, 00:14:58 "selinux-enabled": true, 00:14:58 "seccomp-profile": "/etc/docker/seccomp.json" 00:14:58 } [Pipeline] sh 00:14:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:14:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:17 provisioning config files... 00:15:17 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8324399703633076874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:18 ---> docker-login.sh 00:15:18 nexus3.edgexfoundry.org:10001 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:19 Configure a credential helper to remove this warning. See 00:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:19 00:15:19 Login Succeeded 00:15:19 nexus3.edgexfoundry.org:10002 00:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:19 Configure a credential helper to remove this warning. See 00:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:19 00:15:19 Login Succeeded 00:15:19 nexus3.edgexfoundry.org:10003 00:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:20 Configure a credential helper to remove this warning. See 00:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:20 00:15:20 Login Succeeded 00:15:20 nexus3.edgexfoundry.org:10004 00:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:20 Configure a credential helper to remove this warning. See 00:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:20 00:15:20 Login Succeeded 00:15:20 docker.io 00:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:21 Configure a credential helper to remove this warning. See 00:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:21 00:15:21 Login Succeeded 00:15:21 ---> docker-login.sh ends [Pipeline] } 00:15:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:22 ========================================================= 00:15:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:15:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:15:22 + 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 . 00:15:22 Sending build context to Docker daemon 7.912MB 00:15:23 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:15:23 Step 2/11 : FROM ${BASE} AS builder 00:15:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:23 9b3977197b4f: Pulling fs layer 00:15:23 1a89e8eeedd5: Pulling fs layer 00:15:23 94645a83ff95: Pulling fs layer 00:15:23 3f3a8bcf1eab: Pulling fs layer 00:15:23 0c92f367c5e7: Pulling fs layer 00:15:23 3096ccb668a1: Pulling fs layer 00:15:23 e8cf19c19ddd: Pulling fs layer 00:15:23 a4caa8a26152: Pulling fs layer 00:15:23 3f3a8bcf1eab: Waiting 00:15:23 0c92f367c5e7: Waiting 00:15:23 3096ccb668a1: Waiting 00:15:23 e8cf19c19ddd: Waiting 00:15:23 a4caa8a26152: Waiting 00:15:23 94645a83ff95: Download complete 00:15:23 1a89e8eeedd5: Verifying Checksum 00:15:23 1a89e8eeedd5: Download complete 00:15:23 0c92f367c5e7: Verifying Checksum 00:15:23 0c92f367c5e7: Download complete 00:15:23 3096ccb668a1: Verifying Checksum 00:15:23 3096ccb668a1: Download complete 00:15:23 9b3977197b4f: Verifying Checksum 00:15:23 9b3977197b4f: Download complete 00:15:23 e8cf19c19ddd: Download complete 00:15:23 9b3977197b4f: Pull complete 00:15:24 1a89e8eeedd5: Pull complete 00:15:24 94645a83ff95: Pull complete 00:15:25 a4caa8a26152: Verifying Checksum 00:15:25 a4caa8a26152: Download complete 00:15:25 3f3a8bcf1eab: Verifying Checksum 00:15:25 3f3a8bcf1eab: Download complete 00:15:38 3f3a8bcf1eab: Pull complete 00:15:38 0c92f367c5e7: Pull complete 00:15:38 3096ccb668a1: Pull complete 00:15:38 e8cf19c19ddd: Pull complete 00:15:43 a4caa8a26152: Pull complete 00:15:43 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:15:43 ---> 725f1c02e7f9 00:15:43 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:15:44 ---> Running in 93e9302cb2ac 00:15:45 Removing intermediate container 93e9302cb2ac 00:15:45 ---> 525ce19ffdcb 00:15:45 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:15:45 ---> Running in 52fa1ad86a82 00:15:45 Removing intermediate container 52fa1ad86a82 00:15:45 ---> 15b2908da572 00:15:45 Step 5/11 : WORKDIR /device-gpio 00:15:45 ---> Running in 94fb5564a93f 00:15:46 Removing intermediate container 94fb5564a93f 00:15:46 ---> ecd9890d489f 00:15:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:46 ---> Running in 2c81777ff4aa 00:15:48 Removing intermediate container 2c81777ff4aa 00:15:48 ---> 8eea693d8369 00:15:48 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:48 ---> Running in 453e048152b1 00:15:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:15:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:15:52 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:15:52 (2/4) Installing libedit (20210910.3.1-r0) 00:15:52 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:15:52 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:15:52 Executing busybox-1.34.1-r3.trigger 00:15:52 OK: 224 MiB in 56 packages 00:15:53 Removing intermediate container 453e048152b1 00:15:53 ---> c6a09ede9928 00:15:53 Step 8/11 : COPY go.mod vendor* ./ 00:15:54 ---> 4597e9492b87 00:15:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:54 ---> Running in 81b644c00383 00:17:02 Removing intermediate container 81b644c00383 00:17:02 ---> 8da871333914 00:17:02 Step 10/11 : COPY . . 00:17:02 ---> aa8054bb726f 00:17:02 Step 11/11 : RUN ${MAKE} 00:17:02 ---> Running in 726b9f40de24 00:17:02 Removing intermediate container 726b9f40de24 00:17:02 ---> fb50b8e11aea 00:17:02 [Warning] One or more build-args [MAKE] were not consumed 00:17:02 Successfully built fb50b8e11aea 00:17:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:17:02 + docker inspect -f . ci-base-image-arm64 00:17:02 . [Pipeline] withDockerContainer 00:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-63316 does not seem to be running inside a container 00:17:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** ci-base-image-arm64 cat 00:17:04 $ docker top 0205ef83371b78de31b058802c5383d3bd8088247d0f096902ee7ddf5aa8be3f -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:05 + go version 00:17:05 go version go1.17.6 linux/arm64 [Pipeline] } 00:17:05 $ docker stop --time=1 0205ef83371b78de31b058802c5383d3bd8088247d0f096902ee7ddf5aa8be3f 00:17:07 $ docker rm -f 0205ef83371b78de31b058802c5383d3bd8088247d0f096902ee7ddf5aa8be3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:08 + docker inspect -f . ci-base-image-arm64 00:17:08 . [Pipeline] withDockerContainer 00:17:08 prd-ubuntu20.04-docker-arm64-4c-16g-63316 does not seem to be running inside a container 00:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** ci-base-image-arm64 cat 00:17:09 $ docker top 2d06c6d132300a2d34b14bda737ce5d7ccd457e4be66981f89265068174b11db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:17:10 + make test 00:17:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:17:12 ? github.com/edgexfoundry/device-gpio [no test files] 00:18:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:18:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:18:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:19:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:19:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:19:01 ./bin/test-attribution-txt.sh [Pipeline] echo 00:19:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:19:01 $ docker stop --time=1 2d06c6d132300a2d34b14bda737ce5d7ccd457e4be66981f89265068174b11db 00:19:03 $ docker rm -f 2d06c6d132300a2d34b14bda737ce5d7ccd457e4be66981f89265068174b11db [Pipeline] // withDockerContainer [Pipeline] sh 00:19:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:19:04 Warning: overwriting stash ‘coverage-report’ 00:19:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:19:05 + ls -al . 00:19:05 total 168 00:19:05 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:19 . 00:19:05 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:14 .. 00:19:05 -rw-rw-r-- 1 jenkins jenkins 120 May 12 00:14 .dockerignore 00:19:05 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:14 .git 00:19:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:14 .github 00:19:05 -rw-rw-r-- 1 jenkins jenkins 343 May 12 00:14 .gitignore 00:19:05 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:14 .golangci.yml 00:19:05 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 00:14 Attribution.txt 00:19:05 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 00:14 CHANGELOG.md 00:19:05 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 00:14 Dockerfile 00:19:05 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:14 GOVERNANCE.md 00:19:05 -rw-rw-r-- 1 jenkins jenkins 657 May 12 00:14 Jenkinsfile 00:19:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:14 LICENSE 00:19:05 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 00:14 Makefile 00:19:05 -rw-rw-r-- 1 jenkins jenkins 617 May 12 00:14 OWNERS.md 00:19:05 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 00:14 README.md 00:19:05 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:11 VERSION 00:19:05 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:14 bin 00:19:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:14 cmd 00:19:05 -rw-r--r-- 1 jenkins jenkins 10 May 12 00:17 coverage.out 00:19:05 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 00:14 go.mod 00:19:05 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 00:14 go.sum 00:19:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:14 internal 00:19:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:14 snap 00:19:05 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:14 version.go [Pipeline] isUnix [Pipeline] sh 00:19:05 + 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=35418278ca35beca3dc6c540590ff804e70b28f7 --label arch=arm64 --label version=0.0.0 . 00:19:06 Sending build context to Docker daemon 7.913MB 00:19:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:19:06 Step 2/25 : FROM ${BASE} AS builder 00:19:06 ---> fb50b8e11aea 00:19:06 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:19:06 ---> Running in ffb610cef9f1 00:19:06 Removing intermediate container ffb610cef9f1 00:19:06 ---> 357992a20e69 00:19:06 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:19:06 ---> Running in b6b3b1f22e95 00:19:07 Removing intermediate container b6b3b1f22e95 00:19:07 ---> d35af0791c67 00:19:07 Step 5/25 : WORKDIR /device-gpio 00:19:07 ---> Running in 5aa9e292bf87 00:19:07 Removing intermediate container 5aa9e292bf87 00:19:07 ---> 42e73f62d99b 00:19:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:07 ---> Running in 8e673b062f38 00:19:09 Removing intermediate container 8e673b062f38 00:19:09 ---> 388e6f21695a 00:19:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:09 ---> Running in 4cce98fdabf9 00:19:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:19:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:19:11 OK: 224 MiB in 56 packages 00:19:12 Removing intermediate container 4cce98fdabf9 00:19:12 ---> 939fb7174558 00:19:12 Step 8/25 : COPY go.mod vendor* ./ 00:19:13 ---> 690edd4fd925 00:19:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:13 ---> Running in 2a6648f334af 00:19:15 Removing intermediate container 2a6648f334af 00:19:15 ---> 0723c9aad003 00:19:15 Step 10/25 : COPY . . 00:19:16 ---> 50dff6473dc9 00:19:16 Step 11/25 : RUN ${MAKE} 00:19:16 ---> Running in 7052d20b8a8b 00:19:18 Removing intermediate container 7052d20b8a8b 00:19:18 ---> ef68cffb3d2f 00:19:18 Step 12/25 : FROM alpine:3.15 00:19:18 3.15: Pulling from library/alpine 00:19:18 9981e73032c8: Pulling fs layer 00:19:19 9981e73032c8: Verifying Checksum 00:19:19 9981e73032c8: Download complete 00:19:19 9981e73032c8: Pull complete 00:19:19 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:19:19 Status: Downloaded newer image for alpine:3.15 00:19:19 ---> 3fb3c9af89a9 00:19:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:19:19 ---> Running in 1627e92d6cb1 00:19:20 Removing intermediate container 1627e92d6cb1 00:19:20 ---> 8e5368f7cd25 00:19:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:20 ---> Running in 6baac3099bb8 00:19:22 Removing intermediate container 6baac3099bb8 00:19:22 ---> a1100d2ae8c9 00:19:22 Step 15/25 : RUN apk add --update --no-cache zeromq 00:19:22 ---> Running in fd567933017d 00:19:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:19:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:19:24 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:19:24 (2/5) Installing libsodium (1.0.18-r0) 00:19:24 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:19:24 (4/5) Installing libzmq (4.3.4-r0) 00:19:24 (5/5) Installing zeromq (4.3.4-r0) 00:19:24 Executing busybox-1.34.1-r5.trigger 00:19:24 OK: 8 MiB in 19 packages 00:19:25 Removing intermediate container fd567933017d 00:19:25 ---> b150c47e6628 00:19:25 Step 16/25 : WORKDIR / 00:19:25 ---> Running in 7c6a0c5b3ddd 00:19:26 Removing intermediate container 7c6a0c5b3ddd 00:19:26 ---> 75be0f2f7f84 00:19:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:19:26 ---> 59a4e8f171e1 00:19:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:19:27 ---> b4623bddf8ba 00:19:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:19:27 ---> 5b9b5ffad59d 00:19:27 Step 20/25 : EXPOSE 59910 00:19:27 ---> Running in 6b0a861d100d 00:19:28 Removing intermediate container 6b0a861d100d 00:19:28 ---> cc7bea60e043 00:19:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:19:28 ---> Running in 4fd96ac208df 00:19:28 Removing intermediate container 4fd96ac208df 00:19:28 ---> bc41026cefc1 00:19:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:19:28 ---> Running in 459a3f42b94c 00:19:28 Removing intermediate container 459a3f42b94c 00:19:28 ---> 8118795aabe9 00:19:28 Step 23/25 : LABEL arch=arm64 00:19:28 ---> Running in 89cd265d8e7e 00:19:29 Removing intermediate container 89cd265d8e7e 00:19:29 ---> 92fb3ea949a7 00:19:29 Step 24/25 : LABEL git_sha=35418278ca35beca3dc6c540590ff804e70b28f7 00:19:29 ---> Running in 3de68f53a316 00:19:29 Removing intermediate container 3de68f53a316 00:19:29 ---> 127236924640 00:19:29 Step 25/25 : LABEL version=0.0.0 00:19:29 ---> Running in 93928fa155d4 00:19:29 Removing intermediate container 93928fa155d4 00:19:29 ---> 85bf8ee6fd52 00:19:29 [Warning] One or more build-args [MAKE ARCH] were not consumed 00:19:29 Successfully built 85bf8ee6fd52 00:19:29 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 00:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:30 00:19:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:30 arm64: Pulling from edgex-lftools-log-publisher 00:19:30 8998bd30e6a1: Pulling fs layer 00:19:30 04944245beec: Pulling fs layer 00:19:30 699f458cf7ca: Pulling fs layer 00:19:30 765212b225bb: Pulling fs layer 00:19:30 f23df028b6ca: Pulling fs layer 00:19:30 d65c8cfc05b1: Pulling fs layer 00:19:30 2437ff75d9bd: Pulling fs layer 00:19:30 f23df028b6ca: Waiting 00:19:30 d65c8cfc05b1: Waiting 00:19:30 765212b225bb: Waiting 00:19:30 2437ff75d9bd: Waiting 00:19:30 04944245beec: Verifying Checksum 00:19:30 04944245beec: Download complete 00:19:30 765212b225bb: Download complete 00:19:30 f23df028b6ca: Download complete 00:19:30 d65c8cfc05b1: Verifying Checksum 00:19:30 d65c8cfc05b1: Download complete 00:19:31 699f458cf7ca: Verifying Checksum 00:19:31 699f458cf7ca: Download complete 00:19:31 8998bd30e6a1: Verifying Checksum 00:19:31 8998bd30e6a1: Download complete 00:19:33 2437ff75d9bd: Verifying Checksum 00:19:33 2437ff75d9bd: Download complete 00:19:35 8998bd30e6a1: Pull complete 00:19:35 04944245beec: Pull complete 00:19:37 699f458cf7ca: Pull complete 00:19:37 765212b225bb: Pull complete 00:19:38 f23df028b6ca: Pull complete 00:19:38 d65c8cfc05b1: Pull complete 00:19:53 2437ff75d9bd: Pull complete 00:19:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:19:53 prd-ubuntu20.04-docker-arm64-4c-16g-63316 does not seem to be running inside a container 00:19:53 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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:arm64 cat 00:19:56 $ docker top 682d6005e239fc96140cd101b82125ff6b6b8b347f2768675b30bf616ae903f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:57 ---> job-cost.sh 00:19:57 lf-activate-venv: SKIPPING 00:19:57 INFO: No Stack... 00:19:57 INFO: Retrieving Pricing Info for: v3-standard-4 00:19:58 INFO: Archiving Costs [Pipeline] sh 00:19:58 + cat /w/workspace/device-gpio/2/archives/cost.csv 00:19:58 + cut -d, -f6 [Pipeline] lock 00:19:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] 00:19:59 Resource [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] did not exist. Created. 00:19:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:59 /w/workspace/device-gpio/2@tmp/durable-d3347bfe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:20:00 + echo total: 0.10999999940395355 [Pipeline] stash 00:20:00 Warning: overwriting stash ‘stack-cost’ 00:20:00 Stashed 1 file(s) [Pipeline] } 00:20:00 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:20:00 $ docker stop --time=1 682d6005e239fc96140cd101b82125ff6b6b8b347f2768675b30bf616ae903f8 00:20:02 $ docker rm -f 682d6005e239fc96140cd101b82125ff6b6b8b347f2768675b30bf616ae903f8 [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 00:20:02 provisioning config files... 00:20:02 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config5026814835806063055tmp [Pipeline] { [Pipeline] sh 00:20:02 + set +x 00:20:02 + curl -s https://codecov.io/bash 00:20:02 + bash -s -- 00:20:02 00:20:02 _____ _ 00:20:02 / ____| | | 00:20:02 | | ___ __| | ___ ___ _____ __ 00:20:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:20:02 | |___| (_) | (_| | __/ (_| (_) \ V / 00:20:02 \_____\___/ \__,_|\___|\___\___/ \_/ 00:20:02 Bash-1.0.6 00:20:02 00:20:02 00:20:02 ==> git version 2.25.1 found 00:20:02 ==> 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 00:20:02 Release-Date: 2020-01-08 00:20:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:20:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:20:02 ==> Jenkins CI detected. 00:20:02 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-32 00:20:02 project root: . 00:20:02 --> token set from env 00:20:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:20:02 ==> Running gcov in . (disable via -X gcov) 00:20:02 ==> Python coveragepy not found 00:20:02 ==> Searching for coverage reports in: 00:20:02 + . 00:20:02 -> Found 1 reports 00:20:02 ==> Detecting git/mercurial file structure 00:20:02 ==> Reading reports 00:20:02 + ./coverage.out bytes=10 00:20:02 ==> Appending adjustments 00:20:02 https://docs.codecov.io/docs/fixing-reports 00:20:03 + Found adjustments 00:20:03 ==> Gzipping contents 00:20:03 4.0K /tmp/codecov.e9zY6k.gz 00:20:03 ==> Uploading reports 00:20:03 url: https://codecov.io 00:20:03 query: branch=PR-32&commit=c5d49988d1698b1d0b28f510cd98fc196992d765&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-32%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=32&job=&cmd_args= 00:20:03 -> Pinging Codecov 00:20:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-32&commit=c5d49988d1698b1d0b28f510cd98fc196992d765&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-32%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=32&job=&cmd_args= 00:20:03 -> Uploading to 00:20:03 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/c5d49988d1698b1d0b28f510cd98fc196992d765/e8330276-4f45-4d2f-9774-7229a60ceb88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T002003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57fa328af90ef25524c40a4d2a083dd106230546e31e0a89a3012e933788732a 00:20:03 % Total % Received % Xferd Average Speed Time Time Time Current 00:20:03 Dload Upload Total Spent Left Speed 00:20:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3047 --:--:-- --:--:-- --:--:-- 3058 00:20:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/c5d49988d1698b1d0b28f510cd98fc196992d765 [Pipeline] } 00:20:03 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 00:20:04 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-32/archives ] 00:20:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives 00:20:04 total 16 00:20:04 drwxr-xr-x 3 root root 4096 May 12 00:12 . 00:20:04 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:12 .. 00:20:04 drwxr-xr-x 2 root root 4096 May 12 00:12 cost 00:20:04 -rw-r--r-- 1 root root 81 May 12 00:12 cost.csv 00:20:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-32/archives 00:20:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives 00:20:04 total 16 00:20:04 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:12 . 00:20:04 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:12 .. 00:20:04 drwxr-xr-x 2 jenkins jenkins 4096 May 12 00:12 cost 00:20:04 -rw-r--r-- 1 jenkins jenkins 81 May 12 00:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:20:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:20:05 ---> package-listing.sh 00:20:05 ++ facter osfamily 00:20:05 ++ tr '[:upper:]' '[:lower:]' 00:20:05 + OS_FAMILY=debian 00:20:05 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-32 00:20:05 + START_PACKAGES=/tmp/packages_start.txt 00:20:05 + END_PACKAGES=/tmp/packages_end.txt 00:20:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:20:05 + PACKAGES=/tmp/packages_start.txt 00:20:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' 00:20:05 + PACKAGES=/tmp/packages_end.txt 00:20:05 + case "${OS_FAMILY}" in 00:20:05 + dpkg -l 00:20:05 + grep '^ii' 00:20:05 + '[' -f /tmp/packages_start.txt ']' 00:20:05 + '[' -f /tmp/packages_end.txt ']' 00:20:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' 00:20:05 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ 00:20:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ [Pipeline] echo 00:20:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:20:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:06 . [Pipeline] withDockerContainer 00:20:06 prd-ubuntu20.04-docker-8c-8g-63314 does not seem to be running inside a container 00:20:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:20:07 $ docker top 5b6282debdd3396f1511335c869f071c6ed4d9732b84a893404d1e3785e8982d -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:07 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:07 + mkdir -p /var/log/sysstat [Pipeline] sh 00:20:07 + ls /var/log/sa-host 00:20:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:08 provisioning config files... 00:20:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config1109982298983363945tmp [Pipeline] { [Pipeline] echo 00:20:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:08 ---> create-netrc.sh [Pipeline] } 00:20:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:20:08 ---> python-tools-install.sh [Pipeline] echo 00:20:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:09 ---> sudo-logs.sh 00:20:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:20:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:09 ---> job-cost.sh 00:20:09 lf-activate-venv: SKIPPING 00:20:09 DEBUG: total: 0.2199999988079071 00:20:09 INFO: Retrieving Stack Cost... 00:20:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:20:10 INFO: Archiving Costs [Pipeline] echo 00:20:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:10 ---> logs-deploy.sh 00:20:10 lf-activate-venv: SKIPPING 00:20:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-32/2 00:20:10 INFO: archiving workspace using pattern(s): 00:20:11 Archives upload complete. 00:20:11 INFO: archiving logs to Nexus