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 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 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-ssh3685335306660709434.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-ssh1486723291173156176.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-ssh14375156989105978121.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-ssh7834304346214062866.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-ssh8231642794150257496.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-7124 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 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 Merge succeeded, producing 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 Checking out Revision 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 (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 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 # 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 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 # timeout=10 Commit message: "docs(snap): Replace with svg store icon" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:01:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:01:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:01:51 ========================================================= 10:01:51 EdgeX Global Pipelines Version Info 10:01:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2fccfded593c6d1bc38f5c1e250721b5beb7a312 # timeout=10 10:01:52 ------------------- 10:01:52 stable info: 10:01:52 ------------------- 10:01:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:01:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:01:52 Message: update stable to v1.0.221 10:01:52 ------------------- 10:01:52 experimental info: 10:01:52 ------------------- 10:01:52 Commited By: **** collab-it+edgex@linuxfoundation.org 10:01:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:01:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83edf23 [Pipeline] echo 10:01:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:53 provisioning config files... 10:01:53 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3142770188510643314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:53 ---> docker-login.sh 10:01:53 nexus3.edgexfoundry.org:10001 10:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:54 Configure a credential helper to remove this warning. See 10:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:54 10:01:54 Login Succeeded 10:01:54 nexus3.edgexfoundry.org:10002 10:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:54 Configure a credential helper to remove this warning. See 10:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:54 10:01:54 Login Succeeded 10:01:54 nexus3.edgexfoundry.org:10003 10:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:54 Configure a credential helper to remove this warning. See 10:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:54 10:01:54 Login Succeeded 10:01:54 nexus3.edgexfoundry.org:10004 10:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:54 Configure a credential helper to remove this warning. See 10:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:54 10:01:54 Login Succeeded 10:01:54 docker.io 10:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:54 Configure a credential helper to remove this warning. See 10:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:54 10:01:54 Login Succeeded 10:01:54 ---> docker-login.sh ends [Pipeline] } 10:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:01:55 + git rev-list -1 --merges 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004~1..83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [Pipeline] echo 10:01:55 -----------> git rev-list -1 --merges 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004~1..83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [false] [Pipeline] sh 10:01:55 + git log --format=format:%s -1 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [Pipeline] echo 10:01:55 ========================================================= 10:01:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:01:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:55 + git log --format=format:%s -1 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [Pipeline] echo 10:01:56 [semverPrep] GIT_COMMIT: 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004, Commit Message: docs(snap): Replace with svg store icon [Pipeline] echo 10:01:56 [semverPrep] This is not a build commit. [Pipeline] sh 10:01:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:01:56 + grep -v github /etc/ssh/ssh_known_hosts 10:01:56 + [ -e /tmp/ssh_known_hosts ] 10:01:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:01:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:01:56 + sudo tee -a /etc/ssh/ssh_known_hosts 10:01:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:01:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:56 10:01:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:01:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:57 latest: Pulling from edgex-devops/git-semver 10:01:57 a0d0a0d46f8b: Pulling fs layer 10:01:57 3e5f54012d9b: Pulling fs layer 10:01:57 4c7163046ea9: Pulling fs layer 10:01:57 0c2d73faf560: Pulling fs layer 10:01:57 0c2d73faf560: Waiting 10:01:57 3e5f54012d9b: Verifying Checksum 10:01:57 3e5f54012d9b: Download complete 10:01:57 a0d0a0d46f8b: Verifying Checksum 10:01:57 a0d0a0d46f8b: Download complete 10:01:57 0c2d73faf560: Verifying Checksum 10:01:57 0c2d73faf560: Download complete 10:01:57 4c7163046ea9: Verifying Checksum 10:01:57 4c7163046ea9: Download complete 10:01:57 a0d0a0d46f8b: Pull complete 10:01:57 3e5f54012d9b: Pull complete 10:01:57 4c7163046ea9: Pull complete 10:01:57 0c2d73faf560: Pull complete 10:01:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:01:58 prd-ubuntu20.04-docker-8c-8g-7124 does not seem to be running inside a container 10:01:58 $ 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 10:01:58 $ docker top bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:58 [ssh-agent] Looking for ssh-agent implementation... 10:01:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:58 $ docker exec bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 ssh-agent 10:01:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADkjia/agent.13 10:01:59 SSH_AGENT_PID=19 10:01:59 Running ssh-add (command line suppressed) 10:01:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3131511964669298744.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3131511964669298744.key) 10:01:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:59 + git tag --points-at HEAD [Pipeline] } 10:01:59 $ docker exec --env ******** --env ******** bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 ssh-agent -k 10:01:59 unset SSH_AUTH_SOCK; 10:01:59 unset SSH_AGENT_PID; 10:01:59 echo Agent pid 19 killed; 10:01:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:01:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:59 [ssh-agent] Looking for ssh-agent implementation... 10:01:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:59 $ docker exec bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 ssh-agent 10:01:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXefMDcB/agent.52 10:01:59 SSH_AGENT_PID=59 10:01:59 Running ssh-add (command line suppressed) 10:02:00 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5113503279341092743.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5113503279341092743.key) 10:02:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:00 + git semver init 10:02:00 # -> Open(): unable to determine branch for HEAD 10:02:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 10:02:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 10:02:00 # $SEMVER_REMOTE_NAME = origin 10:02:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:02:00 # $SEMVER_USER_NAME = edgex-jenkins 10:02:00 # $SEMVER_BRANCH = PR-13 10:02:00 # $SEMVER_TEMP = /tmp/semver-873540526 10:02:00 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 10:02:01 # '/tmp/semver-873540526' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 10:02:01 # -> Force: false 10:02:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 10:02:01 $ docker exec --env ******** --env ******** bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 ssh-agent -k 10:02:01 unset SSH_AUTH_SOCK; 10:02:01 unset SSH_AGENT_PID; 10:02:01 echo Agent pid 59 killed; 10:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:01 + git semver [Pipeline] } 10:02:01 $ docker stop --time=1 bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 10:02:03 $ docker rm -f bc010a7849bbb0f66c2ef7c0055b66a7489738f67391480e29d16f5ce455b3f1 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:03 Stashed 1 file(s) [Pipeline] echo 10:02:03 [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 10:02:03 provisioning config files... 10:02:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config4413422035531057704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:04 ---> docker-login.sh 10:02:04 nexus3.edgexfoundry.org:10001 10:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:04 Configure a credential helper to remove this warning. See 10:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:04 10:02:04 Login Succeeded 10:02:04 nexus3.edgexfoundry.org:10002 10:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:04 Configure a credential helper to remove this warning. See 10:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:04 10:02:04 Login Succeeded 10:02:04 nexus3.edgexfoundry.org:10003 10:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:04 Configure a credential helper to remove this warning. See 10:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:04 10:02:04 Login Succeeded 10:02:04 nexus3.edgexfoundry.org:10004 10:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:04 Configure a credential helper to remove this warning. See 10:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:04 10:02:04 Login Succeeded 10:02:04 docker.io 10:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:04 Configure a credential helper to remove this warning. See 10:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:04 10:02:04 Login Succeeded 10:02:04 ---> docker-login.sh ends [Pipeline] } 10:02:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:05 ========================================================= 10:02:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:02:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:02:05 + 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 . 10:02:05 Sending build context to Docker daemon 11.17MB 10:02:05 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:02:05 Step 2/11 : FROM ${BASE} AS builder 10:02:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:05 59bf1c3509f3: Pulling fs layer 10:02:05 666ba61612fd: Pulling fs layer 10:02:05 8ed8ca486205: Pulling fs layer 10:02:05 4fe6c5a15a65: Pulling fs layer 10:02:05 22a0e8bec74d: Pulling fs layer 10:02:05 640e595b4fbd: Pulling fs layer 10:02:05 763cafe07f6e: Pulling fs layer 10:02:05 0c0b528cf693: Pulling fs layer 10:02:05 10935f4eaf8b: Pulling fs layer 10:02:05 640e595b4fbd: Waiting 10:02:05 763cafe07f6e: Waiting 10:02:05 0c0b528cf693: Waiting 10:02:05 4fe6c5a15a65: Waiting 10:02:05 22a0e8bec74d: Waiting 10:02:05 10935f4eaf8b: Waiting 10:02:05 8ed8ca486205: Verifying Checksum 10:02:05 8ed8ca486205: Download complete 10:02:05 666ba61612fd: Verifying Checksum 10:02:05 666ba61612fd: Download complete 10:02:05 22a0e8bec74d: Verifying Checksum 10:02:05 22a0e8bec74d: Download complete 10:02:05 640e595b4fbd: Download complete 10:02:05 763cafe07f6e: Verifying Checksum 10:02:05 763cafe07f6e: Download complete 10:02:05 59bf1c3509f3: Verifying Checksum 10:02:05 59bf1c3509f3: Download complete 10:02:05 0c0b528cf693: Verifying Checksum 10:02:05 0c0b528cf693: Download complete 10:02:05 59bf1c3509f3: Pull complete 10:02:05 666ba61612fd: Pull complete 10:02:05 8ed8ca486205: Pull complete 10:02:06 10935f4eaf8b: Verifying Checksum 10:02:06 10935f4eaf8b: Download complete 10:02:06 4fe6c5a15a65: Verifying Checksum 10:02:06 4fe6c5a15a65: Download complete 10:02:10 4fe6c5a15a65: Pull complete 10:02:10 22a0e8bec74d: Pull complete 10:02:10 640e595b4fbd: Pull complete 10:02:10 763cafe07f6e: Pull complete 10:02:10 0c0b528cf693: Pull complete 10:02:12 10935f4eaf8b: Pull complete 10:02:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:02:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:02:12 ---> 99d49a6021b9 10:02:12 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:13 ---> Running in a88370d4c230 10:02:13 Removing intermediate container a88370d4c230 10:02:13 ---> f405600ac4fc 10:02:13 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:02:13 ---> Running in 982b5acf72ae 10:02:13 Removing intermediate container 982b5acf72ae 10:02:13 ---> 5f70e368fe68 10:02:13 Step 5/11 : WORKDIR /device-gpio 10:02:13 ---> Running in 8a8a1b8f75c9 10:02:13 Removing intermediate container 8a8a1b8f75c9 10:02:13 ---> 7ce939193e4c 10:02:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:13 ---> Running in f7d207b7fec3 10:02:14 Removing intermediate container f7d207b7fec3 10:02:14 ---> 7e0c863ffad0 10:02:14 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:14 ---> Running in 4ed9aeaf32ff 10:02:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:02:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:02:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:02:15 (2/4) Installing libedit (20210910.3.1-r0) 10:02:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:02:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:02:16 Executing busybox-1.34.1-r3.trigger 10:02:16 OK: 224 MiB in 56 packages 10:02:16 Removing intermediate container 4ed9aeaf32ff 10:02:16 ---> aeff688062ef 10:02:16 Step 8/11 : COPY go.mod vendor* ./ 10:02:16 ---> 100a684bbc73 10:02:16 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:16 ---> Running in 71e71646c14b 10:02:18 Still waiting to schedule task 10:02:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:02:38 Removing intermediate container 71e71646c14b 10:02:38 ---> a98377a17136 10:02:38 Step 10/11 : COPY . . 10:02:38 ---> 683f90620520 10:02:38 Step 11/11 : RUN ${MAKE} 10:02:38 ---> Running in 381e489a5014 10:02:38 Removing intermediate container 381e489a5014 10:02:38 ---> d7f23c257e34 10:02:38 [Warning] One or more build-args [MAKE] were not consumed 10:02:38 Successfully built d7f23c257e34 10:02:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:02:38 + docker inspect -f . ci-base-image-x86_64 10:02:38 . [Pipeline] withDockerContainer 10:02:39 prd-ubuntu20.04-docker-8c-8g-7124 does not seem to be running inside a container 10:02:39 $ 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 10:02:39 $ docker top 386ffe54680f8ea719f68fe552fbc632725ea66a0279fc240627e5e02d4a40df -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:39 + go version 10:02:39 go version go1.17.6 linux/amd64 [Pipeline] } 10:02:39 $ docker stop --time=1 386ffe54680f8ea719f68fe552fbc632725ea66a0279fc240627e5e02d4a40df 10:02:41 $ docker rm -f 386ffe54680f8ea719f68fe552fbc632725ea66a0279fc240627e5e02d4a40df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:02:41 + docker inspect -f . ci-base-image-x86_64 10:02:41 . [Pipeline] withDockerContainer 10:02:41 prd-ubuntu20.04-docker-8c-8g-7124 does not seem to be running inside a container 10:02:41 $ 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 10:02:42 $ docker top 83de94f889c855a20255c4db4798e32160ca39edf6fdc79508d602735edaff0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:02:42 + make test 10:02:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:02:42 ? github.com/edgexfoundry/device-gpio [no test files] 10:02:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:02:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:02:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:02:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:02:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:02:51 ./bin/test-attribution-txt.sh [Pipeline] echo 10:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:02:52 $ docker stop --time=1 83de94f889c855a20255c4db4798e32160ca39edf6fdc79508d602735edaff0b 10:02:53 $ docker rm -f 83de94f889c855a20255c4db4798e32160ca39edf6fdc79508d602735edaff0b [Pipeline] // withDockerContainer [Pipeline] sh 10:02:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:02:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:02:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:02:54 + ls -al . 10:02:54 total 184 10:02:54 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 10:02 . 10:02:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 10:01 .. 10:02:54 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 10:01 .dockerignore 10:02:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:01 .git 10:02:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:01 .github 10:02:54 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 10:01 .gitignore 10:02:54 drwx------ 3 jenkins jenkins 4096 Mar 15 10:02 .semver 10:02:54 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 15 10:01 Attribution.txt 10:02:54 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 15 10:01 Dockerfile 10:02:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 10:01 GOVERNANCE.md 10:02:54 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 10:01 Jenkinsfile 10:02:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 10:01 LICENSE 10:02:54 -rw-rw-r-- 1 jenkins jenkins 992 Mar 15 10:01 Makefile 10:02:54 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 10:01 OWNERS.md 10:02:54 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 15 10:01 README.md 10:02:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 10:02 VERSION 10:02:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:01 bin 10:02:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:01 cmd 10:02:54 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 10:02 coverage.out 10:02:54 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 15 10:01 go.mod 10:02:54 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 15 10:01 go.sum 10:02:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:01 internal 10:02:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:01 snap 10:02:54 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 10:01 version.go [Pipeline] isUnix [Pipeline] sh 10:02:55 + 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=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 --label arch=amd64 --label version=0.0.0 . 10:02:55 Sending build context to Docker daemon 11.18MB 10:02:55 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:02:55 Step 2/25 : FROM ${BASE} AS builder 10:02:55 ---> d7f23c257e34 10:02:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:55 ---> Running in c6ab2eb4bb50 10:02:55 Removing intermediate container c6ab2eb4bb50 10:02:55 ---> 0a3843ab5f29 10:02:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:02:55 ---> Running in 3059d719f63b 10:02:55 Removing intermediate container 3059d719f63b 10:02:55 ---> 992f9a614aea 10:02:55 Step 5/25 : WORKDIR /device-gpio 10:02:55 ---> Running in 93afd553ef77 10:02:55 Removing intermediate container 93afd553ef77 10:02:55 ---> 16db28f24a79 10:02:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:55 ---> Running in d00229a81374 10:02:56 Removing intermediate container d00229a81374 10:02:56 ---> ad569a18d7e1 10:02:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:56 ---> Running in ab8f8ceb4feb 10:02:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:02:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:02:57 OK: 224 MiB in 56 packages 10:02:58 Removing intermediate container ab8f8ceb4feb 10:02:58 ---> 0c12972dd113 10:02:58 Step 8/25 : COPY go.mod vendor* ./ 10:02:58 ---> ec9bc082dff3 10:02:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:58 ---> Running in c1b633a23dde 10:02:59 Removing intermediate container c1b633a23dde 10:02:59 ---> dc5a06a6f442 10:02:59 Step 10/25 : COPY . . 10:02:59 ---> cd38912d1ce7 10:02:59 Step 11/25 : RUN ${MAKE} 10:02:59 ---> Running in 9d7eb4f3f4b1 10:02:59 Removing intermediate container 9d7eb4f3f4b1 10:02:59 ---> cad046340edc 10:02:59 Step 12/25 : FROM alpine:3.15 10:03:00 3.15: Pulling from library/alpine 10:03:00 59bf1c3509f3: Already exists 10:03:00 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 10:03:00 Status: Downloaded newer image for alpine:3.15 10:03:00 ---> c059bfaa849c 10:03:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:03:00 ---> Running in 5add139bd62d 10:03:00 Removing intermediate container 5add139bd62d 10:03:00 ---> 3a0797d6965e 10:03:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:03:00 ---> Running in 9138f0f31ee9 10:03:01 Removing intermediate container 9138f0f31ee9 10:03:01 ---> 4975b80df486 10:03:01 Step 15/25 : RUN apk add --update --no-cache zeromq 10:03:01 ---> Running in b02460325ade 10:03:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:03:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:03:02 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:03:03 (2/5) Installing libsodium (1.0.18-r0) 10:03:03 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:03:03 (4/5) Installing libzmq (4.3.4-r0) 10:03:03 (5/5) Installing zeromq (4.3.4-r0) 10:03:03 Executing busybox-1.34.1-r3.trigger 10:03:03 OK: 8 MiB in 19 packages 10:03:03 Removing intermediate container b02460325ade 10:03:03 ---> c9daff366322 10:03:03 Step 16/25 : WORKDIR / 10:03:03 ---> Running in 548605a171ba 10:03:03 Removing intermediate container 548605a171ba 10:03:03 ---> c753fbde2b77 10:03:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:03:03 ---> a66bb41f16ef 10:03:03 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:03:04 ---> 05671266f0f8 10:03:04 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:03:04 ---> ae84f3b39d60 10:03:04 Step 20/25 : EXPOSE 59910 10:03:04 ---> Running in c3d4ddc00878 10:03:04 Removing intermediate container c3d4ddc00878 10:03:04 ---> 68e5df16d34c 10:03:04 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:03:04 ---> Running in cb8d58f5154b 10:03:04 Removing intermediate container cb8d58f5154b 10:03:04 ---> 451293087585 10:03:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:03:04 ---> Running in 9d98d4e5a8e6 10:03:04 Removing intermediate container 9d98d4e5a8e6 10:03:04 ---> 4d61844c5ad1 10:03:04 Step 23/25 : LABEL arch=amd64 10:03:04 ---> Running in 15d0e7b00fbe 10:03:04 Removing intermediate container 15d0e7b00fbe 10:03:04 ---> 5d60dfb7e467 10:03:04 Step 24/25 : LABEL git_sha=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 10:03:04 ---> Running in 896af1f5067d 10:03:04 Removing intermediate container 896af1f5067d 10:03:04 ---> dd8b0f03a06e 10:03:04 Step 25/25 : LABEL version=0.0.0 10:03:04 ---> Running in 2fc86b0581b9 10:03:04 Removing intermediate container 2fc86b0581b9 10:03:04 ---> efaeb3ffe488 10:03:04 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:03:04 Successfully built efaeb3ffe488 10:03:04 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 10:03:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:05 10:03:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:03:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:05 latest: Pulling from edgex-lftools-log-publisher 10:03:05 5eb5b503b376: Pulling fs layer 10:03:05 5c69ac0246d0: Pulling fs layer 10:03:05 ec43610c2a17: Pulling fs layer 10:03:05 3a2ae6a8a46f: Pulling fs layer 10:03:05 33b1e0a273af: Pulling fs layer 10:03:05 5d3b04190fa2: Pulling fs layer 10:03:05 2f39f015ded8: Pulling fs layer 10:03:05 33b1e0a273af: Waiting 10:03:05 3a2ae6a8a46f: Waiting 10:03:05 2f39f015ded8: Waiting 10:03:05 5c69ac0246d0: Download complete 10:03:05 3a2ae6a8a46f: Verifying Checksum 10:03:05 3a2ae6a8a46f: Download complete 10:03:05 33b1e0a273af: Verifying Checksum 10:03:05 33b1e0a273af: Download complete 10:03:05 ec43610c2a17: Verifying Checksum 10:03:05 ec43610c2a17: Download complete 10:03:05 5d3b04190fa2: Verifying Checksum 10:03:05 5d3b04190fa2: Download complete 10:03:05 5eb5b503b376: Verifying Checksum 10:03:05 5eb5b503b376: Download complete 10:03:06 2f39f015ded8: Verifying Checksum 10:03:06 2f39f015ded8: Download complete 10:03:07 5eb5b503b376: Pull complete 10:03:07 5c69ac0246d0: Pull complete 10:03:07 ec43610c2a17: Pull complete 10:03:07 3a2ae6a8a46f: Pull complete 10:03:07 33b1e0a273af: Pull complete 10:03:08 5d3b04190fa2: Pull complete 10:03:12 2f39f015ded8: Pull complete 10:03:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:03:12 prd-ubuntu20.04-docker-8c-8g-7124 does not seem to be running inside a container 10:03:12 $ 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 10:03:13 $ docker top f49e86d9b26d3ef7485459d8a56b2b8e4a58b1b7b2fb628a2d3aa20c5762d1f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:14 ---> job-cost.sh 10:03:14 lf-activate-venv: SKIPPING 10:03:14 INFO: No Stack... 10:03:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:03:15 INFO: Archiving Costs [Pipeline] sh 10:03:15 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 10:03:15 + cut -d, -f6 [Pipeline] lock 10:03:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] 10:03:15 Resource [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] did not exist. Created. 10:03:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:03:15 + echo total: 0.2199999988079071 [Pipeline] stash 10:03:15 Stashed 1 file(s) [Pipeline] } 10:03:15 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:03:15 $ docker stop --time=1 f49e86d9b26d3ef7485459d8a56b2b8e4a58b1b7b2fb628a2d3aa20c5762d1f2 10:03:17 $ docker rm -f f49e86d9b26d3ef7485459d8a56b2b8e4a58b1b7b2fb628a2d3aa20c5762d1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7125 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 10:03:56 Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout 10:03:56 The recommended git tool is: git 10:04:03 using credential edgex-jenkins-ssh 10:04:03 Cloning the remote Git repository 10:04:03 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:04:04 > git init /w/workspace/device-gpio/7 # timeout=10 10:04:04 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:04:04 > git --version # timeout=10 10:04:04 > git --version # 'git version 2.25.1' 10:04:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:06 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 10:04:06 Merge succeeded, producing 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 10:04:06 Checking out Revision 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 (PR-13) 10:04:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:04:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:04:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:04:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:05 > 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 10:04:06 > git config core.sparsecheckout # timeout=10 10:04:06 > git checkout -f 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 # timeout=10 10:04:06 > git remote # timeout=10 10:04:06 > git config --get remote.origin.url # timeout=10 10:04:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:06 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 10:04:06 > git rev-parse HEAD^{commit} # timeout=10 10:04:06 > git config core.sparsecheckout # timeout=10 10:04:06 > git checkout -f 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 # timeout=10 10:04:11 Commit message: "docs(snap): Replace with svg store icon" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:12 Dload Upload Total Spent Left Speed 10:04:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh 10:04:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:12 + sudo tee /etc/docker/daemon.new 10:04:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:04:12 { 10:04:12 "registry-mirrors": [ 10:04:12 "https://nexus3.edgexfoundry.org:10001" 10:04:12 ], 10:04:12 "bip": "10.250.0.254/24", 10:04:12 "hosts": [ 10:04:12 "tcp://0.0.0.0:5555", 10:04:12 "unix:///var/run/docker.sock" 10:04:12 ], 10:04:12 "mtu": 1458, 10:04:12 "selinux-enabled": true, 10:04:12 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:12 } [Pipeline] sh 10:04:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:04:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:32 provisioning config files... 10:04:32 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config8196975214773900304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:32 ---> docker-login.sh 10:04:32 nexus3.edgexfoundry.org:10001 10:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:33 Configure a credential helper to remove this warning. See 10:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:33 10:04:33 Login Succeeded 10:04:33 nexus3.edgexfoundry.org:10002 10:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:33 Configure a credential helper to remove this warning. See 10:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:33 10:04:33 Login Succeeded 10:04:33 nexus3.edgexfoundry.org:10003 10:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:34 Configure a credential helper to remove this warning. See 10:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:34 10:04:34 Login Succeeded 10:04:34 nexus3.edgexfoundry.org:10004 10:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:34 Configure a credential helper to remove this warning. See 10:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:34 10:04:34 Login Succeeded 10:04:34 docker.io 10:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:35 Configure a credential helper to remove this warning. See 10:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:35 10:04:35 Login Succeeded 10:04:35 ---> docker-login.sh ends [Pipeline] } 10:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:04:36 ========================================================= 10:04:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:04:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:04:36 + 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 . 10:04:36 Sending build context to Docker daemon 5.723MB 10:04:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:04:36 Step 2/11 : FROM ${BASE} AS builder 10:04:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:36 9b3977197b4f: Pulling fs layer 10:04:36 1a89e8eeedd5: Pulling fs layer 10:04:36 94645a83ff95: Pulling fs layer 10:04:36 3f3a8bcf1eab: Pulling fs layer 10:04:36 0c92f367c5e7: Pulling fs layer 10:04:36 f7c0051592d6: Pulling fs layer 10:04:36 a227ed2f7395: Pulling fs layer 10:04:36 7b1c46037f91: Pulling fs layer 10:04:36 0c92f367c5e7: Waiting 10:04:36 f7c0051592d6: Waiting 10:04:36 a227ed2f7395: Waiting 10:04:36 7b1c46037f91: Waiting 10:04:36 3f3a8bcf1eab: Waiting 10:04:36 94645a83ff95: Verifying Checksum 10:04:36 94645a83ff95: Download complete 10:04:36 1a89e8eeedd5: Verifying Checksum 10:04:36 1a89e8eeedd5: Download complete 10:04:36 0c92f367c5e7: Verifying Checksum 10:04:36 0c92f367c5e7: Download complete 10:04:37 f7c0051592d6: Verifying Checksum 10:04:37 f7c0051592d6: Download complete 10:04:37 9b3977197b4f: Download complete 10:04:37 a227ed2f7395: Verifying Checksum 10:04:37 a227ed2f7395: Download complete 10:04:37 9b3977197b4f: Pull complete 10:04:38 1a89e8eeedd5: Pull complete 10:04:38 94645a83ff95: Pull complete 10:04:39 7b1c46037f91: Download complete 10:04:39 3f3a8bcf1eab: Verifying Checksum 10:04:39 3f3a8bcf1eab: Download complete 10:04:52 3f3a8bcf1eab: Pull complete 10:04:52 0c92f367c5e7: Pull complete 10:04:52 f7c0051592d6: Pull complete 10:04:52 a227ed2f7395: Pull complete 10:04:59 7b1c46037f91: Pull complete 10:04:59 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:04:59 ---> f79e39bc4007 10:04:59 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:05:00 ---> Running in 7ecce2bc0f6c 10:05:00 Removing intermediate container 7ecce2bc0f6c 10:05:00 ---> 1cf6ee79a47e 10:05:00 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:05:00 ---> Running in d5fbac8fd56a 10:05:00 Removing intermediate container d5fbac8fd56a 10:05:00 ---> 6cae4f382ae1 10:05:00 Step 5/11 : WORKDIR /device-gpio 10:05:00 ---> Running in 6b24cc97c50a 10:05:01 Removing intermediate container 6b24cc97c50a 10:05:01 ---> 6fa70625cc2e 10:05:01 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:01 ---> Running in ec656d0a171e 10:05:03 Removing intermediate container ec656d0a171e 10:05:03 ---> 01fb627df85f 10:05:03 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:03 ---> Running in ab7a2a551f0c 10:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:05:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:05:05 (2/4) Installing libedit (20210910.3.1-r0) 10:05:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:05:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:05:05 Executing busybox-1.34.1-r3.trigger 10:05:05 OK: 224 MiB in 56 packages 10:05:06 Removing intermediate container ab7a2a551f0c 10:05:06 ---> 0fe8f72211cb 10:05:06 Step 8/11 : COPY go.mod vendor* ./ 10:05:07 ---> 7735672ddcfd 10:05:07 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:07 ---> Running in 038b184f2769 10:06:29 Removing intermediate container 038b184f2769 10:06:29 ---> 6cdcc3a60f4f 10:06:29 Step 10/11 : COPY . . 10:06:29 ---> c8b978975a80 10:06:29 Step 11/11 : RUN ${MAKE} 10:06:29 ---> Running in 54707cc3cbe8 10:06:30 Removing intermediate container 54707cc3cbe8 10:06:30 ---> bc81860407cb 10:06:30 [Warning] One or more build-args [MAKE] were not consumed 10:06:30 Successfully built bc81860407cb 10:06:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:06:30 + docker inspect -f . ci-base-image-arm64 10:06:30 . [Pipeline] withDockerContainer 10:06:31 prd-ubuntu20.04-docker-arm64-4c-16g-7125 does not seem to be running inside a container 10:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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-arm64 cat 10:06:32 $ docker top 014faeba950f19e763c77c26ada455ab7ea7084fb33c20b1927b8dd3d620ca38 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:33 + go version 10:06:33 go version go1.17.6 linux/arm64 [Pipeline] } 10:06:33 $ docker stop --time=1 014faeba950f19e763c77c26ada455ab7ea7084fb33c20b1927b8dd3d620ca38 10:06:34 $ docker rm -f 014faeba950f19e763c77c26ada455ab7ea7084fb33c20b1927b8dd3d620ca38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:35 + docker inspect -f . ci-base-image-arm64 10:06:35 . [Pipeline] withDockerContainer 10:06:35 prd-ubuntu20.04-docker-arm64-4c-16g-7125 does not seem to be running inside a container 10:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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-arm64 cat 10:06:37 $ docker top 6fd47db7beb63e338766d19fd71a9ba971419a59dd452749b69e6567933fd67e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:06:38 + make test 10:06:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:06:39 ? github.com/edgexfoundry/device-gpio [no test files] 10:07:26 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:07:26 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:07:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:07:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:07:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:07:41 ./bin/test-attribution-txt.sh [Pipeline] echo 10:07:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:07:43 $ docker stop --time=1 6fd47db7beb63e338766d19fd71a9ba971419a59dd452749b69e6567933fd67e 10:07:44 $ docker rm -f 6fd47db7beb63e338766d19fd71a9ba971419a59dd452749b69e6567933fd67e [Pipeline] // withDockerContainer [Pipeline] sh 10:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:07:45 Warning: overwriting stash ‘coverage-report’ 10:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:47 + ls -al . 10:07:47 total 180 10:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:07 . 10:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 10:04 .. 10:07:47 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 10:04 .dockerignore 10:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:04 .git 10:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:04 .github 10:07:47 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 10:04 .gitignore 10:07:47 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 15 10:04 Attribution.txt 10:07:47 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 15 10:04 Dockerfile 10:07:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 10:04 GOVERNANCE.md 10:07:47 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 10:04 Jenkinsfile 10:07:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 10:04 LICENSE 10:07:47 -rw-rw-r-- 1 jenkins jenkins 992 Mar 15 10:04 Makefile 10:07:47 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 10:04 OWNERS.md 10:07:47 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 15 10:04 README.md 10:07:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 10:02 VERSION 10:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:04 bin 10:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:04 cmd 10:07:47 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 10:06 coverage.out 10:07:47 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 15 10:04 go.mod 10:07:47 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 15 10:04 go.sum 10:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:04 internal 10:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:04 snap 10:07:47 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 10:04 version.go [Pipeline] isUnix [Pipeline] sh 10:07:47 + 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=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 --label arch=arm64 --label version=0.0.0 . 10:07:47 Sending build context to Docker daemon 5.724MB 10:07:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:07:47 Step 2/25 : FROM ${BASE} AS builder 10:07:47 ---> bc81860407cb 10:07:47 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:07:47 ---> Running in 475bf5158ad4 10:07:48 Removing intermediate container 475bf5158ad4 10:07:48 ---> 105a02e14953 10:07:48 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:07:48 ---> Running in 088fec02109e 10:07:48 Removing intermediate container 088fec02109e 10:07:48 ---> e000bb1b7b15 10:07:48 Step 5/25 : WORKDIR /device-gpio 10:07:48 ---> Running in 7ecc31f61889 10:07:48 Removing intermediate container 7ecc31f61889 10:07:48 ---> 46ff27d03cea 10:07:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:07:48 ---> Running in 08293ce52090 10:07:50 Removing intermediate container 08293ce52090 10:07:50 ---> a905ec3c362c 10:07:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:07:50 ---> Running in 6748d80ec29b 10:07:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:07:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:07:53 OK: 224 MiB in 56 packages 10:07:54 Removing intermediate container 6748d80ec29b 10:07:54 ---> 9cf1b895b9a5 10:07:54 Step 8/25 : COPY go.mod vendor* ./ 10:07:54 ---> ab68c7eaa230 10:07:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:54 ---> Running in e9541640a88e 10:07:57 Removing intermediate container e9541640a88e 10:07:57 ---> 55919fb67a91 10:07:57 Step 10/25 : COPY . . 10:07:57 ---> a4f39a5ed1ed 10:07:57 Step 11/25 : RUN ${MAKE} 10:07:57 ---> Running in 68a7faa974d7 10:07:59 Removing intermediate container 68a7faa974d7 10:07:59 ---> c489585d4ec3 10:07:59 Step 12/25 : FROM alpine:3.15 10:08:00 3.15: Pulling from library/alpine 10:08:00 9b3977197b4f: Already exists 10:08:00 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 10:08:00 Status: Downloaded newer image for alpine:3.15 10:08:00 ---> 8e1d7573f448 10:08:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:08:00 ---> Running in 3cd751ce0865 10:08:01 Removing intermediate container 3cd751ce0865 10:08:01 ---> 55d506b32e9e 10:08:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:01 ---> Running in f66ded1feb73 10:08:03 Removing intermediate container f66ded1feb73 10:08:03 ---> 200b862cfea3 10:08:03 Step 15/25 : RUN apk add --update --no-cache zeromq 10:08:03 ---> Running in b97e71b25220 10:08:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:08:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:08:06 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:08:06 (2/5) Installing libsodium (1.0.18-r0) 10:08:06 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:08:06 (4/5) Installing libzmq (4.3.4-r0) 10:08:06 (5/5) Installing zeromq (4.3.4-r0) 10:08:06 Executing busybox-1.34.1-r3.trigger 10:08:06 OK: 8 MiB in 19 packages 10:08:07 Removing intermediate container b97e71b25220 10:08:07 ---> 931e4fe488f9 10:08:07 Step 16/25 : WORKDIR / 10:08:07 ---> Running in a42a59f98a18 10:08:07 Removing intermediate container a42a59f98a18 10:08:07 ---> 4e75c9223d99 10:08:07 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:08:08 ---> 5e9ab4a45c9c 10:08:08 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:08:08 ---> a1273dd0a479 10:08:08 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:08:09 ---> c40628541fe2 10:08:09 Step 20/25 : EXPOSE 59910 10:08:09 ---> Running in 13801b882011 10:08:09 Removing intermediate container 13801b882011 10:08:09 ---> 757d6097d4e1 10:08:09 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:08:09 ---> Running in 5f0befba8959 10:08:10 Removing intermediate container 5f0befba8959 10:08:10 ---> cfe82a41bb04 10:08:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:10 ---> Running in 95278d11fd12 10:08:10 Removing intermediate container 95278d11fd12 10:08:10 ---> 8591fb451e63 10:08:10 Step 23/25 : LABEL arch=arm64 10:08:10 ---> Running in 990fb95c97cc 10:08:10 Removing intermediate container 990fb95c97cc 10:08:10 ---> ad5f8f4c3d5b 10:08:10 Step 24/25 : LABEL git_sha=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 10:08:10 ---> Running in 29c958f6f397 10:08:11 Removing intermediate container 29c958f6f397 10:08:11 ---> 88dec3ab9a81 10:08:11 Step 25/25 : LABEL version=0.0.0 10:08:11 ---> Running in 057225625c5a 10:08:11 Removing intermediate container 057225625c5a 10:08:11 ---> 63262fd9353b 10:08:11 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:08:11 Successfully built 63262fd9353b 10:08:11 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 10:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:11 10:08:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:08:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:12 arm64: Pulling from edgex-lftools-log-publisher 10:08:12 8998bd30e6a1: Pulling fs layer 10:08:12 04944245beec: Pulling fs layer 10:08:12 699f458cf7ca: Pulling fs layer 10:08:12 765212b225bb: Pulling fs layer 10:08:12 f23df028b6ca: Pulling fs layer 10:08:12 d65c8cfc05b1: Pulling fs layer 10:08:12 2437ff75d9bd: Pulling fs layer 10:08:12 765212b225bb: Waiting 10:08:12 f23df028b6ca: Waiting 10:08:12 d65c8cfc05b1: Waiting 10:08:12 2437ff75d9bd: Waiting 10:08:12 04944245beec: Download complete 10:08:12 765212b225bb: Verifying Checksum 10:08:12 765212b225bb: Download complete 10:08:12 f23df028b6ca: Verifying Checksum 10:08:12 f23df028b6ca: Download complete 10:08:12 d65c8cfc05b1: Verifying Checksum 10:08:12 d65c8cfc05b1: Download complete 10:08:12 699f458cf7ca: Verifying Checksum 10:08:12 699f458cf7ca: Download complete 10:08:13 8998bd30e6a1: Verifying Checksum 10:08:13 8998bd30e6a1: Download complete 10:08:15 2437ff75d9bd: Verifying Checksum 10:08:15 2437ff75d9bd: Download complete 10:08:17 8998bd30e6a1: Pull complete 10:08:17 04944245beec: Pull complete 10:08:19 699f458cf7ca: Pull complete 10:08:19 765212b225bb: Pull complete 10:08:20 f23df028b6ca: Pull complete 10:08:20 d65c8cfc05b1: Pull complete 10:08:35 2437ff75d9bd: Pull complete 10:08:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:08:35 prd-ubuntu20.04-docker-arm64-4c-16g-7125 does not seem to be running inside a container 10:08:35 $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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:arm64 cat 10:08:38 $ docker top 5adb248d55b2bce6f3a1b82c911a1ba478de4b7fcfdd21ecf8508d40bdd00315 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:08:39 ---> job-cost.sh 10:08:39 lf-activate-venv: SKIPPING 10:08:39 INFO: No Stack... 10:08:39 INFO: Retrieving Pricing Info for: v3-standard-4 10:08:40 INFO: Archiving Costs [Pipeline] sh 10:08:41 + cat /w/workspace/device-gpio/7/archives/cost.csv 10:08:41 + cut -d, -f6 [Pipeline] lock 10:08:41 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] 10:08:41 Resource [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] did not exist. Created. 10:08:41 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:08:42 /w/workspace/device-gpio/7@tmp/durable-fcdb47df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:08:42 + echo total: 0.10999999940395355 [Pipeline] stash 10:08:42 Warning: overwriting stash ‘stack-cost’ 10:08:42 Stashed 1 file(s) [Pipeline] } 10:08:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:08:42 $ docker stop --time=1 5adb248d55b2bce6f3a1b82c911a1ba478de4b7fcfdd21ecf8508d40bdd00315 10:08:44 $ docker rm -f 5adb248d55b2bce6f3a1b82c911a1ba478de4b7fcfdd21ecf8508d40bdd00315 [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 10:08:45 provisioning config files... 10:08:45 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3408519720612208727tmp [Pipeline] { [Pipeline] sh 10:08:45 + set +x 10:08:45 + bash -s -- 10:08:45 + curl -s https://codecov.io/bash 10:08:45 10:08:45 _____ _ 10:08:45 / ____| | | 10:08:45 | | ___ __| | ___ ___ _____ __ 10:08:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:08:45 | |___| (_) | (_| | __/ (_| (_) \ V / 10:08:45 \_____\___/ \__,_|\___|\___\___/ \_/ 10:08:45 Bash-1.0.6 10:08:45 10:08:45 10:08:45 ==> git version 2.25.1 found 10:08:45 ==> 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 10:08:45 Release-Date: 2020-01-08 10:08:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:08:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:08:45 ==> Jenkins CI detected. 10:08:45 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 10:08:45 project root: . 10:08:45 --> token set from env 10:08:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:08:45 ==> Running gcov in . (disable via -X gcov) 10:08:45 ==> Python coveragepy not found 10:08:45 ==> Searching for coverage reports in: 10:08:45 + . 10:08:45 -> Found 1 reports 10:08:45 ==> Detecting git/mercurial file structure 10:08:45 ==> Reading reports 10:08:45 + ./coverage.out bytes=10 10:08:45 ==> Appending adjustments 10:08:45 https://docs.codecov.io/docs/fixing-reports 10:08:45 + Found adjustments 10:08:45 ==> Gzipping contents 10:08:45 4.0K /tmp/codecov.6SZUD6.gz 10:08:45 ==> Uploading reports 10:08:45 url: https://codecov.io 10:08:45 query: branch=PR-13&commit=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 10:08:45 -> Pinging Codecov 10:08:45 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=83edf236b17a89ee3f89b8e5bbb05c5d72ac0004&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 10:08:45 -> Uploading to 10:08:45 https://storage.googleapis.com/codecov/v4/raw/2022-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/83edf236b17a89ee3f89b8e5bbb05c5d72ac0004/c5e84fa0-10c1-4216-9ec8-0db89f38bff1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220315T100845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb93fda7d557bcbb0a3599233e461e2e831da3dd9b278862509e98f51aca6b6d 10:08:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:08:45 Dload Upload Total Spent Left Speed 10:08:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3341 --:--:-- --:--:-- --:--:-- 3341 10:08:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 [Pipeline] } 10:08:46 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 10:08:46 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 10:08:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:08:46 total 16 10:08:46 drwxr-xr-x 3 root root 4096 Mar 15 10:03 . 10:08:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 10:03 .. 10:08:46 drwxr-xr-x 2 root root 4096 Mar 15 10:03 cost 10:08:46 -rw-r--r-- 1 root root 81 Mar 15 10:03 cost.csv 10:08:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:08:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:08:46 total 16 10:08:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 10:03 . 10:08:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 10:03 .. 10:08:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 10:03 cost 10:08:46 -rw-r--r-- 1 jenkins jenkins 81 Mar 15 10:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:08:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:08:48 ---> package-listing.sh 10:08:48 ++ facter osfamily 10:08:48 ++ tr '[:upper:]' '[:lower:]' 10:08:48 + OS_FAMILY=debian 10:08:48 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 10:08:48 + START_PACKAGES=/tmp/packages_start.txt 10:08:48 + END_PACKAGES=/tmp/packages_end.txt 10:08:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:08:48 + PACKAGES=/tmp/packages_start.txt 10:08:48 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 10:08:48 + PACKAGES=/tmp/packages_end.txt 10:08:48 + case "${OS_FAMILY}" in 10:08:48 + dpkg -l 10:08:48 + grep '^ii' 10:08:48 + '[' -f /tmp/packages_start.txt ']' 10:08:48 + '[' -f /tmp/packages_end.txt ']' 10:08:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:08:48 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 10:08:48 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 10:08:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo 10:08:48 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 10:08:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:08:49 . [Pipeline] withDockerContainer 10:08:49 prd-ubuntu20.04-docker-8c-8g-7124 does not seem to be running inside a container 10:08:49 $ 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 10:08:49 $ docker top cee62c559cc76a01ff99a7c1babfdca4b74ebb1d1e201dc0f197d1ddbb7f66d4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:49 + touch /tmp/pre-build-complete [Pipeline] sh 10:08:50 + mkdir -p /var/log/sysstat [Pipeline] sh 10:08:50 + ls /var/log/sa-host 10:08:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:08:50 provisioning config files... 10:08:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config158497500968247473tmp [Pipeline] { [Pipeline] echo 10:08:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:08:50 ---> create-netrc.sh [Pipeline] } 10:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:08:51 ---> python-tools-install.sh [Pipeline] echo 10:08:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:08:51 ---> sudo-logs.sh 10:08:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:08:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:08:51 ---> job-cost.sh 10:08:51 lf-activate-venv: SKIPPING 10:08:51 DEBUG: total: 0.2199999988079071 10:08:51 INFO: Retrieving Stack Cost... 10:08:52 INFO: Retrieving Pricing Info for: v3-standard-8 10:08:52 INFO: Archiving Costs [Pipeline] echo 10:08:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:08:53 ---> logs-deploy.sh 10:08:53 lf-activate-venv: SKIPPING 10:08:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/7 10:08:53 INFO: archiving workspace using pattern(s): 10:08:53 Archives upload complete. 10:08:54 INFO: archiving logs to Nexus