Pull request #24 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 jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f+156d9434ec3cf788140140116a7d431d8c0fe3ea (4baf8623642841816ad95324a4b9ec3634d78cda) 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-ssh11623479528497909395.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-ssh9912352999562356433.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-24/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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11797509923855504733.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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13434564532101959657.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-ssh8248851971292669100.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-24/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-24/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6997818221659553449.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11745 in /w/workspace/edgexfoundry_device-gpio_PR-24 [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-24 # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Merge succeeded, producing 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Checking out Revision 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f (PR-24) > 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 Commit message: "fix: remove set of direction of a get GPIO or read" 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 03:15:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:15:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:15:10 ========================================================= 03:15:10 EdgeX Global Pipelines Version Info 03:15:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:15:11 ------------------- 03:15:11 stable info: 03:15:11 ------------------- 03:15:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:15:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:15:11 Message: update stable to v1.0.221 03:15:11 ------------------- 03:15:11 experimental info: 03:15:11 ------------------- 03:15:11 Commited By: **** collab-it+edgex@linuxfoundation.org 03:15:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:15:11 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:15:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 784cbdb [Pipeline] echo 03:15:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:15:13 provisioning config files... 03:15:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config8914123341078403743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:14 ---> docker-login.sh 03:15:14 nexus3.edgexfoundry.org:10001 03:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:14 Configure a credential helper to remove this warning. See 03:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:14 03:15:14 Login Succeeded 03:15:14 nexus3.edgexfoundry.org:10002 03:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:14 Configure a credential helper to remove this warning. See 03:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:14 03:15:14 Login Succeeded 03:15:14 nexus3.edgexfoundry.org:10003 03:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:14 Configure a credential helper to remove this warning. See 03:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:14 03:15:14 Login Succeeded 03:15:14 nexus3.edgexfoundry.org:10004 03:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:14 Configure a credential helper to remove this warning. See 03:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:14 03:15:14 Login Succeeded 03:15:14 docker.io 03:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:15 Configure a credential helper to remove this warning. See 03:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:15 03:15:15 Login Succeeded 03:15:15 ---> docker-login.sh ends [Pipeline] } 03:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:15:16 + git rev-list -1 --merges 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f~1..784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo 03:15:16 -----------> git rev-list -1 --merges 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f~1..784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [false] [Pipeline] sh 03:15:16 + git log --format=format:%s -1 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo 03:15:16 ========================================================= 03:15:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:15:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:15:17 + git log --format=format:%s -1 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo 03:15:17 [semverPrep] GIT_COMMIT: 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f, Commit Message: fix: remove set of direction of a get GPIO or read [Pipeline] echo 03:15:17 [semverPrep] This is not a build commit. [Pipeline] sh 03:15:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:15:17 + grep -v github /etc/ssh/ssh_known_hosts 03:15:17 + [ -e /tmp/ssh_known_hosts ] 03:15:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:15:17 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:15:17 sudo tee -a /etc/ssh/ssh_known_hosts 03:15:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:15:18 03:15:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:15:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:15:18 latest: Pulling from edgex-devops/git-semver 03:15:18 a0d0a0d46f8b: Pulling fs layer 03:15:18 3e5f54012d9b: Pulling fs layer 03:15:18 4c7163046ea9: Pulling fs layer 03:15:18 0c2d73faf560: Pulling fs layer 03:15:18 0c2d73faf560: Waiting 03:15:18 3e5f54012d9b: Verifying Checksum 03:15:18 3e5f54012d9b: Download complete 03:15:18 a0d0a0d46f8b: Download complete 03:15:18 0c2d73faf560: Verifying Checksum 03:15:18 0c2d73faf560: Download complete 03:15:18 4c7163046ea9: Verifying Checksum 03:15:18 4c7163046ea9: Download complete 03:15:18 a0d0a0d46f8b: Pull complete 03:15:18 3e5f54012d9b: Pull complete 03:15:19 4c7163046ea9: Pull complete 03:15:19 0c2d73faf560: Pull complete 03:15:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:15:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:15:19 prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container 03:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 03:15:20 $ docker top c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:15:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:15:20 [ssh-agent] Looking for ssh-agent implementation... 03:15:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:15:20 $ docker exec c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent 03:15:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgJbIFh/agent.14 03:15:20 SSH_AGENT_PID=20 03:15:20 Running ssh-add (command line suppressed) 03:15:20 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3138860899527705465.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3138860899527705465.key) 03:15:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:15:21 + git tag --points-at HEAD [Pipeline] } 03:15:21 $ docker exec --env ******** --env ******** c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent -k 03:15:21 unset SSH_AUTH_SOCK; 03:15:21 unset SSH_AGENT_PID; 03:15:21 echo Agent pid 20 killed; 03:15:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:15:21 [ssh-agent] Looking for ssh-agent implementation... 03:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:15:21 $ docker exec c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent 03:15:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbINja/agent.53 03:15:21 SSH_AGENT_PID=59 03:15:21 Running ssh-add (command line suppressed) 03:15:21 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3314036793809239658.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3314036793809239658.key) 03:15:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:15:22 + git semver init 03:15:22 # -> Open(): unable to determine branch for HEAD 03:15:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.git 03:15:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-24 03:15:22 # $SEMVER_REMOTE_NAME = origin 03:15:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:15:22 # $SEMVER_USER_NAME = edgex-jenkins 03:15:22 # $SEMVER_BRANCH = PR-24 03:15:22 # $SEMVER_TEMP = /tmp/semver-161836297 03:15:22 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 03:15:23 # '/tmp/semver-161836297' -> '/w/workspace/edgexfoundry_device-gpio_PR-24/.semver' 03:15:23 # -> Force: false 03:15:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.semver [Pipeline] } 03:15:23 $ docker exec --env ******** --env ******** c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent -k 03:15:23 unset SSH_AUTH_SOCK; 03:15:23 unset SSH_AGENT_PID; 03:15:23 echo Agent pid 59 killed; 03:15:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:15:23 + git semver [Pipeline] } 03:15:23 $ docker stop --time=1 c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 03:15:25 $ docker rm -f c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:15:25 Stashed 1 file(s) [Pipeline] echo 03:15:25 [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 03:15:26 provisioning config files... 03:15:26 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config4719202250522312287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:26 ---> docker-login.sh 03:15:26 nexus3.edgexfoundry.org:10001 03:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:26 Configure a credential helper to remove this warning. See 03:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:26 03:15:26 Login Succeeded 03:15:26 nexus3.edgexfoundry.org:10002 03:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:27 Configure a credential helper to remove this warning. See 03:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:27 03:15:27 Login Succeeded 03:15:27 nexus3.edgexfoundry.org:10003 03:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:27 Configure a credential helper to remove this warning. See 03:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:27 03:15:27 Login Succeeded 03:15:27 nexus3.edgexfoundry.org:10004 03:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:27 Configure a credential helper to remove this warning. See 03:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:27 03:15:27 Login Succeeded 03:15:27 docker.io 03:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:27 Configure a credential helper to remove this warning. See 03:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:27 03:15:27 Login Succeeded 03:15:27 ---> docker-login.sh ends [Pipeline] } 03:15:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:28 ========================================================= 03:15:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:15:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:15:28 + 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 . 03:15:28 Sending build context to Docker daemon 11.09MB 03:15:28 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:15:28 Step 2/11 : FROM ${BASE} AS builder 03:15:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:15:28 59bf1c3509f3: Pulling fs layer 03:15:28 666ba61612fd: Pulling fs layer 03:15:28 8ed8ca486205: Pulling fs layer 03:15:28 4fe6c5a15a65: Pulling fs layer 03:15:28 22a0e8bec74d: Pulling fs layer 03:15:28 640e595b4fbd: Pulling fs layer 03:15:28 763cafe07f6e: Pulling fs layer 03:15:28 0c0b528cf693: Pulling fs layer 03:15:28 10935f4eaf8b: Pulling fs layer 03:15:28 763cafe07f6e: Waiting 03:15:28 22a0e8bec74d: Waiting 03:15:28 640e595b4fbd: Waiting 03:15:28 10935f4eaf8b: Waiting 03:15:28 4fe6c5a15a65: Waiting 03:15:28 8ed8ca486205: Download complete 03:15:28 666ba61612fd: Download complete 03:15:28 22a0e8bec74d: Download complete 03:15:28 59bf1c3509f3: Download complete 03:15:28 640e595b4fbd: Verifying Checksum 03:15:28 640e595b4fbd: Download complete 03:15:28 763cafe07f6e: Verifying Checksum 03:15:28 763cafe07f6e: Download complete 03:15:28 0c0b528cf693: Verifying Checksum 03:15:28 0c0b528cf693: Download complete 03:15:28 59bf1c3509f3: Pull complete 03:15:29 666ba61612fd: Pull complete 03:15:29 8ed8ca486205: Pull complete 03:15:29 10935f4eaf8b: Verifying Checksum 03:15:29 10935f4eaf8b: Download complete 03:15:29 4fe6c5a15a65: Verifying Checksum 03:15:29 4fe6c5a15a65: Download complete 03:15:33 4fe6c5a15a65: Pull complete 03:15:33 22a0e8bec74d: Pull complete 03:15:33 640e595b4fbd: Pull complete 03:15:33 763cafe07f6e: Pull complete 03:15:33 0c0b528cf693: Pull complete 03:15:36 10935f4eaf8b: Pull complete 03:15:36 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:15:36 ---> 99d49a6021b9 03:15:36 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:15:37 ---> Running in 25469e248c75 03:15:37 Removing intermediate container 25469e248c75 03:15:37 ---> cbba4ee669dd 03:15:37 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 03:15:37 ---> Running in 6a8ef6abff9c 03:15:37 Removing intermediate container 6a8ef6abff9c 03:15:37 ---> 063d6ff07625 03:15:37 Step 5/11 : WORKDIR /device-gpio 03:15:37 ---> Running in bd5887683173 03:15:37 Removing intermediate container bd5887683173 03:15:37 ---> 7fb7626d1105 03:15:37 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:37 ---> Running in d23720772c43 03:15:38 Removing intermediate container d23720772c43 03:15:38 ---> 281333fb8338 03:15:38 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:38 ---> Running in afabd2e7fe25 03:15:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:15:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:15:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:15:40 (2/4) Installing libedit (20210910.3.1-r0) 03:15:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:15:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:15:40 Executing busybox-1.34.1-r3.trigger 03:15:40 OK: 224 MiB in 56 packages 03:15:41 Removing intermediate container afabd2e7fe25 03:15:41 ---> ebb07b7e867e 03:15:41 Step 8/11 : COPY go.mod vendor* ./ 03:15:41 ---> 45c498633787 03:15:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:41 ---> Running in a4974ac8b63b 03:15:41 Still waiting to schedule task 03:15:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:16:13 Removing intermediate container a4974ac8b63b 03:16:13 ---> 16ef0fb5be61 03:16:13 Step 10/11 : COPY . . 03:16:13 ---> d0996be66601 03:16:13 Step 11/11 : RUN ${MAKE} 03:16:13 ---> Running in c4cce86a6ffa 03:16:13 Removing intermediate container c4cce86a6ffa 03:16:13 ---> 5d14f96cde7c 03:16:13 [Warning] One or more build-args [MAKE] were not consumed 03:16:13 Successfully built 5d14f96cde7c 03:16:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:16:13 + docker inspect -f . ci-base-image-x86_64 03:16:13 . [Pipeline] withDockerContainer 03:16:13 prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container 03:16:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 03:16:14 $ docker top 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:14 + go version 03:16:14 go version go1.17.6 linux/amd64 [Pipeline] } 03:16:14 $ docker stop --time=1 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e 03:16:15 $ docker rm -f 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:16:16 + docker inspect -f . ci-base-image-x86_64 03:16:16 . [Pipeline] withDockerContainer 03:16:16 prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container 03:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 03:16:16 $ docker top 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:16:17 + make test 03:16:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:16:17 ? github.com/edgexfoundry/device-gpio [no test files] 03:16:24 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 03:16:24 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 03:16:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:16:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:16:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:16:31 ./bin/test-attribution-txt.sh [Pipeline] echo 03:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:16:31 $ docker stop --time=1 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af 03:16:33 $ docker rm -f 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af [Pipeline] // withDockerContainer [Pipeline] sh 03:16:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:16:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:16:35 + ls -al . 03:16:35 total 188 03:16:35 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 03:16 . 03:16:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:15 .. 03:16:35 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 03:15 .dockerignore 03:16:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:15 .git 03:16:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:15 .github 03:16:35 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 03:15 .gitignore 03:16:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:15 .golangci.yml 03:16:35 drwx------ 3 jenkins jenkins 4096 Apr 10 03:15 .semver 03:16:35 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 03:15 Attribution.txt 03:16:35 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 03:15 Dockerfile 03:16:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:15 GOVERNANCE.md 03:16:35 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 03:15 Jenkinsfile 03:16:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:15 LICENSE 03:16:35 -rw-rw-r-- 1 jenkins jenkins 1492 Apr 10 03:15 Makefile 03:16:35 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 03:15 OWNERS.md 03:16:35 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 03:15 README.md 03:16:35 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:15 VERSION 03:16:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:15 bin 03:16:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 cmd 03:16:35 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 03:16 coverage.out 03:16:35 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 03:15 go.mod 03:16:35 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 03:15 go.sum 03:16:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 internal 03:16:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 snap 03:16:35 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 03:15 version.go [Pipeline] isUnix [Pipeline] sh 03:16:35 + 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=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f --label arch=amd64 --label version=0.0.0 . 03:16:35 Sending build context to Docker daemon 11.09MB 03:16:35 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:16:35 Step 2/25 : FROM ${BASE} AS builder 03:16:35 ---> 5d14f96cde7c 03:16:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:16:35 ---> Running in 7d8bf023bc80 03:16:35 Removing intermediate container 7d8bf023bc80 03:16:35 ---> fe21e8669329 03:16:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:16:35 ---> Running in a453721853a7 03:16:35 Removing intermediate container a453721853a7 03:16:35 ---> 7fbeb67ec7ed 03:16:35 Step 5/25 : WORKDIR /device-gpio 03:16:35 ---> Running in 6ecc930b8a5f 03:16:35 Removing intermediate container 6ecc930b8a5f 03:16:35 ---> f9cbd493a01c 03:16:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:35 ---> Running in 4ef67a898f07 03:16:36 Removing intermediate container 4ef67a898f07 03:16:36 ---> f0825e4d96df 03:16:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:16:36 ---> Running in 4661f831e6e2 03:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:16:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:16:37 OK: 224 MiB in 56 packages 03:16:38 Removing intermediate container 4661f831e6e2 03:16:38 ---> a7e3e6cbaf4e 03:16:38 Step 8/25 : COPY go.mod vendor* ./ 03:16:38 ---> 7d4a913815e8 03:16:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:38 ---> Running in 7d6f18df4bb7 03:16:39 Removing intermediate container 7d6f18df4bb7 03:16:39 ---> 14cfe2cb011e 03:16:39 Step 10/25 : COPY . . 03:16:39 ---> 7fa8d5e7a10b 03:16:39 Step 11/25 : RUN ${MAKE} 03:16:39 ---> Running in 5fc8fa9961d1 03:16:39 Removing intermediate container 5fc8fa9961d1 03:16:39 ---> c5f86549e932 03:16:39 Step 12/25 : FROM alpine:3.15 03:16:40 3.15: Pulling from library/alpine 03:16:40 df9b9388f04a: Pulling fs layer 03:16:41 df9b9388f04a: Verifying Checksum 03:16:41 df9b9388f04a: Download complete 03:16:41 df9b9388f04a: Pull complete 03:16:41 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:16:41 Status: Downloaded newer image for alpine:3.15 03:16:41 ---> 0ac33e5f5afa 03:16:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:16:41 ---> Running in b5cb334ae6d0 03:16:41 Removing intermediate container b5cb334ae6d0 03:16:41 ---> 53e001474c16 03:16:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:41 ---> Running in 73d362c587cb 03:16:41 Removing intermediate container 73d362c587cb 03:16:41 ---> 29f8507829eb 03:16:41 Step 15/25 : RUN apk add --update --no-cache zeromq 03:16:41 ---> Running in 78ef259a2a42 03:16:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:16:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:16:43 (1/5) Installing libgcc (10.3.1_git20211027-r0) 03:16:43 (2/5) Installing libsodium (1.0.18-r0) 03:16:43 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 03:16:43 (4/5) Installing libzmq (4.3.4-r0) 03:16:43 (5/5) Installing zeromq (4.3.4-r0) 03:16:43 Executing busybox-1.34.1-r5.trigger 03:16:43 OK: 8 MiB in 19 packages 03:16:44 Removing intermediate container 78ef259a2a42 03:16:44 ---> 2bfde4c3a993 03:16:44 Step 16/25 : WORKDIR / 03:16:44 ---> Running in 688fdacfe5c7 03:16:44 Removing intermediate container 688fdacfe5c7 03:16:44 ---> 1f6d46f5b59c 03:16:44 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 03:16:44 ---> 975cb19f5f19 03:16:44 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 03:16:44 ---> de0c4dec6a5f 03:16:44 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 03:16:44 ---> c04d7e13e3da 03:16:44 Step 20/25 : EXPOSE 59910 03:16:44 ---> Running in 4ff0823bf51a 03:16:44 Removing intermediate container 4ff0823bf51a 03:16:44 ---> 0c7b27a6b51b 03:16:44 Step 21/25 : ENTRYPOINT ["/device-gpio"] 03:16:44 ---> Running in bd233eba00a9 03:16:45 Removing intermediate container bd233eba00a9 03:16:45 ---> c9728e757ab8 03:16:45 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:16:45 ---> Running in 18aadb72646d 03:16:45 Removing intermediate container 18aadb72646d 03:16:45 ---> ca3b3637dfc0 03:16:45 Step 23/25 : LABEL arch=amd64 03:16:45 ---> Running in 1eeeb26aceeb 03:16:45 Removing intermediate container 1eeeb26aceeb 03:16:45 ---> 25e2d1ed98e4 03:16:45 Step 24/25 : LABEL git_sha=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 03:16:45 ---> Running in 86202ba3887c 03:16:45 Removing intermediate container 86202ba3887c 03:16:45 ---> 0069184e47d8 03:16:45 Step 25/25 : LABEL version=0.0.0 03:16:45 ---> Running in a1cc20d6f8a4 03:16:45 Removing intermediate container a1cc20d6f8a4 03:16:45 ---> 2ee5b2505ddb 03:16:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:16:45 Successfully built 2ee5b2505ddb 03:16:45 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:16:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:46 03:16:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:16:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:46 latest: Pulling from edgex-lftools-log-publisher 03:16:46 5eb5b503b376: Pulling fs layer 03:16:46 5c69ac0246d0: Pulling fs layer 03:16:46 ec43610c2a17: Pulling fs layer 03:16:46 3a2ae6a8a46f: Pulling fs layer 03:16:46 33b1e0a273af: Pulling fs layer 03:16:46 5d3b04190fa2: Pulling fs layer 03:16:46 2f39f015ded8: Pulling fs layer 03:16:46 3a2ae6a8a46f: Waiting 03:16:46 33b1e0a273af: Waiting 03:16:46 5d3b04190fa2: Waiting 03:16:46 2f39f015ded8: Waiting 03:16:46 5c69ac0246d0: Download complete 03:16:46 3a2ae6a8a46f: Verifying Checksum 03:16:46 3a2ae6a8a46f: Download complete 03:16:46 33b1e0a273af: Verifying Checksum 03:16:46 33b1e0a273af: Download complete 03:16:46 5d3b04190fa2: Verifying Checksum 03:16:46 5d3b04190fa2: Download complete 03:16:46 ec43610c2a17: Verifying Checksum 03:16:46 ec43610c2a17: Download complete 03:16:47 5eb5b503b376: Verifying Checksum 03:16:47 5eb5b503b376: Download complete 03:16:47 2f39f015ded8: Download complete 03:16:48 5eb5b503b376: Pull complete 03:16:48 5c69ac0246d0: Pull complete 03:16:48 ec43610c2a17: Pull complete 03:16:48 3a2ae6a8a46f: Pull complete 03:16:49 33b1e0a273af: Pull complete 03:16:49 5d3b04190fa2: Pull complete 03:16:53 2f39f015ded8: Pull complete 03:16:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:16:53 prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container 03:16:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 03:16:55 $ docker top bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:55 ---> job-cost.sh 03:16:55 lf-activate-venv: SKIPPING 03:16:55 INFO: No Stack... 03:16:55 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:56 INFO: Archiving Costs [Pipeline] sh 03:16:56 + cat /w/workspace/edgexfoundry_device-gpio_PR-24/archives/cost.csv 03:16:56 + cut -d, -f6 [Pipeline] lock 03:16:56 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] 03:16:56 Resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] did not exist. Created. 03:16:56 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:57 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:57 Stashed 1 file(s) [Pipeline] } 03:16:57 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:57 $ docker stop --time=1 bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 03:16:58 $ docker rm -f bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:17:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11746 in /w/workspace/edgexfoundry_device-gpio_PR-24 [Pipeline] { [Pipeline] ws 03:17:23 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 03:17:24 The recommended git tool is: git 03:17:30 using credential edgex-jenkins-ssh 03:17:30 Cloning the remote Git repository 03:17:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 03:17:30 > git init /w/workspace/device-gpio/1 # timeout=10 03:17:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:17:30 > git --version # timeout=10 03:17:30 > git --version # 'git version 2.25.1' 03:17:30 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:17:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:17:32 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:17:32 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:17:32 Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 03:17:32 Merge succeeded, producing 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 03:17:32 Checking out Revision 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f (PR-24) 03:17:32 > git config core.sparsecheckout # timeout=10 03:17:32 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 03:17:32 > git remote # timeout=10 03:17:32 > git config --get remote.origin.url # timeout=10 03:17:32 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:32 > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 03:17:32 > git rev-parse HEAD^{commit} # timeout=10 03:17:32 > git config core.sparsecheckout # timeout=10 03:17:32 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 03:17:37 Commit message: "fix: remove set of direction of a get GPIO or read" 03:17:37 > git --version # timeout=10 03:17:37 > git --version # 'git version 2.25.1' 03:17:37 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:17:38 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:38 Dload Upload Total Spent Left Speed 03:17:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49760 0 --:--:-- --:--:-- --:--:-- 49760 [Pipeline] sh 03:17:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:17:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:17:39 + sudo tee /etc/docker/daemon.new 03:17:39 { 03:17:39 "registry-mirrors": [ 03:17:39 "https://nexus3.edgexfoundry.org:10001" 03:17:39 ], 03:17:39 "bip": "10.250.0.254/24", 03:17:39 "hosts": [ 03:17:39 "tcp://0.0.0.0:5555", 03:17:39 "unix:///var/run/docker.sock" 03:17:39 ], 03:17:39 "mtu": 1458, 03:17:39 "selinux-enabled": true, 03:17:39 "seccomp-profile": "/etc/docker/seccomp.json" 03:17:39 } [Pipeline] sh 03:17:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:17:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:58 provisioning config files... 03:17:58 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4530623411703801129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:58 ---> docker-login.sh 03:17:58 nexus3.edgexfoundry.org:10001 03:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:59 Configure a credential helper to remove this warning. See 03:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:59 03:17:59 Login Succeeded 03:17:59 nexus3.edgexfoundry.org:10002 03:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:59 Configure a credential helper to remove this warning. See 03:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:59 03:17:59 Login Succeeded 03:17:59 nexus3.edgexfoundry.org:10003 03:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:00 Configure a credential helper to remove this warning. See 03:18:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:00 03:18:00 Login Succeeded 03:18:00 nexus3.edgexfoundry.org:10004 03:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:00 Configure a credential helper to remove this warning. See 03:18:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:00 03:18:00 Login Succeeded 03:18:00 docker.io 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:01 Configure a credential helper to remove this warning. See 03:18:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:01 03:18:01 Login Succeeded 03:18:01 ---> docker-login.sh ends [Pipeline] } 03:18:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:02 ========================================================= 03:18:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:18:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:18:02 + 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 . 03:18:02 Sending build context to Docker daemon 5.621MB 03:18:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:18:02 Step 2/11 : FROM ${BASE} AS builder 03:18:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:18:03 9b3977197b4f: Pulling fs layer 03:18:03 1a89e8eeedd5: Pulling fs layer 03:18:03 94645a83ff95: Pulling fs layer 03:18:03 3f3a8bcf1eab: Pulling fs layer 03:18:03 0c92f367c5e7: Pulling fs layer 03:18:03 f7c0051592d6: Pulling fs layer 03:18:03 a227ed2f7395: Pulling fs layer 03:18:03 7b1c46037f91: Pulling fs layer 03:18:03 f7c0051592d6: Waiting 03:18:03 a227ed2f7395: Waiting 03:18:03 7b1c46037f91: Waiting 03:18:03 3f3a8bcf1eab: Waiting 03:18:03 0c92f367c5e7: Waiting 03:18:03 94645a83ff95: Verifying Checksum 03:18:03 94645a83ff95: Download complete 03:18:03 1a89e8eeedd5: Download complete 03:18:03 0c92f367c5e7: Verifying Checksum 03:18:03 0c92f367c5e7: Download complete 03:18:03 f7c0051592d6: Verifying Checksum 03:18:03 f7c0051592d6: Download complete 03:18:03 9b3977197b4f: Verifying Checksum 03:18:03 a227ed2f7395: Verifying Checksum 03:18:03 a227ed2f7395: Download complete 03:18:03 9b3977197b4f: Pull complete 03:18:04 1a89e8eeedd5: Pull complete 03:18:04 94645a83ff95: Pull complete 03:18:05 7b1c46037f91: Verifying Checksum 03:18:05 7b1c46037f91: Download complete 03:18:05 3f3a8bcf1eab: Verifying Checksum 03:18:05 3f3a8bcf1eab: Download complete 03:18:18 3f3a8bcf1eab: Pull complete 03:18:18 0c92f367c5e7: Pull complete 03:18:18 f7c0051592d6: Pull complete 03:18:18 a227ed2f7395: Pull complete 03:18:25 7b1c46037f91: Pull complete 03:18:25 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:18:25 ---> f79e39bc4007 03:18:25 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:26 ---> Running in ed18d56c9e72 03:18:26 Removing intermediate container ed18d56c9e72 03:18:26 ---> 7c961ca562a0 03:18:26 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 03:18:26 ---> Running in 50f90be833a7 03:18:26 Removing intermediate container 50f90be833a7 03:18:26 ---> fa239089bc32 03:18:26 Step 5/11 : WORKDIR /device-gpio 03:18:26 ---> Running in a64a495c2103 03:18:26 Removing intermediate container a64a495c2103 03:18:26 ---> b594e1d241c4 03:18:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:26 ---> Running in 947a1249f475 03:18:28 Removing intermediate container 947a1249f475 03:18:28 ---> 0383195ed3c0 03:18:28 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:28 ---> Running in cb796d4898df 03:18:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:18:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:18:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:18:31 (2/4) Installing libedit (20210910.3.1-r0) 03:18:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:18:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:18:31 Executing busybox-1.34.1-r3.trigger 03:18:31 OK: 224 MiB in 56 packages 03:18:33 Removing intermediate container cb796d4898df 03:18:33 ---> 694acdf54803 03:18:33 Step 8/11 : COPY go.mod vendor* ./ 03:18:34 ---> 8e61dcbed56c 03:18:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:34 ---> Running in 999e93f1feea 03:19:56 Removing intermediate container 999e93f1feea 03:19:56 ---> ad633e5b1528 03:19:56 Step 10/11 : COPY . . 03:19:56 ---> 0165191e18d8 03:19:56 Step 11/11 : RUN ${MAKE} 03:19:56 ---> Running in 34a855c17a8a 03:19:56 Removing intermediate container 34a855c17a8a 03:19:56 ---> 6a267df6e2f4 03:19:56 [Warning] One or more build-args [MAKE] were not consumed 03:19:56 Successfully built 6a267df6e2f4 03:19:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:19:57 + docker inspect -f . ci-base-image-arm64 03:19:57 . [Pipeline] withDockerContainer 03:19:57 prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container 03:19:57 $ 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 03:19:58 $ docker top a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:59 + go version 03:19:59 go version go1.17.6 linux/arm64 [Pipeline] } 03:19:59 $ docker stop --time=1 a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 03:20:01 $ docker rm -f a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:20:02 + docker inspect -f . ci-base-image-arm64 03:20:02 . [Pipeline] withDockerContainer 03:20:02 prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container 03:20:02 $ 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 03:20:03 $ docker top 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:20:04 + make test 03:20:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:20:05 ? github.com/edgexfoundry/device-gpio [no test files] 03:20:52 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 03:20:52 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 03:20:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:20:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:21:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:21:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:21:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:21:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:21:12 $ docker stop --time=1 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 03:21:14 $ docker rm -f 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 [Pipeline] // withDockerContainer [Pipeline] sh 03:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:21:15 Warning: overwriting stash ‘coverage-report’ 03:21:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:21:16 + ls -al . 03:21:16 total 184 03:21:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:21 . 03:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:17 .. 03:21:16 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 03:17 .dockerignore 03:21:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:17 .git 03:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:17 .github 03:21:16 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 03:17 .gitignore 03:21:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:17 .golangci.yml 03:21:16 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 03:17 Attribution.txt 03:21:16 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 03:17 Dockerfile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:17 GOVERNANCE.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 03:17 Jenkinsfile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:17 LICENSE 03:21:16 -rw-rw-r-- 1 jenkins jenkins 1492 Apr 10 03:17 Makefile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 03:17 OWNERS.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 03:17 README.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:15 VERSION 03:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:17 bin 03:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 cmd 03:21:16 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 03:20 coverage.out 03:21:16 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 03:17 go.mod 03:21:16 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 03:17 go.sum 03:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 internal 03:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 snap 03:21:16 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 03:17 version.go [Pipeline] isUnix [Pipeline] sh 03:21:17 + 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=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f --label arch=arm64 --label version=0.0.0 . 03:21:17 Sending build context to Docker daemon 5.622MB 03:21:17 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:21:17 Step 2/25 : FROM ${BASE} AS builder 03:21:17 ---> 6a267df6e2f4 03:21:17 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:21:17 ---> Running in 2cadecf05f6a 03:21:17 Removing intermediate container 2cadecf05f6a 03:21:17 ---> e0c4d1341c51 03:21:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:21:17 ---> Running in da9e8e0121a1 03:21:18 Removing intermediate container da9e8e0121a1 03:21:18 ---> 1e75ce5cd8fc 03:21:18 Step 5/25 : WORKDIR /device-gpio 03:21:18 ---> Running in 2328caba0abe 03:21:18 Removing intermediate container 2328caba0abe 03:21:18 ---> 91fc0747afab 03:21:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:19 ---> Running in 048b07654022 03:21:20 Removing intermediate container 048b07654022 03:21:20 ---> 0fbcda97fc5e 03:21:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:20 ---> Running in b79fe5ff57f9 03:21:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:21:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:21:23 OK: 224 MiB in 56 packages 03:21:24 Removing intermediate container b79fe5ff57f9 03:21:24 ---> 61daf7a673e2 03:21:24 Step 8/25 : COPY go.mod vendor* ./ 03:21:24 ---> b4928ae94322 03:21:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:24 ---> Running in 4efd81238f81 03:21:26 Removing intermediate container 4efd81238f81 03:21:26 ---> 484acaa43a91 03:21:26 Step 10/25 : COPY . . 03:21:27 ---> d38d089b58d7 03:21:27 Step 11/25 : RUN ${MAKE} 03:21:27 ---> Running in f4a99a320992 03:21:29 Removing intermediate container f4a99a320992 03:21:29 ---> 5e700ec00a34 03:21:29 Step 12/25 : FROM alpine:3.15 03:21:30 3.15: Pulling from library/alpine 03:21:30 9981e73032c8: Pulling fs layer 03:21:30 9981e73032c8: Download complete 03:21:31 9981e73032c8: Pull complete 03:21:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:21:31 Status: Downloaded newer image for alpine:3.15 03:21:31 ---> 3fb3c9af89a9 03:21:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:21:31 ---> Running in 44d9110d2122 03:21:31 Removing intermediate container 44d9110d2122 03:21:31 ---> d740bb64b0db 03:21:31 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:31 ---> Running in b399a6301228 03:21:33 Removing intermediate container b399a6301228 03:21:33 ---> 4162c438f101 03:21:33 Step 15/25 : RUN apk add --update --no-cache zeromq 03:21:33 ---> Running in bb9933d0aeac 03:21:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:21:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:21:36 (1/5) Installing libgcc (10.3.1_git20211027-r0) 03:21:36 (2/5) Installing libsodium (1.0.18-r0) 03:21:36 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 03:21:36 (4/5) Installing libzmq (4.3.4-r0) 03:21:36 (5/5) Installing zeromq (4.3.4-r0) 03:21:36 Executing busybox-1.34.1-r5.trigger 03:21:36 OK: 8 MiB in 19 packages 03:21:37 Removing intermediate container bb9933d0aeac 03:21:37 ---> 755fd8ba3c02 03:21:37 Step 16/25 : WORKDIR / 03:21:37 ---> Running in 35ded41c6993 03:21:38 Removing intermediate container 35ded41c6993 03:21:38 ---> 04708ab9c08f 03:21:38 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 03:21:38 ---> 24a60800429b 03:21:38 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 03:21:39 ---> 5b615d0b6ac7 03:21:39 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 03:21:39 ---> 0b732c9e823b 03:21:39 Step 20/25 : EXPOSE 59910 03:21:39 ---> Running in f7070a13a7ef 03:21:40 Removing intermediate container f7070a13a7ef 03:21:40 ---> 122df57fc3bc 03:21:40 Step 21/25 : ENTRYPOINT ["/device-gpio"] 03:21:40 ---> Running in 9dbb12a2af8b 03:21:40 Removing intermediate container 9dbb12a2af8b 03:21:40 ---> 8268a2a69bc2 03:21:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:21:40 ---> Running in 6b9c7b3559e5 03:21:40 Removing intermediate container 6b9c7b3559e5 03:21:40 ---> 859d17507c5a 03:21:40 Step 23/25 : LABEL arch=arm64 03:21:41 ---> Running in 267e1be31517 03:21:41 Removing intermediate container 267e1be31517 03:21:41 ---> 34d3101b6f12 03:21:41 Step 24/25 : LABEL git_sha=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 03:21:41 ---> Running in 50276fd9cf61 03:21:41 Removing intermediate container 50276fd9cf61 03:21:41 ---> f9ca72510661 03:21:41 Step 25/25 : LABEL version=0.0.0 03:21:41 ---> Running in 707dcaf33efd 03:21:42 Removing intermediate container 707dcaf33efd 03:21:42 ---> e0834292a3df 03:21:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:21:42 Successfully built e0834292a3df 03:21:42 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 03:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:21:43 03:21:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:21:43 arm64: Pulling from edgex-lftools-log-publisher 03:21:43 8998bd30e6a1: Pulling fs layer 03:21:43 04944245beec: Pulling fs layer 03:21:43 699f458cf7ca: Pulling fs layer 03:21:43 765212b225bb: Pulling fs layer 03:21:43 f23df028b6ca: Pulling fs layer 03:21:43 d65c8cfc05b1: Pulling fs layer 03:21:43 2437ff75d9bd: Pulling fs layer 03:21:43 765212b225bb: Waiting 03:21:43 f23df028b6ca: Waiting 03:21:43 d65c8cfc05b1: Waiting 03:21:43 2437ff75d9bd: Waiting 03:21:43 04944245beec: Verifying Checksum 03:21:43 04944245beec: Download complete 03:21:43 765212b225bb: Verifying Checksum 03:21:43 765212b225bb: Download complete 03:21:43 f23df028b6ca: Verifying Checksum 03:21:43 f23df028b6ca: Download complete 03:21:43 d65c8cfc05b1: Verifying Checksum 03:21:43 d65c8cfc05b1: Download complete 03:21:44 699f458cf7ca: Verifying Checksum 03:21:44 699f458cf7ca: Download complete 03:21:44 8998bd30e6a1: Verifying Checksum 03:21:44 8998bd30e6a1: Download complete 03:21:46 2437ff75d9bd: Verifying Checksum 03:21:46 2437ff75d9bd: Download complete 03:21:48 8998bd30e6a1: Pull complete 03:21:49 04944245beec: Pull complete 03:21:50 699f458cf7ca: Pull complete 03:21:50 765212b225bb: Pull complete 03:21:51 f23df028b6ca: Pull complete 03:21:51 d65c8cfc05b1: Pull complete 03:22:06 2437ff75d9bd: Pull complete 03:22:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container 03:22:07 $ 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 03:22:10 $ docker top f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:11 ---> job-cost.sh 03:22:11 lf-activate-venv: SKIPPING 03:22:11 INFO: No Stack... 03:22:12 INFO: Retrieving Pricing Info for: v3-standard-4 03:22:13 INFO: Archiving Costs [Pipeline] sh 03:22:13 + cut -d, -f6 03:22:13 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 03:22:13 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] 03:22:13 Resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] did not exist. Created. 03:22:13 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:14 /w/workspace/device-gpio/1@tmp/durable-d6f19ad1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:22:15 + echo total: 0.10999999940395355 [Pipeline] stash 03:22:15 Warning: overwriting stash ‘stack-cost’ 03:22:15 Stashed 1 file(s) [Pipeline] } 03:22:15 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:15 $ docker stop --time=1 f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 03:22:17 $ docker rm -f f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 [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 03:22:18 provisioning config files... 03:22:18 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config657959271964192482tmp [Pipeline] { [Pipeline] sh 03:22:18 + set +x 03:22:18 + curl -s https://codecov.io/bash 03:22:18 + bash -s -- 03:22:18 03:22:18 _____ _ 03:22:18 / ____| | | 03:22:18 | | ___ __| | ___ ___ _____ __ 03:22:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:22:18 | |___| (_) | (_| | __/ (_| (_) \ V / 03:22:18 \_____\___/ \__,_|\___|\___\___/ \_/ 03:22:18 Bash-1.0.6 03:22:18 03:22:18 03:22:18 ==> git version 2.25.1 found 03:22:18 ==> 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 03:22:18 Release-Date: 2020-01-08 03:22:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:22:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:22:18 ==> Jenkins CI detected. 03:22:18 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-24 03:22:18 project root: . 03:22:18 --> token set from env 03:22:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:22:18 ==> Running gcov in . (disable via -X gcov) 03:22:18 ==> Python coveragepy not found 03:22:18 ==> Searching for coverage reports in: 03:22:18 + . 03:22:18 -> Found 1 reports 03:22:18 ==> Detecting git/mercurial file structure 03:22:18 ==> Reading reports 03:22:18 + ./coverage.out bytes=10 03:22:18 ==> Appending adjustments 03:22:18 https://docs.codecov.io/docs/fixing-reports 03:22:18 + Found adjustments 03:22:18 ==> Gzipping contents 03:22:18 4.0K /tmp/codecov.6nvvSO.gz 03:22:18 ==> Uploading reports 03:22:18 url: https://codecov.io 03:22:18 query: branch=PR-24&commit=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 03:22:18 -> Pinging Codecov 03:22:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-24&commit=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 03:22:18 -> Uploading to 03:22:18 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/784cbdb0aaef5f7a73cfa124054e922ab6b6a43f/b0137d5a-7be0-4909-9318-0c5a2e576822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T032218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d3b6ba6195c656d791e9a46b56a1aa27288631a72256772a878700ddd3ae4cc 03:22:19 % Total % Received % Xferd Average Speed Time Time Time Current 03:22:19 Dload Upload Total Spent Left Speed 03:22:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 813 0 0 100 813 0 3079 --:--:-- --:--:-- --:--:-- 3079 03:22:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] } 03:22:19 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 03:22:21 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-24/archives ] 03:22:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 03:22:21 total 16 03:22:21 drwxr-xr-x 3 root root 4096 Apr 10 03:16 . 03:22:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:16 .. 03:22:21 drwxr-xr-x 2 root root 4096 Apr 10 03:16 cost 03:22:21 -rw-r--r-- 1 root root 81 Apr 10 03:16 cost.csv 03:22:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-24/archives 03:22:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 03:22:21 total 16 03:22:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:16 . 03:22:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:16 .. 03:22:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 03:16 cost 03:22:21 -rw-r--r-- 1 jenkins jenkins 81 Apr 10 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:22:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:22:22 ---> package-listing.sh 03:22:22 ++ facter osfamily 03:22:22 ++ tr '[:upper:]' '[:lower:]' 03:22:22 + OS_FAMILY=debian 03:22:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-24 03:22:22 + START_PACKAGES=/tmp/packages_start.txt 03:22:22 + END_PACKAGES=/tmp/packages_end.txt 03:22:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:22:22 + PACKAGES=/tmp/packages_start.txt 03:22:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 03:22:22 + PACKAGES=/tmp/packages_end.txt 03:22:22 + case "${OS_FAMILY}" in 03:22:22 + dpkg -l 03:22:22 + grep '^ii' 03:22:22 + '[' -f /tmp/packages_start.txt ']' 03:22:22 + '[' -f /tmp/packages_end.txt ']' 03:22:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:22:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 03:22:22 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ 03:22:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [Pipeline] echo 03:22:22 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:22:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:22:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:23 . [Pipeline] withDockerContainer 03:22:23 prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container 03:22:23 $ 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-24/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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 03:22:23 $ docker top 1dbbe508a6a8f219a60097888280ae85a89b95fa2fae3409cd7781469773d78a -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:24 + touch /tmp/pre-build-complete [Pipeline] sh 03:22:24 + mkdir -p /var/log/sysstat [Pipeline] sh 03:22:25 + ls /var/log/sa-host 03:22:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:25 provisioning config files... 03:22:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config2912427877781545549tmp [Pipeline] { [Pipeline] echo 03:22:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:22:25 ---> create-netrc.sh [Pipeline] } 03:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:22:26 ---> python-tools-install.sh [Pipeline] echo 03:22:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:22:26 ---> sudo-logs.sh 03:22:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:22:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:22:27 ---> job-cost.sh 03:22:27 lf-activate-venv: SKIPPING 03:22:27 DEBUG: total: 0.2199999988079071 03:22:27 INFO: Retrieving Stack Cost... 03:22:27 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:27 INFO: Archiving Costs [Pipeline] echo 03:22:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:22:28 ---> logs-deploy.sh 03:22:28 lf-activate-venv: SKIPPING 03:22:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-24/1 03:22:28 INFO: archiving workspace using pattern(s): 03:22:29 Archives upload complete. 03:22:29 INFO: archiving logs to Nexus