Pull request #22 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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 7aa6e8d2ece6f8845c7be1a34beaad087fba176e 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-ssh16094077520036946089.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-ssh5217707013259907643.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-22/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-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4967348122470253654.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-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7005358275297419076.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-ssh10519832107221241858.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-22/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-22/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14867788971135527727.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 Running on prd-ubuntu20.04-docker-8c-8g-10632 in /w/workspace/edgexfoundry_device-gpio_PR-22 [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-22 # 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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Checking out Revision c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 (PR-22) > 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/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # 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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 Commit message: "test(snap): add CI workflow, disable jenkins snap build" 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 07:43:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:43:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:43:45 ========================================================= 07:43:45 EdgeX Global Pipelines Version Info 07:43:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:43:46 ------------------- 07:43:46 stable info: 07:43:46 ------------------- 07:43:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:43:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:43:46 Message: update stable to v1.0.221 07:43:46 ------------------- 07:43:46 experimental info: 07:43:46 ------------------- 07:43:46 Commited By: **** collab-it+edgex@linuxfoundation.org 07:43:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:43:46 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:43:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c625a46 [Pipeline] echo 07:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:43:48 provisioning config files... 07:43:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2253985816255887381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:48 ---> docker-login.sh 07:43:48 nexus3.edgexfoundry.org:10001 07:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:49 Configure a credential helper to remove this warning. See 07:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:49 07:43:49 Login Succeeded 07:43:49 nexus3.edgexfoundry.org:10002 07:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:49 Configure a credential helper to remove this warning. See 07:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:49 07:43:49 Login Succeeded 07:43:49 nexus3.edgexfoundry.org:10003 07:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:49 Configure a credential helper to remove this warning. See 07:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:49 07:43:49 Login Succeeded 07:43:49 nexus3.edgexfoundry.org:10004 07:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:49 Configure a credential helper to remove this warning. See 07:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:49 07:43:49 Login Succeeded 07:43:49 docker.io 07:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:50 Configure a credential helper to remove this warning. See 07:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:50 07:43:50 Login Succeeded 07:43:50 ---> docker-login.sh ends [Pipeline] } 07:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:43:50 + git rev-list -1 --merges c625a4628d04d5db75e7e1cdcd2e8ca41966cf48~1..c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo 07:43:50 -----------> git rev-list -1 --merges c625a4628d04d5db75e7e1cdcd2e8ca41966cf48~1..c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [false] [Pipeline] sh 07:43:51 + git log --format=format:%s -1 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo 07:43:51 ========================================================= 07:43:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:43:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:51 + git log --format=format:%s -1 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo 07:43:51 [semverPrep] GIT_COMMIT: c625a4628d04d5db75e7e1cdcd2e8ca41966cf48, Commit Message: test(snap): add CI workflow, disable jenkins snap build [Pipeline] echo 07:43:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:43:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:43:52 + grep -v github /etc/ssh/ssh_known_hosts 07:43:52 + [ -e /tmp/ssh_known_hosts ] 07:43:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:43:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:43:52 + sudo tee -a /etc/ssh/ssh_known_hosts 07:43:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:52 07:43:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:43:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:52 latest: Pulling from edgex-devops/git-semver 07:43:52 a0d0a0d46f8b: Pulling fs layer 07:43:52 3e5f54012d9b: Pulling fs layer 07:43:52 4c7163046ea9: Pulling fs layer 07:43:52 0c2d73faf560: Pulling fs layer 07:43:52 0c2d73faf560: Waiting 07:43:52 3e5f54012d9b: Verifying Checksum 07:43:52 3e5f54012d9b: Download complete 07:43:52 a0d0a0d46f8b: Download complete 07:43:52 0c2d73faf560: Verifying Checksum 07:43:52 0c2d73faf560: Download complete 07:43:52 4c7163046ea9: Verifying Checksum 07:43:52 4c7163046ea9: Download complete 07:43:53 a0d0a0d46f8b: Pull complete 07:43:53 3e5f54012d9b: Pull complete 07:43:53 4c7163046ea9: Pull complete 07:43:53 0c2d73faf560: Pull complete 07:43:53 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:43:53 prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container 07:43:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:10004/edgex-devops/git-semver:latest cat 07:43:54 $ docker top 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:43:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:54 [ssh-agent] Looking for ssh-agent implementation... 07:43:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:54 $ docker exec 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent 07:43:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdfIhbj/agent.14 07:43:55 SSH_AGENT_PID=20 07:43:55 Running ssh-add (command line suppressed) 07:43:55 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_4302363540575092955.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_4302363540575092955.key) 07:43:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:55 + git tag --points-at HEAD [Pipeline] } 07:43:55 $ docker exec --env ******** --env ******** 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent -k 07:43:55 unset SSH_AUTH_SOCK; 07:43:55 unset SSH_AGENT_PID; 07:43:55 echo Agent pid 20 killed; 07:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:43:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:55 [ssh-agent] Looking for ssh-agent implementation... 07:43:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:55 $ docker exec 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent 07:43:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGiOKKJ/agent.52 07:43:56 SSH_AGENT_PID=58 07:43:56 Running ssh-add (command line suppressed) 07:43:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3650594423665642697.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3650594423665642697.key) 07:43:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:56 + git semver init 07:43:56 # -> Open(): unable to determine branch for HEAD 07:43:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git 07:43:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 07:43:56 # $SEMVER_REMOTE_NAME = origin 07:43:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:43:56 # $SEMVER_USER_NAME = edgex-jenkins 07:43:56 # $SEMVER_BRANCH = PR-22 07:43:56 # $SEMVER_TEMP = /tmp/semver-682484270 07:43:56 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 07:43:57 # '/tmp/semver-682484270' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' 07:43:57 # -> Force: false 07:43:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } 07:43:57 $ docker exec --env ******** --env ******** 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent -k 07:43:57 unset SSH_AUTH_SOCK; 07:43:57 unset SSH_AGENT_PID; 07:43:57 echo Agent pid 58 killed; 07:43:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:43:58 + git semver [Pipeline] } 07:43:58 $ docker stop --time=1 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d 07:43:59 $ docker rm -f 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d [Pipeline] // withDockerContainer [Pipeline] sh 07:43:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:44:00 Stashed 1 file(s) [Pipeline] echo 07:44:00 [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 07:44:00 provisioning config files... 07:44:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config6542291260871617960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:01 ---> docker-login.sh 07:44:01 nexus3.edgexfoundry.org:10001 07:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:01 Configure a credential helper to remove this warning. See 07:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:01 07:44:01 Login Succeeded 07:44:01 nexus3.edgexfoundry.org:10002 07:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:01 Configure a credential helper to remove this warning. See 07:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:01 07:44:01 Login Succeeded 07:44:01 nexus3.edgexfoundry.org:10003 07:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:01 Configure a credential helper to remove this warning. See 07:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:01 07:44:01 Login Succeeded 07:44:01 nexus3.edgexfoundry.org:10004 07:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:01 Configure a credential helper to remove this warning. See 07:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:01 07:44:01 Login Succeeded 07:44:01 docker.io 07:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:01 Configure a credential helper to remove this warning. See 07:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:01 07:44:01 Login Succeeded 07:44:01 ---> docker-login.sh ends [Pipeline] } 07:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:44:02 ========================================================= 07:44:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:44:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:44:02 + 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 . 07:44:02 Sending build context to Docker daemon 11.08MB 07:44:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 07:44:02 Step 2/11 : FROM ${BASE} AS builder 07:44:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:44:02 59bf1c3509f3: Pulling fs layer 07:44:02 666ba61612fd: Pulling fs layer 07:44:02 8ed8ca486205: Pulling fs layer 07:44:02 4fe6c5a15a65: Pulling fs layer 07:44:02 22a0e8bec74d: Pulling fs layer 07:44:02 640e595b4fbd: Pulling fs layer 07:44:02 763cafe07f6e: Pulling fs layer 07:44:02 0c0b528cf693: Pulling fs layer 07:44:02 10935f4eaf8b: Pulling fs layer 07:44:02 640e595b4fbd: Waiting 07:44:02 22a0e8bec74d: Waiting 07:44:02 0c0b528cf693: Waiting 07:44:02 4fe6c5a15a65: Waiting 07:44:02 10935f4eaf8b: Waiting 07:44:02 8ed8ca486205: Download complete 07:44:02 666ba61612fd: Verifying Checksum 07:44:02 666ba61612fd: Download complete 07:44:02 22a0e8bec74d: Verifying Checksum 07:44:02 22a0e8bec74d: Download complete 07:44:02 640e595b4fbd: Download complete 07:44:02 59bf1c3509f3: Verifying Checksum 07:44:02 59bf1c3509f3: Download complete 07:44:02 763cafe07f6e: Download complete 07:44:02 0c0b528cf693: Verifying Checksum 07:44:02 0c0b528cf693: Download complete 07:44:02 59bf1c3509f3: Pull complete 07:44:03 666ba61612fd: Pull complete 07:44:03 8ed8ca486205: Pull complete 07:44:03 10935f4eaf8b: Verifying Checksum 07:44:03 4fe6c5a15a65: Verifying Checksum 07:44:03 4fe6c5a15a65: Download complete 07:44:07 4fe6c5a15a65: Pull complete 07:44:07 22a0e8bec74d: Pull complete 07:44:07 640e595b4fbd: Pull complete 07:44:07 763cafe07f6e: Pull complete 07:44:07 0c0b528cf693: Pull complete 07:44:09 10935f4eaf8b: Pull complete 07:44:09 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:44:09 ---> 99d49a6021b9 07:44:09 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:44:11 ---> Running in d171ae1dab15 07:44:11 Removing intermediate container d171ae1dab15 07:44:11 ---> 5ad5d638f6ca 07:44:11 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 07:44:11 ---> Running in 2fc389aad11a 07:44:11 Removing intermediate container 2fc389aad11a 07:44:11 ---> 14ab96e2b0e9 07:44:11 Step 5/11 : WORKDIR /device-gpio 07:44:11 ---> Running in 45b6b022ec15 07:44:11 Removing intermediate container 45b6b022ec15 07:44:11 ---> 4bd2a7bc9da4 07:44:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:11 ---> Running in 91d2cf625393 07:44:12 Removing intermediate container 91d2cf625393 07:44:12 ---> deb0672d051e 07:44:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:12 ---> Running in 9a5a27b03ee6 07:44:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:44:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:44:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:44:13 (2/4) Installing libedit (20210910.3.1-r0) 07:44:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:44:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:44:14 Executing busybox-1.34.1-r3.trigger 07:44:14 OK: 224 MiB in 56 packages 07:44:14 Removing intermediate container 9a5a27b03ee6 07:44:14 ---> 3f50a2528e34 07:44:14 Step 8/11 : COPY go.mod vendor* ./ 07:44:14 ---> 705c5c7d62ed 07:44:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:44:14 ---> Running in db55bf5a6056 07:44:15 Still waiting to schedule task 07:44:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:44:41 Removing intermediate container db55bf5a6056 07:44:41 ---> c3b96b8272b3 07:44:41 Step 10/11 : COPY . . 07:44:41 ---> 81e59d51862f 07:44:41 Step 11/11 : RUN ${MAKE} 07:44:41 ---> Running in a3abf3c29826 07:44:42 Removing intermediate container a3abf3c29826 07:44:42 ---> 3d631064fa4d 07:44:42 [Warning] One or more build-args [MAKE] were not consumed 07:44:42 Successfully built 3d631064fa4d 07:44:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:44:42 + docker inspect -f . ci-base-image-x86_64 07:44:42 . [Pipeline] withDockerContainer 07:44:42 prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container 07:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 07:44:42 $ docker top fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:44:43 + go version 07:44:43 go version go1.17.6 linux/amd64 [Pipeline] } 07:44:43 $ docker stop --time=1 fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 07:44:44 $ docker rm -f fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:44:45 + docker inspect -f . ci-base-image-x86_64 07:44:45 . [Pipeline] withDockerContainer 07:44:45 prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container 07:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 07:44:45 $ docker top 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:44:46 + make test 07:44:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:44:46 ? github.com/edgexfoundry/device-gpio [no test files] 07:44:53 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:44:53 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:44:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:44:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:55 ./bin/test-attribution-txt.sh [Pipeline] echo 07:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:56 $ docker stop --time=1 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 07:44:57 $ docker rm -f 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:44:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:59 + ls -al . 07:44:59 total 184 07:44:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 07:44 . 07:44:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:43 .. 07:44:59 -rw-rw-r-- 1 jenkins jenkins 120 Apr 4 07:43 .dockerignore 07:44:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:43 .git 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 .github 07:44:59 -rw-rw-r-- 1 jenkins jenkins 343 Apr 4 07:43 .gitignore 07:44:59 drwx------ 3 jenkins jenkins 4096 Apr 4 07:43 .semver 07:44:59 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 4 07:43 Attribution.txt 07:44:59 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 4 07:43 Dockerfile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 07:43 GOVERNANCE.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 657 Apr 4 07:43 Jenkinsfile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 07:43 LICENSE 07:44:59 -rw-rw-r-- 1 jenkins jenkins 992 Apr 4 07:43 Makefile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 617 Apr 4 07:43 OWNERS.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 4 07:43 README.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:43 VERSION 07:44:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:43 bin 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 cmd 07:44:59 -rw-r--r-- 1 jenkins jenkins 10 Apr 4 07:44 coverage.out 07:44:59 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 4 07:43 go.mod 07:44:59 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 4 07:43 go.sum 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 internal 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 snap 07:44:59 -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 07:43 version.go [Pipeline] isUnix [Pipeline] sh 07:44:59 + 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=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 --label arch=amd64 --label version=0.0.0 . 07:44:59 Sending build context to Docker daemon 11.08MB 07:44:59 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 07:44:59 Step 2/25 : FROM ${BASE} AS builder 07:44:59 ---> 3d631064fa4d 07:44:59 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:44:59 ---> Running in 41e57e745008 07:45:00 Removing intermediate container 41e57e745008 07:45:00 ---> c6d5233eac71 07:45:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:45:00 ---> Running in ba127dcb5b76 07:45:00 Removing intermediate container ba127dcb5b76 07:45:00 ---> 71ff1531c248 07:45:00 Step 5/25 : WORKDIR /device-gpio 07:45:00 ---> Running in a714c7554638 07:45:00 Removing intermediate container a714c7554638 07:45:00 ---> c42714b740a5 07:45:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:00 ---> Running in bfc3d263a814 07:45:01 Removing intermediate container bfc3d263a814 07:45:01 ---> 4b8579a68753 07:45:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:45:01 ---> Running in c83fa4121c02 07:45:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:45:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:45:02 OK: 224 MiB in 56 packages 07:45:02 Removing intermediate container c83fa4121c02 07:45:02 ---> a311bb6a1a26 07:45:02 Step 8/25 : COPY go.mod vendor* ./ 07:45:02 ---> 83a1c6f0da32 07:45:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:02 ---> Running in 4f6e5aed5db6 07:45:03 Removing intermediate container 4f6e5aed5db6 07:45:03 ---> fe51a14e7d1b 07:45:03 Step 10/25 : COPY . . 07:45:03 ---> 4e764b795da8 07:45:03 Step 11/25 : RUN ${MAKE} 07:45:03 ---> Running in f153c159725e 07:45:04 Removing intermediate container f153c159725e 07:45:04 ---> c848a2174948 07:45:04 Step 12/25 : FROM alpine:3.15 07:45:05 3.15: Pulling from library/alpine 07:45:05 40e059520d19: Pulling fs layer 07:45:05 40e059520d19: Verifying Checksum 07:45:05 40e059520d19: Download complete 07:45:05 40e059520d19: Pull complete 07:45:05 Digest: sha256:f22945d45ee2eb4dd463ed5a431d9f04fcd80ca768bb1acf898d91ce51f7bf04 07:45:05 Status: Downloaded newer image for alpine:3.15 07:45:05 ---> 76c8fb57b6fc 07:45:05 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:45:05 ---> Running in abcde1961093 07:45:05 Removing intermediate container abcde1961093 07:45:05 ---> bfcc0e8e6694 07:45:05 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:05 ---> Running in 764e79adf800 07:45:06 Removing intermediate container 764e79adf800 07:45:06 ---> 95af1fbf6713 07:45:06 Step 15/25 : RUN apk add --update --no-cache zeromq 07:45:06 ---> Running in e4ad4da161e1 07:45:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:45:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:45:07 (1/5) Installing libgcc (10.3.1_git20211027-r0) 07:45:07 (2/5) Installing libsodium (1.0.18-r0) 07:45:07 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 07:45:07 (4/5) Installing libzmq (4.3.4-r0) 07:45:07 (5/5) Installing zeromq (4.3.4-r0) 07:45:07 Executing busybox-1.34.1-r4.trigger 07:45:07 OK: 8 MiB in 19 packages 07:45:08 Removing intermediate container e4ad4da161e1 07:45:08 ---> 2e4517906530 07:45:08 Step 16/25 : WORKDIR / 07:45:08 ---> Running in 137ba60d2be8 07:45:08 Removing intermediate container 137ba60d2be8 07:45:08 ---> 75b2d04e5fe2 07:45:08 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:45:08 ---> 9aac668f8388 07:45:08 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:45:08 ---> 2282491af2bb 07:45:08 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:45:09 ---> cbb0d1c0db84 07:45:09 Step 20/25 : EXPOSE 59910 07:45:09 ---> Running in 121d3faa6a49 07:45:09 Removing intermediate container 121d3faa6a49 07:45:09 ---> 251fa4f3a236 07:45:09 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:45:09 ---> Running in f13607f3c6ca 07:45:09 Removing intermediate container f13607f3c6ca 07:45:09 ---> 6bbccf4a523d 07:45:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:45:09 ---> Running in f152591444a7 07:45:09 Removing intermediate container f152591444a7 07:45:09 ---> 4d49261d6604 07:45:09 Step 23/25 : LABEL arch=amd64 07:45:09 ---> Running in 9a2c83acbaaf 07:45:09 Removing intermediate container 9a2c83acbaaf 07:45:09 ---> 52c373f9ddc7 07:45:09 Step 24/25 : LABEL git_sha=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 07:45:09 ---> Running in 2a62e575127d 07:45:09 Removing intermediate container 2a62e575127d 07:45:09 ---> b2087abd2bb2 07:45:09 Step 25/25 : LABEL version=0.0.0 07:45:09 ---> Running in ac4532c2e780 07:45:09 Removing intermediate container ac4532c2e780 07:45:09 ---> 024f1f6d8b14 07:45:09 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:45:09 Successfully built 024f1f6d8b14 07:45:09 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 07:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:10 07:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:45:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:10 latest: Pulling from edgex-lftools-log-publisher 07:45:10 5eb5b503b376: Pulling fs layer 07:45:10 5c69ac0246d0: Pulling fs layer 07:45:10 ec43610c2a17: Pulling fs layer 07:45:10 3a2ae6a8a46f: Pulling fs layer 07:45:10 33b1e0a273af: Pulling fs layer 07:45:10 5d3b04190fa2: Pulling fs layer 07:45:10 2f39f015ded8: Pulling fs layer 07:45:10 3a2ae6a8a46f: Waiting 07:45:10 5d3b04190fa2: Waiting 07:45:10 33b1e0a273af: Waiting 07:45:10 2f39f015ded8: Waiting 07:45:10 5c69ac0246d0: Download complete 07:45:10 3a2ae6a8a46f: Download complete 07:45:10 33b1e0a273af: Verifying Checksum 07:45:10 33b1e0a273af: Download complete 07:45:10 5d3b04190fa2: Download complete 07:45:10 ec43610c2a17: Verifying Checksum 07:45:10 ec43610c2a17: Download complete 07:45:11 5eb5b503b376: Download complete 07:45:11 2f39f015ded8: Verifying Checksum 07:45:11 2f39f015ded8: Download complete 07:45:12 5eb5b503b376: Pull complete 07:45:12 5c69ac0246d0: Pull complete 07:45:12 ec43610c2a17: Pull complete 07:45:12 3a2ae6a8a46f: Pull complete 07:45:13 33b1e0a273af: Pull complete 07:45:13 5d3b04190fa2: Pull complete 07:45:17 2f39f015ded8: Pull complete 07:45:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:45:17 prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container 07:45: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/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 07:45:18 $ docker top ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:45:19 ---> job-cost.sh 07:45:19 lf-activate-venv: SKIPPING 07:45:19 INFO: No Stack... 07:45:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:45:20 INFO: Archiving Costs [Pipeline] sh 07:45:20 + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv 07:45:20 + cut -d, -f6 [Pipeline] lock 07:45:20 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] 07:45:20 Resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] did not exist. Created. 07:45:20 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:45:21 + echo total: 0.2199999988079071 [Pipeline] stash 07:45:21 Stashed 1 file(s) [Pipeline] } 07:45:21 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:45:21 $ docker stop --time=1 ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 07:45:22 $ docker rm -f ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:45:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10633 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws 07:45:48 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 07:45:49 The recommended git tool is: git 07:45:56 using credential edgex-jenkins-ssh 07:45:56 Cloning the remote Git repository 07:45:56 Cloning repository git@github.com:edgexfoundry/device-gpio.git 07:45:56 > git init /w/workspace/device-gpio/1 # timeout=10 07:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:45:56 > git --version # timeout=10 07:45:56 > git --version # 'git version 2.25.1' 07:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:45:58 Merging remotes/origin/main commit 7aa6e8d2ece6f8845c7be1a34beaad087fba176e into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 07:45:59 Merge succeeded, producing c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 07:45:59 Checking out Revision c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 (PR-22) 07:45:58 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:45:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:45:58 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:45:58 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:45:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:45:59 > git config core.sparsecheckout # timeout=10 07:45:59 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 07:45:59 > git remote # timeout=10 07:45:59 > git config --get remote.origin.url # timeout=10 07:45:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:59 > git merge 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 07:45:59 > git rev-parse HEAD^{commit} # timeout=10 07:45:59 > git config core.sparsecheckout # timeout=10 07:45:59 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 07:46:03 Commit message: "test(snap): add CI workflow, disable jenkins snap build" 07:46:03 > git --version # timeout=10 07:46:03 > git --version # 'git version 2.25.1' 07:46:03 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:46:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:46:04 Dload Upload Total Spent Left Speed 07:46:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 07:46:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:46:05 + sudo tee /etc/docker/daemon.new 07:46:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:46:05 { 07:46:05 "registry-mirrors": [ 07:46:05 "https://nexus3.edgexfoundry.org:10001" 07:46:05 ], 07:46:05 "bip": "10.250.0.254/24", 07:46:05 "hosts": [ 07:46:05 "tcp://0.0.0.0:5555", 07:46:05 "unix:///var/run/docker.sock" 07:46:05 ], 07:46:05 "mtu": 1458, 07:46:05 "selinux-enabled": true, 07:46:05 "seccomp-profile": "/etc/docker/seccomp.json" 07:46:05 } [Pipeline] sh 07:46:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:46:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:25 provisioning config files... 07:46:25 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1141626318724733396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:25 ---> docker-login.sh 07:46:25 nexus3.edgexfoundry.org:10001 07:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:26 Configure a credential helper to remove this warning. See 07:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:26 07:46:26 Login Succeeded 07:46:26 nexus3.edgexfoundry.org:10002 07:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:26 Configure a credential helper to remove this warning. See 07:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:26 07:46:26 Login Succeeded 07:46:26 nexus3.edgexfoundry.org:10003 07:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:27 Configure a credential helper to remove this warning. See 07:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:27 07:46:27 Login Succeeded 07:46:27 nexus3.edgexfoundry.org:10004 07:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:27 Configure a credential helper to remove this warning. See 07:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:27 07:46:27 Login Succeeded 07:46:28 docker.io 07:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:28 Configure a credential helper to remove this warning. See 07:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:28 07:46:28 Login Succeeded 07:46:28 ---> docker-login.sh ends [Pipeline] } 07:46:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:46:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:46:29 ========================================================= 07:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:46:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:46:29 + 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 . 07:46:29 Sending build context to Docker daemon 5.617MB 07:46:29 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 07:46:29 Step 2/11 : FROM ${BASE} AS builder 07:46:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:46:30 9b3977197b4f: Pulling fs layer 07:46:30 1a89e8eeedd5: Pulling fs layer 07:46:30 94645a83ff95: Pulling fs layer 07:46:30 3f3a8bcf1eab: Pulling fs layer 07:46:30 0c92f367c5e7: Pulling fs layer 07:46:30 f7c0051592d6: Pulling fs layer 07:46:30 a227ed2f7395: Pulling fs layer 07:46:30 7b1c46037f91: Pulling fs layer 07:46:30 3f3a8bcf1eab: Waiting 07:46:30 0c92f367c5e7: Waiting 07:46:30 f7c0051592d6: Waiting 07:46:30 a227ed2f7395: Waiting 07:46:30 7b1c46037f91: Waiting 07:46:30 94645a83ff95: Verifying Checksum 07:46:30 94645a83ff95: Download complete 07:46:30 1a89e8eeedd5: Verifying Checksum 07:46:30 1a89e8eeedd5: Download complete 07:46:30 0c92f367c5e7: Verifying Checksum 07:46:30 0c92f367c5e7: Download complete 07:46:30 f7c0051592d6: Verifying Checksum 07:46:30 f7c0051592d6: Download complete 07:46:30 9b3977197b4f: Verifying Checksum 07:46:30 9b3977197b4f: Download complete 07:46:30 a227ed2f7395: Verifying Checksum 07:46:30 a227ed2f7395: Download complete 07:46:30 9b3977197b4f: Pull complete 07:46:31 1a89e8eeedd5: Pull complete 07:46:31 94645a83ff95: Pull complete 07:46:32 7b1c46037f91: Verifying Checksum 07:46:32 7b1c46037f91: Download complete 07:46:32 3f3a8bcf1eab: Verifying Checksum 07:46:32 3f3a8bcf1eab: Download complete 07:46:45 3f3a8bcf1eab: Pull complete 07:46:45 0c92f367c5e7: Pull complete 07:46:45 f7c0051592d6: Pull complete 07:46:45 a227ed2f7395: Pull complete 07:46:51 7b1c46037f91: Pull complete 07:46:51 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:46:51 ---> f79e39bc4007 07:46:51 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:46:51 ---> Running in 109bf656035c 07:46:52 Removing intermediate container 109bf656035c 07:46:52 ---> c79f7655f844 07:46:52 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 07:46:52 ---> Running in 8660927fe4ff 07:46:52 Removing intermediate container 8660927fe4ff 07:46:52 ---> f3217f05e779 07:46:52 Step 5/11 : WORKDIR /device-gpio 07:46:52 ---> Running in cc8231a7f273 07:46:53 Removing intermediate container cc8231a7f273 07:46:53 ---> d914a572f213 07:46:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:53 ---> Running in 1c3f5ff4ee78 07:46:55 Removing intermediate container 1c3f5ff4ee78 07:46:55 ---> 0165b157d607 07:46:55 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:55 ---> Running in e7a9514818b2 07:46:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:46:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:46:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:46:57 (2/4) Installing libedit (20210910.3.1-r0) 07:46:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:46:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:46:58 Executing busybox-1.34.1-r3.trigger 07:46:58 OK: 224 MiB in 56 packages 07:46:59 Removing intermediate container e7a9514818b2 07:46:59 ---> d5fee44ca007 07:46:59 Step 8/11 : COPY go.mod vendor* ./ 07:46:59 ---> 8fdd56077e1b 07:46:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:59 ---> Running in 0e60716dceec 07:48:21 Removing intermediate container 0e60716dceec 07:48:21 ---> db68c4613053 07:48:21 Step 10/11 : COPY . . 07:48:21 ---> 21d8b8e9bf8a 07:48:21 Step 11/11 : RUN ${MAKE} 07:48:21 ---> Running in 4a46808a156a 07:48:21 Removing intermediate container 4a46808a156a 07:48:21 ---> 4382eee7556b 07:48:21 [Warning] One or more build-args [MAKE] were not consumed 07:48:21 Successfully built 4382eee7556b 07:48:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:48:21 + docker inspect -f . ci-base-image-arm64 07:48:21 . [Pipeline] withDockerContainer 07:48:22 prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container 07:48:22 $ 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 07:48:23 $ docker top 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:24 + go version 07:48:24 go version go1.17.6 linux/arm64 [Pipeline] } 07:48:24 $ docker stop --time=1 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e 07:48:26 $ docker rm -f 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:48:26 + docker inspect -f . ci-base-image-arm64 07:48:26 . [Pipeline] withDockerContainer 07:48:27 prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container 07:48:27 $ 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 07:48:28 $ docker top 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:48:29 + make test 07:48:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:48:30 ? github.com/edgexfoundry/device-gpio [no test files] 07:49:18 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:49:18 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:49:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:49:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:49:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:49:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:49:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:49:39 $ docker stop --time=1 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 07:49:40 $ docker rm -f 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:41 Warning: overwriting stash ‘coverage-report’ 07:49:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:43 + ls -al . 07:49:43 total 180 07:49:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:49 . 07:49:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:45 .. 07:49:43 -rw-rw-r-- 1 jenkins jenkins 120 Apr 4 07:45 .dockerignore 07:49:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:46 .git 07:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 .github 07:49:43 -rw-rw-r-- 1 jenkins jenkins 343 Apr 4 07:45 .gitignore 07:49:43 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 4 07:45 Attribution.txt 07:49:43 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 4 07:45 Dockerfile 07:49:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 07:45 GOVERNANCE.md 07:49:43 -rw-rw-r-- 1 jenkins jenkins 657 Apr 4 07:45 Jenkinsfile 07:49:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 07:45 LICENSE 07:49:43 -rw-rw-r-- 1 jenkins jenkins 992 Apr 4 07:45 Makefile 07:49:43 -rw-rw-r-- 1 jenkins jenkins 617 Apr 4 07:45 OWNERS.md 07:49:43 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 4 07:45 README.md 07:49:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:43 VERSION 07:49:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:45 bin 07:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 cmd 07:49:43 -rw-r--r-- 1 jenkins jenkins 10 Apr 4 07:48 coverage.out 07:49:43 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 4 07:45 go.mod 07:49:43 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 4 07:45 go.sum 07:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 internal 07:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 snap 07:49:43 -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 07:45 version.go [Pipeline] isUnix [Pipeline] sh 07:49:43 + 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=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 --label arch=arm64 --label version=0.0.0 . 07:49:43 Sending build context to Docker daemon 5.618MB 07:49:43 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 07:49:43 Step 2/25 : FROM ${BASE} AS builder 07:49:43 ---> 4382eee7556b 07:49:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:49:43 ---> Running in bf95de59e021 07:49:44 Removing intermediate container bf95de59e021 07:49:44 ---> 22f40809d39f 07:49:44 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:49:44 ---> Running in dcde27191ec5 07:49:44 Removing intermediate container dcde27191ec5 07:49:44 ---> 33817f40cf81 07:49:44 Step 5/25 : WORKDIR /device-gpio 07:49:44 ---> Running in a580e9f7d528 07:49:45 Removing intermediate container a580e9f7d528 07:49:45 ---> ea9387c0fb72 07:49:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:49:45 ---> Running in 3a862c64bfd4 07:49:47 Removing intermediate container 3a862c64bfd4 07:49:47 ---> e2ed36abd8fa 07:49:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:47 ---> Running in ec2e3b449fe7 07:49:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:49:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:49:49 OK: 224 MiB in 56 packages 07:49:50 Removing intermediate container ec2e3b449fe7 07:49:50 ---> e7ef43a0f217 07:49:50 Step 8/25 : COPY go.mod vendor* ./ 07:49:50 ---> 84f50ff80d05 07:49:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:50 ---> Running in 3738c5f7afa7 07:49:52 Removing intermediate container 3738c5f7afa7 07:49:52 ---> 6a6d91f856d5 07:49:52 Step 10/25 : COPY . . 07:49:53 ---> 7d98c532f41a 07:49:53 Step 11/25 : RUN ${MAKE} 07:49:53 ---> Running in e3fb4af6c463 07:49:55 Removing intermediate container e3fb4af6c463 07:49:55 ---> 3ddfa434d7f9 07:49:55 Step 12/25 : FROM alpine:3.15 07:49:56 3.15: Pulling from library/alpine 07:49:56 80fa7f07ec7b: Pulling fs layer 07:49:56 80fa7f07ec7b: Verifying Checksum 07:49:56 80fa7f07ec7b: Download complete 07:49:56 80fa7f07ec7b: Pull complete 07:49:57 Digest: sha256:f22945d45ee2eb4dd463ed5a431d9f04fcd80ca768bb1acf898d91ce51f7bf04 07:49:57 Status: Downloaded newer image for alpine:3.15 07:49:57 ---> 03078ca19a05 07:49:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:49:57 ---> Running in 4b5c68b44197 07:49:57 Removing intermediate container 4b5c68b44197 07:49:57 ---> dfbf531b8dfc 07:49:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:49:57 ---> Running in f7f1cf457243 07:49:59 Removing intermediate container f7f1cf457243 07:49:59 ---> 0b078bbb1f06 07:49:59 Step 15/25 : RUN apk add --update --no-cache zeromq 07:49:59 ---> Running in bc66f58f8644 07:49:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:50:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:50:01 (1/5) Installing libgcc (10.3.1_git20211027-r0) 07:50:01 (2/5) Installing libsodium (1.0.18-r0) 07:50:01 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 07:50:01 (4/5) Installing libzmq (4.3.4-r0) 07:50:02 (5/5) Installing zeromq (4.3.4-r0) 07:50:02 Executing busybox-1.34.1-r4.trigger 07:50:02 OK: 8 MiB in 19 packages 07:50:03 Removing intermediate container bc66f58f8644 07:50:03 ---> 30b0dc75e167 07:50:03 Step 16/25 : WORKDIR / 07:50:03 ---> Running in f75812f5f2b3 07:50:03 Removing intermediate container f75812f5f2b3 07:50:03 ---> 274ba24f35ad 07:50:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:50:03 ---> 0cf63d545b1b 07:50:03 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:50:04 ---> 8e4599fae927 07:50:04 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:50:05 ---> 059ca4d9fac6 07:50:05 Step 20/25 : EXPOSE 59910 07:50:05 ---> Running in 73198ae04ed8 07:50:05 Removing intermediate container 73198ae04ed8 07:50:05 ---> 1bef9832806b 07:50:05 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:50:05 ---> Running in dfe6adb485ed 07:50:06 Removing intermediate container dfe6adb485ed 07:50:06 ---> f86a82e678d0 07:50:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:50:06 ---> Running in 928d7a6f4272 07:50:06 Removing intermediate container 928d7a6f4272 07:50:06 ---> 9722fa59056e 07:50:06 Step 23/25 : LABEL arch=arm64 07:50:06 ---> Running in 856b5fe22f3a 07:50:06 Removing intermediate container 856b5fe22f3a 07:50:06 ---> 66e4ac21eda2 07:50:06 Step 24/25 : LABEL git_sha=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 07:50:06 ---> Running in 78090b41b402 07:50:07 Removing intermediate container 78090b41b402 07:50:07 ---> b9ef9442e480 07:50:07 Step 25/25 : LABEL version=0.0.0 07:50:07 ---> Running in f7333d65878d 07:50:07 Removing intermediate container f7333d65878d 07:50:07 ---> 06f221408d33 07:50:07 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:50:07 Successfully built 06f221408d33 07:50:07 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 07:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:08 07:50:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:08 arm64: Pulling from edgex-lftools-log-publisher 07:50:08 8998bd30e6a1: Pulling fs layer 07:50:08 04944245beec: Pulling fs layer 07:50:08 699f458cf7ca: Pulling fs layer 07:50:08 765212b225bb: Pulling fs layer 07:50:08 f23df028b6ca: Pulling fs layer 07:50:08 d65c8cfc05b1: Pulling fs layer 07:50:08 2437ff75d9bd: Pulling fs layer 07:50:08 f23df028b6ca: Waiting 07:50:08 765212b225bb: Waiting 07:50:08 d65c8cfc05b1: Waiting 07:50:08 2437ff75d9bd: Waiting 07:50:08 04944245beec: Verifying Checksum 07:50:08 04944245beec: Download complete 07:50:08 765212b225bb: Verifying Checksum 07:50:08 765212b225bb: Download complete 07:50:08 f23df028b6ca: Verifying Checksum 07:50:08 f23df028b6ca: Download complete 07:50:08 d65c8cfc05b1: Download complete 07:50:09 699f458cf7ca: Verifying Checksum 07:50:09 699f458cf7ca: Download complete 07:50:09 8998bd30e6a1: Verifying Checksum 07:50:09 8998bd30e6a1: Download complete 07:50:11 2437ff75d9bd: Verifying Checksum 07:50:11 2437ff75d9bd: Download complete 07:50:13 8998bd30e6a1: Pull complete 07:50:14 04944245beec: Pull complete 07:50:15 699f458cf7ca: Pull complete 07:50:15 765212b225bb: Pull complete 07:50:16 f23df028b6ca: Pull complete 07:50:16 d65c8cfc05b1: Pull complete 07:50:32 2437ff75d9bd: Pull complete 07:50:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:50:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:50:32 prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container 07:50:32 $ 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 07:50:34 $ docker top a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:35 ---> job-cost.sh 07:50:35 lf-activate-venv: SKIPPING 07:50:35 INFO: No Stack... 07:50:36 INFO: Retrieving Pricing Info for: v3-standard-4 07:50:37 INFO: Archiving Costs [Pipeline] sh 07:50:38 + cut -d, -f6 07:50:38 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 07:50:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] 07:50:38 Resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] did not exist. Created. 07:50:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:38 /w/workspace/device-gpio/1@tmp/durable-84bdddee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:50:39 + echo total: 0.10999999940395355 [Pipeline] stash 07:50:39 Warning: overwriting stash ‘stack-cost’ 07:50:39 Stashed 1 file(s) [Pipeline] } 07:50:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:50:39 $ docker stop --time=1 a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b 07:50:41 $ docker rm -f a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b [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 07:50:42 provisioning config files... 07:50:42 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2951655875393879992tmp [Pipeline] { [Pipeline] sh 07:50:42 + set +x 07:50:42 + curl -s https://codecov.io/bash 07:50:42 + bash -s -- 07:50:42 07:50:42 _____ _ 07:50:42 / ____| | | 07:50:42 | | ___ __| | ___ ___ _____ __ 07:50:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:50:42 | |___| (_) | (_| | __/ (_| (_) \ V / 07:50:42 \_____\___/ \__,_|\___|\___\___/ \_/ 07:50:42 Bash-1.0.6 07:50:42 07:50:42 07:50:42 ==> git version 2.25.1 found 07:50:42 ==> 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 07:50:42 Release-Date: 2020-01-08 07:50:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:50:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:50:42 ==> Jenkins CI detected. 07:50:42 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 07:50:42 project root: . 07:50:42 --> token set from env 07:50:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:50:42 ==> Running gcov in . (disable via -X gcov) 07:50:42 ==> Python coveragepy not found 07:50:42 ==> Searching for coverage reports in: 07:50:42 + . 07:50:42 -> Found 1 reports 07:50:42 ==> Detecting git/mercurial file structure 07:50:42 ==> Reading reports 07:50:42 + ./coverage.out bytes=10 07:50:42 ==> Appending adjustments 07:50:42 https://docs.codecov.io/docs/fixing-reports 07:50:42 + Found adjustments 07:50:42 ==> Gzipping contents 07:50:42 4.0K /tmp/codecov.gDIhK3.gz 07:50:42 ==> Uploading reports 07:50:42 url: https://codecov.io 07:50:42 query: branch=PR-22&commit=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 07:50:42 -> Pinging Codecov 07:50:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-22&commit=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 07:50:43 -> Uploading to 07:50:43 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/3EC07B1A8CA8AF9BCAA0BB9F0134797F/c625a4628d04d5db75e7e1cdcd2e8ca41966cf48/fa3ecc61-2aca-4df8-8bd9-b4cc2587389e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T075042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=305330a2458123e100242d00401750bb0240cc3a1800571a74912be4ea0e3f69 07:50:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:50:43 Dload Upload Total Spent Left Speed 07:50:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3341 --:--:-- --:--:-- --:--:-- 3327 100 822 0 0 100 822 0 3341 --:--:-- --:--:-- --:--:-- 3327 07:50:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] } 07:50:43 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 07:50:45 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] 07:50:45 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 07:50:45 total 16 07:50:45 drwxr-xr-x 3 root root 4096 Apr 4 07:45 . 07:50:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:45 .. 07:50:45 drwxr-xr-x 2 root root 4096 Apr 4 07:45 cost 07:50:45 -rw-r--r-- 1 root root 81 Apr 4 07:45 cost.csv 07:50:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives 07:50:45 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 07:50:45 total 16 07:50:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 07:45 . 07:50:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:45 .. 07:50:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 07:45 cost 07:50:45 -rw-r--r-- 1 jenkins jenkins 81 Apr 4 07:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:50:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:50:46 ---> package-listing.sh 07:50:46 ++ facter osfamily 07:50:46 ++ tr '[:upper:]' '[:lower:]' 07:50:46 + OS_FAMILY=debian 07:50:46 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 07:50:46 + START_PACKAGES=/tmp/packages_start.txt 07:50:46 + END_PACKAGES=/tmp/packages_end.txt 07:50:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:50:46 + PACKAGES=/tmp/packages_start.txt 07:50:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 07:50:46 + PACKAGES=/tmp/packages_end.txt 07:50:46 + case "${OS_FAMILY}" in 07:50:46 + dpkg -l 07:50:46 + grep '^ii' 07:50:46 + '[' -f /tmp/packages_start.txt ']' 07:50:46 + '[' -f /tmp/packages_end.txt ']' 07:50:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:50:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 07:50:46 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ 07:50:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [Pipeline] echo 07:50:46 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-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:50:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:47 . [Pipeline] withDockerContainer 07:50:47 prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container 07:50:47 $ 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-22/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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 07:50:48 $ docker top 31c20afd5f36547c274f0460ce4d59a4ba72a4187faf5274b77e9413a6281f6a -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:48 + touch /tmp/pre-build-complete [Pipeline] sh 07:50:48 + mkdir -p /var/log/sysstat [Pipeline] sh 07:50:49 + ls /var/log/sa-host 07:50:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:49 provisioning config files... 07:50:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2053769987734068491tmp [Pipeline] { [Pipeline] echo 07:50:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:50:49 ---> create-netrc.sh [Pipeline] } 07:50:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:50:50 ---> python-tools-install.sh [Pipeline] echo 07:50:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:50:50 ---> sudo-logs.sh 07:50:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:50:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:50:50 ---> job-cost.sh 07:50:50 lf-activate-venv: SKIPPING 07:50:50 DEBUG: total: 0.2199999988079071 07:50:50 INFO: Retrieving Stack Cost... 07:50:51 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:52 INFO: Archiving Costs [Pipeline] echo 07:50:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:50:52 ---> logs-deploy.sh 07:50:52 lf-activate-venv: SKIPPING 07:50:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/1 07:50:52 INFO: archiving workspace using pattern(s): 07:50:53 Archives upload complete. 07:50:53 INFO: archiving logs to Nexus