Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 556b0d33684bc0e3f3c7e8af9fc75d9de3776265+6427482eab3bd2356a4491c722b8795ef3b48a72 (06a7e6e0df2bb04664163df2f91ff4d145576d03) 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-ssh3587122035818563200.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15693831609862914612.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16595907259846444117.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh3548300875476281346.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17390256986156751606.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2415 in /w/workspace/edgexfoundry_device-gpio_PR-116 [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-116 # 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 > 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/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 Merge succeeded, producing c86d36ed17499b8edf11fabeb6ac02976578c97f Checking out Revision c86d36ed17499b8edf11fabeb6ac02976578c97f (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # 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 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c86d36ed17499b8edf11fabeb6ac02976578c97f # timeout=10 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 6877a569f33940c866ce13c91582544b4176ca85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:21:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:21:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:21:41 ========================================================= 13:21:41 EdgeX Global Pipelines Version Info 13:21:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:21:42 ------------------- 13:21:42 stable info: 13:21:42 ------------------- 13:21:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:21:42 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:21:42 Message: update stable to v1.0.245 13:21:43 ------------------- 13:21:43 experimental info: 13:21:43 ------------------- 13:21:43 Commited By: **** collab-it+edgex@linuxfoundation.org 13:21:43 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:21:43 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c86d36ed17499b8edf11fabeb6ac02976578c97f [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c86d36e [Pipeline] echo 13:21:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:43 provisioning config files... 13:21:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config1637426154180154832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:44 ---> docker-login.sh 13:21:44 nexus3.edgexfoundry.org:10001 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:44 nexus3.edgexfoundry.org:10002 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:44 nexus3.edgexfoundry.org:10003 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:44 nexus3.edgexfoundry.org:10004 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:44 docker.io 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:45 ---> docker-login.sh ends [Pipeline] } 13:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:21:45 + git rev-list -1 --merges c86d36ed17499b8edf11fabeb6ac02976578c97f~1..c86d36ed17499b8edf11fabeb6ac02976578c97f [Pipeline] echo 13:21:45 -----------> git rev-list -1 --merges c86d36ed17499b8edf11fabeb6ac02976578c97f~1..c86d36ed17499b8edf11fabeb6ac02976578c97f c86d36ed17499b8edf11fabeb6ac02976578c97f 13:21:45 c86d36ed17499b8edf11fabeb6ac02976578c97f [false] [Pipeline] sh 13:21:45 + git log --format=format:%s -1 c86d36ed17499b8edf11fabeb6ac02976578c97f [Pipeline] echo 13:21:45 ========================================================= 13:21:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:21:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:46 + git log --format=format:%s -1 c86d36ed17499b8edf11fabeb6ac02976578c97f [Pipeline] echo 13:21:46 [semverPrep] GIT_COMMIT: c86d36ed17499b8edf11fabeb6ac02976578c97f, Commit Message: Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD [Pipeline] echo 13:21:46 [semverPrep] This is not a build commit. [Pipeline] sh 13:21:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:46 + grep -v github /etc/ssh/ssh_known_hosts 13:21:46 + [ -e /tmp/ssh_known_hosts ] 13:21:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:21:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:21:46 + sudo tee -a /etc/ssh/ssh_known_hosts 13:21:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:46 13:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:47 0.1.4: Pulling from edgex-devops/py-git-semver 13:21:47 b85a868b505f: Pulling fs layer 13:21:47 e2be974225ed: Pulling fs layer 13:21:47 339a4e72a1f5: Pulling fs layer 13:21:47 988bab9f4d93: Pulling fs layer 13:21:47 1469e6f7b9e6: Pulling fs layer 13:21:47 eaf3925da568: Pulling fs layer 13:21:47 bab4dde63d76: Pulling fs layer 13:21:47 bde34c3a00c8: Pulling fs layer 13:21:47 b352a97aabf1: Pulling fs layer 13:21:47 4872d77fe225: Pulling fs layer 13:21:47 5851b861e8e6: Pulling fs layer 13:21:47 bab4dde63d76: Waiting 13:21:47 5851b861e8e6: Waiting 13:21:47 b352a97aabf1: Waiting 13:21:47 4872d77fe225: Waiting 13:21:47 988bab9f4d93: Waiting 13:21:47 eaf3925da568: Waiting 13:21:47 1469e6f7b9e6: Waiting 13:21:47 e2be974225ed: Download complete 13:21:47 988bab9f4d93: Verifying Checksum 13:21:47 988bab9f4d93: Download complete 13:21:47 1469e6f7b9e6: Verifying Checksum 13:21:47 1469e6f7b9e6: Download complete 13:21:47 339a4e72a1f5: Verifying Checksum 13:21:47 339a4e72a1f5: Download complete 13:21:47 eaf3925da568: Verifying Checksum 13:21:47 eaf3925da568: Download complete 13:21:47 bde34c3a00c8: Verifying Checksum 13:21:47 bde34c3a00c8: Download complete 13:21:47 b352a97aabf1: Verifying Checksum 13:21:47 b352a97aabf1: Download complete 13:21:47 4872d77fe225: Download complete 13:21:47 5851b861e8e6: Download complete 13:21:47 b85a868b505f: Verifying Checksum 13:21:47 b85a868b505f: Download complete 13:21:48 bab4dde63d76: Verifying Checksum 13:21:48 bab4dde63d76: Download complete 13:21:49 b85a868b505f: Pull complete 13:21:49 e2be974225ed: Pull complete 13:21:49 339a4e72a1f5: Pull complete 13:21:49 988bab9f4d93: Pull complete 13:21:49 1469e6f7b9e6: Pull complete 13:21:49 eaf3925da568: Pull complete 13:21:51 bab4dde63d76: Pull complete 13:21:51 bde34c3a00c8: Pull complete 13:21:51 b352a97aabf1: Pull complete 13:21:51 4872d77fe225: Pull complete 13:21:52 5851b861e8e6: Pull complete 13:21:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:52 prd-ubuntu20.04-docker-8c-8g-2415 does not seem to be running inside a container 13:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:21:53 $ docker top 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 -eo pid,comm 13:21:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:21:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:53 [ssh-agent] Looking for ssh-agent implementation... 13:21:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:53 $ docker exec 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 ssh-agent 13:21:53 SSH_AUTH_SOCK=/tmp/ssh-5J0Z6wy2RV5S/agent.32 13:21:53 SSH_AGENT_PID=38 13:21:53 Running ssh-add (command line suppressed) 13:21:53 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_2126963950980797405.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_2126963950980797405.key) 13:21:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:54 + git tag --points-at HEAD [Pipeline] } 13:21:54 $ docker exec --env ******** --env ******** 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 ssh-agent -k 13:21:54 unset SSH_AUTH_SOCK; 13:21:54 unset SSH_AGENT_PID; 13:21:54 echo Agent pid 38 killed; 13:21:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:54 [ssh-agent] Looking for ssh-agent implementation... 13:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:54 $ docker exec 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 ssh-agent 13:21:54 SSH_AUTH_SOCK=/tmp/ssh-2GowuaitAqWq/agent.70 13:21:54 SSH_AGENT_PID=76 13:21:54 Running ssh-add (command line suppressed) 13:21:54 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_4133165955668054016.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_4133165955668054016.key) 13:21:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:55 + git semver init 13:21:55 2023-03-16 13:21:55,289 [run_init] DEBUG init version:0.0.0 force:False 13:21:55 2023-03-16 13:21:55,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver 13:21:55 2023-03-16 13:21:55,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-116/.semver 13:21:55 2023-03-16 13:21:55,291 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-116/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116, universal_newlines=False, shell=None, istream=None) 13:21:56 2023-03-16 13:21:56,138 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.git/info/exclude 13:21:56 2023-03-16 13:21:56,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 with force:False 13:21:56 2023-03-16 13:21:56,140 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 13:21:56 2023-03-16 13:21:56,145 [execute] INFO git cat-file --batch-check 13:21:56 2023-03-16 13:21:56,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 13:21:56 2023-03-16 13:21:56,152 [execute] INFO git cat-file --batch 13:21:56 2023-03-16 13:21:56,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 13:21:56 2023-03-16 13:21:56,159 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 13:21:56 0.0.0 [Pipeline] } 13:21:56 $ docker exec --env ******** --env ******** 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 ssh-agent -k 13:21:56 unset SSH_AUTH_SOCK; 13:21:56 unset SSH_AGENT_PID; 13:21:56 echo Agent pid 76 killed; 13:21:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:21:56 + git semver [Pipeline] } 13:21:56 $ docker stop --time=1 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 13:21:58 $ docker rm -f --volumes 1eafb2f51aa5117528e5cf587058c157552ab7cc86a1935413fae98476ec91e9 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:21:58 Stashed 1 file(s) [Pipeline] echo 13:21:58 [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 13:21:58 provisioning config files... 13:21:59 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config18171229052344694762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:59 ---> docker-login.sh 13:21:59 nexus3.edgexfoundry.org:10001 13:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:59 Configure a credential helper to remove this warning. See 13:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:59 13:21:59 Login Succeeded 13:21:59 nexus3.edgexfoundry.org:10002 13:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:59 Configure a credential helper to remove this warning. See 13:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:59 13:21:59 Login Succeeded 13:21:59 nexus3.edgexfoundry.org:10003 13:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:59 Configure a credential helper to remove this warning. See 13:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:59 13:21:59 Login Succeeded 13:21:59 nexus3.edgexfoundry.org:10004 13:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:59 Configure a credential helper to remove this warning. See 13:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:59 13:21:59 Login Succeeded 13:21:59 docker.io 13:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:59 Configure a credential helper to remove this warning. See 13:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:59 13:21:59 Login Succeeded 13:22:00 ---> docker-login.sh ends [Pipeline] } 13:22:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:22:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:00 ========================================================= 13:22:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:22:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:22:00 Sending build context to Docker daemon 16.04MB 13:22:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:22:00 Step 2/12 : FROM ${BASE} AS builder 13:22:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:22:00 63b65145d645: Pulling fs layer 13:22:00 a2d21d5440eb: Pulling fs layer 13:22:00 935e6c44a52c: Pulling fs layer 13:22:00 94cc34f8dd06: Pulling fs layer 13:22:00 30dea6a524f1: Pulling fs layer 13:22:00 a2aff8979fd8: Pulling fs layer 13:22:00 6808be2612f2: Pulling fs layer 13:22:00 f25807f1079a: Pulling fs layer 13:22:00 6808be2612f2: Waiting 13:22:00 f25807f1079a: Waiting 13:22:00 94cc34f8dd06: Waiting 13:22:00 30dea6a524f1: Waiting 13:22:00 a2aff8979fd8: Waiting 13:22:00 a2d21d5440eb: Verifying Checksum 13:22:00 a2d21d5440eb: Download complete 13:22:00 30dea6a524f1: Verifying Checksum 13:22:00 30dea6a524f1: Download complete 13:22:00 63b65145d645: Download complete 13:22:00 a2aff8979fd8: Verifying Checksum 13:22:00 a2aff8979fd8: Download complete 13:22:01 63b65145d645: Pull complete 13:22:01 a2d21d5440eb: Pull complete 13:22:01 f25807f1079a: Verifying Checksum 13:22:01 f25807f1079a: Download complete 13:22:01 935e6c44a52c: Verifying Checksum 13:22:01 935e6c44a52c: Download complete 13:22:01 6808be2612f2: Verifying Checksum 13:22:01 6808be2612f2: Download complete 13:22:05 935e6c44a52c: Pull complete 13:22:05 94cc34f8dd06: Pull complete 13:22:05 30dea6a524f1: Pull complete 13:22:05 a2aff8979fd8: Pull complete 13:22:07 6808be2612f2: Pull complete 13:22:08 f25807f1079a: Pull complete 13:22:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:22:08 ---> 3b553350e43f 13:22:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:22:10 ---> Running in 820b03b95078 13:22:10 Removing intermediate container 820b03b95078 13:22:10 ---> 4df344724f86 13:22:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:10 ---> Running in 7d1e66b1f629 13:22:10 Removing intermediate container 7d1e66b1f629 13:22:10 ---> 7fddc5375023 13:22:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:10 ---> Running in 9a7771b9a565 13:22:10 Removing intermediate container 9a7771b9a565 13:22:10 ---> e8b98af0d43e 13:22:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:22:10 ---> Running in d500653dd6ca 13:22:10 Removing intermediate container d500653dd6ca 13:22:10 ---> 7ace06fd286d 13:22:10 Step 7/12 : WORKDIR /device-gpio 13:22:10 ---> Running in f03aefa63dbc 13:22:11 Removing intermediate container f03aefa63dbc 13:22:11 ---> ccb524ff9541 13:22:11 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:11 ---> Running in cd7d0ce137ec 13:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:22:11 (2/4) Installing libedit (20221030.3.1-r0) 13:22:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:22:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:22:11 Executing busybox-1.35.0-r29.trigger 13:22:11 OK: 269 MiB in 57 packages 13:22:12 Removing intermediate container cd7d0ce137ec 13:22:12 ---> 2b11f4260390 13:22:12 Step 9/12 : COPY go.mod vendor* ./ 13:22:12 ---> fd538a174337 13:22:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:12 ---> Running in 28af9964c613 13:22:13 Still waiting to schedule task 13:22:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2412’ is offline 13:22:34 Removing intermediate container 28af9964c613 13:22:34 ---> 46eef107733b 13:22:34 Step 11/12 : COPY . . 13:22:34 ---> 6fb1dcd30349 13:22:34 Step 12/12 : RUN ${MAKE} 13:22:34 ---> Running in 9ff61e123c50 13:22:34 noop 13:22:34 Removing intermediate container 9ff61e123c50 13:22:34 ---> 25b74b1e603e 13:22:34 Successfully built 25b74b1e603e 13:22:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:34 + docker inspect -f . ci-base-image-x86_64 13:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:34 prd-ubuntu20.04-docker-8c-8g-2415 does not seem to be running inside a container 13:22:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:22:35 $ docker top 2c1405057e73ac6b65d1640dc654998855cdf753547c78e973101c2378618757 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:35 + go version 13:22:35 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:35 $ docker stop --time=1 2c1405057e73ac6b65d1640dc654998855cdf753547c78e973101c2378618757 13:22:36 $ docker rm -f --volumes 2c1405057e73ac6b65d1640dc654998855cdf753547c78e973101c2378618757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:37 + docker inspect -f . ci-base-image-x86_64 13:22:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:37 prd-ubuntu20.04-docker-8c-8g-2415 does not seem to be running inside a container 13:22:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:22:37 $ docker top 872d8948c005170b5da1bf42707fccf9a42d966b8bf4aec1a43f5d65e1c1eb22 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] fileExists [Pipeline] sh 13:22:38 + make test 13:22:38 go test ./... -coverprofile=coverage.out ./... 13:22:43 ? github.com/edgexfoundry/device-gpio [no test files] 13:22:53 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:22:53 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:22:58 go vet ./... 13:23:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:23:02 ./bin/test-attribution-txt.sh [Pipeline] echo 13:23:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:23:02 $ docker stop --time=1 872d8948c005170b5da1bf42707fccf9a42d966b8bf4aec1a43f5d65e1c1eb22 13:23:04 $ docker rm -f --volumes 872d8948c005170b5da1bf42707fccf9a42d966b8bf4aec1a43f5d65e1c1eb22 [Pipeline] // withDockerContainer [Pipeline] sh 13:23:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:23:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:05 + ls -al . 13:23:05 total 160 13:23:05 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:22 . 13:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:21 .. 13:23:05 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 13:21 .dockerignore 13:23:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:21 .git 13:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 .github 13:23:05 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 13:21 .gitignore 13:23:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:21 .golangci.yml 13:23:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:21 .semver 13:23:05 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 16 13:21 Attribution.txt 13:23:05 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 16 13:21 CHANGELOG.md 13:23:05 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 16 13:21 Dockerfile 13:23:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:21 GOVERNANCE.md 13:23:05 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 13:21 Jenkinsfile 13:23:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:21 LICENSE 13:23:05 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 16 13:21 Makefile 13:23:05 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 13:21 OWNERS.md 13:23:05 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 16 13:21 README.md 13:23:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:21 VERSION 13:23:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:21 bin 13:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 cmd 13:23:05 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 13:22 coverage.out 13:23:05 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 16 13:21 go.mod 13:23:05 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 16 13:21 go.sum 13:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 internal 13:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:21 snap 13:23:05 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:05 + 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=c86d36ed17499b8edf11fabeb6ac02976578c97f --label arch=amd64 --label version=0.0.0 . 13:23:05 Sending build context to Docker daemon 16.04MB 13:23:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:23:05 Step 2/25 : FROM ${BASE} AS builder 13:23:05 ---> 25b74b1e603e 13:23:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:23:06 ---> Running in e40a40b0f5f6 13:23:06 Removing intermediate container e40a40b0f5f6 13:23:06 ---> d3b4de1a547e 13:23:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:23:06 ---> Running in f27d1c6f9740 13:23:06 Removing intermediate container f27d1c6f9740 13:23:06 ---> 749d6d7996ca 13:23:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:23:06 ---> Running in 33a819177bc7 13:23:06 Removing intermediate container 33a819177bc7 13:23:06 ---> 6d2952653c87 13:23:06 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:23:06 ---> Running in e014245ca161 13:23:06 Removing intermediate container e014245ca161 13:23:06 ---> 66266494714c 13:23:06 Step 7/25 : WORKDIR /device-gpio 13:23:06 ---> Running in c66aed9800cc 13:23:06 Removing intermediate container c66aed9800cc 13:23:06 ---> 5f7890e3aa85 13:23:06 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:06 ---> Running in 396c0a1f5018 13:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:07 OK: 269 MiB in 57 packages 13:23:07 Removing intermediate container 396c0a1f5018 13:23:07 ---> 63d6acd6c4af 13:23:07 Step 9/25 : COPY go.mod vendor* ./ 13:23:07 ---> 063ec68fcb7f 13:23:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:23:07 ---> Running in 9d1000475b2f 13:23:08 Removing intermediate container 9d1000475b2f 13:23:08 ---> 3f18f40a56e4 13:23:08 Step 11/25 : COPY . . 13:23:09 ---> 231e738df469 13:23:09 Step 12/25 : RUN ${MAKE} 13:23:09 ---> Running in 5f3ac3759385 13:23:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:23:27 Removing intermediate container 5f3ac3759385 13:23:27 ---> 6d68e00e7a54 13:23:27 Step 13/25 : FROM alpine:3.17 13:23:27 3.17: Pulling from library/alpine 13:23:27 63b65145d645: Already exists 13:23:27 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:23:27 Status: Downloaded newer image for alpine:3.17 13:23:27 ---> b2aa39c304c2 13:23:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:23:27 ---> Running in 6aa487c2b1d0 13:23:27 Removing intermediate container 6aa487c2b1d0 13:23:27 ---> 26719bca71f9 13:23:27 Step 15/25 : RUN apk add --update --no-cache 13:23:27 ---> Running in 7437084accf3 13:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:27 OK: 7 MiB in 15 packages 13:23:27 Removing intermediate container 7437084accf3 13:23:27 ---> 3a0f97b45689 13:23:27 Step 16/25 : WORKDIR / 13:23:27 ---> Running in 6e6a8d67a1d2 13:23:27 Removing intermediate container 6e6a8d67a1d2 13:23:27 ---> ce9609e85e77 13:23:27 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:23:27 ---> c951649cb1a2 13:23:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:23:27 ---> f2662766deed 13:23:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:23:27 ---> edaab1e0a95b 13:23:27 Step 20/25 : EXPOSE 59910 13:23:27 ---> Running in b90c37ce6c5b 13:23:27 Removing intermediate container b90c37ce6c5b 13:23:27 ---> 529976cc887f 13:23:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:23:27 ---> Running in 727c2ed74381 13:23:28 Removing intermediate container 727c2ed74381 13:23:28 ---> 8a611dee4d36 13:23:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:28 ---> Running in feff08489e7c 13:23:28 Removing intermediate container feff08489e7c 13:23:28 ---> cba98699934d 13:23:28 Step 23/25 : LABEL arch=amd64 13:23:28 ---> Running in 728656f0839e 13:23:28 Removing intermediate container 728656f0839e 13:23:28 ---> 11bbc7966f26 13:23:28 Step 24/25 : LABEL git_sha=c86d36ed17499b8edf11fabeb6ac02976578c97f 13:23:28 ---> Running in 4e490b5f019d 13:23:28 Removing intermediate container 4e490b5f019d 13:23:28 ---> 8b66f8a183d3 13:23:28 Step 25/25 : LABEL version=0.0.0 13:23:28 ---> Running in 819adb2fe90d 13:23:28 Removing intermediate container 819adb2fe90d 13:23:28 ---> f79785337a34 13:23:28 [Warning] One or more build-args [ARCH] were not consumed 13:23:28 Successfully built f79785337a34 13:23:28 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 13:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:29 13:23:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:29 latest: Pulling from edgex-lftools-log-publisher 13:23:29 5eb5b503b376: Pulling fs layer 13:23:29 5c69ac0246d0: Pulling fs layer 13:23:29 ec43610c2a17: Pulling fs layer 13:23:29 3a2ae6a8a46f: Pulling fs layer 13:23:29 33b1e0a273af: Pulling fs layer 13:23:29 5d3b04190fa2: Pulling fs layer 13:23:29 2f39f015ded8: Pulling fs layer 13:23:29 3a2ae6a8a46f: Waiting 13:23:29 33b1e0a273af: Waiting 13:23:29 5d3b04190fa2: Waiting 13:23:29 2f39f015ded8: Waiting 13:23:29 5c69ac0246d0: Download complete 13:23:29 3a2ae6a8a46f: Download complete 13:23:29 33b1e0a273af: Verifying Checksum 13:23:29 33b1e0a273af: Download complete 13:23:29 5d3b04190fa2: Verifying Checksum 13:23:29 5d3b04190fa2: Download complete 13:23:29 ec43610c2a17: Verifying Checksum 13:23:29 ec43610c2a17: Download complete 13:23:29 5eb5b503b376: Verifying Checksum 13:23:29 5eb5b503b376: Download complete 13:23:31 5eb5b503b376: Pull complete 13:23:31 5c69ac0246d0: Pull complete 13:23:31 ec43610c2a17: Pull complete 13:23:31 3a2ae6a8a46f: Pull complete 13:23:31 33b1e0a273af: Pull complete 13:23:31 5d3b04190fa2: Pull complete 13:23:35 2f39f015ded8: Pull complete 13:23:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:35 prd-ubuntu20.04-docker-8c-8g-2415 does not seem to be running inside a container 13:23: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/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:23:37 $ docker top a2086c298865bf0a967c6dea2ee38826a50f60e49a927719e422bc9896b52b46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:37 ---> job-cost.sh 13:23:37 lf-activate-venv: SKIPPING 13:23:37 INFO: No Stack... 13:23:38 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:38 INFO: Archiving Costs [Pipeline] sh 13:23:38 + cat /w/workspace/edgexfoundry_device-gpio_PR-116/archives/cost.csv 13:23:38 + cut -d, -f6 [Pipeline] lock 13:23:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] 13:23:38 Resource [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] did not exist. Created. 13:23:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:39 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:39 Stashed 1 file(s) [Pipeline] } 13:23:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:39 $ docker stop --time=1 a2086c298865bf0a967c6dea2ee38826a50f60e49a927719e422bc9896b52b46 13:23:40 $ docker rm -f --volumes a2086c298865bf0a967c6dea2ee38826a50f60e49a927719e422bc9896b52b46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:24:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2419 in /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] { [Pipeline] ws 13:24:37 Running in /w/workspace/device-gpio/5 [Pipeline] { [Pipeline] checkout 13:24:37 The recommended git tool is: git 13:24:49 using credential edgex-jenkins-ssh 13:24:49 Cloning the remote Git repository 13:24:49 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:24:49 > git init /w/workspace/device-gpio/5 # timeout=10 13:24:49 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:49 > git --version # timeout=10 13:24:49 > git --version # 'git version 2.25.1' 13:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:52 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:53 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 13:24:54 Merge succeeded, producing fd4938d6c0ee96eba74855c2eafb0928decdac85 13:24:54 Checking out Revision fd4938d6c0ee96eba74855c2eafb0928decdac85 (PR-116) 13:24:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:24:53 > git config core.sparsecheckout # timeout=10 13:24:54 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 13:24:54 > git remote # timeout=10 13:24:54 > git config --get remote.origin.url # timeout=10 13:24:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:54 > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 13:24:54 > git rev-parse HEAD^{commit} # timeout=10 13:24:54 > git config core.sparsecheckout # timeout=10 13:24:54 > git checkout -f fd4938d6c0ee96eba74855c2eafb0928decdac85 # timeout=10 13:24:58 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" 13:24:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:58 > git rev-list --no-walk 6877a569f33940c866ce13c91582544b4176ca85 # timeout=10 13:24:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:24:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:58 Dload Upload Total Spent Left Speed 13:24:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 13:24:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:24:59 + sudo tee /etc/docker/daemon.new 13:24:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:24:59 { 13:24:59 "registry-mirrors": [ 13:24:59 "https://nexus3.edgexfoundry.org:10001" 13:24:59 ], 13:24:59 "bip": "10.250.0.254/24", 13:24:59 "hosts": [ 13:24:59 "tcp://0.0.0.0:5555", 13:24:59 "unix:///var/run/docker.sock" 13:24:59 ], 13:24:59 "mtu": 1458, 13:24:59 "selinux-enabled": true, 13:24:59 "seccomp-profile": "/etc/docker/seccomp.json" 13:24:59 } [Pipeline] sh 13:25:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:25:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:18 provisioning config files... 13:25:18 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/5@tmp/config8415843437632645791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:19 ---> docker-login.sh 13:25:19 nexus3.edgexfoundry.org:10001 13:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:19 Configure a credential helper to remove this warning. See 13:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:19 13:25:19 Login Succeeded 13:25:19 nexus3.edgexfoundry.org:10002 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10003 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10004 13:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:21 Configure a credential helper to remove this warning. See 13:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:21 13:25:21 Login Succeeded 13:25:21 docker.io 13:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 ---> docker-login.sh ends [Pipeline] } 13:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:22 ========================================================= 13:25:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:25:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:25:23 Sending build context to Docker daemon 8.111MB 13:25:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:25:23 Step 2/12 : FROM ${BASE} AS builder 13:25:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:25:23 af6eaf76a39c: Pulling fs layer 13:25:23 55522c791124: Pulling fs layer 13:25:23 ce5c4a1c91eb: Pulling fs layer 13:25:23 169dfbe0d373: Pulling fs layer 13:25:23 e1ff8fa3b103: Pulling fs layer 13:25:23 52ebb69f0ebf: Pulling fs layer 13:25:23 5abe8eddf0d5: Pulling fs layer 13:25:23 169dfbe0d373: Waiting 13:25:23 e1ff8fa3b103: Waiting 13:25:23 52ebb69f0ebf: Waiting 13:25:23 5abe8eddf0d5: Waiting 13:25:23 55522c791124: Verifying Checksum 13:25:23 55522c791124: Download complete 13:25:23 169dfbe0d373: Verifying Checksum 13:25:23 169dfbe0d373: Download complete 13:25:23 e1ff8fa3b103: Verifying Checksum 13:25:23 e1ff8fa3b103: Download complete 13:25:23 af6eaf76a39c: Verifying Checksum 13:25:23 af6eaf76a39c: Download complete 13:25:25 5abe8eddf0d5: Verifying Checksum 13:25:25 5abe8eddf0d5: Download complete 13:25:26 52ebb69f0ebf: Verifying Checksum 13:25:26 52ebb69f0ebf: Download complete 13:25:26 ce5c4a1c91eb: Download complete 13:25:27 af6eaf76a39c: Pull complete 13:25:27 55522c791124: Pull complete 13:25:39 ce5c4a1c91eb: Pull complete 13:25:39 169dfbe0d373: Pull complete 13:25:39 e1ff8fa3b103: Pull complete 13:25:48 52ebb69f0ebf: Pull complete 13:25:48 5abe8eddf0d5: Pull complete 13:25:48 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:25:48 ---> 6cb57ee374ae 13:25:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:25:50 ---> Running in e7ad4aa16aa5 13:25:50 Removing intermediate container e7ad4aa16aa5 13:25:50 ---> 61fa314f817b 13:25:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:25:50 ---> Running in aa3ff8d7a5a6 13:25:50 Removing intermediate container aa3ff8d7a5a6 13:25:50 ---> 9b6445e47516 13:25:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:25:51 ---> Running in efbd2c72d1a5 13:25:51 Removing intermediate container efbd2c72d1a5 13:25:51 ---> 96de0e1c558f 13:25:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:25:51 ---> Running in 0e82b27e1fe9 13:25:51 Removing intermediate container 0e82b27e1fe9 13:25:51 ---> 973eae73a944 13:25:51 Step 7/12 : WORKDIR /device-gpio 13:25:51 ---> Running in 35c792458cdf 13:25:52 Removing intermediate container 35c792458cdf 13:25:52 ---> 754001e48c5d 13:25:52 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:25:52 ---> Running in 53f0f0f2e2ac 13:25:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:25:55 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:25:55 (2/4) Installing libedit (20221030.3.1-r0) 13:25:55 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:25:55 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:25:55 Executing busybox-1.35.0-r29.trigger 13:25:55 OK: 268 MiB in 57 packages 13:25:57 Removing intermediate container 53f0f0f2e2ac 13:25:57 ---> 7a5dd1c2b027 13:25:57 Step 9/12 : COPY go.mod vendor* ./ 13:25:57 ---> f1f7612fdaa8 13:25:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:57 ---> Running in 1d8056c7a09e 13:27:05 Removing intermediate container 1d8056c7a09e 13:27:05 ---> 6e2a0b0fcf7d 13:27:05 Step 11/12 : COPY . . 13:27:05 ---> ea08788a941b 13:27:05 Step 12/12 : RUN ${MAKE} 13:27:05 ---> Running in 4e0bc20a7033 13:27:05 noop 13:27:05 Removing intermediate container 4e0bc20a7033 13:27:05 ---> 83c9a58e4a96 13:27:05 Successfully built 83c9a58e4a96 13:27:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:06 + docker inspect -f . ci-base-image-arm64 13:27:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:06 prd-ubuntu20.04-docker-arm64-4c-16g-2419 does not seem to be running inside a container 13:27:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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 ******** ci-base-image-arm64 cat 13:27:07 $ docker top 688fcbb7c0214a79b78aa2213ac002de6825e24e7afaef4a95ce331345093961 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:08 + go version 13:27:08 go version go1.20.2 linux/arm64 [Pipeline] } 13:27:08 $ docker stop --time=1 688fcbb7c0214a79b78aa2213ac002de6825e24e7afaef4a95ce331345093961 13:27:10 $ docker rm -f --volumes 688fcbb7c0214a79b78aa2213ac002de6825e24e7afaef4a95ce331345093961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:10 + docker inspect -f . ci-base-image-arm64 13:27:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:11 prd-ubuntu20.04-docker-arm64-4c-16g-2419 does not seem to be running inside a container 13:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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 ******** ci-base-image-arm64 cat 13:27:12 $ docker top fc69e7c7ca5cf865bdc1b6e0239146cf5961fb21c7434973a15394b767a614ec -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:13 + git config --global --add safe.directory /w/workspace/device-gpio/5 [Pipeline] fileExists [Pipeline] sh 13:27:14 + make test 13:27:14 go test ./... -coverprofile=coverage.out ./... 13:27:53 ? github.com/edgexfoundry/device-gpio [no test files] 13:29:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:29:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:29:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:29:45 go vet ./... 13:30:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:30:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:30:18 ./bin/test-attribution-txt.sh [Pipeline] echo 13:30:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:30:18 $ docker stop --time=1 fc69e7c7ca5cf865bdc1b6e0239146cf5961fb21c7434973a15394b767a614ec 13:30:20 $ docker rm -f --volumes fc69e7c7ca5cf865bdc1b6e0239146cf5961fb21c7434973a15394b767a614ec [Pipeline] // withDockerContainer [Pipeline] sh 13:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:30:21 Warning: overwriting stash ‘coverage-report’ 13:30:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:22 + ls -al . 13:30:22 total 156 13:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:27 . 13:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:24 .. 13:30:22 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 13:24 .dockerignore 13:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:24 .git 13:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:24 .github 13:30:22 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 13:24 .gitignore 13:30:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:24 .golangci.yml 13:30:22 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 16 13:24 Attribution.txt 13:30:22 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 16 13:24 CHANGELOG.md 13:30:22 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 16 13:24 Dockerfile 13:30:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:24 GOVERNANCE.md 13:30:22 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 13:24 Jenkinsfile 13:30:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:24 LICENSE 13:30:22 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 16 13:24 Makefile 13:30:22 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 13:24 OWNERS.md 13:30:22 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 16 13:24 README.md 13:30:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:21 VERSION 13:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:24 bin 13:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:24 cmd 13:30:22 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 13:27 coverage.out 13:30:22 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 16 13:24 go.mod 13:30:22 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 16 13:24 go.sum 13:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:24 internal 13:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:24 snap 13:30:22 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 13:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:22 + 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=fd4938d6c0ee96eba74855c2eafb0928decdac85 --label arch=arm64 --label version=0.0.0 . 13:30:23 Sending build context to Docker daemon 8.112MB 13:30:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:30:23 Step 2/25 : FROM ${BASE} AS builder 13:30:23 ---> 83c9a58e4a96 13:30:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:30:23 ---> Running in eae712442aa3 13:30:23 Removing intermediate container eae712442aa3 13:30:23 ---> 7e1d5fb96694 13:30:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:30:23 ---> Running in 113f89482417 13:30:24 Removing intermediate container 113f89482417 13:30:24 ---> 3029102ff7e2 13:30:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:30:24 ---> Running in 67ade93ac46d 13:30:24 Removing intermediate container 67ade93ac46d 13:30:24 ---> bd3c76291f87 13:30:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:30:24 ---> Running in 005f7d8bc00f 13:30:25 Removing intermediate container 005f7d8bc00f 13:30:25 ---> 76ad88a3dd96 13:30:25 Step 7/25 : WORKDIR /device-gpio 13:30:25 ---> Running in 789400269f71 13:30:25 Removing intermediate container 789400269f71 13:30:25 ---> 66640a0f92e9 13:30:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:25 ---> Running in 425b92adf796 13:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:30:28 OK: 268 MiB in 57 packages 13:30:29 Removing intermediate container 425b92adf796 13:30:29 ---> efbf3e0cdc47 13:30:29 Step 9/25 : COPY go.mod vendor* ./ 13:30:30 ---> 1cd7012b1792 13:30:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:30 ---> Running in 7810f6db8d71 13:30:33 Removing intermediate container 7810f6db8d71 13:30:33 ---> 8bdf5fec2f0b 13:30:33 Step 11/25 : COPY . . 13:30:34 ---> 0a9c33267bd2 13:30:34 Step 12/25 : RUN ${MAKE} 13:30:34 ---> Running in 7fd79840b40d 13:30:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:33:11 Removing intermediate container 7fd79840b40d 13:33:11 ---> e36b9bac6aeb 13:33:11 Step 13/25 : FROM alpine:3.17 13:33:11 3.17: Pulling from library/alpine 13:33:11 af6eaf76a39c: Already exists 13:33:11 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:33:11 Status: Downloaded newer image for alpine:3.17 13:33:11 ---> d74e625d9115 13:33:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:33:11 ---> Running in fa49c24ab473 13:33:11 Removing intermediate container fa49c24ab473 13:33:11 ---> d6bdf67596ac 13:33:11 Step 15/25 : RUN apk add --update --no-cache 13:33:11 ---> Running in 0ca491fce10e 13:33:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:33:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:33:11 OK: 7 MiB in 15 packages 13:33:11 Removing intermediate container 0ca491fce10e 13:33:11 ---> 9b3f84a40a89 13:33:11 Step 16/25 : WORKDIR / 13:33:11 ---> Running in 654b93ffda52 13:33:11 Removing intermediate container 654b93ffda52 13:33:11 ---> 0e863f322b66 13:33:11 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:33:11 ---> 11de9e2fc8cd 13:33:11 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:33:11 ---> afff5e10342f 13:33:11 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:33:11 ---> bee50f96b90a 13:33:11 Step 20/25 : EXPOSE 59910 13:33:11 ---> Running in b8dfd65deaa2 13:33:11 Removing intermediate container b8dfd65deaa2 13:33:11 ---> c2b72a255df4 13:33:11 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:33:11 ---> Running in df37a7f65f75 13:33:11 Removing intermediate container df37a7f65f75 13:33:11 ---> d8cc36f7f01f 13:33:11 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:33:11 ---> Running in c7ab2bef9813 13:33:11 Removing intermediate container c7ab2bef9813 13:33:11 ---> 4e5bf7981ea1 13:33:11 Step 23/25 : LABEL arch=arm64 13:33:11 ---> Running in 3f1056ff5640 13:33:11 Removing intermediate container 3f1056ff5640 13:33:11 ---> f36df7de39e7 13:33:11 Step 24/25 : LABEL git_sha=fd4938d6c0ee96eba74855c2eafb0928decdac85 13:33:11 ---> Running in 45c5e9e0f157 13:33:11 Removing intermediate container 45c5e9e0f157 13:33:11 ---> 84e3a993b9c5 13:33:11 Step 25/25 : LABEL version=0.0.0 13:33:11 ---> Running in 31ee5da27bce 13:33:11 Removing intermediate container 31ee5da27bce 13:33:11 ---> f3beb69a7682 13:33:11 [Warning] One or more build-args [ARCH] were not consumed 13:33:11 Successfully built f3beb69a7682 13:33:11 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 13:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:12 13:33:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:12 arm64: Pulling from edgex-lftools-log-publisher 13:33:12 8998bd30e6a1: Pulling fs layer 13:33:12 04944245beec: Pulling fs layer 13:33:12 699f458cf7ca: Pulling fs layer 13:33:12 765212b225bb: Pulling fs layer 13:33:12 f23df028b6ca: Pulling fs layer 13:33:12 d65c8cfc05b1: Pulling fs layer 13:33:12 2437ff75d9bd: Pulling fs layer 13:33:12 765212b225bb: Waiting 13:33:12 f23df028b6ca: Waiting 13:33:12 d65c8cfc05b1: Waiting 13:33:12 2437ff75d9bd: Waiting 13:33:12 04944245beec: Verifying Checksum 13:33:12 04944245beec: Download complete 13:33:12 765212b225bb: Verifying Checksum 13:33:12 765212b225bb: Download complete 13:33:12 f23df028b6ca: Verifying Checksum 13:33:12 f23df028b6ca: Download complete 13:33:12 d65c8cfc05b1: Verifying Checksum 13:33:12 d65c8cfc05b1: Download complete 13:33:13 699f458cf7ca: Verifying Checksum 13:33:13 699f458cf7ca: Download complete 13:33:13 8998bd30e6a1: Verifying Checksum 13:33:13 8998bd30e6a1: Download complete 13:33:15 2437ff75d9bd: Verifying Checksum 13:33:15 2437ff75d9bd: Download complete 13:33:17 8998bd30e6a1: Pull complete 13:33:17 04944245beec: Pull complete 13:33:18 699f458cf7ca: Pull complete 13:33:18 765212b225bb: Pull complete 13:33:19 f23df028b6ca: Pull complete 13:33:19 d65c8cfc05b1: Pull complete 13:33:34 2437ff75d9bd: Pull complete 13:33:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:35 prd-ubuntu20.04-docker-arm64-4c-16g-2419 does not seem to be running inside a container 13:33: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/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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:arm64 cat 13:33:37 $ docker top 87cdabee4c9667a49e308d58c8654dd5677395c2b81b2fe4583e54b6b19daea1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:33:38 ---> job-cost.sh 13:33:38 lf-activate-venv: SKIPPING 13:33:38 INFO: No Stack... 13:33:39 INFO: Retrieving Pricing Info for: v3-standard-4 13:33:39 INFO: Archiving Costs [Pipeline] sh 13:33:40 + cat /w/workspace/device-gpio/5/archives/cost.csv 13:33:40 + cut -d, -f6 [Pipeline] lock 13:33:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] 13:33:40 Resource [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] did not exist. Created. 13:33:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:33:41 /w/workspace/device-gpio/5@tmp/durable-d09c9a94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:33:42 + echo total: 0.10999999940395355 [Pipeline] stash 13:33:42 Warning: overwriting stash ‘stack-cost’ 13:33:42 Stashed 1 file(s) [Pipeline] } 13:33:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:33:42 $ docker stop --time=1 87cdabee4c9667a49e308d58c8654dd5677395c2b81b2fe4583e54b6b19daea1 13:33:43 $ docker rm -f --volumes 87cdabee4c9667a49e308d58c8654dd5677395c2b81b2fe4583e54b6b19daea1 [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 13:33:44 provisioning config files... 13:33:44 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config14977326588534732798tmp [Pipeline] { [Pipeline] sh 13:33:44 + set +x 13:33:44 + curl -s https://codecov.io/bash 13:33:44 + bash -s -- 13:33:44 13:33:44 _____ _ 13:33:44 / ____| | | 13:33:44 | | ___ __| | ___ ___ _____ __ 13:33:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:33:44 | |___| (_) | (_| | __/ (_| (_) \ V / 13:33:44 \_____\___/ \__,_|\___|\___\___/ \_/ 13:33:44 Bash-1.0.6 13:33:44 13:33:44 13:33:44 ==> git version 2.25.1 found 13:33:44 ==> 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 13:33:44 Release-Date: 2020-01-08 13:33:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:33:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:33:44 ==> Jenkins CI detected. 13:33:44 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-116 13:33:44 project root: . 13:33:44 --> token set from env 13:33:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:33:44 ==> Running gcov in . (disable via -X gcov) 13:33:44 ==> Python coveragepy not found 13:33:44 ==> Searching for coverage reports in: 13:33:44 + . 13:33:44 -> Found 1 reports 13:33:44 ==> Detecting git/mercurial file structure 13:33:44 ==> Reading reports 13:33:44 + ./coverage.out bytes=10 13:33:44 ==> Appending adjustments 13:33:44 https://docs.codecov.io/docs/fixing-reports 13:33:44 + Found adjustments 13:33:44 ==> Gzipping contents 13:33:44 4.0K /tmp/codecov.AdIWRV.gz 13:33:44 ==> Uploading reports 13:33:44 url: https://codecov.io 13:33:44 query: branch=PR-116&commit=c86d36ed17499b8edf11fabeb6ac02976578c97f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 13:33:44 -> Pinging Codecov 13:33:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-116&commit=c86d36ed17499b8edf11fabeb6ac02976578c97f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 13:33:56 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} 13:33:56 500 13:33:56 ==> Uploading to Codecov 13:33:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:33:56 Dload Upload Total Spent Left Speed 13:33:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 190 4539 --:--:-- --:--:-- --:--:-- 4730 13:33:56 Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries 13:33:56 Warning: left. 13:33:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 250 5967 --:--:-- --:--:-- --:--:-- 6217 13:33:57 Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries 13:33:57 Warning: left. 13:33:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 300 7184 --:--:-- --:--:-- --:--:-- 7558 13:33:59 Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries 13:33:59 Warning: left. 13:34:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 262 6271 --:--:-- --:--:-- --:--:-- 6589 13:34:02 Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 13:34:02 Warning: left. 13:34:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 233 5563 --:--:-- --:--:-- --:--:-- 5796 13:34:04 Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries 13:34:04 Warning: left. 13:34:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 244 5826 --:--:-- --:--:-- --:--:-- 6070 13:34:06 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [Pipeline] } 13:34:06 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 13:34:07 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-116/archives ] 13:34:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:07 total 16 13:34:07 drwxr-xr-x 3 root root 4096 Mar 16 13:23 . 13:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. 13:34:07 drwxr-xr-x 2 root root 4096 Mar 16 13:23 cost 13:34:07 -rw-r--r-- 1 root root 83 Mar 16 13:23 cost.csv 13:34:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:07 total 16 13:34:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:23 . 13:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. 13:34:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:23 cost 13:34:07 -rw-r--r-- 1 jenkins jenkins 83 Mar 16 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:34:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:34:08 ---> package-listing.sh 13:34:08 ++ facter osfamily 13:34:08 ++ tr '[:upper:]' '[:lower:]' 13:34:08 + OS_FAMILY=debian 13:34:08 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-116 13:34:08 + START_PACKAGES=/tmp/packages_start.txt 13:34:08 + END_PACKAGES=/tmp/packages_end.txt 13:34:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:34:08 + PACKAGES=/tmp/packages_start.txt 13:34:08 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 13:34:08 + PACKAGES=/tmp/packages_end.txt 13:34:08 + case "${OS_FAMILY}" in 13:34:08 + dpkg -l 13:34:08 + grep '^ii' 13:34:08 + '[' -f /tmp/packages_start.txt ']' 13:34:08 + '[' -f /tmp/packages_end.txt ']' 13:34:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:34:08 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 13:34:08 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ 13:34:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ [Pipeline] echo 13:34:08 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:34:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:09 prd-ubuntu20.04-docker-8c-8g-2415 does not seem to be running inside a container 13:34:09 $ 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-116/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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:34:09 $ docker top 52ec0afaad84984a8c2c66062ace615066bfc9c6fcb1eb04732e59717ae29e99 -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:09 + touch /tmp/pre-build-complete [Pipeline] sh 13:34:10 + mkdir -p /var/log/sysstat [Pipeline] sh 13:34:10 + ls /var/log/sa-host 13:34:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:10 provisioning config files... 13:34:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config17170583015427372784tmp [Pipeline] { [Pipeline] echo 13:34:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:34:10 ---> create-netrc.sh [Pipeline] } 13:34:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:34:11 ---> python-tools-install.sh [Pipeline] echo 13:34:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:34:11 ---> sudo-logs.sh 13:34:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:34:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:34:11 ---> job-cost.sh 13:34:11 lf-activate-venv: SKIPPING 13:34:11 DEBUG: total: 0.2199999988079071 13:34:11 INFO: Retrieving Stack Cost... 13:34:12 INFO: Retrieving Pricing Info for: v3-standard-8 13:34:12 INFO: Archiving Costs [Pipeline] echo 13:34:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:34:12 ---> logs-deploy.sh 13:34:12 lf-activate-venv: SKIPPING 13:34:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-116/5 13:34:12 INFO: archiving workspace using pattern(s): 13:34:13 Archives upload complete. 13:34:13 INFO: archiving logs to Nexus