Pull request #35 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1e45647831632f392309fec7e951ddbd326ffce+5481a4acbe2c9cded44f119138c580c35965cafd (2521ba31399bd913bc29ff78437c60f53985c690) 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-ssh15541738696042541996.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-ssh7959343444558072592.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-35/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-35/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13304631678298670384.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-ssh14365651302673800769.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-35/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-35/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1399729547106279813.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-63319 in /w/workspace/edgexfoundry_device-gpio_PR-35 [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-35 # 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 d1e45647831632f392309fec7e951ddbd326ffce Merge succeeded, producing d1e45647831632f392309fec7e951ddbd326ffce Checking out Revision d1e45647831632f392309fec7e951ddbd326ffce (PR-35) > 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/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1e45647831632f392309fec7e951ddbd326ffce # 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 d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.6.0 to 0.8.0" First time build. Skipping changelog. > git rev-list --no-walk b26257b4258eaded14a1bc98ecf9e7c0fae3d345 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:21:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:21:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:21:00 ========================================================= 00:21:00 EdgeX Global Pipelines Version Info 00:21:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:21:01 ------------------- 00:21:01 stable info: 00:21:01 ------------------- 00:21:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:21:01 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:21:01 Message: update stable to v1.0.230 00:21:02 ------------------- 00:21:02 experimental info: 00:21:02 ------------------- 00:21:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:21:02 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:21:02 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo 00:21:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo 00:21:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo 00:21:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1e45647831632f392309fec7e951ddbd326ffce [Pipeline] echo 00:21:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1e4564 [Pipeline] echo 00:21:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:03 provisioning config files... 00:21:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config9127674604564010270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:03 ---> docker-login.sh 00:21:03 nexus3.edgexfoundry.org:10001 00:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:03 Configure a credential helper to remove this warning. See 00:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:03 00:21:03 Login Succeeded 00:21:03 nexus3.edgexfoundry.org:10002 00:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:03 Configure a credential helper to remove this warning. See 00:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:03 00:21:03 Login Succeeded 00:21:03 nexus3.edgexfoundry.org:10003 00:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:03 Configure a credential helper to remove this warning. See 00:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:03 00:21:03 Login Succeeded 00:21:03 nexus3.edgexfoundry.org:10004 00:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:04 Configure a credential helper to remove this warning. See 00:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:04 00:21:04 Login Succeeded 00:21:04 docker.io 00:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:04 Configure a credential helper to remove this warning. See 00:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:04 00:21:04 Login Succeeded 00:21:04 ---> docker-login.sh ends [Pipeline] } 00:21:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:21:05 + git rev-list -1 --merges d1e45647831632f392309fec7e951ddbd326ffce~1..d1e45647831632f392309fec7e951ddbd326ffce [Pipeline] echo 00:21:05 -----------> git rev-list -1 --merges d1e45647831632f392309fec7e951ddbd326ffce~1..d1e45647831632f392309fec7e951ddbd326ffce d1e45647831632f392309fec7e951ddbd326ffce [false] [Pipeline] sh 00:21:05 + git log --format=format:%s -1 d1e45647831632f392309fec7e951ddbd326ffce [Pipeline] echo 00:21:05 ========================================================= 00:21:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:21:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:05 + git log --format=format:%s -1 d1e45647831632f392309fec7e951ddbd326ffce [Pipeline] echo 00:21:05 [semverPrep] GIT_COMMIT: d1e45647831632f392309fec7e951ddbd326ffce, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.6.0 to 0.8.0 [Pipeline] echo 00:21:06 [semverPrep] This is not a build commit. [Pipeline] sh 00:21:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:06 + grep -v github /etc/ssh/ssh_known_hosts 00:21:06 + [ -e /tmp/ssh_known_hosts ] 00:21:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:21:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:21:06 + sudo tee -a /etc/ssh/ssh_known_hosts 00:21:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:21:06 00:21:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:21:07 latest: Pulling from edgex-devops/py-git-semver 00:21:07 1fe172e4850f: Pulling fs layer 00:21:07 caf521ccaac6: Pulling fs layer 00:21:07 3ead6fa29328: Pulling fs layer 00:21:07 5c2a1cbceb83: Pulling fs layer 00:21:07 a8d5f1318db7: Pulling fs layer 00:21:07 c427282e49a2: Pulling fs layer 00:21:07 1827001aaf11: Pulling fs layer 00:21:07 0714d37db230: Pulling fs layer 00:21:07 ac28cf19c067: Pulling fs layer 00:21:07 ca983d60f3e2: Pulling fs layer 00:21:07 9f894cec8388: Pulling fs layer 00:21:07 1827001aaf11: Waiting 00:21:07 0714d37db230: Waiting 00:21:07 ac28cf19c067: Waiting 00:21:07 ca983d60f3e2: Waiting 00:21:07 a8d5f1318db7: Waiting 00:21:07 9f894cec8388: Waiting 00:21:07 c427282e49a2: Waiting 00:21:07 5c2a1cbceb83: Waiting 00:21:07 caf521ccaac6: Verifying Checksum 00:21:07 caf521ccaac6: Download complete 00:21:07 5c2a1cbceb83: Verifying Checksum 00:21:07 5c2a1cbceb83: Download complete 00:21:07 a8d5f1318db7: Verifying Checksum 00:21:07 a8d5f1318db7: Download complete 00:21:07 c427282e49a2: Download complete 00:21:07 3ead6fa29328: Verifying Checksum 00:21:07 3ead6fa29328: Download complete 00:21:07 0714d37db230: Download complete 00:21:07 ac28cf19c067: Verifying Checksum 00:21:07 ca983d60f3e2: Verifying Checksum 00:21:07 ca983d60f3e2: Download complete 00:21:07 9f894cec8388: Verifying Checksum 00:21:07 9f894cec8388: Download complete 00:21:07 1fe172e4850f: Download complete 00:21:07 1827001aaf11: Verifying Checksum 00:21:07 1827001aaf11: Download complete 00:21:08 1fe172e4850f: Pull complete 00:21:08 caf521ccaac6: Pull complete 00:21:09 3ead6fa29328: Pull complete 00:21:09 5c2a1cbceb83: Pull complete 00:21:09 a8d5f1318db7: Pull complete 00:21:10 c427282e49a2: Pull complete 00:21:12 1827001aaf11: Pull complete 00:21:12 0714d37db230: Pull complete 00:21:12 ac28cf19c067: Pull complete 00:21:12 ca983d60f3e2: Pull complete 00:21:12 9f894cec8388: Pull complete 00:21:12 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:21:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:21:12 prd-ubuntu20.04-docker-8c-8g-63319 does not seem to be running inside a container 00:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:21:13 $ docker top adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 -eo pid,comm 00:21:14 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:21:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:14 [ssh-agent] Looking for ssh-agent implementation... 00:21:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:14 $ docker exec adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 ssh-agent 00:21:14 SSH_AUTH_SOCK=/tmp/ssh-s9TOagNwjRTl/agent.32 00:21:14 SSH_AGENT_PID=39 00:21:14 Running ssh-add (command line suppressed) 00:21:14 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_6809190632316509072.key (/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_6809190632316509072.key) 00:21:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:14 + git tag --points-at HEAD [Pipeline] } 00:21:14 $ docker exec --env ******** --env ******** adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 ssh-agent -k 00:21:14 unset SSH_AUTH_SOCK; 00:21:14 unset SSH_AGENT_PID; 00:21:14 echo Agent pid 39 killed; 00:21:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:21:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:15 [ssh-agent] Looking for ssh-agent implementation... 00:21:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:15 $ docker exec adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 ssh-agent 00:21:15 SSH_AUTH_SOCK=/tmp/ssh-hx0aGmzKnMR0/agent.73 00:21:15 SSH_AGENT_PID=79 00:21:15 Running ssh-add (command line suppressed) 00:21:15 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_7183780216733724496.key (/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_7183780216733724496.key) 00:21:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:15 + git semver init 00:21:16 2022-05-12 00:21:15,973 [run_init] DEBUG init version:0.0.0 force:False 00:21:16 2022-05-12 00:21:15,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver 00:21:16 2022-05-12 00:21:15,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-35/.semver 00:21:16 2022-05-12 00:21:15,974 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-35/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35, universal_newlines=False, shell=None, istream=None) 00:21:16 2022-05-12 00:21:16,885 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-35/.git/info/exclude 00:21:16 2022-05-12 00:21:16,886 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 with force:False 00:21:16 2022-05-12 00:21:16,886 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 00:21:16 2022-05-12 00:21:16,890 [execute] INFO git cat-file --batch-check 00:21:16 2022-05-12 00:21:16,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35/.semver, universal_newlines=False, shell=None, istream=) 00:21:16 2022-05-12 00:21:16,897 [execute] INFO git cat-file --batch 00:21:16 2022-05-12 00:21:16,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35/.semver, universal_newlines=False, shell=None, istream=) 00:21:16 2022-05-12 00:21:16,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 00:21:16 0.0.0 [Pipeline] } 00:21:16 $ docker exec --env ******** --env ******** adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 ssh-agent -k 00:21:17 unset SSH_AUTH_SOCK; 00:21:17 unset SSH_AGENT_PID; 00:21:17 echo Agent pid 79 killed; 00:21:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:17 + git semver [Pipeline] } 00:21:17 $ docker stop --time=1 adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 00:21:19 $ docker rm -f adb2bcaead8f81d810b77c96031170112368f3f0d8daf877c8cacc614734e043 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:21:19 Stashed 1 file(s) [Pipeline] echo 00:21:19 [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:21:19 provisioning config files... 00:21:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config967507435296645169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:20 ---> docker-login.sh 00:21:20 nexus3.edgexfoundry.org:10001 00:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:20 Configure a credential helper to remove this warning. See 00:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:20 00:21:20 Login Succeeded 00:21:20 nexus3.edgexfoundry.org:10002 00:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:20 Configure a credential helper to remove this warning. See 00:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:20 00:21:20 Login Succeeded 00:21:20 nexus3.edgexfoundry.org:10003 00:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:20 Configure a credential helper to remove this warning. See 00:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:20 00:21:20 Login Succeeded 00:21:20 nexus3.edgexfoundry.org:10004 00:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:20 Configure a credential helper to remove this warning. See 00:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:20 00:21:20 Login Succeeded 00:21:20 docker.io 00:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:20 Configure a credential helper to remove this warning. See 00:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:20 00:21:20 Login Succeeded 00:21:21 ---> docker-login.sh ends [Pipeline] } 00:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:21:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:21:21 ========================================================= 00:21:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:21:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:21:21 + 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:21:21 Sending build context to Docker daemon 15.65MB 00:21:21 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:21:21 Step 2/11 : FROM ${BASE} AS builder 00:21:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:21:21 59bf1c3509f3: Pulling fs layer 00:21:21 666ba61612fd: Pulling fs layer 00:21:21 8ed8ca486205: Pulling fs layer 00:21:21 4fe6c5a15a65: Pulling fs layer 00:21:21 22a0e8bec74d: Pulling fs layer 00:21:21 ca2b28591e48: Pulling fs layer 00:21:21 a51346096db8: Pulling fs layer 00:21:21 daebc70d1ce1: Pulling fs layer 00:21:21 0e18a0eac166: Pulling fs layer 00:21:21 ca2b28591e48: Waiting 00:21:21 a51346096db8: Waiting 00:21:21 daebc70d1ce1: Waiting 00:21:21 0e18a0eac166: Waiting 00:21:21 4fe6c5a15a65: Waiting 00:21:21 22a0e8bec74d: Waiting 00:21:21 8ed8ca486205: Verifying Checksum 00:21:21 8ed8ca486205: Download complete 00:21:21 666ba61612fd: Download complete 00:21:21 22a0e8bec74d: Verifying Checksum 00:21:21 22a0e8bec74d: Download complete 00:21:21 ca2b28591e48: Verifying Checksum 00:21:21 59bf1c3509f3: Verifying Checksum 00:21:21 59bf1c3509f3: Download complete 00:21:21 ca2b28591e48: Download complete 00:21:21 a51346096db8: Verifying Checksum 00:21:21 a51346096db8: Download complete 00:21:21 daebc70d1ce1: Verifying Checksum 00:21:21 daebc70d1ce1: Download complete 00:21:22 59bf1c3509f3: Pull complete 00:21:22 666ba61612fd: Pull complete 00:21:22 8ed8ca486205: Pull complete 00:21:22 0e18a0eac166: Verifying Checksum 00:21:22 0e18a0eac166: Download complete 00:21:22 4fe6c5a15a65: Verifying Checksum 00:21:22 4fe6c5a15a65: Download complete 00:21:26 4fe6c5a15a65: Pull complete 00:21:26 22a0e8bec74d: Pull complete 00:21:26 ca2b28591e48: Pull complete 00:21:26 a51346096db8: Pull complete 00:21:27 daebc70d1ce1: Pull complete 00:21:29 0e18a0eac166: Pull complete 00:21:29 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:21:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:21:29 ---> f018257e8ee9 00:21:29 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:21:31 ---> Running in 14d907a3e2ec 00:21:31 Removing intermediate container 14d907a3e2ec 00:21:31 ---> 8a8c42e53122 00:21:31 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:21:31 ---> Running in b9518304915f 00:21:31 Removing intermediate container b9518304915f 00:21:31 ---> 0a314073535f 00:21:31 Step 5/11 : WORKDIR /device-gpio 00:21:31 ---> Running in 83d3527bc3a7 00:21:31 Removing intermediate container 83d3527bc3a7 00:21:31 ---> 22dbc7484ace 00:21:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:31 ---> Running in e02b34d17d2e 00:21:31 Removing intermediate container e02b34d17d2e 00:21:31 ---> fb471336f46b 00:21:31 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:31 ---> Running in 031a11449f94 00:21:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:21:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:21:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:21:33 (2/4) Installing libedit (20210910.3.1-r0) 00:21:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:21:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:21:33 Executing busybox-1.34.1-r3.trigger 00:21:33 OK: 224 MiB in 56 packages 00:21:34 Removing intermediate container 031a11449f94 00:21:34 ---> 94abd6bc4212 00:21:34 Step 8/11 : COPY go.mod vendor* ./ 00:21:34 ---> 915eca04e4f7 00:21:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:34 ---> Running in c40efb0ee50c 00:21:34 Still waiting to schedule task 00:21:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:21:49 Removing intermediate container c40efb0ee50c 00:21:49 ---> f2e9476241d9 00:21:49 Step 10/11 : COPY . . 00:21:49 ---> 88a4301ae8b8 00:21:49 Step 11/11 : RUN ${MAKE} 00:21:49 ---> Running in b53434b8e368 00:21:49 Removing intermediate container b53434b8e368 00:21:49 ---> e85c9e8b286e 00:21:49 [Warning] One or more build-args [MAKE] were not consumed 00:21:49 Successfully built e85c9e8b286e 00:21:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:21:49 + docker inspect -f . ci-base-image-x86_64 00:21:49 . [Pipeline] withDockerContainer 00:21:49 prd-ubuntu20.04-docker-8c-8g-63319 does not seem to be running inside a container 00:21:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:21:50 $ docker top 98f1d978933208fc63406bf9dcfe51d1740552718038755c34e3ded1c314b4a2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:50 + go version 00:21:50 go version go1.17.6 linux/amd64 [Pipeline] } 00:21:50 $ docker stop --time=1 98f1d978933208fc63406bf9dcfe51d1740552718038755c34e3ded1c314b4a2 00:21:51 $ docker rm -f 98f1d978933208fc63406bf9dcfe51d1740552718038755c34e3ded1c314b4a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:21:52 + docker inspect -f . ci-base-image-x86_64 00:21:52 . [Pipeline] withDockerContainer 00:21:52 prd-ubuntu20.04-docker-8c-8g-63319 does not seem to be running inside a container 00:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:21:52 $ docker top 2a72acaf094838e6fb620d504a5f009212f79fb0251459fd5d3b4b9c5d6af947 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:21:53 + make test 00:21:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:21:53 ? github.com/edgexfoundry/device-gpio [no test files] 00:22:03 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:22:03 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:22:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:22:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:22:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:22:12 ./bin/test-attribution-txt.sh [Pipeline] echo 00:22:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:22:12 $ docker stop --time=1 2a72acaf094838e6fb620d504a5f009212f79fb0251459fd5d3b4b9c5d6af947 00:22:14 $ docker rm -f 2a72acaf094838e6fb620d504a5f009212f79fb0251459fd5d3b4b9c5d6af947 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:22:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:22:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:22:15 + ls -al . 00:22:15 total 172 00:22:15 drwxrwxr-x 9 jenkins jenkins 4096 May 12 00:22 . 00:22:15 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:20 .. 00:22:15 -rw-rw-r-- 1 jenkins jenkins 120 May 12 00:20 .dockerignore 00:22:15 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:21 .git 00:22:15 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:20 .github 00:22:15 -rw-rw-r-- 1 jenkins jenkins 343 May 12 00:20 .gitignore 00:22:15 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:20 .golangci.yml 00:22:15 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:21 .semver 00:22:15 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 00:20 Attribution.txt 00:22:15 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 00:20 CHANGELOG.md 00:22:15 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 00:20 Dockerfile 00:22:15 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:20 GOVERNANCE.md 00:22:15 -rw-rw-r-- 1 jenkins jenkins 657 May 12 00:20 Jenkinsfile 00:22:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:20 LICENSE 00:22:15 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 00:20 Makefile 00:22:15 -rw-rw-r-- 1 jenkins jenkins 617 May 12 00:20 OWNERS.md 00:22:15 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 00:20 README.md 00:22:15 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:21 VERSION 00:22:15 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:20 bin 00:22:15 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:20 cmd 00:22:15 -rw-r--r-- 1 jenkins jenkins 10 May 12 00:21 coverage.out 00:22:15 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 00:20 go.mod 00:22:15 -rw-rw-r-- 1 jenkins jenkins 47069 May 12 00:20 go.sum 00:22:15 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:20 internal 00:22:15 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:20 snap 00:22:15 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:20 version.go [Pipeline] isUnix [Pipeline] sh 00:22:16 + 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=d1e45647831632f392309fec7e951ddbd326ffce --label arch=amd64 --label version=0.0.0 . 00:22:16 Sending build context to Docker daemon 15.65MB 00:22:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:22:16 Step 2/25 : FROM ${BASE} AS builder 00:22:16 ---> e85c9e8b286e 00:22:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:22:16 ---> Running in 276731bdbe58 00:22:16 Removing intermediate container 276731bdbe58 00:22:16 ---> 54a88a6a45ed 00:22:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:22:16 ---> Running in e737efc5b965 00:22:16 Removing intermediate container e737efc5b965 00:22:16 ---> 682c508a0372 00:22:16 Step 5/25 : WORKDIR /device-gpio 00:22:16 ---> Running in 4eeef58ccef2 00:22:16 Removing intermediate container 4eeef58ccef2 00:22:16 ---> b3b621f0b694 00:22:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:22:16 ---> Running in 3316ff116bfd 00:22:17 Removing intermediate container 3316ff116bfd 00:22:17 ---> 6080647b9aeb 00:22:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:22:17 ---> Running in c56f94ce9cc2 00:22:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:22:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:22:18 OK: 224 MiB in 56 packages 00:22:18 Removing intermediate container c56f94ce9cc2 00:22:18 ---> a030ba13498d 00:22:18 Step 8/25 : COPY go.mod vendor* ./ 00:22:19 ---> 53c05cc40796 00:22:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:19 ---> Running in a7ef282654d5 00:22:19 Removing intermediate container a7ef282654d5 00:22:19 ---> 426d737c4024 00:22:19 Step 10/25 : COPY . . 00:22:20 ---> 49317af07a27 00:22:20 Step 11/25 : RUN ${MAKE} 00:22:20 ---> Running in 2a73eff7eda0 00:22:20 Removing intermediate container 2a73eff7eda0 00:22:20 ---> 33646fb2359f 00:22:20 Step 12/25 : FROM alpine:3.15 00:22:21 3.15: Pulling from library/alpine 00:22:21 df9b9388f04a: Pulling fs layer 00:22:21 df9b9388f04a: Download complete 00:22:21 df9b9388f04a: Pull complete 00:22:21 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:22:21 Status: Downloaded newer image for alpine:3.15 00:22:21 ---> 0ac33e5f5afa 00:22:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:22:21 ---> Running in dd58ceea50f8 00:22:21 Removing intermediate container dd58ceea50f8 00:22:21 ---> c66880a45917 00:22:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:22:21 ---> Running in ffee6b04e1a5 00:22:22 Removing intermediate container ffee6b04e1a5 00:22:22 ---> b7689c70bd9b 00:22:22 Step 15/25 : RUN apk add --update --no-cache zeromq 00:22:22 ---> Running in 933d9939b0c1 00:22:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:22:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:22:24 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:22:24 (2/5) Installing libsodium (1.0.18-r0) 00:22:24 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:22:24 (4/5) Installing libzmq (4.3.4-r0) 00:22:24 (5/5) Installing zeromq (4.3.4-r0) 00:22:24 Executing busybox-1.34.1-r5.trigger 00:22:24 OK: 8 MiB in 19 packages 00:22:25 Removing intermediate container 933d9939b0c1 00:22:25 ---> 487ccea50d07 00:22:25 Step 16/25 : WORKDIR / 00:22:25 ---> Running in 4094b4052b69 00:22:25 Removing intermediate container 4094b4052b69 00:22:25 ---> e986d7234046 00:22:25 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:22:25 ---> b5091ea40ab0 00:22:25 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:22:25 ---> 84951e1f8154 00:22:25 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:22:25 ---> 9fc59218540b 00:22:25 Step 20/25 : EXPOSE 59910 00:22:25 ---> Running in a165b46a284e 00:22:25 Removing intermediate container a165b46a284e 00:22:25 ---> a5a7530ed6f6 00:22:25 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:22:25 ---> Running in 3a6b339e9cd8 00:22:25 Removing intermediate container 3a6b339e9cd8 00:22:25 ---> 74c4b74c0b4f 00:22:25 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:22:25 ---> Running in 9f85b6519c2c 00:22:25 Removing intermediate container 9f85b6519c2c 00:22:25 ---> e3d964eae0e7 00:22:25 Step 23/25 : LABEL arch=amd64 00:22:26 ---> Running in 759e05102ba9 00:22:26 Removing intermediate container 759e05102ba9 00:22:26 ---> 59828f110fc1 00:22:26 Step 24/25 : LABEL git_sha=d1e45647831632f392309fec7e951ddbd326ffce 00:22:26 ---> Running in 067ea157ed4d 00:22:26 Removing intermediate container 067ea157ed4d 00:22:26 ---> da9ef55950a5 00:22:26 Step 25/25 : LABEL version=0.0.0 00:22:26 ---> Running in 6a0d4ad7b7be 00:22:26 Removing intermediate container 6a0d4ad7b7be 00:22:26 ---> d1399027bb70 00:22:26 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:22:26 Successfully built d1399027bb70 00:22:26 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:22:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:26 00:22:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:27 latest: Pulling from edgex-lftools-log-publisher 00:22:27 5eb5b503b376: Pulling fs layer 00:22:27 5c69ac0246d0: Pulling fs layer 00:22:27 ec43610c2a17: Pulling fs layer 00:22:27 3a2ae6a8a46f: Pulling fs layer 00:22:27 33b1e0a273af: Pulling fs layer 00:22:27 5d3b04190fa2: Pulling fs layer 00:22:27 3a2ae6a8a46f: Waiting 00:22:27 2f39f015ded8: Pulling fs layer 00:22:27 5d3b04190fa2: Waiting 00:22:27 2f39f015ded8: Waiting 00:22:27 5c69ac0246d0: Download complete 00:22:27 3a2ae6a8a46f: Verifying Checksum 00:22:27 3a2ae6a8a46f: Download complete 00:22:27 33b1e0a273af: Verifying Checksum 00:22:27 33b1e0a273af: Download complete 00:22:27 5d3b04190fa2: Verifying Checksum 00:22:27 5d3b04190fa2: Download complete 00:22:27 ec43610c2a17: Verifying Checksum 00:22:27 ec43610c2a17: Download complete 00:22:27 5eb5b503b376: Verifying Checksum 00:22:27 5eb5b503b376: Download complete 00:22:27 2f39f015ded8: Download complete 00:22:28 5eb5b503b376: Pull complete 00:22:28 5c69ac0246d0: Pull complete 00:22:29 ec43610c2a17: Pull complete 00:22:29 3a2ae6a8a46f: Pull complete 00:22:29 33b1e0a273af: Pull complete 00:22:29 5d3b04190fa2: Pull complete 00:22:33 2f39f015ded8: Pull complete 00:22:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:22:33 prd-ubuntu20.04-docker-8c-8g-63319 does not seem to be running inside a container 00:22:33 $ 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-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:22:35 $ docker top 7c399384000431df4cc90cc9a428997742ff00e1e452a763f02bdb86a9186282 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:35 ---> job-cost.sh 00:22:35 lf-activate-venv: SKIPPING 00:22:35 INFO: No Stack... 00:22:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:22:36 INFO: Archiving Costs [Pipeline] sh 00:22:37 + cat /w/workspace/edgexfoundry_device-gpio_PR-35/archives/cost.csv 00:22:37 + cut -d, -f6 [Pipeline] lock 00:22:37 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] 00:22:37 Resource [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] did not exist. Created. 00:22:37 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:22:37 + echo total: 0.2199999988079071 [Pipeline] stash 00:22:37 Stashed 1 file(s) [Pipeline] } 00:22:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:22:37 $ docker stop --time=1 7c399384000431df4cc90cc9a428997742ff00e1e452a763f02bdb86a9186282 00:22:38 $ docker rm -f 7c399384000431df4cc90cc9a428997742ff00e1e452a763f02bdb86a9186282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63337 in /w/workspace/edgexfoundry_device-gpio_PR-35 [Pipeline] { [Pipeline] ws 00:25:05 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 00:25:06 The recommended git tool is: git 00:25:12 using credential edgex-jenkins-ssh 00:25:12 Cloning the remote Git repository 00:25:12 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:25:12 > git init /w/workspace/device-gpio/2 # timeout=10 00:25:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:25:12 > git --version # timeout=10 00:25:12 > git --version # 'git version 2.25.1' 00:25:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:25:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:25:14 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:25:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:25:14 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit d1e45647831632f392309fec7e951ddbd326ffce 00:25:15 Merge succeeded, producing d1e45647831632f392309fec7e951ddbd326ffce 00:25:15 Checking out Revision d1e45647831632f392309fec7e951ddbd326ffce (PR-35) 00:25:15 > git config core.sparsecheckout # timeout=10 00:25:15 > git checkout -f d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 00:25:15 > git remote # timeout=10 00:25:15 > git config --get remote.origin.url # timeout=10 00:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:15 > git merge 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 00:25:15 > git rev-parse HEAD^{commit} # timeout=10 00:25:15 > git config core.sparsecheckout # timeout=10 00:25:15 > git checkout -f d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 00:25:19 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.6.0 to 0.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:25:20 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:20 Dload Upload Total Spent Left Speed 00:25:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 00:25:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:25:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:25:21 + sudo tee /etc/docker/daemon.new 00:25:21 { 00:25:21 "registry-mirrors": [ 00:25:21 "https://nexus3.edgexfoundry.org:10001" 00:25:21 ], 00:25:21 "bip": "10.250.0.254/24", 00:25:21 "hosts": [ 00:25:21 "tcp://0.0.0.0:5555", 00:25:21 "unix:///var/run/docker.sock" 00:25:21 ], 00:25:21 "mtu": 1458, 00:25:21 "selinux-enabled": true, 00:25:21 "seccomp-profile": "/etc/docker/seccomp.json" 00:25:21 } [Pipeline] sh 00:25:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:25:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:40 provisioning config files... 00:25:40 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config784302628720495898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:40 ---> docker-login.sh 00:25:40 nexus3.edgexfoundry.org:10001 00:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:41 Configure a credential helper to remove this warning. See 00:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:41 00:25:41 Login Succeeded 00:25:41 nexus3.edgexfoundry.org:10002 00:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:42 Configure a credential helper to remove this warning. See 00:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:42 00:25:42 Login Succeeded 00:25:42 nexus3.edgexfoundry.org:10003 00:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:42 Configure a credential helper to remove this warning. See 00:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:42 00:25:42 Login Succeeded 00:25:42 nexus3.edgexfoundry.org:10004 00:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:43 Configure a credential helper to remove this warning. See 00:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:43 00:25:43 Login Succeeded 00:25:43 docker.io 00:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:43 Configure a credential helper to remove this warning. See 00:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:43 00:25:43 Login Succeeded 00:25:43 ---> docker-login.sh ends [Pipeline] } 00:25:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:44 ========================================================= 00:25:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:25:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:25:44 + 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:25:45 Sending build context to Docker daemon 7.897MB 00:25:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:25:45 Step 2/11 : FROM ${BASE} AS builder 00:25:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:25:45 9b3977197b4f: Pulling fs layer 00:25:45 1a89e8eeedd5: Pulling fs layer 00:25:45 94645a83ff95: Pulling fs layer 00:25:45 3f3a8bcf1eab: Pulling fs layer 00:25:45 0c92f367c5e7: Pulling fs layer 00:25:45 3096ccb668a1: Pulling fs layer 00:25:45 e8cf19c19ddd: Pulling fs layer 00:25:45 a4caa8a26152: Pulling fs layer 00:25:45 3096ccb668a1: Waiting 00:25:45 e8cf19c19ddd: Waiting 00:25:45 a4caa8a26152: Waiting 00:25:45 3f3a8bcf1eab: Waiting 00:25:45 0c92f367c5e7: Waiting 00:25:45 94645a83ff95: Verifying Checksum 00:25:45 94645a83ff95: Download complete 00:25:45 1a89e8eeedd5: Download complete 00:25:45 0c92f367c5e7: Download complete 00:25:45 9b3977197b4f: Verifying Checksum 00:25:45 9b3977197b4f: Download complete 00:25:45 3096ccb668a1: Verifying Checksum 00:25:45 3096ccb668a1: Download complete 00:25:45 e8cf19c19ddd: Verifying Checksum 00:25:45 e8cf19c19ddd: Download complete 00:25:46 9b3977197b4f: Pull complete 00:25:46 1a89e8eeedd5: Pull complete 00:25:47 94645a83ff95: Pull complete 00:25:47 a4caa8a26152: Verifying Checksum 00:25:47 a4caa8a26152: Download complete 00:25:48 3f3a8bcf1eab: Verifying Checksum 00:25:48 3f3a8bcf1eab: Download complete 00:26:00 3f3a8bcf1eab: Pull complete 00:26:00 0c92f367c5e7: Pull complete 00:26:00 3096ccb668a1: Pull complete 00:26:00 e8cf19c19ddd: Pull complete 00:26:05 a4caa8a26152: Pull complete 00:26:05 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:26:05 ---> 725f1c02e7f9 00:26:05 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:26:06 ---> Running in aecf94e47ea4 00:26:06 Removing intermediate container aecf94e47ea4 00:26:06 ---> 9b8e32723090 00:26:06 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:26:06 ---> Running in 3fb5952261c8 00:26:07 Removing intermediate container 3fb5952261c8 00:26:07 ---> daeba14ed8ab 00:26:07 Step 5/11 : WORKDIR /device-gpio 00:26:07 ---> Running in 3847f9256a3b 00:26:07 Removing intermediate container 3847f9256a3b 00:26:07 ---> 7b45bb4df458 00:26:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:26:07 ---> Running in 0dc594675c60 00:26:09 Removing intermediate container 0dc594675c60 00:26:09 ---> 48e071f142cc 00:26:09 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:26:09 ---> Running in 111c03ca80cc 00:26:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:26:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:26:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:26:12 (2/4) Installing libedit (20210910.3.1-r0) 00:26:12 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:26:12 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:26:12 Executing busybox-1.34.1-r3.trigger 00:26:12 OK: 224 MiB in 56 packages 00:26:13 Removing intermediate container 111c03ca80cc 00:26:13 ---> 236ce3dfa695 00:26:13 Step 8/11 : COPY go.mod vendor* ./ 00:26:14 ---> c408c0e06ca5 00:26:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:14 ---> Running in 0b7249f08e90 00:27:01 Removing intermediate container 0b7249f08e90 00:27:01 ---> 3c75304ca11a 00:27:01 Step 10/11 : COPY . . 00:27:01 ---> 0c8ee1b6d146 00:27:01 Step 11/11 : RUN ${MAKE} 00:27:02 ---> Running in cbd3cbcd72f5 00:27:03 Removing intermediate container cbd3cbcd72f5 00:27:03 ---> 36e491e0a7b3 00:27:03 [Warning] One or more build-args [MAKE] were not consumed 00:27:03 Successfully built 36e491e0a7b3 00:27:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:27:03 + docker inspect -f . ci-base-image-arm64 00:27:03 . [Pipeline] withDockerContainer 00:27:04 prd-ubuntu20.04-docker-arm64-4c-16g-63337 does not seem to be running inside a container 00:27:04 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:27:05 $ docker top 89a6d30e666d8b11ddd4c0732fb29386d63e6d192557df2cb037a1e67d314067 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:06 + go version 00:27:06 go version go1.17.6 linux/arm64 [Pipeline] } 00:27:06 $ docker stop --time=1 89a6d30e666d8b11ddd4c0732fb29386d63e6d192557df2cb037a1e67d314067 00:27:08 $ docker rm -f 89a6d30e666d8b11ddd4c0732fb29386d63e6d192557df2cb037a1e67d314067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:27:08 + docker inspect -f . ci-base-image-arm64 00:27:08 . [Pipeline] withDockerContainer 00:27:08 prd-ubuntu20.04-docker-arm64-4c-16g-63337 does not seem to be running inside a container 00:27:09 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:27:10 $ docker top 62a3d85a5398d7e4eb992a2badcce1a90aa6c35ebf1d3848245845ea396dcb1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:27:11 + make test 00:27:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:27:12 ? github.com/edgexfoundry/device-gpio [no test files] 00:28:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:28:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:28:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:28:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:29:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:29:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:29:01 ./bin/test-attribution-txt.sh [Pipeline] echo 00:29:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:29:03 $ docker stop --time=1 62a3d85a5398d7e4eb992a2badcce1a90aa6c35ebf1d3848245845ea396dcb1e 00:29:05 $ docker rm -f 62a3d85a5398d7e4eb992a2badcce1a90aa6c35ebf1d3848245845ea396dcb1e [Pipeline] // withDockerContainer [Pipeline] sh 00:29:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:29:06 Warning: overwriting stash ‘coverage-report’ 00:29:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:29:07 + ls -al . 00:29:07 total 168 00:29:07 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:29 . 00:29:07 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:25 .. 00:29:07 -rw-rw-r-- 1 jenkins jenkins 120 May 12 00:25 .dockerignore 00:29:07 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:25 .git 00:29:07 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:25 .github 00:29:07 -rw-rw-r-- 1 jenkins jenkins 343 May 12 00:25 .gitignore 00:29:07 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:25 .golangci.yml 00:29:07 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 00:25 Attribution.txt 00:29:07 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 00:25 CHANGELOG.md 00:29:07 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 00:25 Dockerfile 00:29:07 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:25 GOVERNANCE.md 00:29:07 -rw-rw-r-- 1 jenkins jenkins 657 May 12 00:25 Jenkinsfile 00:29:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:25 LICENSE 00:29:07 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 00:25 Makefile 00:29:07 -rw-rw-r-- 1 jenkins jenkins 617 May 12 00:25 OWNERS.md 00:29:07 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 00:25 README.md 00:29:07 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:21 VERSION 00:29:07 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:25 bin 00:29:07 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:25 cmd 00:29:07 -rw-r--r-- 1 jenkins jenkins 10 May 12 00:27 coverage.out 00:29:07 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 00:25 go.mod 00:29:07 -rw-rw-r-- 1 jenkins jenkins 47069 May 12 00:25 go.sum 00:29:07 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:25 internal 00:29:07 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:25 snap 00:29:07 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:25 version.go [Pipeline] isUnix [Pipeline] sh 00:29:07 + 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=d1e45647831632f392309fec7e951ddbd326ffce --label arch=arm64 --label version=0.0.0 . 00:29:08 Sending build context to Docker daemon 7.898MB 00:29:08 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:29:08 Step 2/25 : FROM ${BASE} AS builder 00:29:08 ---> 36e491e0a7b3 00:29:08 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:29:08 ---> Running in b0b4ca58088a 00:29:08 Removing intermediate container b0b4ca58088a 00:29:08 ---> 3d4c29c5e2a5 00:29:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:29:08 ---> Running in 74bfd771e2bb 00:29:09 Removing intermediate container 74bfd771e2bb 00:29:09 ---> 324808b4e3fd 00:29:09 Step 5/25 : WORKDIR /device-gpio 00:29:09 ---> Running in 5c7707b4e7fa 00:29:09 Removing intermediate container 5c7707b4e7fa 00:29:09 ---> e4bae889d677 00:29:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:29:09 ---> Running in ddd53ce44c5d 00:29:11 Removing intermediate container ddd53ce44c5d 00:29:11 ---> 481954e9c852 00:29:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:29:11 ---> Running in 707d52e9e02e 00:29:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:29:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:29:14 OK: 224 MiB in 56 packages 00:29:15 Removing intermediate container 707d52e9e02e 00:29:15 ---> 287d508a764b 00:29:15 Step 8/25 : COPY go.mod vendor* ./ 00:29:15 ---> 5969a12fd9a6 00:29:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:29:15 ---> Running in 89f0a2aaa26f 00:29:17 Removing intermediate container 89f0a2aaa26f 00:29:17 ---> 89670bafed0b 00:29:17 Step 10/25 : COPY . . 00:29:18 ---> 5dacaeceaaa3 00:29:18 Step 11/25 : RUN ${MAKE} 00:29:18 ---> Running in 10fbb5f70436 00:29:20 Removing intermediate container 10fbb5f70436 00:29:20 ---> dd4a89951d46 00:29:20 Step 12/25 : FROM alpine:3.15 00:29:21 3.15: Pulling from library/alpine 00:29:21 9981e73032c8: Pulling fs layer 00:29:21 9981e73032c8: Verifying Checksum 00:29:21 9981e73032c8: Download complete 00:29:22 9981e73032c8: Pull complete 00:29:22 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:29:22 Status: Downloaded newer image for alpine:3.15 00:29:22 ---> 3fb3c9af89a9 00:29:22 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:29:22 ---> Running in 545ba8ac28bf 00:29:22 Removing intermediate container 545ba8ac28bf 00:29:22 ---> 8d405c7e50bd 00:29:22 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:29:22 ---> Running in 43989cc5e6a9 00:29:24 Removing intermediate container 43989cc5e6a9 00:29:24 ---> 1647f1fbdae8 00:29:24 Step 15/25 : RUN apk add --update --no-cache zeromq 00:29:24 ---> Running in a7d61e049365 00:29:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:29:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:29:27 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:29:27 (2/5) Installing libsodium (1.0.18-r0) 00:29:27 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:29:27 (4/5) Installing libzmq (4.3.4-r0) 00:29:27 (5/5) Installing zeromq (4.3.4-r0) 00:29:27 Executing busybox-1.34.1-r5.trigger 00:29:27 OK: 8 MiB in 19 packages 00:29:28 Removing intermediate container a7d61e049365 00:29:28 ---> 69d3badd8fa6 00:29:28 Step 16/25 : WORKDIR / 00:29:28 ---> Running in d64b5e6307d5 00:29:29 Removing intermediate container d64b5e6307d5 00:29:29 ---> 08fb044af387 00:29:29 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:29:29 ---> 1313a8e8ae55 00:29:29 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:29:30 ---> d81c9c41b180 00:29:30 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:29:30 ---> f2c548002a73 00:29:30 Step 20/25 : EXPOSE 59910 00:29:31 ---> Running in c1fa6f775ebc 00:29:31 Removing intermediate container c1fa6f775ebc 00:29:31 ---> 2f4e3f4fd847 00:29:31 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:29:31 ---> Running in ec8a541e9729 00:29:31 Removing intermediate container ec8a541e9729 00:29:31 ---> 546ced0abb7a 00:29:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:29:31 ---> Running in 04bdf4e56a92 00:29:32 Removing intermediate container 04bdf4e56a92 00:29:32 ---> 07678b81af02 00:29:32 Step 23/25 : LABEL arch=arm64 00:29:32 ---> Running in 3643da9214ab 00:29:32 Removing intermediate container 3643da9214ab 00:29:32 ---> 6588656aa22e 00:29:32 Step 24/25 : LABEL git_sha=d1e45647831632f392309fec7e951ddbd326ffce 00:29:32 ---> Running in 7dbb73527570 00:29:32 Removing intermediate container 7dbb73527570 00:29:32 ---> b8c3ad46e5f5 00:29:32 Step 25/25 : LABEL version=0.0.0 00:29:33 ---> Running in 418db8913074 00:29:33 Removing intermediate container 418db8913074 00:29:33 ---> f9549d6c8d76 00:29:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:29:33 Successfully built f9549d6c8d76 00:29:33 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:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:33 00:29:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:29:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:34 arm64: Pulling from edgex-lftools-log-publisher 00:29:34 8998bd30e6a1: Pulling fs layer 00:29:34 04944245beec: Pulling fs layer 00:29:34 699f458cf7ca: Pulling fs layer 00:29:34 765212b225bb: Pulling fs layer 00:29:34 f23df028b6ca: Pulling fs layer 00:29:34 d65c8cfc05b1: Pulling fs layer 00:29:34 2437ff75d9bd: Pulling fs layer 00:29:34 765212b225bb: Waiting 00:29:34 f23df028b6ca: Waiting 00:29:34 d65c8cfc05b1: Waiting 00:29:34 2437ff75d9bd: Waiting 00:29:34 04944245beec: Verifying Checksum 00:29:34 04944245beec: Download complete 00:29:34 765212b225bb: Verifying Checksum 00:29:34 765212b225bb: Download complete 00:29:34 f23df028b6ca: Download complete 00:29:34 d65c8cfc05b1: Verifying Checksum 00:29:34 d65c8cfc05b1: Download complete 00:29:34 699f458cf7ca: Verifying Checksum 00:29:34 699f458cf7ca: Download complete 00:29:35 8998bd30e6a1: Verifying Checksum 00:29:35 8998bd30e6a1: Download complete 00:29:37 2437ff75d9bd: Verifying Checksum 00:29:37 2437ff75d9bd: Download complete 00:29:39 8998bd30e6a1: Pull complete 00:29:39 04944245beec: Pull complete 00:29:41 699f458cf7ca: Pull complete 00:29:41 765212b225bb: Pull complete 00:29:42 f23df028b6ca: Pull complete 00:29:42 d65c8cfc05b1: Pull complete 00:29:58 2437ff75d9bd: Pull complete 00:29:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:29:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:29:58 prd-ubuntu20.04-docker-arm64-4c-16g-63337 does not seem to be running inside a container 00:29:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:30:01 $ docker top a0b4b77da9dfa331f5cfc3aa525849568dcf3d98190f0423a7dcda696eaeefbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:02 ---> job-cost.sh 00:30:02 lf-activate-venv: SKIPPING 00:30:02 INFO: No Stack... 00:30:02 INFO: Retrieving Pricing Info for: v3-standard-4 00:30:03 INFO: Archiving Costs [Pipeline] sh 00:30:04 + + cutcat -d, /w/workspace/device-gpio/2/archives/cost.csv -f6 00:30:04 [Pipeline] lock 00:30:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] 00:30:04 Resource [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] did not exist. Created. 00:30:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:30:04 /w/workspace/device-gpio/2@tmp/durable-b5a29ad2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:30:05 + echo total: 0.10999999940395355 [Pipeline] stash 00:30:05 Warning: overwriting stash ‘stack-cost’ 00:30:05 Stashed 1 file(s) [Pipeline] } 00:30:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-35-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:30:05 $ docker stop --time=1 a0b4b77da9dfa331f5cfc3aa525849568dcf3d98190f0423a7dcda696eaeefbe 00:30:07 $ docker rm -f a0b4b77da9dfa331f5cfc3aa525849568dcf3d98190f0423a7dcda696eaeefbe [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:30:07 provisioning config files... 00:30:07 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config6414913619150739432tmp [Pipeline] { [Pipeline] sh 00:30:07 + set +x 00:30:07 + curl -s https://codecov.io/bash 00:30:07 + bash -s -- 00:30:07 00:30:07 _____ _ 00:30:07 / ____| | | 00:30:07 | | ___ __| | ___ ___ _____ __ 00:30:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:30:07 | |___| (_) | (_| | __/ (_| (_) \ V / 00:30:07 \_____\___/ \__,_|\___|\___\___/ \_/ 00:30:07 Bash-1.0.6 00:30:07 00:30:07 00:30:07 ==> git version 2.25.1 found 00:30:07 ==> 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:30:07 Release-Date: 2020-01-08 00:30:07 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:30:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:30:07 ==> Jenkins CI detected. 00:30:07 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-35 00:30:07 project root: . 00:30:07 --> token set from env 00:30:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:30:07 ==> Running gcov in . (disable via -X gcov) 00:30:07 ==> Python coveragepy not found 00:30:07 ==> Searching for coverage reports in: 00:30:07 + . 00:30:07 -> Found 1 reports 00:30:07 ==> Detecting git/mercurial file structure 00:30:07 ==> Reading reports 00:30:07 + ./coverage.out bytes=10 00:30:07 ==> Appending adjustments 00:30:07 https://docs.codecov.io/docs/fixing-reports 00:30:08 + Found adjustments 00:30:08 ==> Gzipping contents 00:30:08 4.0K /tmp/codecov.7RyJEx.gz 00:30:08 ==> Uploading reports 00:30:08 url: https://codecov.io 00:30:08 query: branch=PR-35&commit=d1e45647831632f392309fec7e951ddbd326ffce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-35%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=35&job=&cmd_args= 00:30:08 -> Pinging Codecov 00:30:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-35&commit=d1e45647831632f392309fec7e951ddbd326ffce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-35%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=35&job=&cmd_args= 00:30:08 -> Uploading to 00:30:08 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d1e45647831632f392309fec7e951ddbd326ffce/e4e9ce46-f1f0-4952-8c95-a780b0b724f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T003008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e3fc0c9fa5b5ffc3407cc48e624e18c0570601d9d73aa3c017cd7ede5369de5 00:30:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:30:08 Dload Upload Total Spent Left Speed 00:30:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3200 --:--:-- --:--:-- --:--:-- 3200 00:30:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d1e45647831632f392309fec7e951ddbd326ffce [Pipeline] } 00:30:08 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:30:09 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-35/archives ] 00:30:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-35/archives 00:30:09 total 16 00:30:09 drwxr-xr-x 3 root root 4096 May 12 00:22 . 00:30:09 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:22 .. 00:30:09 drwxr-xr-x 2 root root 4096 May 12 00:22 cost 00:30:09 -rw-r--r-- 1 root root 81 May 12 00:22 cost.csv 00:30:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-35/archives 00:30:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-35/archives 00:30:09 total 16 00:30:09 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:22 . 00:30:09 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:22 .. 00:30:09 drwxr-xr-x 2 jenkins jenkins 4096 May 12 00:22 cost 00:30:09 -rw-r--r-- 1 jenkins jenkins 81 May 12 00:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:30:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:30:10 ---> package-listing.sh 00:30:10 ++ facter osfamily 00:30:10 ++ tr '[:upper:]' '[:lower:]' 00:30:11 + OS_FAMILY=debian 00:30:11 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-35 00:30:11 + START_PACKAGES=/tmp/packages_start.txt 00:30:11 + END_PACKAGES=/tmp/packages_end.txt 00:30:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:30:11 + PACKAGES=/tmp/packages_start.txt 00:30:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-35 ']' 00:30:11 + PACKAGES=/tmp/packages_end.txt 00:30:11 + case "${OS_FAMILY}" in 00:30:11 + dpkg -l 00:30:11 + grep '^ii' 00:30:11 + '[' -f /tmp/packages_start.txt ']' 00:30:11 + '[' -f /tmp/packages_end.txt ']' 00:30:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:30:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-35 ']' 00:30:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-35/archives/ 00:30:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-35/archives/ [Pipeline] echo 00:30:11 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-35/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:30:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:30:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:30:12 . [Pipeline] withDockerContainer 00:30:12 prd-ubuntu20.04-docker-8c-8g-63319 does not seem to be running inside a container 00:30:12 $ 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-35/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-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:30:12 $ docker top 2c786661462a6ff3b65bf394d36e90cacef8516ac2a0bedc3cf09a1bd716b856 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:12 + touch /tmp/pre-build-complete [Pipeline] sh 00:30:13 + mkdir -p /var/log/sysstat [Pipeline] sh 00:30:13 + ls /var/log/sa-host 00:30:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:13 provisioning config files... 00:30:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config3844798221171177107tmp [Pipeline] { [Pipeline] echo 00:30:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:30:13 ---> create-netrc.sh [Pipeline] } 00:30:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> python-tools-install.sh [Pipeline] echo 00:30:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> sudo-logs.sh 00:30:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:30:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> job-cost.sh 00:30:14 lf-activate-venv: SKIPPING 00:30:14 DEBUG: total: 0.2199999988079071 00:30:14 INFO: Retrieving Stack Cost... 00:30:15 INFO: Retrieving Pricing Info for: v3-standard-8 00:30:15 INFO: Archiving Costs [Pipeline] echo 00:30:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:30:16 ---> logs-deploy.sh 00:30:16 lf-activate-venv: SKIPPING 00:30:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-35/2 00:30:16 INFO: archiving workspace using pattern(s): 00:30:16 Archives upload complete. 00:30:16 INFO: archiving logs to Nexus