Pull request #27 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 78dcb4fde946f10989497874b3f69d6bde942259 rather than f5c59a37eda84415ee3ac5a7a35be1e307538a58 Obtained Jenkinsfile from 78dcb4fde946f10989497874b3f69d6bde942259 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-ssh9911813601019662981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8440213417262256406.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-27/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-27/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4115603274773906132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-27/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4656042572543897207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh29976995632497711.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-27/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-27/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16012276122221584147.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40500’ Running on prd-ubuntu20.04-docker-8c-8g-40502 in /w/workspace/edgexfoundry_device-gpio_PR-27 [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-27 # 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 78dcb4fde946f10989497874b3f69d6bde942259 into PR head commit f5c59a37eda84415ee3ac5a7a35be1e307538a58 Merge succeeded, producing f5c59a37eda84415ee3ac5a7a35be1e307538a58 Checking out Revision f5c59a37eda84415ee3ac5a7a35be1e307538a58 (PR-27) > 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/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5c59a37eda84415ee3ac5a7a35be1e307538a58 # 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 78dcb4fde946f10989497874b3f69d6bde942259 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5c59a37eda84415ee3ac5a7a35be1e307538a58 # timeout=10 Commit message: "docs(snap): Remove usage instructions from readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:42:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:42:21 ========================================================= 14:42:21 EdgeX Global Pipelines Version Info 14:42:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:42:22 ------------------- 14:42:22 stable info: 14:42:22 ------------------- 14:42:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:22 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 14:42:22 Message: update stable to v1.0.227 14:42:22 ------------------- 14:42:22 experimental info: 14:42:22 ------------------- 14:42:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:22 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 14:42:22 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo 14:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo 14:42:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5c59a37eda84415ee3ac5a7a35be1e307538a58 [Pipeline] echo 14:42:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5c59a3 [Pipeline] echo 14:42:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:24 provisioning config files... 14:42:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/config2378696352954927755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:24 ---> docker-login.sh 14:42:24 nexus3.edgexfoundry.org:10001 14:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:25 Configure a credential helper to remove this warning. See 14:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:25 14:42:25 Login Succeeded 14:42:25 nexus3.edgexfoundry.org:10002 14:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:25 Configure a credential helper to remove this warning. See 14:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:25 14:42:25 Login Succeeded 14:42:25 nexus3.edgexfoundry.org:10003 14:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:25 Configure a credential helper to remove this warning. See 14:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:25 14:42:25 Login Succeeded 14:42:25 nexus3.edgexfoundry.org:10004 14:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:25 Configure a credential helper to remove this warning. See 14:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:25 14:42:25 Login Succeeded 14:42:25 docker.io 14:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:25 Configure a credential helper to remove this warning. See 14:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:25 14:42:25 Login Succeeded 14:42:25 ---> docker-login.sh ends [Pipeline] } 14:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:42:26 + git rev-list -1 --merges f5c59a37eda84415ee3ac5a7a35be1e307538a58~1..f5c59a37eda84415ee3ac5a7a35be1e307538a58 [Pipeline] echo 14:42:26 -----------> git rev-list -1 --merges f5c59a37eda84415ee3ac5a7a35be1e307538a58~1..f5c59a37eda84415ee3ac5a7a35be1e307538a58 f5c59a37eda84415ee3ac5a7a35be1e307538a58 [false] [Pipeline] sh 14:42:26 + git log --format=format:%s -1 f5c59a37eda84415ee3ac5a7a35be1e307538a58 [Pipeline] echo 14:42:26 ========================================================= 14:42:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:42:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:42:27 + git log --format=format:%s -1 f5c59a37eda84415ee3ac5a7a35be1e307538a58 [Pipeline] echo 14:42:27 [semverPrep] GIT_COMMIT: f5c59a37eda84415ee3ac5a7a35be1e307538a58, Commit Message: docs(snap): Remove usage instructions from readme [Pipeline] echo 14:42:27 [semverPrep] This is not a build commit. [Pipeline] sh 14:42:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:42:27 + grep -v github /etc/ssh/ssh_known_hosts 14:42:27 + [ -e /tmp/ssh_known_hosts ] 14:42:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:42:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:42:27 + sudo tee -a /etc/ssh/ssh_known_hosts 14:42:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:42:28 14:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:42:28 latest: Pulling from edgex-devops/py-git-semver 14:42:28 1fe172e4850f: Pulling fs layer 14:42:28 caf521ccaac6: Pulling fs layer 14:42:28 3ead6fa29328: Pulling fs layer 14:42:28 5c2a1cbceb83: Pulling fs layer 14:42:28 a8d5f1318db7: Pulling fs layer 14:42:28 c427282e49a2: Pulling fs layer 14:42:28 1827001aaf11: Pulling fs layer 14:42:28 0714d37db230: Pulling fs layer 14:42:28 ac28cf19c067: Pulling fs layer 14:42:28 ca983d60f3e2: Pulling fs layer 14:42:28 9f894cec8388: Pulling fs layer 14:42:28 a8d5f1318db7: Waiting 14:42:28 0714d37db230: Waiting 14:42:28 ac28cf19c067: Waiting 14:42:28 ca983d60f3e2: Waiting 14:42:28 9f894cec8388: Waiting 14:42:28 5c2a1cbceb83: Waiting 14:42:28 c427282e49a2: Waiting 14:42:28 caf521ccaac6: Download complete 14:42:28 5c2a1cbceb83: Download complete 14:42:28 a8d5f1318db7: Verifying Checksum 14:42:28 a8d5f1318db7: Download complete 14:42:28 c427282e49a2: Verifying Checksum 14:42:28 c427282e49a2: Download complete 14:42:28 3ead6fa29328: Verifying Checksum 14:42:28 3ead6fa29328: Download complete 14:42:28 0714d37db230: Verifying Checksum 14:42:28 0714d37db230: Download complete 14:42:28 ac28cf19c067: Download complete 14:42:28 ca983d60f3e2: Verifying Checksum 14:42:28 ca983d60f3e2: Download complete 14:42:28 9f894cec8388: Verifying Checksum 14:42:28 9f894cec8388: Download complete 14:42:28 1fe172e4850f: Verifying Checksum 14:42:28 1fe172e4850f: Download complete 14:42:29 1827001aaf11: Verifying Checksum 14:42:29 1827001aaf11: Download complete 14:42:30 1fe172e4850f: Pull complete 14:42:30 caf521ccaac6: Pull complete 14:42:31 3ead6fa29328: Pull complete 14:42:31 5c2a1cbceb83: Pull complete 14:42:31 a8d5f1318db7: Pull complete 14:42:31 c427282e49a2: Pull complete 14:42:33 1827001aaf11: Pull complete 14:42:33 0714d37db230: Pull complete 14:42:33 ac28cf19c067: Pull complete 14:42:34 ca983d60f3e2: Pull complete 14:42:34 9f894cec8388: Pull complete 14:42:34 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:42:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:42:34 prd-ubuntu20.04-docker-8c-8g-40502 does not seem to be running inside a container 14:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-27 -v /w/workspace/edgexfoundry_device-gpio_PR-27:/w/workspace/edgexfoundry_device-gpio_PR-27:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-27@tmp:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:42:37 $ docker top 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 -eo pid,comm 14:42:38 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). 14:42:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:38 [ssh-agent] Looking for ssh-agent implementation... 14:42:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:38 $ docker exec 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 ssh-agent 14:42:38 SSH_AUTH_SOCK=/tmp/ssh-rXySpqSv4hxK/agent.34 14:42:38 SSH_AGENT_PID=40 14:42:38 Running ssh-add (command line suppressed) 14:42:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-27@tmp/private_key_4675839996878101081.key (/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/private_key_4675839996878101081.key) 14:42:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:38 + git tag --points-at HEAD [Pipeline] } 14:42:38 $ docker exec --env ******** --env ******** 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 ssh-agent -k 14:42:39 unset SSH_AUTH_SOCK; 14:42:39 unset SSH_AGENT_PID; 14:42:39 echo Agent pid 40 killed; 14:42:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:42:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:39 [ssh-agent] Looking for ssh-agent implementation... 14:42:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:39 $ docker exec 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 ssh-agent 14:42:39 SSH_AUTH_SOCK=/tmp/ssh-ULC4mK36BSvq/agent.74 14:42:39 SSH_AGENT_PID=81 14:42:39 Running ssh-add (command line suppressed) 14:42:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-27@tmp/private_key_8316395087280118210.key (/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/private_key_8316395087280118210.key) 14:42:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:39 + git semver init 14:42:40 2022-05-05 14:42:40,171 [run_init] DEBUG init version:0.0.0 force:False 14:42:40 2022-05-05 14:42:40,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-27/.semver 14:42:40 2022-05-05 14:42:40,172 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-27/.semver 14:42:40 2022-05-05 14:42:40,172 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-27/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-27, universal_newlines=False, shell=None, istream=None) 14:42:41 2022-05-05 14:42:41,112 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-27/.git/info/exclude 14:42:41 2022-05-05 14:42:41,112 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-27/.semver/PR-27 with force:False 14:42:41 2022-05-05 14:42:41,112 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-27/.semver/PR-27 14:42:41 2022-05-05 14:42:41,116 [execute] INFO git cat-file --batch-check 14:42:41 2022-05-05 14:42:41,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-27/.semver, universal_newlines=False, shell=None, istream=) 14:42:41 2022-05-05 14:42:41,122 [execute] INFO git cat-file --batch 14:42:41 2022-05-05 14:42:41,123 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-27/.semver, universal_newlines=False, shell=None, istream=) 14:42:41 2022-05-05 14:42:41,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-27/.semver/PR-27 14:42:41 0.0.0 [Pipeline] } 14:42:41 $ docker exec --env ******** --env ******** 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 ssh-agent -k 14:42:41 unset SSH_AUTH_SOCK; 14:42:41 unset SSH_AGENT_PID; 14:42:41 echo Agent pid 81 killed; 14:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:41 + git semver [Pipeline] } 14:42:42 $ docker stop --time=1 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 14:42:43 $ docker rm -f 17662fa7d2fc0fa9c307bb3b8039c428ad72ecb8b1528d5d5e78c3fab80cd399 [Pipeline] // withDockerContainer [Pipeline] sh 14:42:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:42:44 Stashed 1 file(s) [Pipeline] echo 14:42:44 [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 14:42:44 provisioning config files... 14:42:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/config8108815033937033911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:45 ---> docker-login.sh 14:42:45 nexus3.edgexfoundry.org:10001 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 nexus3.edgexfoundry.org:10002 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 nexus3.edgexfoundry.org:10003 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 nexus3.edgexfoundry.org:10004 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 docker.io 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:46 Configure a credential helper to remove this warning. See 14:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:46 14:42:46 Login Succeeded 14:42:46 ---> docker-login.sh ends [Pipeline] } 14:42:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:42:46 ========================================================= 14:42:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:42:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:42:46 + 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 . 14:42:46 Sending build context to Docker daemon 15.58MB 14:42:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:42:46 Step 2/11 : FROM ${BASE} AS builder 14:42:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:42:47 59bf1c3509f3: Pulling fs layer 14:42:47 666ba61612fd: Pulling fs layer 14:42:47 8ed8ca486205: Pulling fs layer 14:42:47 4fe6c5a15a65: Pulling fs layer 14:42:47 22a0e8bec74d: Pulling fs layer 14:42:47 ca2b28591e48: Pulling fs layer 14:42:47 a51346096db8: Pulling fs layer 14:42:47 daebc70d1ce1: Pulling fs layer 14:42:47 0e18a0eac166: Pulling fs layer 14:42:47 daebc70d1ce1: Waiting 14:42:47 0e18a0eac166: Waiting 14:42:47 ca2b28591e48: Waiting 14:42:47 a51346096db8: Waiting 14:42:47 4fe6c5a15a65: Waiting 14:42:47 22a0e8bec74d: Waiting 14:42:47 8ed8ca486205: Download complete 14:42:47 666ba61612fd: Download complete 14:42:47 22a0e8bec74d: Verifying Checksum 14:42:47 22a0e8bec74d: Download complete 14:42:47 ca2b28591e48: Verifying Checksum 14:42:47 ca2b28591e48: Download complete 14:42:47 59bf1c3509f3: Download complete 14:42:47 a51346096db8: Verifying Checksum 14:42:47 a51346096db8: Download complete 14:42:47 daebc70d1ce1: Verifying Checksum 14:42:47 daebc70d1ce1: Download complete 14:42:47 59bf1c3509f3: Pull complete 14:42:47 666ba61612fd: Pull complete 14:42:47 8ed8ca486205: Pull complete 14:42:48 0e18a0eac166: Verifying Checksum 14:42:48 0e18a0eac166: Download complete 14:42:48 4fe6c5a15a65: Verifying Checksum 14:42:48 4fe6c5a15a65: Download complete 14:42:52 4fe6c5a15a65: Pull complete 14:42:52 22a0e8bec74d: Pull complete 14:42:52 ca2b28591e48: Pull complete 14:42:52 a51346096db8: Pull complete 14:42:52 daebc70d1ce1: Pull complete 14:42:55 0e18a0eac166: Pull complete 14:42:55 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:42:55 ---> f018257e8ee9 14:42:55 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:42:56 ---> Running in d7bf555df826 14:42:56 Removing intermediate container d7bf555df826 14:42:56 ---> f5dbe2a40cdf 14:42:56 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:42:56 ---> Running in 986dd6bc1954 14:42:57 Removing intermediate container 986dd6bc1954 14:42:57 ---> 25134d055bc8 14:42:57 Step 5/11 : WORKDIR /device-gpio 14:42:57 ---> Running in cf5247f2d018 14:42:57 Removing intermediate container cf5247f2d018 14:42:57 ---> a5a85c4d3001 14:42:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:42:57 ---> Running in a46b26a1e782 14:42:58 Removing intermediate container a46b26a1e782 14:42:58 ---> 5b6dedb1e511 14:42:58 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:42:58 ---> Running in 255ed9fa6d83 14:42:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:42:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:42:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:42:59 (2/4) Installing libedit (20210910.3.1-r0) 14:42:59 Still waiting to schedule task 14:42:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:42:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:42:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:42:59 Executing busybox-1.34.1-r3.trigger 14:42:59 OK: 224 MiB in 56 packages 14:43:00 Removing intermediate container 255ed9fa6d83 14:43:00 ---> 0ebdb635e3a1 14:43:00 Step 8/11 : COPY go.mod vendor* ./ 14:43:00 ---> 6f3b11331751 14:43:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:43:00 ---> Running in 717249cd9c89 14:43:32 Removing intermediate container 717249cd9c89 14:43:32 ---> 0b67a5fcd3b3 14:43:32 Step 10/11 : COPY . . 14:43:32 ---> d35d30c445ce 14:43:32 Step 11/11 : RUN ${MAKE} 14:43:32 ---> Running in 2b88b3896ed6 14:43:32 Removing intermediate container 2b88b3896ed6 14:43:32 ---> 4b303ef0f932 14:43:32 [Warning] One or more build-args [MAKE] were not consumed 14:43:32 Successfully built 4b303ef0f932 14:43:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:43:33 + docker inspect -f . ci-base-image-x86_64 14:43:33 . [Pipeline] withDockerContainer 14:43:33 prd-ubuntu20.04-docker-8c-8g-40502 does not seem to be running inside a container 14:43:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-27 -v /w/workspace/edgexfoundry_device-gpio_PR-27:/w/workspace/edgexfoundry_device-gpio_PR-27:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-27@tmp:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:33 $ docker top e1e24b516d0a5be19985f4b5f393abdbf6b9681a9fa9ae64d72fa16489e29bbd -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:33 + go version 14:43:33 go version go1.17.6 linux/amd64 [Pipeline] } 14:43:34 $ docker stop --time=1 e1e24b516d0a5be19985f4b5f393abdbf6b9681a9fa9ae64d72fa16489e29bbd 14:43:35 $ docker rm -f e1e24b516d0a5be19985f4b5f393abdbf6b9681a9fa9ae64d72fa16489e29bbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:35 + docker inspect -f . ci-base-image-x86_64 14:43:35 . [Pipeline] withDockerContainer 14:43:36 prd-ubuntu20.04-docker-8c-8g-40502 does not seem to be running inside a container 14:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-27 -v /w/workspace/edgexfoundry_device-gpio_PR-27:/w/workspace/edgexfoundry_device-gpio_PR-27:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-27@tmp:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:36 $ docker top 49b519100181a3474334d7fe30bd7a549dd04e2ab6a70dc992e85f9b541e27d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:43:36 + make test 14:43:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:43:37 ? github.com/edgexfoundry/device-gpio [no test files] 14:43:43 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:43:43 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:43:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:43:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:43:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:43:50 ./bin/test-attribution-txt.sh [Pipeline] echo 14:43:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:43:51 $ docker stop --time=1 49b519100181a3474334d7fe30bd7a549dd04e2ab6a70dc992e85f9b541e27d1 14:43:52 $ docker rm -f 49b519100181a3474334d7fe30bd7a549dd04e2ab6a70dc992e85f9b541e27d1 [Pipeline] // withDockerContainer [Pipeline] sh 14:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:43:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:43:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:43:54 + ls -al . 14:43:54 total 192 14:43:54 drwxrwxr-x 9 jenkins jenkins 4096 May 5 14:43 . 14:43:54 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:42 .. 14:43:54 -rw-rw-r-- 1 jenkins jenkins 120 May 5 14:42 .dockerignore 14:43:54 drwxrwxr-x 8 jenkins jenkins 4096 May 5 14:42 .git 14:43:54 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:42 .github 14:43:54 -rw-rw-r-- 1 jenkins jenkins 343 May 5 14:42 .gitignore 14:43:54 -rw-rw-r-- 1 jenkins jenkins 41 May 5 14:42 .golangci.yml 14:43:54 drwxr-xr-x 3 jenkins jenkins 4096 May 5 14:42 .semver 14:43:54 -rw-rw-r-- 1 jenkins jenkins 7772 May 5 14:42 Attribution.txt 14:43:54 -rw-rw-r-- 1 jenkins jenkins 1235 May 5 14:42 CHANGELOG.md 14:43:54 -rw-rw-r-- 1 jenkins jenkins 1846 May 5 14:42 Dockerfile 14:43:54 -rw-rw-r-- 1 jenkins jenkins 677 May 5 14:42 GOVERNANCE.md 14:43:54 -rw-rw-r-- 1 jenkins jenkins 657 May 5 14:42 Jenkinsfile 14:43:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 14:42 LICENSE 14:43:54 -rw-rw-r-- 1 jenkins jenkins 1876 May 5 14:42 Makefile 14:43:54 -rw-rw-r-- 1 jenkins jenkins 617 May 5 14:42 OWNERS.md 14:43:54 -rw-rw-r-- 1 jenkins jenkins 11178 May 5 14:42 README.md 14:43:54 -rw-rw-r-- 1 jenkins jenkins 5 May 5 14:42 VERSION 14:43:54 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:42 bin 14:43:54 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:42 cmd 14:43:54 -rw-r--r-- 1 jenkins jenkins 10 May 5 14:43 coverage.out 14:43:54 -rw-rw-r-- 1 jenkins jenkins 2794 May 5 14:42 go.mod 14:43:54 -rw-rw-r-- 1 jenkins jenkins 70652 May 5 14:42 go.sum 14:43:54 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:42 internal 14:43:54 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:42 snap 14:43:54 -rw-rw-r-- 1 jenkins jenkins 209 May 5 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:43:54 + 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=f5c59a37eda84415ee3ac5a7a35be1e307538a58 --label arch=amd64 --label version=0.0.0 . 14:43:54 Sending build context to Docker daemon 15.58MB 14:43:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:43:54 Step 2/25 : FROM ${BASE} AS builder 14:43:54 ---> 4b303ef0f932 14:43:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:43:55 ---> Running in d83c89aeb099 14:43:55 Removing intermediate container d83c89aeb099 14:43:55 ---> 13463bc22a42 14:43:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:43:55 ---> Running in 119af5d51ed3 14:43:55 Removing intermediate container 119af5d51ed3 14:43:55 ---> 6c99da73819d 14:43:55 Step 5/25 : WORKDIR /device-gpio 14:43:55 ---> Running in 334d07a01c65 14:43:55 Removing intermediate container 334d07a01c65 14:43:55 ---> 113fa99c81ea 14:43:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:55 ---> Running in 758d8a9d8b0a 14:43:56 Removing intermediate container 758d8a9d8b0a 14:43:56 ---> ebc7e118a3db 14:43:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:43:56 ---> Running in ad1b9e1de10a 14:43:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:43:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:43:58 OK: 224 MiB in 56 packages 14:43:58 Removing intermediate container ad1b9e1de10a 14:43:58 ---> 5acc77ea809c 14:43:58 Step 8/25 : COPY go.mod vendor* ./ 14:43:58 ---> 491169b670d6 14:43:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:43:58 ---> Running in 3eca8e7683cb 14:43:59 Removing intermediate container 3eca8e7683cb 14:43:59 ---> cb5836411362 14:43:59 Step 10/25 : COPY . . 14:43:59 ---> 458c0f77a914 14:43:59 Step 11/25 : RUN ${MAKE} 14:43:59 ---> Running in c87cde78945b 14:44:00 Removing intermediate container c87cde78945b 14:44:00 ---> 6c4dc3fade66 14:44:00 Step 12/25 : FROM alpine:3.15 14:44:00 3.15: Pulling from library/alpine 14:44:00 df9b9388f04a: Pulling fs layer 14:44:01 df9b9388f04a: Verifying Checksum 14:44:01 df9b9388f04a: Download complete 14:44:01 df9b9388f04a: Pull complete 14:44:01 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:44:01 Status: Downloaded newer image for alpine:3.15 14:44:01 ---> 0ac33e5f5afa 14:44:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:44:01 ---> Running in b5fabbe07318 14:44:01 Removing intermediate container b5fabbe07318 14:44:01 ---> a9562a29fc7a 14:44:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:01 ---> Running in a16fbe954fdd 14:44:02 Removing intermediate container a16fbe954fdd 14:44:02 ---> e72d8e46e1da 14:44:02 Step 15/25 : RUN apk add --update --no-cache zeromq 14:44:02 ---> Running in 84cf8ff219b7 14:44:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:44:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:44:04 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:44:04 (2/5) Installing libsodium (1.0.18-r0) 14:44:04 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:44:04 (4/5) Installing libzmq (4.3.4-r0) 14:44:04 (5/5) Installing zeromq (4.3.4-r0) 14:44:04 Executing busybox-1.34.1-r5.trigger 14:44:04 OK: 8 MiB in 19 packages 14:44:04 Removing intermediate container 84cf8ff219b7 14:44:04 ---> 412459cc6d9f 14:44:04 Step 16/25 : WORKDIR / 14:44:04 ---> Running in 1856b3aa99e5 14:44:05 Removing intermediate container 1856b3aa99e5 14:44:05 ---> 45d7b41eb972 14:44:05 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:44:05 ---> 1f635bc1c66e 14:44:05 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:44:05 ---> 424aa8697a3a 14:44:05 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:44:05 ---> da03f5c20a69 14:44:05 Step 20/25 : EXPOSE 59910 14:44:05 ---> Running in ec191243cddd 14:44:05 Removing intermediate container ec191243cddd 14:44:05 ---> 6d7809a2b49a 14:44:05 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:44:05 ---> Running in 8718df8dd7c8 14:44:05 Removing intermediate container 8718df8dd7c8 14:44:05 ---> 06b8cf345412 14:44:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:44:05 ---> Running in 9811125daf9d 14:44:05 Removing intermediate container 9811125daf9d 14:44:05 ---> d377ab803ae0 14:44:05 Step 23/25 : LABEL arch=amd64 14:44:05 ---> Running in fbd4771cc3e2 14:44:05 Removing intermediate container fbd4771cc3e2 14:44:05 ---> 73154454ead9 14:44:05 Step 24/25 : LABEL git_sha=f5c59a37eda84415ee3ac5a7a35be1e307538a58 14:44:06 ---> Running in 21607877e9ff 14:44:06 Removing intermediate container 21607877e9ff 14:44:06 ---> f1dd58e37ab8 14:44:06 Step 25/25 : LABEL version=0.0.0 14:44:06 ---> Running in 7d6577c51ab8 14:44:06 Removing intermediate container 7d6577c51ab8 14:44:06 ---> a3e44dda1638 14:44:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:44:06 Successfully built a3e44dda1638 14:44:06 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 14:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:44:06 14:44:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:44:07 latest: Pulling from edgex-lftools-log-publisher 14:44:07 5eb5b503b376: Pulling fs layer 14:44:07 5c69ac0246d0: Pulling fs layer 14:44:07 ec43610c2a17: Pulling fs layer 14:44:07 3a2ae6a8a46f: Pulling fs layer 14:44:07 33b1e0a273af: Pulling fs layer 14:44:07 5d3b04190fa2: Pulling fs layer 14:44:07 2f39f015ded8: Pulling fs layer 14:44:07 5d3b04190fa2: Waiting 14:44:07 2f39f015ded8: Waiting 14:44:07 3a2ae6a8a46f: Waiting 14:44:07 5c69ac0246d0: Download complete 14:44:07 3a2ae6a8a46f: Verifying Checksum 14:44:07 3a2ae6a8a46f: Download complete 14:44:07 33b1e0a273af: Verifying Checksum 14:44:07 33b1e0a273af: Download complete 14:44:07 5d3b04190fa2: Verifying Checksum 14:44:07 5d3b04190fa2: Download complete 14:44:07 ec43610c2a17: Verifying Checksum 14:44:07 ec43610c2a17: Download complete 14:44:07 5eb5b503b376: Download complete 14:44:08 2f39f015ded8: Verifying Checksum 14:44:08 2f39f015ded8: Download complete 14:44:08 5eb5b503b376: Pull complete 14:44:08 5c69ac0246d0: Pull complete 14:44:09 ec43610c2a17: Pull complete 14:44:09 3a2ae6a8a46f: Pull complete 14:44:09 33b1e0a273af: Pull complete 14:44:09 5d3b04190fa2: Pull complete 14:44:15 2f39f015ded8: Pull complete 14:44:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:44:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:44:15 prd-ubuntu20.04-docker-8c-8g-40502 does not seem to be running inside a container 14:44:15 $ 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-27 -v /w/workspace/edgexfoundry_device-gpio_PR-27:/w/workspace/edgexfoundry_device-gpio_PR-27:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-27@tmp:/w/workspace/edgexfoundry_device-gpio_PR-27@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 14:44:17 $ docker top f6d61de7d2745a4fe94ab30fab26c0fabfe31bbb9160661c764d7f9657a00449 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:17 ---> job-cost.sh 14:44:17 lf-activate-venv: SKIPPING 14:44:17 INFO: No Stack... 14:44:18 INFO: Retrieving Pricing Info for: v3-standard-8 14:44:18 INFO: Archiving Costs [Pipeline] sh 14:44:18 + cat+ /w/workspace/edgexfoundry_device-gpio_PR-27/archives/cost.csv 14:44:18 cut -d, -f6 [Pipeline] lock 14:44:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] 14:44:18 Resource [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] did not exist. Created. 14:44:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:44:19 + echo total: 0.2199999988079071 [Pipeline] stash 14:44:19 Stashed 1 file(s) [Pipeline] } 14:44:19 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:44:19 $ docker stop --time=1 f6d61de7d2745a4fe94ab30fab26c0fabfe31bbb9160661c764d7f9657a00449 14:44:20 $ docker rm -f f6d61de7d2745a4fe94ab30fab26c0fabfe31bbb9160661c764d7f9657a00449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:44:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40504 in /w/workspace/edgexfoundry_device-gpio_PR-27 [Pipeline] { [Pipeline] ws 14:44:36 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 14:44:36 The recommended git tool is: git 14:44:43 using credential edgex-jenkins-ssh 14:44:43 Cloning the remote Git repository 14:44:44 Cloning repository git@github.com:edgexfoundry/device-gpio.git 14:44:44 > git init /w/workspace/device-gpio/1 # timeout=10 14:44:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:44:44 > git --version # timeout=10 14:44:44 > git --version # 'git version 2.25.1' 14:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:44:46 Merging remotes/origin/main commit 78dcb4fde946f10989497874b3f69d6bde942259 into PR head commit f5c59a37eda84415ee3ac5a7a35be1e307538a58 14:44:46 Merge succeeded, producing f5c59a37eda84415ee3ac5a7a35be1e307538a58 14:44:46 Checking out Revision f5c59a37eda84415ee3ac5a7a35be1e307538a58 (PR-27) 14:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:44:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:44:46 > git config core.sparsecheckout # timeout=10 14:44:46 > git checkout -f f5c59a37eda84415ee3ac5a7a35be1e307538a58 # timeout=10 14:44:46 > git remote # timeout=10 14:44:46 > git config --get remote.origin.url # timeout=10 14:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:46 > git merge 78dcb4fde946f10989497874b3f69d6bde942259 # timeout=10 14:44:46 > git rev-parse HEAD^{commit} # timeout=10 14:44:46 > git config core.sparsecheckout # timeout=10 14:44:46 > git checkout -f f5c59a37eda84415ee3ac5a7a35be1e307538a58 # timeout=10 14:44:51 Commit message: "docs(snap): Remove usage instructions from readme" 14:44:51 > git --version # timeout=10 14:44:51 > git --version # 'git version 2.25.1' 14:44:51 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:44:52 % Total % Received % Xferd Average Speed Time Time Time Current 14:44:52 Dload Upload Total Spent Left Speed 14:44:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 14:44:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:44:53 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 14:44:53 14:44:53 { 14:44:53 "registry-mirrors": [ 14:44:53 "https://nexus3.edgexfoundry.org:10001" 14:44:53 ], 14:44:53 "bip": "10.250.0.254/24", 14:44:53 "hosts": [ 14:44:53 "tcp://0.0.0.0:5555", 14:44:53 "unix:///var/run/docker.sock" 14:44:53 ], 14:44:53 "mtu": 1458, 14:44:53 "selinux-enabled": true, 14:44:53 "seccomp-profile": "/etc/docker/seccomp.json" 14:44:53 } [Pipeline] sh 14:44:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:44:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:12 provisioning config files... 14:45:12 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6103946010344555878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:12 ---> docker-login.sh 14:45:12 nexus3.edgexfoundry.org:10001 14:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:13 Configure a credential helper to remove this warning. See 14:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:13 14:45:13 Login Succeeded 14:45:13 nexus3.edgexfoundry.org:10002 14:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:14 Configure a credential helper to remove this warning. See 14:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:14 14:45:14 Login Succeeded 14:45:14 nexus3.edgexfoundry.org:10003 14:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:14 Configure a credential helper to remove this warning. See 14:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:14 14:45:14 Login Succeeded 14:45:14 nexus3.edgexfoundry.org:10004 14:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:15 Configure a credential helper to remove this warning. See 14:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:15 14:45:15 Login Succeeded 14:45:15 docker.io 14:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:16 Configure a credential helper to remove this warning. See 14:45:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:16 14:45:16 Login Succeeded 14:45:16 ---> docker-login.sh ends [Pipeline] } 14:45:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:16 ========================================================= 14:45:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:45:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:45:16 + 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 . 14:45:17 Sending build context to Docker daemon 7.856MB 14:45:17 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:45:17 Step 2/11 : FROM ${BASE} AS builder 14:45:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:45:17 9b3977197b4f: Pulling fs layer 14:45:17 1a89e8eeedd5: Pulling fs layer 14:45:17 94645a83ff95: Pulling fs layer 14:45:17 3f3a8bcf1eab: Pulling fs layer 14:45:17 0c92f367c5e7: Pulling fs layer 14:45:17 3096ccb668a1: Pulling fs layer 14:45:17 e8cf19c19ddd: Pulling fs layer 14:45:17 a4caa8a26152: Pulling fs layer 14:45:17 3f3a8bcf1eab: Waiting 14:45:17 0c92f367c5e7: Waiting 14:45:17 3096ccb668a1: Waiting 14:45:17 e8cf19c19ddd: Waiting 14:45:17 a4caa8a26152: Waiting 14:45:17 94645a83ff95: Verifying Checksum 14:45:17 94645a83ff95: Download complete 14:45:17 1a89e8eeedd5: Verifying Checksum 14:45:17 1a89e8eeedd5: Download complete 14:45:17 0c92f367c5e7: Verifying Checksum 14:45:17 0c92f367c5e7: Download complete 14:45:17 3096ccb668a1: Verifying Checksum 14:45:17 3096ccb668a1: Download complete 14:45:17 9b3977197b4f: Verifying Checksum 14:45:17 e8cf19c19ddd: Download complete 14:45:18 9b3977197b4f: Pull complete 14:45:18 1a89e8eeedd5: Pull complete 14:45:19 94645a83ff95: Pull complete 14:45:19 a4caa8a26152: Verifying Checksum 14:45:19 a4caa8a26152: Download complete 14:45:20 3f3a8bcf1eab: Verifying Checksum 14:45:20 3f3a8bcf1eab: Download complete 14:45:32 3f3a8bcf1eab: Pull complete 14:45:32 0c92f367c5e7: Pull complete 14:45:32 3096ccb668a1: Pull complete 14:45:33 e8cf19c19ddd: Pull complete 14:45:40 a4caa8a26152: Pull complete 14:45:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:45:40 ---> 725f1c02e7f9 14:45:40 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:45:40 ---> Running in 9c94b1661695 14:45:40 Removing intermediate container 9c94b1661695 14:45:40 ---> 3d58703a3406 14:45:40 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:45:40 ---> Running in c21daa71895a 14:45:40 Removing intermediate container c21daa71895a 14:45:40 ---> 2c6f2cd618bc 14:45:40 Step 5/11 : WORKDIR /device-gpio 14:45:40 ---> Running in 4b777edfb58d 14:45:41 Removing intermediate container 4b777edfb58d 14:45:41 ---> 5015ffde8903 14:45:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:41 ---> Running in 4c444e8597db 14:45:43 Removing intermediate container 4c444e8597db 14:45:43 ---> c42d100ec9f1 14:45:43 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:45:43 ---> Running in 8b88b05190cd 14:45:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:45:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:45:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:45:45 (2/4) Installing libedit (20210910.3.1-r0) 14:45:45 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:45:45 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:45:46 Executing busybox-1.34.1-r3.trigger 14:45:46 OK: 224 MiB in 56 packages 14:45:47 Removing intermediate container 8b88b05190cd 14:45:47 ---> e9dc6c95a879 14:45:47 Step 8/11 : COPY go.mod vendor* ./ 14:45:47 ---> 70ae583269cb 14:45:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:47 ---> Running in 3fe02ea49037 14:47:09 Removing intermediate container 3fe02ea49037 14:47:09 ---> 9f15f46b80dd 14:47:09 Step 10/11 : COPY . . 14:47:09 ---> 927a23ec9578 14:47:09 Step 11/11 : RUN ${MAKE} 14:47:09 ---> Running in 4519cb066706 14:47:09 Removing intermediate container 4519cb066706 14:47:09 ---> 17858bc9b9f0 14:47:09 [Warning] One or more build-args [MAKE] were not consumed 14:47:09 Successfully built 17858bc9b9f0 14:47:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:47:10 + docker inspect -f . ci-base-image-arm64 14:47:10 . [Pipeline] withDockerContainer 14:47:10 prd-ubuntu20.04-docker-arm64-4c-16g-40504 does not seem to be running inside a container 14:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:47:11 $ docker top 2de649f84ee4d9c2a32ae7208b751c8df4120402b02765771f172f6cb56f2ed1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:12 + go version 14:47:12 go version go1.17.6 linux/arm64 [Pipeline] } 14:47:12 $ docker stop --time=1 2de649f84ee4d9c2a32ae7208b751c8df4120402b02765771f172f6cb56f2ed1 14:47:14 $ docker rm -f 2de649f84ee4d9c2a32ae7208b751c8df4120402b02765771f172f6cb56f2ed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:15 + docker inspect -f . ci-base-image-arm64 14:47:15 . [Pipeline] withDockerContainer 14:47:15 prd-ubuntu20.04-docker-arm64-4c-16g-40504 does not seem to be running inside a container 14:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:47:16 $ docker top 33c68b99feac677dde654b13f63eca7946c234127d648ca3d3a720be8332fc1b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:47:17 + make test 14:47:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:47:18 ? github.com/edgexfoundry/device-gpio [no test files] 14:48:05 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:48:05 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:48:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:48:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:48:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:48:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:48:23 ./bin/test-attribution-txt.sh [Pipeline] echo 14:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:48:23 $ docker stop --time=1 33c68b99feac677dde654b13f63eca7946c234127d648ca3d3a720be8332fc1b 14:48:25 $ docker rm -f 33c68b99feac677dde654b13f63eca7946c234127d648ca3d3a720be8332fc1b [Pipeline] // withDockerContainer [Pipeline] sh 14:48:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:48:26 Warning: overwriting stash ‘coverage-report’ 14:48:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:48:27 + ls -al . 14:48:27 total 188 14:48:27 drwxrwxr-x 8 jenkins jenkins 4096 May 5 14:48 . 14:48:27 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:44 .. 14:48:27 -rw-rw-r-- 1 jenkins jenkins 120 May 5 14:44 .dockerignore 14:48:27 drwxrwxr-x 8 jenkins jenkins 4096 May 5 14:44 .git 14:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:44 .github 14:48:27 -rw-rw-r-- 1 jenkins jenkins 343 May 5 14:44 .gitignore 14:48:27 -rw-rw-r-- 1 jenkins jenkins 41 May 5 14:44 .golangci.yml 14:48:27 -rw-rw-r-- 1 jenkins jenkins 7772 May 5 14:44 Attribution.txt 14:48:27 -rw-rw-r-- 1 jenkins jenkins 1235 May 5 14:44 CHANGELOG.md 14:48:27 -rw-rw-r-- 1 jenkins jenkins 1846 May 5 14:44 Dockerfile 14:48:27 -rw-rw-r-- 1 jenkins jenkins 677 May 5 14:44 GOVERNANCE.md 14:48:27 -rw-rw-r-- 1 jenkins jenkins 657 May 5 14:44 Jenkinsfile 14:48:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 14:44 LICENSE 14:48:27 -rw-rw-r-- 1 jenkins jenkins 1876 May 5 14:44 Makefile 14:48:27 -rw-rw-r-- 1 jenkins jenkins 617 May 5 14:44 OWNERS.md 14:48:27 -rw-rw-r-- 1 jenkins jenkins 11178 May 5 14:44 README.md 14:48:27 -rw-rw-r-- 1 jenkins jenkins 5 May 5 14:42 VERSION 14:48:27 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:44 bin 14:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:44 cmd 14:48:27 -rw-r--r-- 1 jenkins jenkins 10 May 5 14:47 coverage.out 14:48:27 -rw-rw-r-- 1 jenkins jenkins 2794 May 5 14:44 go.mod 14:48:27 -rw-rw-r-- 1 jenkins jenkins 70652 May 5 14:44 go.sum 14:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:44 internal 14:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:44 snap 14:48:27 -rw-rw-r-- 1 jenkins jenkins 209 May 5 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:48:28 + 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=f5c59a37eda84415ee3ac5a7a35be1e307538a58 --label arch=arm64 --label version=0.0.0 . 14:48:28 Sending build context to Docker daemon 7.857MB 14:48:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:48:28 Step 2/25 : FROM ${BASE} AS builder 14:48:28 ---> 17858bc9b9f0 14:48:28 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:48:28 ---> Running in 5e1ef87c4d5c 14:48:29 Removing intermediate container 5e1ef87c4d5c 14:48:29 ---> c1ea4318220b 14:48:29 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:48:29 ---> Running in c3222e101bbf 14:48:29 Removing intermediate container c3222e101bbf 14:48:29 ---> 33640122ca31 14:48:29 Step 5/25 : WORKDIR /device-gpio 14:48:29 ---> Running in a138c9715431 14:48:30 Removing intermediate container a138c9715431 14:48:30 ---> fee729ca667d 14:48:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:30 ---> Running in d89bf8e86a93 14:48:31 Removing intermediate container d89bf8e86a93 14:48:31 ---> 0485f96d275b 14:48:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:48:31 ---> Running in 5deeadb45f0a 14:48:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:48:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:48:34 OK: 224 MiB in 56 packages 14:48:35 Removing intermediate container 5deeadb45f0a 14:48:35 ---> 1066aa86becb 14:48:35 Step 8/25 : COPY go.mod vendor* ./ 14:48:35 ---> db4a8cb38af1 14:48:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:48:35 ---> Running in 3a2d6095fb6f 14:48:37 Removing intermediate container 3a2d6095fb6f 14:48:37 ---> 230bf3e54e97 14:48:37 Step 10/25 : COPY . . 14:48:38 ---> dfda09dbdd54 14:48:38 Step 11/25 : RUN ${MAKE} 14:48:38 ---> Running in ad91a390922c 14:48:40 Removing intermediate container ad91a390922c 14:48:40 ---> 7b87d950afb6 14:48:40 Step 12/25 : FROM alpine:3.15 14:48:41 3.15: Pulling from library/alpine 14:48:41 9981e73032c8: Pulling fs layer 14:48:41 9981e73032c8: Download complete 14:48:42 9981e73032c8: Pull complete 14:48:42 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:48:42 Status: Downloaded newer image for alpine:3.15 14:48:42 ---> 3fb3c9af89a9 14:48:42 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:48:42 ---> Running in b46843375940 14:48:42 Removing intermediate container b46843375940 14:48:42 ---> 49e14afe8ce7 14:48:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:42 ---> Running in 96d80a66ee17 14:48:44 Removing intermediate container 96d80a66ee17 14:48:44 ---> c03f2a43dc63 14:48:44 Step 15/25 : RUN apk add --update --no-cache zeromq 14:48:44 ---> Running in 03359bc390c5 14:48:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:48:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:48:46 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:48:46 (2/5) Installing libsodium (1.0.18-r0) 14:48:46 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:48:47 (4/5) Installing libzmq (4.3.4-r0) 14:48:47 (5/5) Installing zeromq (4.3.4-r0) 14:48:47 Executing busybox-1.34.1-r5.trigger 14:48:47 OK: 8 MiB in 19 packages 14:48:48 Removing intermediate container 03359bc390c5 14:48:48 ---> bd710db82287 14:48:48 Step 16/25 : WORKDIR / 14:48:48 ---> Running in 6c8abb05fec1 14:48:48 Removing intermediate container 6c8abb05fec1 14:48:48 ---> 80d5642baa72 14:48:48 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:48:49 ---> 6d85097e1e14 14:48:49 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:48:49 ---> 18a3c07b05de 14:48:49 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:48:50 ---> 4071fed7c401 14:48:50 Step 20/25 : EXPOSE 59910 14:48:50 ---> Running in 57587a210215 14:48:50 Removing intermediate container 57587a210215 14:48:50 ---> 31574b491b64 14:48:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:48:50 ---> Running in b2535ed9d800 14:48:50 Removing intermediate container b2535ed9d800 14:48:50 ---> c41d6b618597 14:48:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:48:50 ---> Running in 8732866910d3 14:48:51 Removing intermediate container 8732866910d3 14:48:51 ---> 489ac8fd3265 14:48:51 Step 23/25 : LABEL arch=arm64 14:48:51 ---> Running in affed1439868 14:48:51 Removing intermediate container affed1439868 14:48:51 ---> 8108fe29d3fd 14:48:51 Step 24/25 : LABEL git_sha=f5c59a37eda84415ee3ac5a7a35be1e307538a58 14:48:51 ---> Running in 4228b9030057 14:48:51 Removing intermediate container 4228b9030057 14:48:51 ---> a633e0e1447e 14:48:51 Step 25/25 : LABEL version=0.0.0 14:48:52 ---> Running in e1f84a2ed6b2 14:48:52 Removing intermediate container e1f84a2ed6b2 14:48:52 ---> 3be226e7a0e3 14:48:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:48:52 Successfully built 3be226e7a0e3 14:48:52 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 14:48:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:53 14:48:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:48:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:53 arm64: Pulling from edgex-lftools-log-publisher 14:48:53 8998bd30e6a1: Pulling fs layer 14:48:53 04944245beec: Pulling fs layer 14:48:53 699f458cf7ca: Pulling fs layer 14:48:53 765212b225bb: Pulling fs layer 14:48:53 f23df028b6ca: Pulling fs layer 14:48:53 d65c8cfc05b1: Pulling fs layer 14:48:53 2437ff75d9bd: Pulling fs layer 14:48:53 f23df028b6ca: Waiting 14:48:53 d65c8cfc05b1: Waiting 14:48:53 765212b225bb: Waiting 14:48:53 2437ff75d9bd: Waiting 14:48:53 04944245beec: Verifying Checksum 14:48:53 04944245beec: Download complete 14:48:53 765212b225bb: Verifying Checksum 14:48:53 765212b225bb: Download complete 14:48:53 f23df028b6ca: Download complete 14:48:53 d65c8cfc05b1: Verifying Checksum 14:48:53 d65c8cfc05b1: Download complete 14:48:54 699f458cf7ca: Verifying Checksum 14:48:54 699f458cf7ca: Download complete 14:48:54 8998bd30e6a1: Verifying Checksum 14:48:54 8998bd30e6a1: Download complete 14:48:57 2437ff75d9bd: Verifying Checksum 14:48:57 2437ff75d9bd: Download complete 14:48:59 8998bd30e6a1: Pull complete 14:48:59 04944245beec: Pull complete 14:49:00 699f458cf7ca: Pull complete 14:49:01 765212b225bb: Pull complete 14:49:02 f23df028b6ca: Pull complete 14:49:02 d65c8cfc05b1: Pull complete 14:49:17 2437ff75d9bd: Pull complete 14:49:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:49:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:49:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:49:17 prd-ubuntu20.04-docker-arm64-4c-16g-40504 does not seem to be running inside a container 14:49:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:49:19 $ docker top 1d9f41a9cb6de2e49e2de5478c683f4c20597e87517b732196e50d49676ad96f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:20 ---> job-cost.sh 14:49:20 lf-activate-venv: SKIPPING 14:49:20 INFO: No Stack... 14:49:21 INFO: Retrieving Pricing Info for: v3-standard-4 14:49:22 INFO: Archiving Costs [Pipeline] sh 14:49:22 + + cut -d,cat -f6 /w/workspace/device-gpio/1/archives/cost.csv 14:49:22 [Pipeline] lock 14:49:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] 14:49:22 Resource [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] did not exist. Created. 14:49:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:49:23 /w/workspace/device-gpio/1@tmp/durable-8bb235fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:49:24 + echo total: 0.10999999940395355 [Pipeline] stash 14:49:24 Warning: overwriting stash ‘stack-cost’ 14:49:24 Stashed 1 file(s) [Pipeline] } 14:49:24 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:49:24 $ docker stop --time=1 1d9f41a9cb6de2e49e2de5478c683f4c20597e87517b732196e50d49676ad96f 14:49:26 $ docker rm -f 1d9f41a9cb6de2e49e2de5478c683f4c20597e87517b732196e50d49676ad96f [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 14:49:27 provisioning config files... 14:49:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/config3796530203772111448tmp [Pipeline] { [Pipeline] sh 14:49:27 + set +x 14:49:27 + curl -s https://codecov.io/bash 14:49:27 + bash -s -- 14:49:27 14:49:27 _____ _ 14:49:27 / ____| | | 14:49:27 | | ___ __| | ___ ___ _____ __ 14:49:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:49:27 | |___| (_) | (_| | __/ (_| (_) \ V / 14:49:27 \_____\___/ \__,_|\___|\___\___/ \_/ 14:49:27 Bash-1.0.6 14:49:27 14:49:27 14:49:27 ==> git version 2.25.1 found 14:49:27 ==> 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 14:49:27 Release-Date: 2020-01-08 14:49:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:49:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:49:27 ==> Jenkins CI detected. 14:49:27 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-27 14:49:27 project root: . 14:49:27 --> token set from env 14:49:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:49:27 ==> Running gcov in . (disable via -X gcov) 14:49:27 ==> Python coveragepy not found 14:49:27 ==> Searching for coverage reports in: 14:49:27 + . 14:49:27 -> Found 1 reports 14:49:27 ==> Detecting git/mercurial file structure 14:49:27 ==> Reading reports 14:49:27 + ./coverage.out bytes=10 14:49:27 ==> Appending adjustments 14:49:27 https://docs.codecov.io/docs/fixing-reports 14:49:27 + Found adjustments 14:49:27 ==> Gzipping contents 14:49:27 4.0K /tmp/codecov.6OeXHr.gz 14:49:27 ==> Uploading reports 14:49:27 url: https://codecov.io 14:49:27 query: branch=PR-27&commit=f5c59a37eda84415ee3ac5a7a35be1e307538a58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=27&job=&cmd_args= 14:49:27 -> Pinging Codecov 14:49:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-27&commit=f5c59a37eda84415ee3ac5a7a35be1e307538a58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=27&job=&cmd_args= 14:49:27 -> Uploading to 14:49:27 https://storage.googleapis.com/codecov/v4/raw/2022-05-05/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f5c59a37eda84415ee3ac5a7a35be1e307538a58/1a4c1830-0787-4302-b218-e3c45d91840f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T144927Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9bf30996d077cc89a9e34ad0efebf1d4ce280e6ea6e4cda7063a5e991caf30c 14:49:27 % Total % Received % Xferd Average Speed Time Time Time Current 14:49:27 Dload Upload Total Spent Left Speed 14:49:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3924 --:--:-- --:--:-- --:--:-- 3924 14:49:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/f5c59a37eda84415ee3ac5a7a35be1e307538a58 [Pipeline] } 14:49:28 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 14:49:29 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-27/archives ] 14:49:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-27/archives 14:49:29 total 16 14:49:29 drwxr-xr-x 3 root root 4096 May 5 14:44 . 14:49:29 drwxrwxr-x 10 jenkins jenkins 4096 May 5 14:44 .. 14:49:29 drwxr-xr-x 2 root root 4096 May 5 14:44 cost 14:49:29 -rw-r--r-- 1 root root 81 May 5 14:44 cost.csv 14:49:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-27/archives 14:49:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-27/archives 14:49:29 total 16 14:49:29 drwxr-xr-x 3 jenkins jenkins 4096 May 5 14:44 . 14:49:29 drwxrwxr-x 10 jenkins jenkins 4096 May 5 14:44 .. 14:49:29 drwxr-xr-x 2 jenkins jenkins 4096 May 5 14:44 cost 14:49:29 -rw-r--r-- 1 jenkins jenkins 81 May 5 14:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:49:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:30 ---> package-listing.sh 14:49:30 ++ facter osfamily 14:49:30 ++ tr '[:upper:]' '[:lower:]' 14:49:31 + OS_FAMILY=debian 14:49:31 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-27 14:49:31 + START_PACKAGES=/tmp/packages_start.txt 14:49:31 + END_PACKAGES=/tmp/packages_end.txt 14:49:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:31 + PACKAGES=/tmp/packages_start.txt 14:49:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-27 ']' 14:49:31 + PACKAGES=/tmp/packages_end.txt 14:49:31 + case "${OS_FAMILY}" in 14:49:31 + grep '^ii' 14:49:31 + dpkg -l 14:49:31 + '[' -f /tmp/packages_start.txt ']' 14:49:31 + '[' -f /tmp/packages_end.txt ']' 14:49:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:49:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-27 ']' 14:49:31 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-27/archives/ 14:49:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-27/archives/ [Pipeline] echo 14:49:31 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:49:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:49:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:49:32 . [Pipeline] withDockerContainer 14:49:32 prd-ubuntu20.04-docker-8c-8g-40502 does not seem to be running inside a container 14:49:32 $ 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-27/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-27 -v /w/workspace/edgexfoundry_device-gpio_PR-27:/w/workspace/edgexfoundry_device-gpio_PR-27:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-27@tmp:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:49:32 $ docker top 3a7d8addcc85ce9051307bec88872da4f8d1e7f1fe63cbf3d6def0e6fb80916c -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:32 + touch /tmp/pre-build-complete [Pipeline] sh 14:49:33 + mkdir -p /var/log/sysstat [Pipeline] sh 14:49:33 + ls /var/log/sa-host 14:49:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:33 provisioning config files... 14:49:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-27@tmp/config3773671135800685051tmp [Pipeline] { [Pipeline] echo 14:49:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> create-netrc.sh [Pipeline] } 14:49:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> python-tools-install.sh [Pipeline] echo 14:49:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> sudo-logs.sh 14:49:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:49:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:49:35 ---> job-cost.sh 14:49:35 lf-activate-venv: SKIPPING 14:49:35 DEBUG: total: 0.2199999988079071 14:49:35 INFO: Retrieving Stack Cost... 14:49:35 INFO: Retrieving Pricing Info for: v3-standard-8 14:49:36 INFO: Archiving Costs [Pipeline] echo 14:49:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:49:36 ---> logs-deploy.sh 14:49:36 lf-activate-venv: SKIPPING 14:49:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-27/1 14:49:36 INFO: archiving workspace using pattern(s): 14:49:37 Archives upload complete. 14:49:37 INFO: archiving logs to Nexus