Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19aafbc411bcd63609cf2a8da139e924bfed411+6427482eab3bd2356a4491c722b8795ef3b48a72 (1053adc49c1f174d5fc5989382646cadf950d2fb) 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-ssh12439014706397347150.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-ssh8919208954131633590.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-130/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-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3006468935940677308.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-ssh8253579814391754631.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-130/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-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16000109042545276181.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-2414 in /w/workspace/edgexfoundry_device-gpio_PR-130 [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-130 # 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/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 Merge succeeded, producing 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 Checking out Revision 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 (PR-130) > git config core.sparsecheckout # timeout=10 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # 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 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 # timeout=10 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" > git rev-list --no-walk b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:21:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:21:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:21:22 ========================================================= 13:21:22 EdgeX Global Pipelines Version Info 13:21:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:21:23 ------------------- 13:21:23 stable info: 13:21:23 ------------------- 13:21:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:21:23 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:21:23 Message: update stable to v1.0.245 13:21:23 ------------------- 13:21:23 experimental info: 13:21:23 ------------------- 13:21:23 Commited By: **** collab-it+edgex@linuxfoundation.org 13:21:23 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:21:23 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:21:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:21:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:21:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:21:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 448b4cb [Pipeline] echo 13:21:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:24 provisioning config files... 13:21:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config8032859409950823522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:24 ---> docker-login.sh 13:21:24 nexus3.edgexfoundry.org:10001 13:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:24 Configure a credential helper to remove this warning. See 13:21:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:24 13:21:24 Login Succeeded 13:21:24 nexus3.edgexfoundry.org:10002 13:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:24 Configure a credential helper to remove this warning. See 13:21:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:24 13:21:24 Login Succeeded 13:21:24 nexus3.edgexfoundry.org:10003 13:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:25 Configure a credential helper to remove this warning. See 13:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:25 13:21:25 Login Succeeded 13:21:25 nexus3.edgexfoundry.org:10004 13:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:25 Configure a credential helper to remove this warning. See 13:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:25 13:21:25 Login Succeeded 13:21:25 docker.io 13:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:25 Configure a credential helper to remove this warning. See 13:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:25 13:21:25 Login Succeeded 13:21:25 ---> docker-login.sh ends [Pipeline] } 13:21:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:21:25 + git rev-list -1 --merges 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7~1..448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo 13:21:25 -----------> git rev-list -1 --merges 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7~1..448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 13:21:25 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [false] [Pipeline] sh 13:21:26 + git log --format=format:%s -1 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo 13:21:26 ========================================================= 13:21:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:21:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:26 + git log --format=format:%s -1 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo 13:21:26 [semverPrep] GIT_COMMIT: 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7, Commit Message: Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD [Pipeline] echo 13:21:26 [semverPrep] This is not a build commit. [Pipeline] sh 13:21:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:26 + grep -v github /etc/ssh/ssh_known_hosts 13:21:26 + [ -e /tmp/ssh_known_hosts ] 13:21:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:21:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:21:26 + sudo tee -a /etc/ssh/ssh_known_hosts 13:21:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:27 13:21:27 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:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:27 0.1.4: Pulling from edgex-devops/py-git-semver 13:21:27 b85a868b505f: Pulling fs layer 13:21:27 e2be974225ed: Pulling fs layer 13:21:27 339a4e72a1f5: Pulling fs layer 13:21:27 988bab9f4d93: Pulling fs layer 13:21:27 1469e6f7b9e6: Pulling fs layer 13:21:27 eaf3925da568: Pulling fs layer 13:21:27 bab4dde63d76: Pulling fs layer 13:21:27 bde34c3a00c8: Pulling fs layer 13:21:27 b352a97aabf1: Pulling fs layer 13:21:27 4872d77fe225: Pulling fs layer 13:21:27 5851b861e8e6: Pulling fs layer 13:21:27 bde34c3a00c8: Waiting 13:21:27 b352a97aabf1: Waiting 13:21:27 988bab9f4d93: Waiting 13:21:27 4872d77fe225: Waiting 13:21:27 1469e6f7b9e6: Waiting 13:21:27 5851b861e8e6: Waiting 13:21:27 bab4dde63d76: Waiting 13:21:27 eaf3925da568: Waiting 13:21:27 e2be974225ed: Download complete 13:21:27 988bab9f4d93: Download complete 13:21:27 1469e6f7b9e6: Download complete 13:21:27 eaf3925da568: Verifying Checksum 13:21:27 eaf3925da568: Download complete 13:21:27 b85a868b505f: Verifying Checksum 13:21:27 b85a868b505f: Download complete 13:21:27 bde34c3a00c8: Verifying Checksum 13:21:27 bde34c3a00c8: Download complete 13:21:27 b352a97aabf1: Download complete 13:21:28 4872d77fe225: Verifying Checksum 13:21:28 4872d77fe225: Download complete 13:21:28 5851b861e8e6: Verifying Checksum 13:21:28 5851b861e8e6: Download complete 13:21:28 bab4dde63d76: Verifying Checksum 13:21:28 bab4dde63d76: Download complete 13:21:28 339a4e72a1f5: Verifying Checksum 13:21:28 339a4e72a1f5: Download complete 13:21:29 b85a868b505f: Pull complete 13:21:29 e2be974225ed: Pull complete 13:21:29 339a4e72a1f5: Pull complete 13:21:29 988bab9f4d93: Pull complete 13:21:30 1469e6f7b9e6: Pull complete 13:21:30 eaf3925da568: Pull complete 13:21:32 bab4dde63d76: Pull complete 13:21:32 bde34c3a00c8: Pull complete 13:21:32 b352a97aabf1: Pull complete 13:21:32 4872d77fe225: Pull complete 13:21:32 5851b861e8e6: Pull complete 13:21:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:21:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:32 prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container 13:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@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:35 $ docker top 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 -eo pid,comm 13:21:35 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:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:35 [ssh-agent] Looking for ssh-agent implementation... 13:21:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:35 $ docker exec 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent 13:21:36 SSH_AUTH_SOCK=/tmp/ssh-MZ9o8sdtscjl/agent.32 13:21:36 SSH_AGENT_PID=38 13:21:36 Running ssh-add (command line suppressed) 13:21:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2141503164480936126.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2141503164480936126.key) 13:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:36 + git tag --points-at HEAD [Pipeline] } 13:21:36 $ docker exec --env ******** --env ******** 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent -k 13:21:36 unset SSH_AUTH_SOCK; 13:21:36 unset SSH_AGENT_PID; 13:21:36 echo Agent pid 38 killed; 13:21:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:21:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:36 [ssh-agent] Looking for ssh-agent implementation... 13:21:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:36 $ docker exec 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent 13:21:36 SSH_AUTH_SOCK=/tmp/ssh-LW0e6YQePUsX/agent.70 13:21:36 SSH_AGENT_PID=76 13:21:36 Running ssh-add (command line suppressed) 13:21:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2992936972802005986.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2992936972802005986.key) 13:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:37 + git semver init 13:21:37 2023-03-16 13:21:37,389 [run_init] DEBUG init version:0.0.0 force:False 13:21:37 2023-03-16 13:21:37,390 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver 13:21:37 2023-03-16 13:21:37,391 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-130/.semver 13:21:37 2023-03-16 13:21:37,391 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-130/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130, universal_newlines=False, shell=None, istream=None) 13:21:38 2023-03-16 13:21:38,318 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.git/info/exclude 13:21:38 2023-03-16 13:21:38,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 with force:False 13:21:38 2023-03-16 13:21:38,319 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 13:21:38 2023-03-16 13:21:38,324 [execute] INFO git cat-file --batch-check 13:21:38 2023-03-16 13:21:38,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) 13:21:38 2023-03-16 13:21:38,330 [execute] INFO git cat-file --batch 13:21:38 2023-03-16 13:21:38,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) 13:21:38 2023-03-16 13:21:38,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 13:21:38 0.0.0 [Pipeline] } 13:21:38 $ docker exec --env ******** --env ******** 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent -k 13:21:38 unset SSH_AUTH_SOCK; 13:21:38 unset SSH_AGENT_PID; 13:21:38 echo Agent pid 76 killed; 13:21:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:21:38 + git semver [Pipeline] } 13:21:39 $ docker stop --time=1 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 13:21:40 $ docker rm -f --volumes 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:21:40 Stashed 1 file(s) [Pipeline] echo 13:21:40 [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:41 provisioning config files... 13:21:41 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config14395229364964937302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:41 ---> docker-login.sh 13:21:41 nexus3.edgexfoundry.org:10001 13:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:41 Configure a credential helper to remove this warning. See 13:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:41 13:21:41 Login Succeeded 13:21:41 nexus3.edgexfoundry.org:10002 13:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:41 Configure a credential helper to remove this warning. See 13:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:41 13:21:41 Login Succeeded 13:21:41 nexus3.edgexfoundry.org:10003 13:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:41 Configure a credential helper to remove this warning. See 13:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:41 13:21:41 Login Succeeded 13:21:41 nexus3.edgexfoundry.org:10004 13:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:41 Configure a credential helper to remove this warning. See 13:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:41 13:21:41 Login Succeeded 13:21:41 docker.io 13:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:41 Configure a credential helper to remove this warning. See 13:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:41 13:21:41 Login Succeeded 13:21:41 ---> docker-login.sh ends [Pipeline] } 13:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:42 ========================================================= 13:21:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:21:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:42 + 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:21:42 Sending build context to Docker daemon 16.02MB 13:21:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:21:42 Step 2/12 : FROM ${BASE} AS builder 13:21:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:21:42 63b65145d645: Pulling fs layer 13:21:42 a2d21d5440eb: Pulling fs layer 13:21:42 935e6c44a52c: Pulling fs layer 13:21:42 94cc34f8dd06: Pulling fs layer 13:21:42 30dea6a524f1: Pulling fs layer 13:21:42 a2aff8979fd8: Pulling fs layer 13:21:42 6808be2612f2: Pulling fs layer 13:21:42 f25807f1079a: Pulling fs layer 13:21:42 6808be2612f2: Waiting 13:21:42 94cc34f8dd06: Waiting 13:21:42 30dea6a524f1: Waiting 13:21:42 a2aff8979fd8: Waiting 13:21:42 f25807f1079a: Waiting 13:21:42 a2d21d5440eb: Download complete 13:21:42 94cc34f8dd06: Verifying Checksum 13:21:42 94cc34f8dd06: Download complete 13:21:42 30dea6a524f1: Download complete 13:21:42 63b65145d645: Verifying Checksum 13:21:42 63b65145d645: Download complete 13:21:42 a2aff8979fd8: Verifying Checksum 13:21:42 a2aff8979fd8: Download complete 13:21:42 63b65145d645: Pull complete 13:21:42 a2d21d5440eb: Pull complete 13:21:43 f25807f1079a: Verifying Checksum 13:21:43 f25807f1079a: Download complete 13:21:43 935e6c44a52c: Verifying Checksum 13:21:43 935e6c44a52c: Download complete 13:21:43 6808be2612f2: Verifying Checksum 13:21:43 6808be2612f2: Download complete 13:21:47 935e6c44a52c: Pull complete 13:21:47 94cc34f8dd06: Pull complete 13:21:47 30dea6a524f1: Pull complete 13:21:47 a2aff8979fd8: Pull complete 13:21:49 6808be2612f2: Pull complete 13:21:50 f25807f1079a: Pull complete 13:21:50 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:21:50 ---> 3b553350e43f 13:21:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:21:55 ---> Running in 1098528e04cd 13:21:55 Removing intermediate container 1098528e04cd 13:21:55 ---> e121b6418811 13:21:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:55 ---> Running in 87ed52dd06e6 13:21:55 Removing intermediate container 87ed52dd06e6 13:21:55 ---> 995dd4ed24de 13:21:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:21:55 ---> Running in f554993068e8 13:21:55 Removing intermediate container f554993068e8 13:21:55 ---> 200fd45ec8a6 13:21:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:21:55 ---> Running in 4e85eaa44805 13:21:56 Still waiting to schedule task 13:21:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2412’ is offline 13:21:56 Removing intermediate container 4e85eaa44805 13:21:56 ---> 10756c5a5880 13:21:56 Step 7/12 : WORKDIR /device-gpio 13:21:56 ---> Running in 8cc914899347 13:21:56 Removing intermediate container 8cc914899347 13:21:56 ---> e7dab367f1f8 13:21:56 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:56 ---> Running in 5bbc89e97653 13:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:21:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:21:56 (2/4) Installing libedit (20221030.3.1-r0) 13:21:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:21:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:21:56 Executing busybox-1.35.0-r29.trigger 13:21:56 OK: 269 MiB in 57 packages 13:21:57 Removing intermediate container 5bbc89e97653 13:21:57 ---> 071d1cc9bb3b 13:21:57 Step 9/12 : COPY go.mod vendor* ./ 13:21:57 ---> 192d6c7e4d1d 13:21:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:57 ---> Running in 8e2adde44cde 13:22:24 Removing intermediate container 8e2adde44cde 13:22:24 ---> 75add4443e52 13:22:24 Step 11/12 : COPY . . 13:22:24 ---> e1b8f8788d4a 13:22:24 Step 12/12 : RUN ${MAKE} 13:22:24 ---> Running in 0f984f8807b5 13:22:24 noop 13:22:25 Removing intermediate container 0f984f8807b5 13:22:25 ---> bc443c91afbe 13:22:25 Successfully built bc443c91afbe 13:22:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:25 + docker inspect -f . ci-base-image-x86_64 13:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:25 prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container 13:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@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:25 $ docker top 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:26 + go version 13:22:26 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:26 $ docker stop --time=1 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 13:22:27 $ docker rm -f --volumes 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:27 + docker inspect -f . ci-base-image-x86_64 13:22:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:28 prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container 13:22:28 $ 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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@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:28 $ docker top 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] fileExists [Pipeline] sh 13:22:29 + make test 13:22:29 go test ./... -coverprofile=coverage.out ./... 13:22:34 ? github.com/edgexfoundry/device-gpio [no test files] 13:22:44 # github.com/edgexfoundry/device-gpio/internal/driver 13:22:44 internal/driver/config.go:29:24: undefined: service.DriverConfigs 13:22:44 internal/driver/config.go:34:24: undefined: service.DriverConfigs 13:22:44 FAIL 13:22:44 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 13:22:44 $ docker stop --time=1 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 13:22:47 $ docker rm -f --volumes 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:22:48 13:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:22:48 latest: Pulling from edgex-lftools-log-publisher 13:22:48 5eb5b503b376: Pulling fs layer 13:22:48 5c69ac0246d0: Pulling fs layer 13:22:48 ec43610c2a17: Pulling fs layer 13:22:48 3a2ae6a8a46f: Pulling fs layer 13:22:48 33b1e0a273af: Pulling fs layer 13:22:48 5d3b04190fa2: Pulling fs layer 13:22:48 2f39f015ded8: Pulling fs layer 13:22:48 33b1e0a273af: Waiting 13:22:48 5d3b04190fa2: Waiting 13:22:48 2f39f015ded8: Waiting 13:22:48 3a2ae6a8a46f: Waiting 13:22:48 5c69ac0246d0: Download complete 13:22:48 3a2ae6a8a46f: Verifying Checksum 13:22:48 3a2ae6a8a46f: Download complete 13:22:48 33b1e0a273af: Verifying Checksum 13:22:48 33b1e0a273af: Download complete 13:22:48 ec43610c2a17: Download complete 13:22:48 5d3b04190fa2: Verifying Checksum 13:22:48 5d3b04190fa2: Download complete 13:22:48 5eb5b503b376: Verifying Checksum 13:22:48 5eb5b503b376: Download complete 13:22:49 2f39f015ded8: Download complete 13:22:50 5eb5b503b376: Pull complete 13:22:50 5c69ac0246d0: Pull complete 13:22:50 ec43610c2a17: Pull complete 13:22:50 3a2ae6a8a46f: Pull complete 13:22:50 33b1e0a273af: Pull complete 13:22:51 5d3b04190fa2: Pull complete 13:22:55 2f39f015ded8: Pull complete 13:22:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:22:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:22:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:55 prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container 13:22:55 $ 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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@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:22:59 $ docker top ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:00 ---> job-cost.sh 13:23:00 lf-activate-venv: SKIPPING 13:23:00 INFO: No Stack... 13:23:00 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:00 INFO: Archiving Costs [Pipeline] sh 13:23:00 + cat /w/workspace/edgexfoundry_device-gpio_PR-130/archives/cost.csv 13:23:00 + cut -d, -f6 [Pipeline] lock 13:23:01 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] 13:23:01 Resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] did not exist. Created. 13:23:01 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:01 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:01 Stashed 1 file(s) [Pipeline] } 13:23:01 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:01 $ docker stop --time=1 ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d 13:23:02 $ docker rm -f --volumes ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:23:02 Failed in branch amd64 13:24:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2420 in /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] { [Pipeline] ws 13:24:35 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 13:24:35 The recommended git tool is: git 13:24:41 using credential edgex-jenkins-ssh 13:24:41 Cloning the remote Git repository 13:24:41 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:24:41 > git init /w/workspace/device-gpio/2 # timeout=10 13:24:42 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:42 > git --version # timeout=10 13:24:42 > git --version # 'git version 2.25.1' 13:24:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:44 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:45 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:45 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:24:45 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 13:24:45 Merge succeeded, producing af053f5182e8fdd8834de17488706f0b590e2792 13:24:45 Checking out Revision af053f5182e8fdd8834de17488706f0b590e2792 (PR-130) 13:24:45 > git config core.sparsecheckout # timeout=10 13:24:45 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 13:24:45 > git remote # timeout=10 13:24:45 > git config --get remote.origin.url # timeout=10 13:24:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:45 > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 13:24:45 > git rev-parse HEAD^{commit} # timeout=10 13:24:45 > git config core.sparsecheckout # timeout=10 13:24:45 > git checkout -f af053f5182e8fdd8834de17488706f0b590e2792 # timeout=10 13:24:49 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" 13:24:49 > git rev-list --no-walk b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:24:50 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:50 Dload Upload Total Spent Left Speed 13:24:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 13:24:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:24:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:24:51 + sudo tee /etc/docker/daemon.new 13:24:51 { 13:24:51 "registry-mirrors": [ 13:24:51 "https://nexus3.edgexfoundry.org:10001" 13:24:51 ], 13:24:51 "bip": "10.250.0.254/24", 13:24:51 "hosts": [ 13:24:51 "tcp://0.0.0.0:5555", 13:24:51 "unix:///var/run/docker.sock" 13:24:51 ], 13:24:51 "mtu": 1458, 13:24:51 "selinux-enabled": true, 13:24:51 "seccomp-profile": "/etc/docker/seccomp.json" 13:24:51 } [Pipeline] sh 13:24:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:24:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:10 provisioning config files... 13:25:10 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config14310088487034491532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:10 ---> docker-login.sh 13:25:10 nexus3.edgexfoundry.org:10001 13:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:11 Configure a credential helper to remove this warning. See 13:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:11 13:25:11 Login Succeeded 13:25:11 nexus3.edgexfoundry.org:10002 13:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:11 Configure a credential helper to remove this warning. See 13:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:11 13:25:11 Login Succeeded 13:25:11 nexus3.edgexfoundry.org:10003 13:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:12 Configure a credential helper to remove this warning. See 13:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:12 13:25:12 Login Succeeded 13:25:12 nexus3.edgexfoundry.org:10004 13:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:12 Configure a credential helper to remove this warning. See 13:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:12 13:25:12 Login Succeeded 13:25:12 docker.io 13:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:13 Configure a credential helper to remove this warning. See 13:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:13 13:25:13 Login Succeeded 13:25:13 ---> docker-login.sh ends [Pipeline] } 13:25:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:13 ========================================================= 13:25:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:25:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:13 + 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:13 Sending build context to Docker daemon 8.093MB 13:25:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:25:13 Step 2/12 : FROM ${BASE} AS builder 13:25:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:25:14 af6eaf76a39c: Pulling fs layer 13:25:14 55522c791124: Pulling fs layer 13:25:14 ce5c4a1c91eb: Pulling fs layer 13:25:14 169dfbe0d373: Pulling fs layer 13:25:14 e1ff8fa3b103: Pulling fs layer 13:25:14 52ebb69f0ebf: Pulling fs layer 13:25:14 5abe8eddf0d5: Pulling fs layer 13:25:14 e1ff8fa3b103: Waiting 13:25:14 52ebb69f0ebf: Waiting 13:25:14 5abe8eddf0d5: Waiting 13:25:14 169dfbe0d373: Waiting 13:25:14 55522c791124: Verifying Checksum 13:25:14 55522c791124: Download complete 13:25:14 169dfbe0d373: Download complete 13:25:14 e1ff8fa3b103: Verifying Checksum 13:25:14 e1ff8fa3b103: Download complete 13:25:14 af6eaf76a39c: Verifying Checksum 13:25:14 af6eaf76a39c: Download complete 13:25:15 af6eaf76a39c: Pull complete 13:25:15 5abe8eddf0d5: Verifying Checksum 13:25:15 5abe8eddf0d5: Download complete 13:25:15 55522c791124: Pull complete 13:25:16 ce5c4a1c91eb: Verifying Checksum 13:25:16 ce5c4a1c91eb: Download complete 13:25:16 52ebb69f0ebf: Verifying Checksum 13:25:16 52ebb69f0ebf: Download complete 13:25:29 ce5c4a1c91eb: Pull complete 13:25:29 169dfbe0d373: Pull complete 13:25:29 e1ff8fa3b103: Pull complete 13:25:34 52ebb69f0ebf: Pull complete 13:25:35 5abe8eddf0d5: Pull complete 13:25:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:25:35 ---> 6cb57ee374ae 13:25:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:25:37 ---> Running in 35dba20d7856 13:25:37 Removing intermediate container 35dba20d7856 13:25:37 ---> 25bfb5d92439 13:25:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:25:38 ---> Running in 215314a9c3a7 13:25:38 Removing intermediate container 215314a9c3a7 13:25:38 ---> 5cdc48734367 13:25:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:25:38 ---> Running in 5fa42ff1b9e0 13:25:38 Removing intermediate container 5fa42ff1b9e0 13:25:38 ---> e2d3f00a9b84 13:25:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:25:38 ---> Running in 4037e0d8f688 13:25:39 Removing intermediate container 4037e0d8f688 13:25:39 ---> 26ab58239f39 13:25:39 Step 7/12 : WORKDIR /device-gpio 13:25:39 ---> Running in 928b15bb81d2 13:25:39 Removing intermediate container 928b15bb81d2 13:25:39 ---> 5097b66ba11d 13:25:39 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:25:39 ---> Running in 64c1376e6eb6 13:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:25:42 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:25:42 (2/4) Installing libedit (20221030.3.1-r0) 13:25:42 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:25:42 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:25:42 Executing busybox-1.35.0-r29.trigger 13:25:42 OK: 268 MiB in 57 packages 13:25:43 Removing intermediate container 64c1376e6eb6 13:25:43 ---> 15fdc11ab09b 13:25:43 Step 9/12 : COPY go.mod vendor* ./ 13:25:44 ---> 7130c6864a40 13:25:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:44 ---> Running in b6729ae9b2d6 13:26:52 Removing intermediate container b6729ae9b2d6 13:26:52 ---> c080682f3948 13:26:52 Step 11/12 : COPY . . 13:26:52 ---> f165ab5afa56 13:26:52 Step 12/12 : RUN ${MAKE} 13:26:52 ---> Running in c601d354ed31 13:26:52 noop 13:26:52 Removing intermediate container c601d354ed31 13:26:52 ---> 3bbf175a1696 13:26:52 Successfully built 3bbf175a1696 13:26:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:53 + docker inspect -f . ci-base-image-arm64 13:26:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:53 prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container 13:26:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:26:54 $ docker top c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:55 + go version 13:26:55 go version go1.20.2 linux/arm64 [Pipeline] } 13:26:55 $ docker stop --time=1 c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 13:26:57 $ docker rm -f --volumes c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:57 + docker inspect -f . ci-base-image-arm64 13:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:57 prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container 13:26:57 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:26:59 $ docker top 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:00 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 13:27:00 + make test 13:27:00 go test ./... -coverprofile=coverage.out ./... 13:27:39 ? github.com/edgexfoundry/device-gpio [no test files] 13:29:46 # github.com/edgexfoundry/device-gpio/internal/driver 13:29:46 internal/driver/config.go:29:24: undefined: service.DriverConfigs 13:29:46 internal/driver/config.go:34:24: undefined: service.DriverConfigs 13:29:56 FAIL 13:29:56 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 13:29:56 $ docker stop --time=1 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 13:29:58 $ docker rm -f --volumes 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:29:59 13:29:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:30:00 arm64: Pulling from edgex-lftools-log-publisher 13:30:00 8998bd30e6a1: Pulling fs layer 13:30:00 04944245beec: Pulling fs layer 13:30:00 699f458cf7ca: Pulling fs layer 13:30:00 765212b225bb: Pulling fs layer 13:30:00 f23df028b6ca: Pulling fs layer 13:30:00 d65c8cfc05b1: Pulling fs layer 13:30:00 2437ff75d9bd: Pulling fs layer 13:30:00 765212b225bb: Waiting 13:30:00 f23df028b6ca: Waiting 13:30:00 d65c8cfc05b1: Waiting 13:30:00 2437ff75d9bd: Waiting 13:30:00 04944245beec: Verifying Checksum 13:30:00 04944245beec: Download complete 13:30:00 765212b225bb: Verifying Checksum 13:30:00 765212b225bb: Download complete 13:30:00 f23df028b6ca: Download complete 13:30:00 d65c8cfc05b1: Verifying Checksum 13:30:00 d65c8cfc05b1: Download complete 13:30:00 699f458cf7ca: Verifying Checksum 13:30:00 699f458cf7ca: Download complete 13:30:01 8998bd30e6a1: Verifying Checksum 13:30:01 8998bd30e6a1: Download complete 13:30:03 2437ff75d9bd: Verifying Checksum 13:30:03 2437ff75d9bd: Download complete 13:30:05 8998bd30e6a1: Pull complete 13:30:06 04944245beec: Pull complete 13:30:08 699f458cf7ca: Pull complete 13:30:08 765212b225bb: Pull complete 13:30:09 f23df028b6ca: Pull complete 13:30:09 d65c8cfc05b1: Pull complete 13:30:24 2437ff75d9bd: Pull complete 13:30:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:30:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:24 prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container 13:30:24 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:30:27 $ docker top 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:28 ---> job-cost.sh 13:30:28 lf-activate-venv: SKIPPING 13:30:28 INFO: No Stack... 13:30:29 INFO: Retrieving Pricing Info for: v3-standard-4 13:30:29 INFO: Archiving Costs [Pipeline] sh 13:30:30 + cat /w/workspace/device-gpio/2/archives/cost.csv 13:30:30 + cut -d, -f6 [Pipeline] lock 13:30:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] 13:30:30 Resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] did not exist. Created. 13:30:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:31 /w/workspace/device-gpio/2@tmp/durable-91306490/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:30:32 + echo total: 0.10999999940395355 [Pipeline] stash 13:30:32 Warning: overwriting stash ‘stack-cost’ 13:30:32 Stashed 1 file(s) [Pipeline] } 13:30:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:32 $ docker stop --time=1 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 13:30:34 $ docker rm -f --volumes 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:30:34 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:30:35 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-130/archives ] 13:30:35 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives 13:30:35 total 16 13:30:35 drwxr-xr-x 3 root root 4096 Mar 16 13:23 . 13:30:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. 13:30:35 drwxr-xr-x 2 root root 4096 Mar 16 13:23 cost 13:30:35 -rw-r--r-- 1 root root 83 Mar 16 13:23 cost.csv 13:30:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-130/archives 13:30:35 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives 13:30:35 total 16 13:30:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:23 . 13:30:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. 13:30:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:23 cost 13:30:35 -rw-r--r-- 1 jenkins jenkins 83 Mar 16 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:30:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:30:36 ---> package-listing.sh 13:30:36 ++ facter osfamily 13:30:36 ++ tr '[:upper:]' '[:lower:]' 13:30:36 + OS_FAMILY=debian 13:30:36 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-130 13:30:36 + START_PACKAGES=/tmp/packages_start.txt 13:30:36 + END_PACKAGES=/tmp/packages_end.txt 13:30:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:30:36 + PACKAGES=/tmp/packages_start.txt 13:30:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' 13:30:36 + PACKAGES=/tmp/packages_end.txt 13:30:36 + case "${OS_FAMILY}" in 13:30:36 + dpkg -l 13:30:36 + grep '^ii' 13:30:36 + '[' -f /tmp/packages_start.txt ']' 13:30:36 + '[' -f /tmp/packages_end.txt ']' 13:30:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:30:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' 13:30:36 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ 13:30:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ [Pipeline] echo 13:30:36 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-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:30:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:37 prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container 13:30:37 $ 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-130/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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@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:30:37 $ docker top 04530ea903cc13a10a061466325721b6f86c595314a910da250e26cf94b46ece -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:38 + touch /tmp/pre-build-complete [Pipeline] sh 13:30:38 + mkdir -p /var/log/sysstat [Pipeline] sh 13:30:38 + ls /var/log/sa-host 13:30:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:38 provisioning config files... 13:30:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config3893714345895079462tmp [Pipeline] { [Pipeline] echo 13:30:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:30:39 ---> create-netrc.sh [Pipeline] } 13:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:30:39 ---> python-tools-install.sh [Pipeline] echo 13:30:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:30:39 ---> sudo-logs.sh 13:30:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:30:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:30:40 ---> job-cost.sh 13:30:40 lf-activate-venv: SKIPPING 13:30:40 DEBUG: total: 0.2199999988079071 13:30:40 INFO: Retrieving Stack Cost... 13:30:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:30:40 INFO: Archiving Costs [Pipeline] echo 13:30:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:30:40 ---> logs-deploy.sh 13:30:40 lf-activate-venv: SKIPPING 13:30:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-130/2 13:30:40 INFO: archiving workspace using pattern(s): 13:30:41 Archives upload complete. 13:30:41 INFO: archiving logs to Nexus