Pull request #25 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 b9afc87bdaf6fb1a5adf70b8290df672557dec94 rather than 0eee028e050f8a1bb8e1a188692f2d1cdc061775 Obtained Jenkinsfile from b9afc87bdaf6fb1a5adf70b8290df672557dec94 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-ssh15970869185305509794.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh17413766663615425420.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-25/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-25/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12133763525915515670.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-25/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4891453356152913694.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6732413949595119524.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-25/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-25/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh915994403810752682.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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21603 in /w/workspace/edgexfoundry_device-gpio_PR-25 [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-25 # 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 b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 0eee028e050f8a1bb8e1a188692f2d1cdc061775 Merge succeeded, producing 0eee028e050f8a1bb8e1a188692f2d1cdc061775 Checking out Revision 0eee028e050f8a1bb8e1a188692f2d1cdc061775 (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0eee028e050f8a1bb8e1a188692f2d1cdc061775 # 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 b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0eee028e050f8a1bb8e1a188692f2d1cdc061775 # timeout=10 Commit message: "feat(snap): use updated environment variable injection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:08:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:08:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:08:59 ========================================================= 16:08:59 EdgeX Global Pipelines Version Info 16:08:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:08:59 ------------------- 16:08:59 stable info: 16:08:59 ------------------- 16:08:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:08:59 Message: update stable to v1.0.221 16:09:00 ------------------- 16:09:00 experimental info: 16:09:00 ------------------- 16:09:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:00 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 16:09:00 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0eee028e050f8a1bb8e1a188692f2d1cdc061775 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0eee028 [Pipeline] echo 16:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:02 provisioning config files... 16:09:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config7585447752945815387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:02 ---> docker-login.sh 16:09:02 nexus3.edgexfoundry.org:10001 16:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 nexus3.edgexfoundry.org:10002 16:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 nexus3.edgexfoundry.org:10003 16:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 nexus3.edgexfoundry.org:10004 16:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 docker.io 16:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 ---> docker-login.sh ends [Pipeline] } 16:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:09:04 + git rev-list -1 --merges 0eee028e050f8a1bb8e1a188692f2d1cdc061775~1..0eee028e050f8a1bb8e1a188692f2d1cdc061775 [Pipeline] echo 16:09:04 -----------> git rev-list -1 --merges 0eee028e050f8a1bb8e1a188692f2d1cdc061775~1..0eee028e050f8a1bb8e1a188692f2d1cdc061775 0eee028e050f8a1bb8e1a188692f2d1cdc061775 [false] [Pipeline] sh 16:09:04 + git log --format=format:%s -1 0eee028e050f8a1bb8e1a188692f2d1cdc061775 [Pipeline] echo 16:09:05 ========================================================= 16:09:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:09:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:05 + git log --format=format:%s -1 0eee028e050f8a1bb8e1a188692f2d1cdc061775 [Pipeline] echo 16:09:05 [semverPrep] GIT_COMMIT: 0eee028e050f8a1bb8e1a188692f2d1cdc061775, Commit Message: feat(snap): use updated environment variable injection [Pipeline] echo 16:09:05 [semverPrep] This is not a build commit. [Pipeline] sh 16:09:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:06 + grep -v github /etc/ssh/ssh_known_hosts 16:09:06 + [ -e /tmp/ssh_known_hosts ] 16:09:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:09:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:09:06 + sudo tee -a /etc/ssh/ssh_known_hosts 16:09:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:09:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:06 16:09:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:09:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:06 latest: Pulling from edgex-devops/git-semver 16:09:06 a0d0a0d46f8b: Pulling fs layer 16:09:06 3e5f54012d9b: Pulling fs layer 16:09:06 4c7163046ea9: Pulling fs layer 16:09:06 0c2d73faf560: Pulling fs layer 16:09:06 0c2d73faf560: Waiting 16:09:06 3e5f54012d9b: Verifying Checksum 16:09:06 3e5f54012d9b: Download complete 16:09:06 a0d0a0d46f8b: Download complete 16:09:06 0c2d73faf560: Verifying Checksum 16:09:06 0c2d73faf560: Download complete 16:09:06 4c7163046ea9: Verifying Checksum 16:09:06 4c7163046ea9: Download complete 16:09:07 a0d0a0d46f8b: Pull complete 16:09:07 3e5f54012d9b: Pull complete 16:09:07 4c7163046ea9: Pull complete 16:09:07 0c2d73faf560: Pull complete 16:09:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:09:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:09:07 prd-ubuntu20.04-docker-8c-8g-21603 does not seem to be running inside a container 16:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:09:08 $ docker top ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:08 [ssh-agent] Looking for ssh-agent implementation... 16:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:08 $ docker exec ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 ssh-agent 16:09:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCBpHfk/agent.14 16:09:09 SSH_AGENT_PID=20 16:09:09 Running ssh-add (command line suppressed) 16:09:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_1596680534075930014.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_1596680534075930014.key) 16:09:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:09 + git tag --points-at HEAD [Pipeline] } 16:09:09 $ docker exec --env ******** --env ******** ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 ssh-agent -k 16:09:09 unset SSH_AUTH_SOCK; 16:09:09 unset SSH_AGENT_PID; 16:09:09 echo Agent pid 20 killed; 16:09:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:09:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:09 [ssh-agent] Looking for ssh-agent implementation... 16:09:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:09 $ docker exec ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 ssh-agent 16:09:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeFPgeL/agent.54 16:09:10 SSH_AGENT_PID=60 16:09:10 Running ssh-add (command line suppressed) 16:09:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_994110315504417768.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_994110315504417768.key) 16:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:10 + git semver init 16:09:10 # -> Open(): unable to determine branch for HEAD 16:09:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.git 16:09:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-25 16:09:10 # $SEMVER_REMOTE_NAME = origin 16:09:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:09:10 # $SEMVER_USER_NAME = edgex-jenkins 16:09:10 # $SEMVER_BRANCH = PR-25 16:09:10 # $SEMVER_TEMP = /tmp/semver-127963456 16:09:10 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 16:09:11 # '/tmp/semver-127963456' -> '/w/workspace/edgexfoundry_device-gpio_PR-25/.semver' 16:09:11 # -> Force: false 16:09:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.semver [Pipeline] } 16:09:11 $ docker exec --env ******** --env ******** ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 ssh-agent -k 16:09:11 unset SSH_AUTH_SOCK; 16:09:11 unset SSH_AGENT_PID; 16:09:11 echo Agent pid 60 killed; 16:09:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:12 + git semver [Pipeline] } 16:09:12 $ docker stop --time=1 ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 16:09:13 $ docker rm -f ca65c20284c149e5399fc10394228eff216a7787be6433b529bd271e1f38c2b2 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:14 Stashed 1 file(s) [Pipeline] echo 16:09:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:14 provisioning config files... 16:09:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config5138967005040037145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:15 ---> docker-login.sh 16:09:15 nexus3.edgexfoundry.org:10001 16:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:15 Configure a credential helper to remove this warning. See 16:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:15 16:09:15 Login Succeeded 16:09:15 nexus3.edgexfoundry.org:10002 16:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:15 Configure a credential helper to remove this warning. See 16:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:15 16:09:15 Login Succeeded 16:09:15 nexus3.edgexfoundry.org:10003 16:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:15 Configure a credential helper to remove this warning. See 16:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:15 16:09:15 Login Succeeded 16:09:15 nexus3.edgexfoundry.org:10004 16:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:15 Configure a credential helper to remove this warning. See 16:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:15 16:09:15 Login Succeeded 16:09:15 docker.io 16:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:16 Configure a credential helper to remove this warning. See 16:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:16 16:09:16 Login Succeeded 16:09:16 ---> docker-login.sh ends [Pipeline] } 16:09:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:16 ========================================================= 16:09:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:09:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:09:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:09:16 Sending build context to Docker daemon 11.13MB 16:09:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:09:16 Step 2/11 : FROM ${BASE} AS builder 16:09:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:09:16 59bf1c3509f3: Pulling fs layer 16:09:16 666ba61612fd: Pulling fs layer 16:09:16 8ed8ca486205: Pulling fs layer 16:09:16 4fe6c5a15a65: Pulling fs layer 16:09:16 22a0e8bec74d: Pulling fs layer 16:09:16 640e595b4fbd: Pulling fs layer 16:09:16 763cafe07f6e: Pulling fs layer 16:09:16 0c0b528cf693: Pulling fs layer 16:09:16 10935f4eaf8b: Pulling fs layer 16:09:16 4fe6c5a15a65: Waiting 16:09:16 22a0e8bec74d: Waiting 16:09:16 0c0b528cf693: Waiting 16:09:16 640e595b4fbd: Waiting 16:09:16 763cafe07f6e: Waiting 16:09:16 8ed8ca486205: Download complete 16:09:16 666ba61612fd: Verifying Checksum 16:09:16 666ba61612fd: Download complete 16:09:17 22a0e8bec74d: Verifying Checksum 16:09:17 22a0e8bec74d: Download complete 16:09:17 59bf1c3509f3: Download complete 16:09:17 763cafe07f6e: Download complete 16:09:17 0c0b528cf693: Verifying Checksum 16:09:17 0c0b528cf693: Download complete 16:09:17 59bf1c3509f3: Pull complete 16:09:17 666ba61612fd: Pull complete 16:09:17 8ed8ca486205: Pull complete 16:09:17 10935f4eaf8b: Verifying Checksum 16:09:17 10935f4eaf8b: Download complete 16:09:17 4fe6c5a15a65: Verifying Checksum 16:09:17 4fe6c5a15a65: Download complete 16:09:21 4fe6c5a15a65: Pull complete 16:09:21 22a0e8bec74d: Pull complete 16:09:21 640e595b4fbd: Pull complete 16:09:21 763cafe07f6e: Pull complete 16:09:21 0c0b528cf693: Pull complete 16:09:23 10935f4eaf8b: Pull complete 16:09:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:09:23 ---> 99d49a6021b9 16:09:23 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:09:25 ---> Running in c47363076a09 16:09:26 Removing intermediate container c47363076a09 16:09:26 ---> 82e7b573d7b1 16:09:26 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:09:26 ---> Running in 44e1acdbe17d 16:09:26 Removing intermediate container 44e1acdbe17d 16:09:26 ---> 5f64dcacbc6a 16:09:26 Step 5/11 : WORKDIR /device-gpio 16:09:26 ---> Running in 5ddca2c24808 16:09:26 Removing intermediate container 5ddca2c24808 16:09:26 ---> aeaaafb7b3b0 16:09:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:26 ---> Running in adc2bb6fc0f4 16:09:27 Removing intermediate container adc2bb6fc0f4 16:09:27 ---> 2890b10ef511 16:09:27 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:27 ---> Running in c19969e80789 16:09:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:09:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:09:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:09:28 (2/4) Installing libedit (20210910.3.1-r0) 16:09:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:09:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:09:29 Executing busybox-1.34.1-r3.trigger 16:09:29 OK: 224 MiB in 56 packages 16:09:29 Removing intermediate container c19969e80789 16:09:29 ---> f93370d92082 16:09:29 Step 8/11 : COPY go.mod vendor* ./ 16:09:29 ---> a9b238efb4a1 16:09:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:29 ---> Running in 511df434a2ba 16:09:29 Still waiting to schedule task 16:09:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:10:01 Removing intermediate container 511df434a2ba 16:10:01 ---> b028cac9d1a7 16:10:01 Step 10/11 : COPY . . 16:10:01 ---> 4838004850d6 16:10:01 Step 11/11 : RUN ${MAKE} 16:10:01 ---> Running in a68359f41a08 16:10:01 Removing intermediate container a68359f41a08 16:10:01 ---> afa5e19f6ea4 16:10:01 [Warning] One or more build-args [MAKE] were not consumed 16:10:01 Successfully built afa5e19f6ea4 16:10:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:10:02 + docker inspect -f . ci-base-image-x86_64 16:10:02 . [Pipeline] withDockerContainer 16:10:02 prd-ubuntu20.04-docker-8c-8g-21603 does not seem to be running inside a container 16:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:02 $ docker top 80111cac970fd93b056e7743143784a52952c50b47d88244887460cfa0b9a72e -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:03 + go version 16:10:03 go version go1.17.6 linux/amd64 [Pipeline] } 16:10:03 $ docker stop --time=1 80111cac970fd93b056e7743143784a52952c50b47d88244887460cfa0b9a72e 16:10:04 $ docker rm -f 80111cac970fd93b056e7743143784a52952c50b47d88244887460cfa0b9a72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:10:05 + docker inspect -f . ci-base-image-x86_64 16:10:05 . [Pipeline] withDockerContainer 16:10:05 prd-ubuntu20.04-docker-8c-8g-21603 does not seem to be running inside a container 16:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:05 $ docker top 325481616b0ada73f74fe6e927b971404f48283ef69a776d9a769364c2dbb714 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:10:06 + make test 16:10:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:10:06 ? github.com/edgexfoundry/device-gpio [no test files] 16:10:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:10:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:10:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:10:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:10:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:10:21 ./bin/test-attribution-txt.sh [Pipeline] echo 16:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:10:21 $ docker stop --time=1 325481616b0ada73f74fe6e927b971404f48283ef69a776d9a769364c2dbb714 16:10:23 $ docker rm -f 325481616b0ada73f74fe6e927b971404f48283ef69a776d9a769364c2dbb714 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:10:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:10:25 + ls -al . 16:10:25 total 188 16:10:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 16:10 . 16:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 16:08 .. 16:10:25 -rw-rw-r-- 1 jenkins jenkins 120 Apr 21 16:08 .dockerignore 16:10:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 16:08 .git 16:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:08 .github 16:10:25 -rw-rw-r-- 1 jenkins jenkins 343 Apr 21 16:08 .gitignore 16:10:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 16:08 .golangci.yml 16:10:25 drwx------ 3 jenkins jenkins 4096 Apr 21 16:09 .semver 16:10:25 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 21 16:08 Attribution.txt 16:10:25 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 21 16:08 Dockerfile 16:10:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 16:08 GOVERNANCE.md 16:10:25 -rw-rw-r-- 1 jenkins jenkins 657 Apr 21 16:08 Jenkinsfile 16:10:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 16:08 LICENSE 16:10:25 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 21 16:08 Makefile 16:10:25 -rw-rw-r-- 1 jenkins jenkins 617 Apr 21 16:08 OWNERS.md 16:10:25 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 21 16:08 README.md 16:10:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 16:09 VERSION 16:10:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 16:08 bin 16:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:08 cmd 16:10:25 -rw-r--r-- 1 jenkins jenkins 10 Apr 21 16:10 coverage.out 16:10:25 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 21 16:08 go.mod 16:10:25 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 21 16:08 go.sum 16:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:08 internal 16:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:08 snap 16:10:25 -rw-rw-r-- 1 jenkins jenkins 209 Apr 21 16:08 version.go [Pipeline] isUnix [Pipeline] sh 16:10:25 + 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=0eee028e050f8a1bb8e1a188692f2d1cdc061775 --label arch=amd64 --label version=0.0.0 . 16:10:25 Sending build context to Docker daemon 11.13MB 16:10:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:10:25 Step 2/25 : FROM ${BASE} AS builder 16:10:25 ---> afa5e19f6ea4 16:10:25 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:10:26 ---> Running in 479192b2ad42 16:10:26 Removing intermediate container 479192b2ad42 16:10:26 ---> cfce95589430 16:10:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:10:26 ---> Running in 7189cf1626c0 16:10:26 Removing intermediate container 7189cf1626c0 16:10:26 ---> fb3753351f36 16:10:26 Step 5/25 : WORKDIR /device-gpio 16:10:26 ---> Running in df81a1ad45c1 16:10:26 Removing intermediate container df81a1ad45c1 16:10:26 ---> c667f0e326b8 16:10:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:26 ---> Running in b92776da03f5 16:10:27 Removing intermediate container b92776da03f5 16:10:27 ---> b1cb0e677341 16:10:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:10:27 ---> Running in bba346539ca2 16:10:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:10:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:10:28 OK: 224 MiB in 56 packages 16:10:28 Removing intermediate container bba346539ca2 16:10:28 ---> cd5534ed23f8 16:10:28 Step 8/25 : COPY go.mod vendor* ./ 16:10:28 ---> c5ed473f2e6e 16:10:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:28 ---> Running in 59aa93885c64 16:10:29 Removing intermediate container 59aa93885c64 16:10:29 ---> 04c4516a0201 16:10:29 Step 10/25 : COPY . . 16:10:30 ---> b48bb960f2a4 16:10:30 Step 11/25 : RUN ${MAKE} 16:10:30 ---> Running in ac096f941e78 16:10:30 Removing intermediate container ac096f941e78 16:10:30 ---> 3475f5b99b39 16:10:30 Step 12/25 : FROM alpine:3.15 16:10:31 3.15: Pulling from library/alpine 16:10:31 df9b9388f04a: Pulling fs layer 16:10:31 df9b9388f04a: Verifying Checksum 16:10:31 df9b9388f04a: Download complete 16:10:31 df9b9388f04a: Pull complete 16:10:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:10:31 Status: Downloaded newer image for alpine:3.15 16:10:31 ---> 0ac33e5f5afa 16:10:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:10:32 ---> Running in 6ca7c6bde921 16:10:32 Removing intermediate container 6ca7c6bde921 16:10:32 ---> 55a4b997fde2 16:10:32 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:32 ---> Running in c9b1291d42cc 16:10:32 Removing intermediate container c9b1291d42cc 16:10:32 ---> db4f37442f3a 16:10:32 Step 15/25 : RUN apk add --update --no-cache zeromq 16:10:32 ---> Running in cdd19784e670 16:10:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:10:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:10:34 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:10:34 (2/5) Installing libsodium (1.0.18-r0) 16:10:34 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:10:34 (4/5) Installing libzmq (4.3.4-r0) 16:10:34 (5/5) Installing zeromq (4.3.4-r0) 16:10:34 Executing busybox-1.34.1-r5.trigger 16:10:34 OK: 8 MiB in 19 packages 16:10:35 Removing intermediate container cdd19784e670 16:10:35 ---> 4950a2207f71 16:10:35 Step 16/25 : WORKDIR / 16:10:35 ---> Running in 27bbdd7c4111 16:10:35 Removing intermediate container 27bbdd7c4111 16:10:35 ---> 23dec3ac7b63 16:10:35 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:10:35 ---> 87460ce83e99 16:10:35 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:10:35 ---> c3b6d6fb5309 16:10:35 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:10:35 ---> 32bcef760aec 16:10:35 Step 20/25 : EXPOSE 59910 16:10:36 ---> Running in cd231b08d4ea 16:10:36 Removing intermediate container cd231b08d4ea 16:10:36 ---> 8dbe01e03241 16:10:36 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:10:36 ---> Running in eda91ba4866e 16:10:36 Removing intermediate container eda91ba4866e 16:10:36 ---> 5e0efbb307a9 16:10:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:10:36 ---> Running in 97aa6c68091a 16:10:36 Removing intermediate container 97aa6c68091a 16:10:36 ---> efaf572eeec5 16:10:36 Step 23/25 : LABEL arch=amd64 16:10:36 ---> Running in 1b44b8a271d2 16:10:36 Removing intermediate container 1b44b8a271d2 16:10:36 ---> 7647fd5c02bf 16:10:36 Step 24/25 : LABEL git_sha=0eee028e050f8a1bb8e1a188692f2d1cdc061775 16:10:36 ---> Running in e9d59c38a6d5 16:10:36 Removing intermediate container e9d59c38a6d5 16:10:36 ---> 8682230094fe 16:10:36 Step 25/25 : LABEL version=0.0.0 16:10:36 ---> Running in 42b8783bc36a 16:10:36 Removing intermediate container 42b8783bc36a 16:10:36 ---> 088fec6553ee 16:10:36 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:10:36 Successfully built 088fec6553ee 16:10:36 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:37 16:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:37 latest: Pulling from edgex-lftools-log-publisher 16:10:37 5eb5b503b376: Pulling fs layer 16:10:37 5c69ac0246d0: Pulling fs layer 16:10:37 ec43610c2a17: Pulling fs layer 16:10:37 3a2ae6a8a46f: Pulling fs layer 16:10:37 33b1e0a273af: Pulling fs layer 16:10:37 5d3b04190fa2: Pulling fs layer 16:10:37 2f39f015ded8: Pulling fs layer 16:10:37 33b1e0a273af: Waiting 16:10:37 5d3b04190fa2: Waiting 16:10:37 2f39f015ded8: Waiting 16:10:37 3a2ae6a8a46f: Waiting 16:10:37 5c69ac0246d0: Verifying Checksum 16:10:37 5c69ac0246d0: Download complete 16:10:37 3a2ae6a8a46f: Download complete 16:10:37 33b1e0a273af: Verifying Checksum 16:10:37 33b1e0a273af: Download complete 16:10:37 ec43610c2a17: Verifying Checksum 16:10:37 ec43610c2a17: Download complete 16:10:37 5d3b04190fa2: Download complete 16:10:38 5eb5b503b376: Verifying Checksum 16:10:38 5eb5b503b376: Download complete 16:10:38 2f39f015ded8: Verifying Checksum 16:10:38 2f39f015ded8: Download complete 16:10:39 5eb5b503b376: Pull complete 16:10:39 5c69ac0246d0: Pull complete 16:10:40 ec43610c2a17: Pull complete 16:10:40 3a2ae6a8a46f: Pull complete 16:10:40 33b1e0a273af: Pull complete 16:10:40 5d3b04190fa2: Pull complete 16:10:44 2f39f015ded8: Pull complete 16:10:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:10:44 prd-ubuntu20.04-docker-8c-8g-21603 does not seem to be running inside a container 16:10:44 $ 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-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:10:46 $ docker top e100a7fd775549aecca402bf5bf8c9b55384228762f44bcdcc1fe7efa6aa69b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:47 ---> job-cost.sh 16:10:47 lf-activate-venv: SKIPPING 16:10:47 INFO: No Stack... 16:10:47 INFO: Retrieving Pricing Info for: v3-standard-8 16:10:48 INFO: Archiving Costs [Pipeline] sh 16:10:48 + cat /w/workspace/edgexfoundry_device-gpio_PR-25/archives/cost.csv 16:10:48 + cut -d, -f6 [Pipeline] lock 16:10:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] 16:10:48 Resource [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] did not exist. Created. 16:10:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:10:48 + echo total: 0.2199999988079071 [Pipeline] stash 16:10:48 Stashed 1 file(s) [Pipeline] } 16:10:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:10:48 $ docker stop --time=1 e100a7fd775549aecca402bf5bf8c9b55384228762f44bcdcc1fe7efa6aa69b8 16:10:50 $ docker rm -f e100a7fd775549aecca402bf5bf8c9b55384228762f44bcdcc1fe7efa6aa69b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:11:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21604 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] ws 16:11:06 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 16:11:06 The recommended git tool is: git 16:11:13 using credential edgex-jenkins-ssh 16:11:13 Cloning the remote Git repository 16:11:13 Cloning repository git@github.com:edgexfoundry/device-gpio.git 16:11:13 > git init /w/workspace/device-gpio/1 # timeout=10 16:11:14 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:11:14 > git --version # timeout=10 16:11:14 > git --version # 'git version 2.25.1' 16:11:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:15 Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 0eee028e050f8a1bb8e1a188692f2d1cdc061775 16:11:16 Merge succeeded, producing 0eee028e050f8a1bb8e1a188692f2d1cdc061775 16:11:16 Checking out Revision 0eee028e050f8a1bb8e1a188692f2d1cdc061775 (PR-25) 16:11:15 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:11:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:15 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:11:15 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:11:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:11:15 > git config core.sparsecheckout # timeout=10 16:11:16 > git checkout -f 0eee028e050f8a1bb8e1a188692f2d1cdc061775 # timeout=10 16:11:16 > git remote # timeout=10 16:11:16 > git config --get remote.origin.url # timeout=10 16:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:16 > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 16:11:16 > git rev-parse HEAD^{commit} # timeout=10 16:11:16 > git config core.sparsecheckout # timeout=10 16:11:16 > git checkout -f 0eee028e050f8a1bb8e1a188692f2d1cdc061775 # timeout=10 16:11:20 Commit message: "feat(snap): use updated environment variable injection" 16:11:20 > git --version # timeout=10 16:11:20 > git --version # 'git version 2.25.1' 16:11:20 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:11:21 % Total % Received % Xferd Average Speed Time Time Time Current 16:11:21 Dload Upload Total Spent Left Speed 16:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97876 0 --:--:-- --:--:-- --:--:-- 97876 [Pipeline] sh 16:11:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:11:22 + sudo tee /etc/docker/daemon.new 16:11:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:11:22 { 16:11:22 "registry-mirrors": [ 16:11:22 "https://nexus3.edgexfoundry.org:10001" 16:11:22 ], 16:11:22 "bip": "10.250.0.254/24", 16:11:22 "hosts": [ 16:11:22 "tcp://0.0.0.0:5555", 16:11:22 "unix:///var/run/docker.sock" 16:11:22 ], 16:11:22 "mtu": 1458, 16:11:22 "selinux-enabled": true, 16:11:22 "seccomp-profile": "/etc/docker/seccomp.json" 16:11:22 } [Pipeline] sh 16:11:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:11:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:41 provisioning config files... 16:11:41 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config810099879217365527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:42 ---> docker-login.sh 16:11:42 nexus3.edgexfoundry.org:10001 16:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:43 Configure a credential helper to remove this warning. See 16:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:43 16:11:43 Login Succeeded 16:11:43 nexus3.edgexfoundry.org:10002 16:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:43 Configure a credential helper to remove this warning. See 16:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:43 16:11:43 Login Succeeded 16:11:43 nexus3.edgexfoundry.org:10003 16:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:44 Configure a credential helper to remove this warning. See 16:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:44 16:11:44 Login Succeeded 16:11:44 nexus3.edgexfoundry.org:10004 16:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:44 Configure a credential helper to remove this warning. See 16:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:44 16:11:44 Login Succeeded 16:11:44 docker.io 16:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:45 Configure a credential helper to remove this warning. See 16:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:45 16:11:45 Login Succeeded 16:11:45 ---> docker-login.sh ends [Pipeline] } 16:11:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:46 ========================================================= 16:11:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:11:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:11:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:11:46 Sending build context to Docker daemon 5.65MB 16:11:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:11:46 Step 2/11 : FROM ${BASE} AS builder 16:11:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:11:47 9b3977197b4f: Pulling fs layer 16:11:47 1a89e8eeedd5: Pulling fs layer 16:11:47 94645a83ff95: Pulling fs layer 16:11:47 3f3a8bcf1eab: Pulling fs layer 16:11:47 0c92f367c5e7: Pulling fs layer 16:11:47 f7c0051592d6: Pulling fs layer 16:11:47 a227ed2f7395: Pulling fs layer 16:11:47 7b1c46037f91: Pulling fs layer 16:11:47 3f3a8bcf1eab: Waiting 16:11:47 0c92f367c5e7: Waiting 16:11:47 f7c0051592d6: Waiting 16:11:47 a227ed2f7395: Waiting 16:11:47 7b1c46037f91: Waiting 16:11:47 94645a83ff95: Verifying Checksum 16:11:47 94645a83ff95: Download complete 16:11:47 0c92f367c5e7: Verifying Checksum 16:11:47 0c92f367c5e7: Download complete 16:11:47 f7c0051592d6: Verifying Checksum 16:11:47 f7c0051592d6: Download complete 16:11:47 9b3977197b4f: Verifying Checksum 16:11:47 9b3977197b4f: Download complete 16:11:47 a227ed2f7395: Verifying Checksum 16:11:47 a227ed2f7395: Download complete 16:11:48 9b3977197b4f: Pull complete 16:11:48 1a89e8eeedd5: Pull complete 16:11:48 94645a83ff95: Pull complete 16:11:49 7b1c46037f91: Verifying Checksum 16:11:49 7b1c46037f91: Download complete 16:11:49 3f3a8bcf1eab: Download complete 16:12:02 3f3a8bcf1eab: Pull complete 16:12:02 0c92f367c5e7: Pull complete 16:12:02 f7c0051592d6: Pull complete 16:12:02 a227ed2f7395: Pull complete 16:12:09 7b1c46037f91: Pull complete 16:12:09 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:12:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:12:09 ---> f79e39bc4007 16:12:09 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:12:09 ---> Running in 4119f6430a27 16:12:10 Removing intermediate container 4119f6430a27 16:12:10 ---> ab08d8cbcfd8 16:12:10 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:12:10 ---> Running in cba38c8bed72 16:12:10 Removing intermediate container cba38c8bed72 16:12:10 ---> 5db1a5f61f12 16:12:10 Step 5/11 : WORKDIR /device-gpio 16:12:10 ---> Running in 94b1d76819db 16:12:10 Removing intermediate container 94b1d76819db 16:12:10 ---> fffb424b9b54 16:12:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:12:10 ---> Running in aba8ffcc4d04 16:12:12 Removing intermediate container aba8ffcc4d04 16:12:12 ---> 3272aa49726c 16:12:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:12 ---> Running in 89d95b144de5 16:12:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:12:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:12:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:12:15 (2/4) Installing libedit (20210910.3.1-r0) 16:12:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:12:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:12:15 Executing busybox-1.34.1-r3.trigger 16:12:15 OK: 224 MiB in 56 packages 16:12:17 Removing intermediate container 89d95b144de5 16:12:17 ---> 722aa8a50e09 16:12:17 Step 8/11 : COPY go.mod vendor* ./ 16:12:17 ---> 1b9e8d233a48 16:12:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:17 ---> Running in 8d19a18325de 16:13:39 Removing intermediate container 8d19a18325de 16:13:39 ---> cab8f60738d8 16:13:39 Step 10/11 : COPY . . 16:13:39 ---> a979a9ca7cad 16:13:39 Step 11/11 : RUN ${MAKE} 16:13:39 ---> Running in c141774cc0b3 16:13:41 Removing intermediate container c141774cc0b3 16:13:41 ---> 4f3b12db5af5 16:13:41 [Warning] One or more build-args [MAKE] were not consumed 16:13:41 Successfully built 4f3b12db5af5 16:13:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:13:41 + docker inspect -f . ci-base-image-arm64 16:13:41 . [Pipeline] withDockerContainer 16:13:42 prd-ubuntu20.04-docker-arm64-4c-16g-21604 does not seem to be running inside a container 16:13:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:43 $ docker top 01bb9c1b20bf8c42230c7f51b5965e6f9728827045350520a032b5707db7da91 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:44 + go version 16:13:44 go version go1.17.6 linux/arm64 [Pipeline] } 16:13:44 $ docker stop --time=1 01bb9c1b20bf8c42230c7f51b5965e6f9728827045350520a032b5707db7da91 16:13:46 $ docker rm -f 01bb9c1b20bf8c42230c7f51b5965e6f9728827045350520a032b5707db7da91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:13:47 + docker inspect -f . ci-base-image-arm64 16:13:47 . [Pipeline] withDockerContainer 16:13:47 prd-ubuntu20.04-docker-arm64-4c-16g-21604 does not seem to be running inside a container 16:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:48 $ docker top 897e3f9158418e547be0bd92b111ec286d26b32d13faac9ad72e8f29e0eb7f57 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:13:49 + make test 16:13:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:13:51 ? github.com/edgexfoundry/device-gpio [no test files] 16:14:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:14:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:14:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:14:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:14:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:53 ./bin/test-attribution-txt.sh [Pipeline] echo 16:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:14:54 $ docker stop --time=1 897e3f9158418e547be0bd92b111ec286d26b32d13faac9ad72e8f29e0eb7f57 16:14:56 $ docker rm -f 897e3f9158418e547be0bd92b111ec286d26b32d13faac9ad72e8f29e0eb7f57 [Pipeline] // withDockerContainer [Pipeline] sh 16:14:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:57 Warning: overwriting stash ‘coverage-report’ 16:14:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:58 + ls -al . 16:14:58 total 184 16:14:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 16:14 . 16:14:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 16:11 .. 16:14:58 -rw-rw-r-- 1 jenkins jenkins 120 Apr 21 16:11 .dockerignore 16:14:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 16:11 .git 16:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:11 .github 16:14:58 -rw-rw-r-- 1 jenkins jenkins 343 Apr 21 16:11 .gitignore 16:14:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 16:11 .golangci.yml 16:14:58 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 21 16:11 Attribution.txt 16:14:58 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 21 16:11 Dockerfile 16:14:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 16:11 GOVERNANCE.md 16:14:58 -rw-rw-r-- 1 jenkins jenkins 657 Apr 21 16:11 Jenkinsfile 16:14:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 16:11 LICENSE 16:14:58 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 21 16:11 Makefile 16:14:58 -rw-rw-r-- 1 jenkins jenkins 617 Apr 21 16:11 OWNERS.md 16:14:58 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 21 16:11 README.md 16:14:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 16:09 VERSION 16:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 16:11 bin 16:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:11 cmd 16:14:58 -rw-r--r-- 1 jenkins jenkins 10 Apr 21 16:13 coverage.out 16:14:58 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 21 16:11 go.mod 16:14:58 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 21 16:11 go.sum 16:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:11 internal 16:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:11 snap 16:14:58 -rw-rw-r-- 1 jenkins jenkins 209 Apr 21 16:11 version.go [Pipeline] isUnix [Pipeline] sh 16:14:59 + 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=0eee028e050f8a1bb8e1a188692f2d1cdc061775 --label arch=arm64 --label version=0.0.0 . 16:14:59 Sending build context to Docker daemon 5.651MB 16:14:59 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:14:59 Step 2/25 : FROM ${BASE} AS builder 16:14:59 ---> 4f3b12db5af5 16:14:59 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:14:59 ---> Running in 02a8d99fa10c 16:15:00 Removing intermediate container 02a8d99fa10c 16:15:00 ---> 9c73bdc0ce5a 16:15:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:15:00 ---> Running in 6f962ccfed76 16:15:00 Removing intermediate container 6f962ccfed76 16:15:00 ---> 3833fe252bdb 16:15:00 Step 5/25 : WORKDIR /device-gpio 16:15:00 ---> Running in 14a27fa6e07b 16:15:00 Removing intermediate container 14a27fa6e07b 16:15:00 ---> b570608cfdbe 16:15:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:15:00 ---> Running in 0cefd1852a27 16:15:02 Removing intermediate container 0cefd1852a27 16:15:02 ---> 23e4a62bd7ef 16:15:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:15:02 ---> Running in 8e40101a9e53 16:15:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:15:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:15:05 OK: 224 MiB in 56 packages 16:15:06 Removing intermediate container 8e40101a9e53 16:15:06 ---> 8118d535d720 16:15:06 Step 8/25 : COPY go.mod vendor* ./ 16:15:06 ---> d2214d08a653 16:15:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:06 ---> Running in 0c8758f44eb4 16:15:08 Removing intermediate container 0c8758f44eb4 16:15:08 ---> 8f99eb64b964 16:15:08 Step 10/25 : COPY . . 16:15:09 ---> 9f9eaf4268c4 16:15:09 Step 11/25 : RUN ${MAKE} 16:15:10 ---> Running in d0aa65a2bcb4 16:15:11 Removing intermediate container d0aa65a2bcb4 16:15:11 ---> cec7065f624e 16:15:11 Step 12/25 : FROM alpine:3.15 16:15:12 3.15: Pulling from library/alpine 16:15:12 9981e73032c8: Pulling fs layer 16:15:12 9981e73032c8: Verifying Checksum 16:15:12 9981e73032c8: Download complete 16:15:13 9981e73032c8: Pull complete 16:15:13 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:15:13 Status: Downloaded newer image for alpine:3.15 16:15:13 ---> 3fb3c9af89a9 16:15:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:15:13 ---> Running in 82d74aac1d9d 16:15:13 Removing intermediate container 82d74aac1d9d 16:15:13 ---> c62fdd3ec179 16:15:13 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:15:13 ---> Running in 34efa3643b19 16:15:15 Removing intermediate container 34efa3643b19 16:15:15 ---> 9cf40becc0ed 16:15:15 Step 15/25 : RUN apk add --update --no-cache zeromq 16:15:15 ---> Running in b093426caaf3 16:15:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:15:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:15:18 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:15:18 (2/5) Installing libsodium (1.0.18-r0) 16:15:18 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:15:18 (4/5) Installing libzmq (4.3.4-r0) 16:15:18 (5/5) Installing zeromq (4.3.4-r0) 16:15:18 Executing busybox-1.34.1-r5.trigger 16:15:18 OK: 8 MiB in 19 packages 16:15:19 Removing intermediate container b093426caaf3 16:15:19 ---> e6d23cd3383c 16:15:19 Step 16/25 : WORKDIR / 16:15:19 ---> Running in 7086b7aaa062 16:15:19 Removing intermediate container 7086b7aaa062 16:15:19 ---> 8efd25fc4271 16:15:19 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:15:20 ---> ab4383b8815a 16:15:20 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:15:20 ---> ab1312312234 16:15:20 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:15:21 ---> f7ff0851017d 16:15:21 Step 20/25 : EXPOSE 59910 16:15:21 ---> Running in b6209e162700 16:15:21 Removing intermediate container b6209e162700 16:15:21 ---> 91fa5c7e842a 16:15:21 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:15:21 ---> Running in a7eb07d303b1 16:15:22 Removing intermediate container a7eb07d303b1 16:15:22 ---> 39ba2c1a605b 16:15:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:15:22 ---> Running in 1f21bdcd50d7 16:15:22 Removing intermediate container 1f21bdcd50d7 16:15:22 ---> 98f4b05e26f0 16:15:22 Step 23/25 : LABEL arch=arm64 16:15:22 ---> Running in 1db23d58da74 16:15:22 Removing intermediate container 1db23d58da74 16:15:22 ---> 8e6b598ac929 16:15:22 Step 24/25 : LABEL git_sha=0eee028e050f8a1bb8e1a188692f2d1cdc061775 16:15:23 ---> Running in 1a2317b5a0f4 16:15:23 Removing intermediate container 1a2317b5a0f4 16:15:23 ---> 17c25bc2d71a 16:15:23 Step 25/25 : LABEL version=0.0.0 16:15:23 ---> Running in 9f0db0741995 16:15:23 Removing intermediate container 9f0db0741995 16:15:23 ---> c626c6ab775e 16:15:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:15:23 Successfully built c626c6ab775e 16:15:23 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:15:24 16:15:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:15:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:15:24 arm64: Pulling from edgex-lftools-log-publisher 16:15:24 8998bd30e6a1: Pulling fs layer 16:15:24 04944245beec: Pulling fs layer 16:15:24 699f458cf7ca: Pulling fs layer 16:15:24 765212b225bb: Pulling fs layer 16:15:25 f23df028b6ca: Pulling fs layer 16:15:25 d65c8cfc05b1: Pulling fs layer 16:15:25 2437ff75d9bd: Pulling fs layer 16:15:25 765212b225bb: Waiting 16:15:25 d65c8cfc05b1: Waiting 16:15:25 2437ff75d9bd: Waiting 16:15:25 f23df028b6ca: Waiting 16:15:25 04944245beec: Verifying Checksum 16:15:25 04944245beec: Download complete 16:15:25 765212b225bb: Verifying Checksum 16:15:25 765212b225bb: Download complete 16:15:25 f23df028b6ca: Verifying Checksum 16:15:25 f23df028b6ca: Download complete 16:15:25 d65c8cfc05b1: Verifying Checksum 16:15:25 d65c8cfc05b1: Download complete 16:15:25 699f458cf7ca: Verifying Checksum 16:15:25 699f458cf7ca: Download complete 16:15:25 8998bd30e6a1: Verifying Checksum 16:15:28 2437ff75d9bd: Verifying Checksum 16:15:28 2437ff75d9bd: Download complete 16:15:30 8998bd30e6a1: Pull complete 16:15:30 04944245beec: Pull complete 16:15:31 699f458cf7ca: Pull complete 16:15:32 765212b225bb: Pull complete 16:15:32 f23df028b6ca: Pull complete 16:15:33 d65c8cfc05b1: Pull complete 16:15:48 2437ff75d9bd: Pull complete 16:15:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:15:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:15:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:15:48 prd-ubuntu20.04-docker-arm64-4c-16g-21604 does not seem to be running inside a container 16:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:15:50 $ docker top 84c5327a6302fe20805b73bcaf850b66f49071610366edf650decaea0c181b49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:51 ---> job-cost.sh 16:15:51 lf-activate-venv: SKIPPING 16:15:51 INFO: No Stack... 16:15:52 INFO: Retrieving Pricing Info for: v3-standard-4 16:15:53 INFO: Archiving Costs [Pipeline] sh 16:15:53 + cat /w/workspace/device-gpio/1/archives/cost.csv 16:15:53 + cut -d, -f6 [Pipeline] lock 16:15:53 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] 16:15:53 Resource [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] did not exist. Created. 16:15:53 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:15:54 /w/workspace/device-gpio/1@tmp/durable-8c409802/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:15:55 + echo total: 0.10999999940395355 [Pipeline] stash 16:15:55 Warning: overwriting stash ‘stack-cost’ 16:15:55 Stashed 1 file(s) [Pipeline] } 16:15:55 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:15:55 $ docker stop --time=1 84c5327a6302fe20805b73bcaf850b66f49071610366edf650decaea0c181b49 16:15:57 $ docker rm -f 84c5327a6302fe20805b73bcaf850b66f49071610366edf650decaea0c181b49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:15:58 provisioning config files... 16:15:58 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config8330175119032236577tmp [Pipeline] { [Pipeline] sh 16:15:58 + set +x 16:15:58 + curl -s https://codecov.io/bash 16:15:58 + bash -s -- 16:15:58 16:15:58 _____ _ 16:15:58 / ____| | | 16:15:58 | | ___ __| | ___ ___ _____ __ 16:15:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:15:58 | |___| (_) | (_| | __/ (_| (_) \ V / 16:15:58 \_____\___/ \__,_|\___|\___\___/ \_/ 16:15:58 Bash-1.0.6 16:15:58 16:15:58 16:15:58 ==> git version 2.25.1 found 16:15:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:15:58 Release-Date: 2020-01-08 16:15:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:15:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:15:58 ==> Jenkins CI detected. 16:15:58 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-25 16:15:58 project root: . 16:15:58 --> token set from env 16:15:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:15:58 ==> Running gcov in . (disable via -X gcov) 16:15:58 ==> Python coveragepy not found 16:15:58 ==> Searching for coverage reports in: 16:15:58 + . 16:15:58 -> Found 1 reports 16:15:58 ==> Detecting git/mercurial file structure 16:15:58 ==> Reading reports 16:15:58 + ./coverage.out bytes=10 16:15:58 ==> Appending adjustments 16:15:58 https://docs.codecov.io/docs/fixing-reports 16:15:58 + Found adjustments 16:15:58 ==> Gzipping contents 16:15:58 4.0K /tmp/codecov.Gy4Vh3.gz 16:15:58 ==> Uploading reports 16:15:58 url: https://codecov.io 16:15:58 query: branch=PR-25&commit=0eee028e050f8a1bb8e1a188692f2d1cdc061775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 16:15:58 -> Pinging Codecov 16:15:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-25&commit=0eee028e050f8a1bb8e1a188692f2d1cdc061775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 16:15:58 -> Uploading to 16:15:58 https://storage.googleapis.com/codecov/v4/raw/2022-04-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/0eee028e050f8a1bb8e1a188692f2d1cdc061775/e40f343e-8a0d-4e35-8524-3878dc89e320.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220421T161558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe82b4e7a3a3a583a9c8245fa5ebc6c92c15433ac7d39a2c1a1bef9bd62afa9a 16:15:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:15:58 Dload Upload Total Spent Left Speed 16:15:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3555 --:--:-- --:--:-- --:--:-- 3570 16:15:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/0eee028e050f8a1bb8e1a188692f2d1cdc061775 [Pipeline] } 16:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:16:00 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-25/archives ] 16:16:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 16:16:00 total 16 16:16:00 drwxr-xr-x 3 root root 4096 Apr 21 16:10 . 16:16:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 16:10 .. 16:16:00 drwxr-xr-x 2 root root 4096 Apr 21 16:10 cost 16:16:00 -rw-r--r-- 1 root root 81 Apr 21 16:10 cost.csv 16:16:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-25/archives 16:16:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 16:16:00 total 16 16:16:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 16:10 . 16:16:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 16:10 .. 16:16:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 16:10 cost 16:16:00 -rw-r--r-- 1 jenkins jenkins 81 Apr 21 16:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:16:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:16:02 ---> package-listing.sh 16:16:02 ++ tr '[:upper:]' '[:lower:]' 16:16:02 ++ facter osfamily 16:16:02 + OS_FAMILY=debian 16:16:02 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-25 16:16:02 + START_PACKAGES=/tmp/packages_start.txt 16:16:02 + END_PACKAGES=/tmp/packages_end.txt 16:16:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:16:02 + PACKAGES=/tmp/packages_start.txt 16:16:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 16:16:02 + PACKAGES=/tmp/packages_end.txt 16:16:02 + case "${OS_FAMILY}" in 16:16:02 + dpkg -l 16:16:02 + grep '^ii' 16:16:02 + '[' -f /tmp/packages_start.txt ']' 16:16:02 + '[' -f /tmp/packages_end.txt ']' 16:16:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:16:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 16:16:02 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ 16:16:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [Pipeline] echo 16:16:02 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-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:16:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:16:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:16:03 . [Pipeline] withDockerContainer 16:16:03 prd-ubuntu20.04-docker-8c-8g-21603 does not seem to be running inside a container 16:16:03 $ 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-25/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-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:16:03 $ docker top d9d2e16ef01901f60d7c6a58ca2bf4d70986715e3864bfdd9f08950d9bf17331 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:16:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:16:04 + ls /var/log/sa-host 16:16:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:05 provisioning config files... 16:16:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config6237714166149665451tmp [Pipeline] { [Pipeline] echo 16:16:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:16:05 ---> create-netrc.sh [Pipeline] } 16:16:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:16:05 ---> python-tools-install.sh [Pipeline] echo 16:16:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:16:06 ---> sudo-logs.sh 16:16:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:16:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:16:06 ---> job-cost.sh 16:16:06 lf-activate-venv: SKIPPING 16:16:06 DEBUG: total: 0.2199999988079071 16:16:06 INFO: Retrieving Stack Cost... 16:16:07 INFO: Retrieving Pricing Info for: v3-standard-8 16:16:07 INFO: Archiving Costs [Pipeline] echo 16:16:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:16:07 ---> logs-deploy.sh 16:16:07 lf-activate-venv: SKIPPING 16:16:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-25/1 16:16:07 INFO: archiving workspace using pattern(s): 16:16:08 Archives upload complete. 16:16:08 INFO: archiving logs to Nexus