Pull request #13 updated 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 farshidtz for edgexfoundry/device-gpio Loading trusted files from base branch main at d550a7515acedfb5a6817696fd12096f388c1d1e rather than e2484954b570027d36607595cc1223b9234b777e Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e 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-ssh17425505364408468215.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-ssh8388812934066911358.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5641042799057256936.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 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-ssh13643778038100177295.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh175546469145986521.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7984 in /w/workspace/edgexfoundry_device-gpio_PR-13 [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-13 # 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 d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit e2484954b570027d36607595cc1223b9234b777e Merge succeeded, producing fe3749473b0e6da845fd922ee7fc7fd33e28161d Checking out Revision fe3749473b0e6da845fd922ee7fc7fd33e28161d (PR-13) > 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/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2484954b570027d36607595cc1223b9234b777e # 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 d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe3749473b0e6da845fd922ee7fc7fd33e28161d # timeout=10 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:35:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:35:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:35:28 ========================================================= 17:35:28 EdgeX Global Pipelines Version Info 17:35:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a008ce7c49345528172ccb0eab764cfc946441f7 # timeout=10 17:35:29 ------------------- 17:35:29 stable info: 17:35:29 ------------------- 17:35:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:35:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:35:29 Message: update stable to v1.0.221 17:35:29 ------------------- 17:35:29 experimental info: 17:35:29 ------------------- 17:35:29 Commited By: **** collab-it+edgex@linuxfoundation.org 17:35:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:35:29 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:35:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 17:35:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 17:35:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:35:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:35:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe37494 [Pipeline] echo 17:35:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:30 provisioning config files... 17:35:30 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config1685293766379266715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:30 ---> docker-login.sh 17:35:30 nexus3.edgexfoundry.org:10001 17:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:30 Configure a credential helper to remove this warning. See 17:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:30 17:35:30 Login Succeeded 17:35:30 nexus3.edgexfoundry.org:10002 17:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:31 Configure a credential helper to remove this warning. See 17:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:31 17:35:31 Login Succeeded 17:35:31 nexus3.edgexfoundry.org:10003 17:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:31 Configure a credential helper to remove this warning. See 17:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:31 17:35:31 Login Succeeded 17:35:31 nexus3.edgexfoundry.org:10004 17:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:31 Configure a credential helper to remove this warning. See 17:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:31 17:35:31 Login Succeeded 17:35:31 docker.io 17:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 ---> docker-login.sh ends [Pipeline] } 17:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:35:32 + git rev-list -1 --merges fe3749473b0e6da845fd922ee7fc7fd33e28161d~1..fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo 17:35:32 -----------> git rev-list -1 --merges fe3749473b0e6da845fd922ee7fc7fd33e28161d~1..fe3749473b0e6da845fd922ee7fc7fd33e28161d fe3749473b0e6da845fd922ee7fc7fd33e28161d 17:35:32 fe3749473b0e6da845fd922ee7fc7fd33e28161d [false] [Pipeline] sh 17:35:32 + git log --format=format:%s -1 fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo 17:35:32 ========================================================= 17:35:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:35:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:33 + git log --format=format:%s -1 fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo 17:35:33 [semverPrep] GIT_COMMIT: fe3749473b0e6da845fd922ee7fc7fd33e28161d, Commit Message: Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD [Pipeline] echo 17:35:33 [semverPrep] This is not a build commit. [Pipeline] sh 17:35:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:33 + grep -v github /etc/ssh/ssh_known_hosts 17:35:33 + [ -e /tmp/ssh_known_hosts ] 17:35:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:35:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 17:35:33 tee -a /etc/ssh/ssh_known_hosts 17:35:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:35:34 17:35:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:35:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:35:34 latest: Pulling from edgex-devops/git-semver 17:35:34 a0d0a0d46f8b: Pulling fs layer 17:35:34 3e5f54012d9b: Pulling fs layer 17:35:34 4c7163046ea9: Pulling fs layer 17:35:34 0c2d73faf560: Pulling fs layer 17:35:34 3e5f54012d9b: Verifying Checksum 17:35:34 3e5f54012d9b: Download complete 17:35:34 a0d0a0d46f8b: Verifying Checksum 17:35:34 a0d0a0d46f8b: Download complete 17:35:34 0c2d73faf560: Verifying Checksum 17:35:34 0c2d73faf560: Download complete 17:35:34 4c7163046ea9: Verifying Checksum 17:35:34 4c7163046ea9: Download complete 17:35:34 a0d0a0d46f8b: Pull complete 17:35:34 3e5f54012d9b: Pull complete 17:35:34 4c7163046ea9: Pull complete 17:35:35 0c2d73faf560: Pull complete 17:35:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:35:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:35:35 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 17:35:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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:10004/edgex-devops/git-semver:latest cat 17:35:35 $ docker top 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:36 [ssh-agent] Looking for ssh-agent implementation... 17:35:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:36 $ docker exec 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent 17:35:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhDBNmE/agent.14 17:35:36 SSH_AGENT_PID=20 17:35:36 Running ssh-add (command line suppressed) 17:35:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5889613757185616543.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5889613757185616543.key) 17:35:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:36 + git tag --points-at HEAD [Pipeline] } 17:35:36 $ docker exec --env ******** --env ******** 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent -k 17:35:36 unset SSH_AUTH_SOCK; 17:35:36 unset SSH_AGENT_PID; 17:35:36 echo Agent pid 20 killed; 17:35:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:35:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:36 [ssh-agent] Looking for ssh-agent implementation... 17:35:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:37 $ docker exec 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent 17:35:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDcDLko/agent.53 17:35:37 SSH_AGENT_PID=59 17:35:37 Running ssh-add (command line suppressed) 17:35:37 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9194852496390629714.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9194852496390629714.key) 17:35:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:37 + git semver init 17:35:37 # -> Open(): unable to determine branch for HEAD 17:35:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 17:35:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 17:35:37 # $SEMVER_REMOTE_NAME = origin 17:35:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:35:37 # $SEMVER_USER_NAME = edgex-jenkins 17:35:37 # $SEMVER_BRANCH = PR-13 17:35:37 # $SEMVER_TEMP = /tmp/semver-237181243 17:35:37 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 17:35:38 # '/tmp/semver-237181243' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 17:35:38 # -> Force: false 17:35:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 17:35:38 $ docker exec --env ******** --env ******** 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent -k 17:35:38 unset SSH_AUTH_SOCK; 17:35:38 unset SSH_AGENT_PID; 17:35:38 echo Agent pid 59 killed; 17:35:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:39 + git semver [Pipeline] } 17:35:39 $ docker stop --time=1 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 17:35:40 $ docker rm -f 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:35:41 Stashed 1 file(s) [Pipeline] echo 17:35:41 [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 17:35:41 provisioning config files... 17:35:41 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config9195487042135525261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:41 ---> docker-login.sh 17:35:41 nexus3.edgexfoundry.org:10001 17:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:41 Configure a credential helper to remove this warning. See 17:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:41 17:35:41 Login Succeeded 17:35:41 nexus3.edgexfoundry.org:10002 17:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:41 Configure a credential helper to remove this warning. See 17:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:41 17:35:41 Login Succeeded 17:35:41 nexus3.edgexfoundry.org:10003 17:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:41 Configure a credential helper to remove this warning. See 17:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:41 17:35:41 Login Succeeded 17:35:41 nexus3.edgexfoundry.org:10004 17:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:42 Configure a credential helper to remove this warning. See 17:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:42 17:35:42 Login Succeeded 17:35:42 docker.io 17:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:42 Configure a credential helper to remove this warning. See 17:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:42 17:35:42 Login Succeeded 17:35:42 ---> docker-login.sh ends [Pipeline] } 17:35:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:42 ========================================================= 17:35:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:35:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:35:42 + 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 . 17:35:42 Sending build context to Docker daemon 11.21MB 17:35:42 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 17:35:42 Step 2/11 : FROM ${BASE} AS builder 17:35:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:35:42 59bf1c3509f3: Pulling fs layer 17:35:42 666ba61612fd: Pulling fs layer 17:35:42 8ed8ca486205: Pulling fs layer 17:35:42 4fe6c5a15a65: Pulling fs layer 17:35:42 22a0e8bec74d: Pulling fs layer 17:35:42 640e595b4fbd: Pulling fs layer 17:35:42 763cafe07f6e: Pulling fs layer 17:35:42 0c0b528cf693: Pulling fs layer 17:35:42 10935f4eaf8b: Pulling fs layer 17:35:42 22a0e8bec74d: Waiting 17:35:42 640e595b4fbd: Waiting 17:35:42 0c0b528cf693: Waiting 17:35:42 763cafe07f6e: Waiting 17:35:42 10935f4eaf8b: Waiting 17:35:42 4fe6c5a15a65: Waiting 17:35:42 8ed8ca486205: Verifying Checksum 17:35:42 8ed8ca486205: Download complete 17:35:42 666ba61612fd: Download complete 17:35:42 22a0e8bec74d: Verifying Checksum 17:35:42 22a0e8bec74d: Download complete 17:35:42 640e595b4fbd: Verifying Checksum 17:35:42 640e595b4fbd: Download complete 17:35:42 59bf1c3509f3: Download complete 17:35:42 763cafe07f6e: Verifying Checksum 17:35:42 763cafe07f6e: Download complete 17:35:42 0c0b528cf693: Verifying Checksum 17:35:42 0c0b528cf693: Download complete 17:35:42 59bf1c3509f3: Pull complete 17:35:43 666ba61612fd: Pull complete 17:35:43 8ed8ca486205: Pull complete 17:35:43 10935f4eaf8b: Verifying Checksum 17:35:43 10935f4eaf8b: Download complete 17:35:43 4fe6c5a15a65: Verifying Checksum 17:35:43 4fe6c5a15a65: Download complete 17:35:47 4fe6c5a15a65: Pull complete 17:35:47 22a0e8bec74d: Pull complete 17:35:47 640e595b4fbd: Pull complete 17:35:48 763cafe07f6e: Pull complete 17:35:48 0c0b528cf693: Pull complete 17:35:50 10935f4eaf8b: Pull complete 17:35:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 17:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:35:50 ---> 99d49a6021b9 17:35:50 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:35:52 ---> Running in 2f7bdfe72b4e 17:35:52 Removing intermediate container 2f7bdfe72b4e 17:35:52 ---> e03106b59eed 17:35:52 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:35:52 ---> Running in 43d3d43a42ff 17:35:52 Removing intermediate container 43d3d43a42ff 17:35:52 ---> a22b925e7a0d 17:35:52 Step 5/11 : WORKDIR /device-gpio 17:35:52 ---> Running in 78176fa4458b 17:35:52 Removing intermediate container 78176fa4458b 17:35:52 ---> d440f4d983e2 17:35:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:52 ---> Running in 84d20c0f51d0 17:35:52 Removing intermediate container 84d20c0f51d0 17:35:52 ---> 88494f2ec4cd 17:35:52 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:53 ---> Running in dfa0ba3bd213 17:35:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:35:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:35:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:35:54 (2/4) Installing libedit (20210910.3.1-r0) 17:35:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:35:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:35:54 Executing busybox-1.34.1-r3.trigger 17:35:54 OK: 224 MiB in 56 packages 17:35:55 Removing intermediate container dfa0ba3bd213 17:35:55 ---> e5ff6f752411 17:35:55 Step 8/11 : COPY go.mod vendor* ./ 17:35:55 ---> f4a0b308c0e3 17:35:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:55 ---> Running in c4046b5bab1d 17:35:56 Still waiting to schedule task 17:35:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:36:27 Removing intermediate container c4046b5bab1d 17:36:27 ---> 185699927126 17:36:27 Step 10/11 : COPY . . 17:36:27 ---> 0f760fe66fd3 17:36:27 Step 11/11 : RUN ${MAKE} 17:36:27 ---> Running in b59904ea99d9 17:36:27 Removing intermediate container b59904ea99d9 17:36:27 ---> 7cb91dd34a09 17:36:27 [Warning] One or more build-args [MAKE] were not consumed 17:36:27 Successfully built 7cb91dd34a09 17:36:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:36:27 + docker inspect -f . ci-base-image-x86_64 17:36:27 . [Pipeline] withDockerContainer 17:36:28 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 17:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:36:28 $ docker top f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:28 + go version 17:36:28 go version go1.17.6 linux/amd64 [Pipeline] } 17:36:28 $ docker stop --time=1 f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 17:36:30 $ docker rm -f f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:36:30 + docker inspect -f . ci-base-image-x86_64 17:36:30 . [Pipeline] withDockerContainer 17:36:30 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 17:36:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:36:30 $ docker top d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:36:31 + make test 17:36:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:36:31 ? github.com/edgexfoundry/device-gpio [no test files] 17:36:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:36:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:36:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:36:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:36:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:36:40 ./bin/test-attribution-txt.sh [Pipeline] echo 17:36:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:36:41 $ docker stop --time=1 d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf 17:36:42 $ docker rm -f d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf [Pipeline] // withDockerContainer [Pipeline] sh 17:36:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:36:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:36:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:44 + ls -al . 17:36:44 total 184 17:36:44 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 17:36 . 17:36:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:35 .. 17:36:44 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:35 .dockerignore 17:36:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:35 .git 17:36:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:35 .github 17:36:44 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:35 .gitignore 17:36:44 drwx------ 3 jenkins jenkins 4096 Mar 18 17:35 .semver 17:36:44 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:35 Attribution.txt 17:36:44 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:35 Dockerfile 17:36:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:35 GOVERNANCE.md 17:36:44 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:35 Jenkinsfile 17:36:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:35 LICENSE 17:36:44 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:35 Makefile 17:36:44 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:35 OWNERS.md 17:36:44 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:35 README.md 17:36:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:35 VERSION 17:36:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:35 bin 17:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 cmd 17:36:44 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:36 coverage.out 17:36:44 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:35 go.mod 17:36:44 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:35 go.sum 17:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 internal 17:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 snap 17:36:44 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:35 version.go [Pipeline] isUnix [Pipeline] sh 17:36:45 + 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=fe3749473b0e6da845fd922ee7fc7fd33e28161d --label arch=amd64 --label version=0.0.0 . 17:36:45 Sending build context to Docker daemon 11.22MB 17:36:45 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:36:45 Step 2/25 : FROM ${BASE} AS builder 17:36:45 ---> 7cb91dd34a09 17:36:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:36:45 ---> Running in ff80ffdbe087 17:36:45 Removing intermediate container ff80ffdbe087 17:36:45 ---> 400db0be1e52 17:36:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:36:45 ---> Running in a69d14edcb6a 17:36:45 Removing intermediate container a69d14edcb6a 17:36:45 ---> b215c98c80c9 17:36:45 Step 5/25 : WORKDIR /device-gpio 17:36:45 ---> Running in 4a2df7995068 17:36:45 Removing intermediate container 4a2df7995068 17:36:45 ---> 7db09dc9b64c 17:36:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:45 ---> Running in 4beb186d0218 17:36:46 Removing intermediate container 4beb186d0218 17:36:46 ---> e7a60dea99d2 17:36:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:46 ---> Running in c9a0a14bfdd6 17:36:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:36:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:36:47 OK: 224 MiB in 56 packages 17:36:47 Removing intermediate container c9a0a14bfdd6 17:36:47 ---> 81a5de17f22b 17:36:47 Step 8/25 : COPY go.mod vendor* ./ 17:36:48 ---> a92c99e2a688 17:36:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:48 ---> Running in 18bee1e02bcd 17:36:48 Removing intermediate container 18bee1e02bcd 17:36:48 ---> 8fdd1a9a47eb 17:36:48 Step 10/25 : COPY . . 17:36:49 ---> 3be0dcb1f4e2 17:36:49 Step 11/25 : RUN ${MAKE} 17:36:49 ---> Running in ad2953c9234f 17:36:49 Removing intermediate container ad2953c9234f 17:36:49 ---> 0c5257106c08 17:36:49 Step 12/25 : FROM alpine:3.15 17:36:50 3.15: Pulling from library/alpine 17:36:50 3d2430473443: Pulling fs layer 17:36:50 3d2430473443: Verifying Checksum 17:36:50 3d2430473443: Download complete 17:36:51 3d2430473443: Pull complete 17:36:51 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 17:36:51 Status: Downloaded newer image for alpine:3.15 17:36:51 ---> e9adb5357e84 17:36:51 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:36:51 ---> Running in 003116091f48 17:36:51 Removing intermediate container 003116091f48 17:36:51 ---> 9b670efae175 17:36:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:51 ---> Running in 26b78adaa9b3 17:36:51 Removing intermediate container 26b78adaa9b3 17:36:51 ---> d32698fa6380 17:36:51 Step 15/25 : RUN apk add --update --no-cache zeromq 17:36:51 ---> Running in 76448a17fe41 17:36:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:36:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:36:53 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:36:53 (2/5) Installing libsodium (1.0.18-r0) 17:36:53 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:36:53 (4/5) Installing libzmq (4.3.4-r0) 17:36:53 (5/5) Installing zeromq (4.3.4-r0) 17:36:53 Executing busybox-1.34.1-r4.trigger 17:36:53 OK: 8 MiB in 19 packages 17:36:54 Removing intermediate container 76448a17fe41 17:36:54 ---> 04b093d844c0 17:36:54 Step 16/25 : WORKDIR / 17:36:54 ---> Running in b4b8e5a57dd3 17:36:54 Removing intermediate container b4b8e5a57dd3 17:36:54 ---> e3ca623f9524 17:36:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:36:54 ---> 4b617ab5f56d 17:36:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:36:54 ---> 1eb2a94c8af1 17:36:54 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:36:54 ---> a742d28a33b5 17:36:54 Step 20/25 : EXPOSE 59910 17:36:54 ---> Running in e8ebd1354016 17:36:54 Removing intermediate container e8ebd1354016 17:36:54 ---> e1de7d10e41a 17:36:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:36:54 ---> Running in 87ebf15e6c3c 17:36:54 Removing intermediate container 87ebf15e6c3c 17:36:54 ---> 80ec31bba9d2 17:36:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:36:54 ---> Running in ec54e7d06583 17:36:55 Removing intermediate container ec54e7d06583 17:36:55 ---> 272bf2159e8f 17:36:55 Step 23/25 : LABEL arch=amd64 17:36:55 ---> Running in 208a94e465b2 17:36:55 Removing intermediate container 208a94e465b2 17:36:55 ---> 509607d17c1a 17:36:55 Step 24/25 : LABEL git_sha=fe3749473b0e6da845fd922ee7fc7fd33e28161d 17:36:55 ---> Running in b888cdca3451 17:36:55 Removing intermediate container b888cdca3451 17:36:55 ---> ddfe58aa35e0 17:36:55 Step 25/25 : LABEL version=0.0.0 17:36:55 ---> Running in eacb70a1a8d5 17:36:55 Removing intermediate container eacb70a1a8d5 17:36:55 ---> fedfc75b8087 17:36:55 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:36:55 Successfully built fedfc75b8087 17:36:55 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 17:36:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:55 17:36:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:36:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:56 latest: Pulling from edgex-lftools-log-publisher 17:36:56 5eb5b503b376: Pulling fs layer 17:36:56 5c69ac0246d0: Pulling fs layer 17:36:56 ec43610c2a17: Pulling fs layer 17:36:56 3a2ae6a8a46f: Pulling fs layer 17:36:56 33b1e0a273af: Pulling fs layer 17:36:56 5d3b04190fa2: Pulling fs layer 17:36:56 2f39f015ded8: Pulling fs layer 17:36:56 33b1e0a273af: Waiting 17:36:56 5d3b04190fa2: Waiting 17:36:56 3a2ae6a8a46f: Waiting 17:36:56 2f39f015ded8: Waiting 17:36:56 5c69ac0246d0: Download complete 17:36:56 3a2ae6a8a46f: Download complete 17:36:56 33b1e0a273af: Verifying Checksum 17:36:56 33b1e0a273af: Download complete 17:36:56 5d3b04190fa2: Download complete 17:36:56 ec43610c2a17: Verifying Checksum 17:36:56 ec43610c2a17: Download complete 17:36:56 5eb5b503b376: Verifying Checksum 17:36:56 5eb5b503b376: Download complete 17:36:57 2f39f015ded8: Verifying Checksum 17:36:57 2f39f015ded8: Download complete 17:36:57 5eb5b503b376: Pull complete 17:36:57 5c69ac0246d0: Pull complete 17:36:58 ec43610c2a17: Pull complete 17:36:58 3a2ae6a8a46f: Pull complete 17:36:58 33b1e0a273af: Pull complete 17:36:58 5d3b04190fa2: Pull complete 17:37:03 2f39f015ded8: Pull complete 17:37:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:37:03 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 17:37:03 $ 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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:37:05 $ docker top f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:06 ---> job-cost.sh 17:37:06 lf-activate-venv: SKIPPING 17:37:06 INFO: No Stack... 17:37:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:37:06 INFO: Archiving Costs [Pipeline] sh 17:37:07 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 17:37:07 + cut -d, -f6 [Pipeline] lock 17:37:07 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] 17:37:07 Resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] did not exist. Created. 17:37:07 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:37:07 + echo total: 0.2199999988079071 [Pipeline] stash 17:37:07 Stashed 1 file(s) [Pipeline] } 17:37:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] // lock [Pipeline] } 17:37:07 $ docker stop --time=1 f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 17:37:08 $ docker rm -f f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:37:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7985 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 17:37:29 Running in /w/workspace/device-gpio/11 [Pipeline] { [Pipeline] checkout 17:37:29 The recommended git tool is: git 17:37:37 using credential edgex-jenkins-ssh 17:37:37 Cloning the remote Git repository 17:37:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:37:37 > git init /w/workspace/device-gpio/11 # timeout=10 17:37:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:37:37 > git --version # timeout=10 17:37:37 > git --version # 'git version 2.25.1' 17:37:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:37:40 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit e2484954b570027d36607595cc1223b9234b777e 17:37:40 Merge succeeded, producing c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 17:37:40 Checking out Revision c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 (PR-13) 17:37:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:37:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:37:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:37:40 > git config core.sparsecheckout # timeout=10 17:37:40 > git checkout -f e2484954b570027d36607595cc1223b9234b777e # timeout=10 17:37:40 > git remote # timeout=10 17:37:40 > git config --get remote.origin.url # timeout=10 17:37:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:40 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 17:37:40 > git rev-parse HEAD^{commit} # timeout=10 17:37:40 > git config core.sparsecheckout # timeout=10 17:37:40 > git checkout -f c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 17:37:45 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" 17:37:45 First time build. Skipping changelog. 17:37:45 > git rev-list --no-walk a008ce7c49345528172ccb0eab764cfc946441f7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:37:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:37:46 Dload Upload Total Spent Left Speed 17:37:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 39875 0 --:--:-- --:--:-- --:--:-- 39741 [Pipeline] sh 17:37:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:37:47 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 17:37:47 17:37:47 { 17:37:47 "registry-mirrors": [ 17:37:47 "https://nexus3.edgexfoundry.org:10001" 17:37:47 ], 17:37:47 "bip": "10.250.0.254/24", 17:37:47 "hosts": [ 17:37:47 "tcp://0.0.0.0:5555", 17:37:47 "unix:///var/run/docker.sock" 17:37:47 ], 17:37:47 "mtu": 1458, 17:37:47 "selinux-enabled": true, 17:37:47 "seccomp-profile": "/etc/docker/seccomp.json" 17:37:47 } [Pipeline] sh 17:37:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:37:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:06 provisioning config files... 17:38:06 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/11@tmp/config8709797420387608154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:06 ---> docker-login.sh 17:38:06 nexus3.edgexfoundry.org:10001 17:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:07 Configure a credential helper to remove this warning. See 17:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:07 17:38:07 Login Succeeded 17:38:07 nexus3.edgexfoundry.org:10002 17:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:08 Configure a credential helper to remove this warning. See 17:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:08 17:38:08 Login Succeeded 17:38:08 nexus3.edgexfoundry.org:10003 17:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:08 Configure a credential helper to remove this warning. See 17:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:08 17:38:08 Login Succeeded 17:38:08 nexus3.edgexfoundry.org:10004 17:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:09 Configure a credential helper to remove this warning. See 17:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:09 17:38:09 Login Succeeded 17:38:09 docker.io 17:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:09 Configure a credential helper to remove this warning. See 17:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:09 17:38:09 Login Succeeded 17:38:09 ---> docker-login.sh ends [Pipeline] } 17:38:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:10 ========================================================= 17:38:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:38:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:38:11 + 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 . 17:38:11 Sending build context to Docker daemon 5.762MB 17:38:11 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 17:38:11 Step 2/11 : FROM ${BASE} AS builder 17:38:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:38:11 9b3977197b4f: Pulling fs layer 17:38:11 1a89e8eeedd5: Pulling fs layer 17:38:11 94645a83ff95: Pulling fs layer 17:38:11 3f3a8bcf1eab: Pulling fs layer 17:38:11 0c92f367c5e7: Pulling fs layer 17:38:11 f7c0051592d6: Pulling fs layer 17:38:11 a227ed2f7395: Pulling fs layer 17:38:11 7b1c46037f91: Pulling fs layer 17:38:11 0c92f367c5e7: Waiting 17:38:11 f7c0051592d6: Waiting 17:38:11 a227ed2f7395: Waiting 17:38:11 7b1c46037f91: Waiting 17:38:11 3f3a8bcf1eab: Waiting 17:38:11 94645a83ff95: Verifying Checksum 17:38:11 94645a83ff95: Download complete 17:38:11 1a89e8eeedd5: Download complete 17:38:11 0c92f367c5e7: Verifying Checksum 17:38:11 0c92f367c5e7: Download complete 17:38:11 f7c0051592d6: Verifying Checksum 17:38:11 f7c0051592d6: Download complete 17:38:11 9b3977197b4f: Download complete 17:38:11 a227ed2f7395: Verifying Checksum 17:38:11 a227ed2f7395: Download complete 17:38:12 9b3977197b4f: Pull complete 17:38:13 1a89e8eeedd5: Pull complete 17:38:13 94645a83ff95: Pull complete 17:38:13 7b1c46037f91: Verifying Checksum 17:38:13 7b1c46037f91: Download complete 17:38:14 3f3a8bcf1eab: Download complete 17:38:26 3f3a8bcf1eab: Pull complete 17:38:26 0c92f367c5e7: Pull complete 17:38:26 f7c0051592d6: Pull complete 17:38:27 a227ed2f7395: Pull complete 17:38:33 7b1c46037f91: Pull complete 17:38:33 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 17:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:38:33 ---> f79e39bc4007 17:38:33 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:38:33 ---> Running in 102f3ad3a08b 17:38:34 Removing intermediate container 102f3ad3a08b 17:38:34 ---> 7da6151dfbca 17:38:34 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:38:34 ---> Running in 8300b28cfd0d 17:38:34 Removing intermediate container 8300b28cfd0d 17:38:34 ---> f90eee8922f1 17:38:34 Step 5/11 : WORKDIR /device-gpio 17:38:34 ---> Running in 31e9a2237df3 17:38:35 Removing intermediate container 31e9a2237df3 17:38:35 ---> 63b2c2d81708 17:38:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:38:35 ---> Running in a364f1266a18 17:38:37 Removing intermediate container a364f1266a18 17:38:37 ---> 903434d6aa26 17:38:37 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:37 ---> Running in e44ebb3160b0 17:38:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:38:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:38:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:38:39 (2/4) Installing libedit (20210910.3.1-r0) 17:38:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:38:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:38:39 Executing busybox-1.34.1-r3.trigger 17:38:40 OK: 224 MiB in 56 packages 17:38:41 Removing intermediate container e44ebb3160b0 17:38:41 ---> 21de822127a4 17:38:41 Step 8/11 : COPY go.mod vendor* ./ 17:38:41 ---> e8465de94d76 17:38:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:41 ---> Running in 83f9f496e9cb 17:40:03 Removing intermediate container 83f9f496e9cb 17:40:03 ---> 22f25867593b 17:40:03 Step 10/11 : COPY . . 17:40:03 ---> d23d9101f714 17:40:03 Step 11/11 : RUN ${MAKE} 17:40:03 ---> Running in e7541f5c6993 17:40:03 Removing intermediate container e7541f5c6993 17:40:03 ---> 1232d1319002 17:40:03 [Warning] One or more build-args [MAKE] were not consumed 17:40:03 Successfully built 1232d1319002 17:40:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:40:03 + docker inspect -f . ci-base-image-arm64 17:40:03 . [Pipeline] withDockerContainer 17:40:04 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 17:40:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:05 $ docker top 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:06 + go version 17:40:06 go version go1.17.6 linux/arm64 [Pipeline] } 17:40:06 $ docker stop --time=1 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 17:40:08 $ docker rm -f 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:40:08 + docker inspect -f . ci-base-image-arm64 17:40:08 . [Pipeline] withDockerContainer 17:40:08 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 17:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:10 $ docker top 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:40:11 + make test 17:40:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:40:12 ? github.com/edgexfoundry/device-gpio [no test files] 17:40:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:40:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:40:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:41:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:41:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:41:14 ./bin/test-attribution-txt.sh [Pipeline] echo 17:41:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:41:16 $ docker stop --time=1 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc 17:41:18 $ docker rm -f 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc [Pipeline] // withDockerContainer [Pipeline] sh 17:41:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:41:19 Warning: overwriting stash ‘coverage-report’ 17:41:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:41:20 + ls -al . 17:41:20 total 180 17:41:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:41 . 17:41:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:37 .. 17:41:20 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:37 .dockerignore 17:41:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:37 .git 17:41:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:37 .github 17:41:20 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:37 .gitignore 17:41:20 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:37 Attribution.txt 17:41:20 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:37 Dockerfile 17:41:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:37 GOVERNANCE.md 17:41:20 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:37 Jenkinsfile 17:41:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:37 LICENSE 17:41:20 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:37 Makefile 17:41:20 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:37 OWNERS.md 17:41:20 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:37 README.md 17:41:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:35 VERSION 17:41:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:37 bin 17:41:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 cmd 17:41:20 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:40 coverage.out 17:41:20 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:37 go.mod 17:41:20 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:37 go.sum 17:41:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 internal 17:41:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 snap 17:41:20 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:37 version.go [Pipeline] isUnix [Pipeline] sh 17:41:20 + 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=c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 --label arch=arm64 --label version=0.0.0 . 17:41:21 Sending build context to Docker daemon 5.763MB 17:41:21 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:41:21 Step 2/25 : FROM ${BASE} AS builder 17:41:21 ---> 1232d1319002 17:41:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:41:21 ---> Running in 966292482d98 17:41:21 Removing intermediate container 966292482d98 17:41:21 ---> 6e7d1ce2f4d1 17:41:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:41:21 ---> Running in 3e5b331a0331 17:41:22 Removing intermediate container 3e5b331a0331 17:41:22 ---> eb8af4430d65 17:41:22 Step 5/25 : WORKDIR /device-gpio 17:41:22 ---> Running in 82516669da50 17:41:22 Removing intermediate container 82516669da50 17:41:22 ---> 6fe998cd004e 17:41:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:41:22 ---> Running in 39f1820e5862 17:41:24 Removing intermediate container 39f1820e5862 17:41:24 ---> a41f5f93daee 17:41:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:41:24 ---> Running in 71a3e778e8bc 17:41:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:41:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:41:27 OK: 224 MiB in 56 packages 17:41:27 Removing intermediate container 71a3e778e8bc 17:41:27 ---> a274cd2cbd51 17:41:27 Step 8/25 : COPY go.mod vendor* ./ 17:41:28 ---> 6ab0d22f4898 17:41:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:41:28 ---> Running in 37af66b45d3f 17:41:31 Removing intermediate container 37af66b45d3f 17:41:31 ---> 636cef21b050 17:41:31 Step 10/25 : COPY . . 17:41:32 ---> c0a08a717f06 17:41:32 Step 11/25 : RUN ${MAKE} 17:41:32 ---> Running in f2247d2f7105 17:41:33 Removing intermediate container f2247d2f7105 17:41:33 ---> 7c7bbd8536e2 17:41:33 Step 12/25 : FROM alpine:3.15 17:41:34 3.15: Pulling from library/alpine 17:41:34 148d739a8e6b: Pulling fs layer 17:41:34 148d739a8e6b: Verifying Checksum 17:41:34 148d739a8e6b: Download complete 17:41:35 148d739a8e6b: Pull complete 17:41:35 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 17:41:35 Status: Downloaded newer image for alpine:3.15 17:41:35 ---> 3abe2e34c907 17:41:35 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:41:35 ---> Running in f4ecc0cd5d65 17:41:35 Removing intermediate container f4ecc0cd5d65 17:41:35 ---> 72058b4ee719 17:41:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:41:35 ---> Running in 9ff6343624e0 17:41:37 Removing intermediate container 9ff6343624e0 17:41:37 ---> bd28c69aed16 17:41:37 Step 15/25 : RUN apk add --update --no-cache zeromq 17:41:37 ---> Running in cbb61d2e24f3 17:41:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:41:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:41:40 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:41:40 (2/5) Installing libsodium (1.0.18-r0) 17:41:40 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:41:40 (4/5) Installing libzmq (4.3.4-r0) 17:41:40 (5/5) Installing zeromq (4.3.4-r0) 17:41:40 Executing busybox-1.34.1-r4.trigger 17:41:40 OK: 8 MiB in 19 packages 17:41:41 Removing intermediate container cbb61d2e24f3 17:41:41 ---> 5e9ad952e8f3 17:41:41 Step 16/25 : WORKDIR / 17:41:41 ---> Running in ea5d52136039 17:41:41 Removing intermediate container ea5d52136039 17:41:41 ---> 61b653b1b56a 17:41:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:41:42 ---> 097970afb7ff 17:41:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:41:43 ---> 38e6d93901ac 17:41:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:41:43 ---> 5dcb9d4b76a4 17:41:43 Step 20/25 : EXPOSE 59910 17:41:43 ---> Running in 6f109c0265a8 17:41:43 Removing intermediate container 6f109c0265a8 17:41:43 ---> 3caecd885296 17:41:43 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:41:43 ---> Running in ef01c51816d6 17:41:44 Removing intermediate container ef01c51816d6 17:41:44 ---> d281965e656b 17:41:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:41:44 ---> Running in cc2200f33560 17:41:44 Removing intermediate container cc2200f33560 17:41:44 ---> 6da753cff5bb 17:41:44 Step 23/25 : LABEL arch=arm64 17:41:44 ---> Running in 1bf565112e02 17:41:45 Removing intermediate container 1bf565112e02 17:41:45 ---> 8d4d16534b2d 17:41:45 Step 24/25 : LABEL git_sha=c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 17:41:45 ---> Running in 30019ded1b06 17:41:45 Removing intermediate container 30019ded1b06 17:41:45 ---> b702054c3388 17:41:45 Step 25/25 : LABEL version=0.0.0 17:41:45 ---> Running in ba0a2c79a56c 17:41:45 Removing intermediate container ba0a2c79a56c 17:41:45 ---> 47365ec6c0a6 17:41:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:41:45 Successfully built 47365ec6c0a6 17:41:45 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 17:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:46 17:41:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:46 arm64: Pulling from edgex-lftools-log-publisher 17:41:46 8998bd30e6a1: Pulling fs layer 17:41:46 04944245beec: Pulling fs layer 17:41:46 699f458cf7ca: Pulling fs layer 17:41:46 765212b225bb: Pulling fs layer 17:41:46 f23df028b6ca: Pulling fs layer 17:41:46 d65c8cfc05b1: Pulling fs layer 17:41:46 2437ff75d9bd: Pulling fs layer 17:41:46 f23df028b6ca: Waiting 17:41:46 d65c8cfc05b1: Waiting 17:41:46 2437ff75d9bd: Waiting 17:41:46 765212b225bb: Waiting 17:41:46 04944245beec: Verifying Checksum 17:41:46 04944245beec: Download complete 17:41:46 765212b225bb: Verifying Checksum 17:41:46 765212b225bb: Download complete 17:41:46 f23df028b6ca: Verifying Checksum 17:41:46 f23df028b6ca: Download complete 17:41:46 d65c8cfc05b1: Verifying Checksum 17:41:46 d65c8cfc05b1: Download complete 17:41:47 699f458cf7ca: Verifying Checksum 17:41:47 699f458cf7ca: Download complete 17:41:47 8998bd30e6a1: Verifying Checksum 17:41:47 8998bd30e6a1: Download complete 17:41:50 2437ff75d9bd: Verifying Checksum 17:41:50 2437ff75d9bd: Download complete 17:41:52 8998bd30e6a1: Pull complete 17:41:52 04944245beec: Pull complete 17:41:53 699f458cf7ca: Pull complete 17:41:54 765212b225bb: Pull complete 17:41:55 f23df028b6ca: Pull complete 17:41:55 d65c8cfc05b1: Pull complete 17:42:10 2437ff75d9bd: Pull complete 17:42:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:42:10 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 17:42:10 $ 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/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:42:12 $ docker top 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:13 ---> job-cost.sh 17:42:13 lf-activate-venv: SKIPPING 17:42:13 INFO: No Stack... 17:42:13 INFO: Retrieving Pricing Info for: v3-standard-4 17:42:14 INFO: Archiving Costs [Pipeline] sh 17:42:15 + cat /w/workspace/device-gpio/11/archives/cost.csv 17:42:15 + cut -d, -f6 [Pipeline] lock 17:42:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] 17:42:15 Resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] did not exist. Created. 17:42:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:42:16 /w/workspace/device-gpio/11@tmp/durable-934f20df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:42:17 + echo total: 0.10999999940395355 [Pipeline] stash 17:42:17 Warning: overwriting stash ‘stack-cost’ 17:42:17 Stashed 1 file(s) [Pipeline] } 17:42:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] // lock [Pipeline] } 17:42:17 $ docker stop --time=1 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 17:42:18 $ docker rm -f 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 [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 17:42:19 provisioning config files... 17:42:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config2724140429647269704tmp [Pipeline] { [Pipeline] sh 17:42:19 + set +x 17:42:19 + curl -s https://codecov.io/bash 17:42:19 + bash -s -- 17:42:19 17:42:19 _____ _ 17:42:19 / ____| | | 17:42:19 | | ___ __| | ___ ___ _____ __ 17:42:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:42:19 | |___| (_) | (_| | __/ (_| (_) \ V / 17:42:19 \_____\___/ \__,_|\___|\___\___/ \_/ 17:42:19 Bash-1.0.6 17:42:19 17:42:19 17:42:19 ==> git version 2.25.1 found 17:42:19 ==> 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 17:42:19 Release-Date: 2020-01-08 17:42:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:42:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:42:19 ==> Jenkins CI detected. 17:42:19 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 17:42:19 project root: . 17:42:19 --> token set from env 17:42:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:42:19 ==> Running gcov in . (disable via -X gcov) 17:42:19 ==> Python coveragepy not found 17:42:19 ==> Searching for coverage reports in: 17:42:19 + . 17:42:19 -> Found 1 reports 17:42:19 ==> Detecting git/mercurial file structure 17:42:19 ==> Reading reports 17:42:19 + ./coverage.out bytes=10 17:42:19 ==> Appending adjustments 17:42:19 https://docs.codecov.io/docs/fixing-reports 17:42:19 + Found adjustments 17:42:19 ==> Gzipping contents 17:42:19 4.0K /tmp/codecov.dMJvRQ.gz 17:42:19 ==> Uploading reports 17:42:19 url: https://codecov.io 17:42:19 query: branch=PR-13&commit=fe3749473b0e6da845fd922ee7fc7fd33e28161d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 17:42:19 -> Pinging Codecov 17:42:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-13&commit=fe3749473b0e6da845fd922ee7fc7fd33e28161d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 17:42:19 -> Uploading to 17:42:19 https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fe3749473b0e6da845fd922ee7fc7fd33e28161d/bada1158-693f-4104-af16-9e65bd057ea5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T174219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe1d62cbfa4f0517aa7c287d008006bba609a4dc1d31c6e093ae4873c1aee796 17:42:19 % Total % Received % Xferd Average Speed Time Time Time Current 17:42:19 Dload Upload Total Spent Left Speed 17:42:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 2767 --:--:-- --:--:-- --:--:-- 2767 17:42:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] } 17:42:20 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 17:42:20 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 17:42:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:42:20 total 16 17:42:20 drwxr-xr-x 3 root root 4096 Mar 18 17:37 . 17:42:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:37 .. 17:42:20 drwxr-xr-x 2 root root 4096 Mar 18 17:37 cost 17:42:20 -rw-r--r-- 1 root root 82 Mar 18 17:37 cost.csv 17:42:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:42:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:42:20 total 16 17:42:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 17:37 . 17:42:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:37 .. 17:42:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 17:37 cost 17:42:20 -rw-r--r-- 1 jenkins jenkins 82 Mar 18 17:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:42:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:42:22 ---> package-listing.sh 17:42:22 ++ facter osfamily 17:42:22 ++ tr '[:upper:]' '[:lower:]' 17:42:22 + OS_FAMILY=debian 17:42:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 17:42:22 + START_PACKAGES=/tmp/packages_start.txt 17:42:22 + END_PACKAGES=/tmp/packages_end.txt 17:42:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:42:22 + PACKAGES=/tmp/packages_start.txt 17:42:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 17:42:22 + PACKAGES=/tmp/packages_end.txt 17:42:22 + case "${OS_FAMILY}" in 17:42:22 + dpkg -l 17:42:22 + grep '^ii' 17:42:22 + '[' -f /tmp/packages_start.txt ']' 17:42:22 + '[' -f /tmp/packages_end.txt ']' 17:42:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:42:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 17:42:22 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 17:42:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo 17:42: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-13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:42:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:42:23 . [Pipeline] withDockerContainer 17:42:23 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 17:42: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-13/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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:42:23 $ docker top 9b82b5ef0e2cf7c6b2542ffa0c626544597919d5ae7de3b02061172fa181cd1d -eo pid,comm [Pipeline] { [Pipeline] sh 17:42:23 + touch /tmp/pre-build-complete [Pipeline] sh 17:42:24 + mkdir -p /var/log/sysstat [Pipeline] sh 17:42:24 + ls /var/log/sa-host 17:42:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:24 provisioning config files... 17:42:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config8307271852031888812tmp [Pipeline] { [Pipeline] echo 17:42:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:42:24 ---> create-netrc.sh [Pipeline] } 17:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:42:25 ---> python-tools-install.sh [Pipeline] echo 17:42:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:42:25 ---> sudo-logs.sh 17:42:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:42:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:42:25 ---> job-cost.sh 17:42:25 lf-activate-venv: SKIPPING 17:42:25 DEBUG: total: 0.2199999988079071 17:42:25 INFO: Retrieving Stack Cost... 17:42:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:42:26 INFO: Archiving Costs [Pipeline] echo 17:42:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:42:27 ---> logs-deploy.sh 17:42:27 lf-activate-venv: SKIPPING 17:42:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/11 17:42:27 INFO: archiving workspace using pattern(s): 17:42:27 Archives upload complete. 17:42:27 INFO: archiving logs to Nexus