Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40e947a709d50bd7f8efbbb4adaff282e4b864bd+f3c8a999d00a9f0c6dac2773c41abd43344389a2 (921deff792f0932955047a9706d1ca4aed0695b8) 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-ssh13133666366071959622.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9550794497234023582.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3899013218865748824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13171361158253973472.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh7641014235993620603.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7330772231895148.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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-502 in /w/workspace/edgexfoundry_device-gpio_PR-234 [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-234 # 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/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f3c8a999d00a9f0c6dac2773c41abd43344389a2 into PR head commit 40e947a709d50bd7f8efbbb4adaff282e4b864bd Merge succeeded, producing 40e947a709d50bd7f8efbbb4adaff282e4b864bd Checking out Revision 40e947a709d50bd7f8efbbb4adaff282e4b864bd (PR-234) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # 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 f3c8a999d00a9f0c6dac2773c41abd43344389a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:47 ========================================================= 00:54:47 EdgeX Global Pipelines Version Info 00:54:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:47 ------------------- 00:54:47 stable info: 00:54:47 ------------------- 00:54:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:47 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:54:47 Message: update stable to v1.0.258 00:54:48 ------------------- 00:54:48 experimental info: 00:54:48 ------------------- 00:54:48 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:54:48 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40e947a [Pipeline] echo 00:54:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:50 provisioning config files... 00:54:50 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config6071290091244271700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:50 ---> ****-login.sh 00:54:50 nexus3.edgexfoundry.org:10001 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:51 Configure a credential helper to remove this warning. See 00:54:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:51 00:54:51 Login Succeeded 00:54:51 nexus3.edgexfoundry.org:10002 00:54:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:51 Configure a credential helper to remove this warning. See 00:54:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:51 00:54:51 Login Succeeded 00:54:51 nexus3.edgexfoundry.org:10003 00:54:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:51 Configure a credential helper to remove this warning. See 00:54:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:51 00:54:51 Login Succeeded 00:54:51 nexus3.edgexfoundry.org:10004 00:54:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:51 Configure a credential helper to remove this warning. See 00:54:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:51 00:54:51 Login Succeeded 00:54:51 ****.io 00:54:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:52 Configure a credential helper to remove this warning. See 00:54:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:52 00:54:52 Login Succeeded 00:54:52 ---> ****-login.sh ends [Pipeline] } 00:54:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:52 + git rev-list -1 --merges 40e947a709d50bd7f8efbbb4adaff282e4b864bd~1..40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo 00:54:52 -----------> git rev-list -1 --merges 40e947a709d50bd7f8efbbb4adaff282e4b864bd~1..40e947a709d50bd7f8efbbb4adaff282e4b864bd 40e947a709d50bd7f8efbbb4adaff282e4b864bd [false] [Pipeline] sh 00:54:53 + git log --format=format:%s -1 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo 00:54:53 ========================================================= 00:54:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:53 + git log --format=format:%s -1 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo 00:54:53 [semverPrep] GIT_COMMIT: 40e947a709d50bd7f8efbbb4adaff282e4b864bd, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:54:53 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:54 + grep -v github /etc/ssh/ssh_known_hosts 00:54:54 + [ -e /tmp/ssh_known_hosts ] 00:54:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:54 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:54 00:54:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:55 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:55 b85a868b505f: Pulling fs layer 00:54:55 e2be974225ed: Pulling fs layer 00:54:55 339a4e72a1f5: Pulling fs layer 00:54:55 988bab9f4d93: Pulling fs layer 00:54:55 1469e6f7b9e6: Pulling fs layer 00:54:55 eaf3925da568: Pulling fs layer 00:54:55 bab4dde63d76: Pulling fs layer 00:54:55 bde34c3a00c8: Pulling fs layer 00:54:55 b352a97aabf1: Pulling fs layer 00:54:55 4872d77fe225: Pulling fs layer 00:54:55 5851b861e8e6: Pulling fs layer 00:54:55 988bab9f4d93: Waiting 00:54:55 1469e6f7b9e6: Waiting 00:54:55 bde34c3a00c8: Waiting 00:54:55 eaf3925da568: Waiting 00:54:55 b352a97aabf1: Waiting 00:54:55 bab4dde63d76: Waiting 00:54:55 4872d77fe225: Waiting 00:54:55 e2be974225ed: Download complete 00:54:55 988bab9f4d93: Verifying Checksum 00:54:55 988bab9f4d93: Download complete 00:54:55 339a4e72a1f5: Verifying Checksum 00:54:55 339a4e72a1f5: Download complete 00:54:55 1469e6f7b9e6: Verifying Checksum 00:54:55 1469e6f7b9e6: Download complete 00:54:55 eaf3925da568: Verifying Checksum 00:54:55 eaf3925da568: Download complete 00:54:55 bde34c3a00c8: Verifying Checksum 00:54:55 bde34c3a00c8: Download complete 00:54:55 b352a97aabf1: Download complete 00:54:55 4872d77fe225: Verifying Checksum 00:54:55 4872d77fe225: Download complete 00:54:55 5851b861e8e6: Verifying Checksum 00:54:55 5851b861e8e6: Download complete 00:54:55 b85a868b505f: Verifying Checksum 00:54:55 b85a868b505f: Download complete 00:54:55 bab4dde63d76: Verifying Checksum 00:54:55 bab4dde63d76: Download complete 00:54:56 b85a868b505f: Pull complete 00:54:56 e2be974225ed: Pull complete 00:54:57 339a4e72a1f5: Pull complete 00:54:57 988bab9f4d93: Pull complete 00:54:57 1469e6f7b9e6: Pull complete 00:54:57 eaf3925da568: Pull complete 00:54:59 bab4dde63d76: Pull complete 00:54:59 bde34c3a00c8: Pull complete 00:54:59 b352a97aabf1: Pull complete 00:54:59 4872d77fe225: Pull complete 00:54:59 5851b861e8e6: Pull complete 00:55:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:00 prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container 00:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:55:03 $ docker top 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 -eo pid,comm 00:55:03 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). 00:55:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:03 [ssh-agent] Looking for ssh-agent implementation... 00:55:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:03 $ docker exec 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent 00:55:03 SSH_AUTH_SOCK=/tmp/ssh-ztE8iB1RfgsX/agent.32 00:55:03 SSH_AGENT_PID=38 00:55:03 Running ssh-add (command line suppressed) 00:55:03 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6982777943761817741.key (/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6982777943761817741.key) 00:55:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:04 + git tag --points-at HEAD [Pipeline] } 00:55:04 $ docker exec --env ******** --env ******** 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent -k 00:55:04 unset SSH_AUTH_SOCK; 00:55:04 unset SSH_AGENT_PID; 00:55:04 echo Agent pid 38 killed; 00:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:04 [ssh-agent] Looking for ssh-agent implementation... 00:55:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:04 $ docker exec 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent 00:55:04 SSH_AUTH_SOCK=/tmp/ssh-x29I3QTNVq2O/agent.72 00:55:04 SSH_AGENT_PID=78 00:55:04 Running ssh-add (command line suppressed) 00:55:04 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6299119865202031714.key (/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6299119865202031714.key) 00:55:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:04 + git semver init 00:55:05 2024-03-21 00:55:05,126 [run_init] DEBUG init version:0.0.0 force:False 00:55:05 2024-03-21 00:55:05,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver 00:55:05 2024-03-21 00:55:05,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-234/.semver 00:55:05 2024-03-21 00:55:05,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-234/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234, universal_newlines=False, shell=None, istream=None) 00:55:06 2024-03-21 00:55:06,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-234/.git/info/exclude 00:55:06 2024-03-21 00:55:06,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 with force:False 00:55:06 2024-03-21 00:55:06,323 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 00:55:06 2024-03-21 00:55:06,327 [execute] INFO git cat-file --batch-check 00:55:06 2024-03-21 00:55:06,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234/.semver, universal_newlines=False, shell=None, istream=) 00:55:06 2024-03-21 00:55:06,334 [execute] INFO git cat-file --batch 00:55:06 2024-03-21 00:55:06,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234/.semver, universal_newlines=False, shell=None, istream=) 00:55:06 2024-03-21 00:55:06,339 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 00:55:06 0.0.0 [Pipeline] } 00:55:06 $ docker exec --env ******** --env ******** 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent -k 00:55:06 unset SSH_AUTH_SOCK; 00:55:06 unset SSH_AGENT_PID; 00:55:06 echo Agent pid 78 killed; 00:55:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:07 + git semver [Pipeline] } 00:55:07 $ docker stop --time=1 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 00:55:08 $ docker rm -f --volumes 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 [Pipeline] // withDockerContainer [Pipeline] sh 00:55:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:09 Stashed 1 file(s) [Pipeline] echo 00:55:09 [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 00:55:10 provisioning config files... 00:55:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config4091548517071941507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:10 ---> ****-login.sh 00:55:10 nexus3.edgexfoundry.org:10001 00:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:10 Configure a credential helper to remove this warning. See 00:55:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:10 00:55:10 Login Succeeded 00:55:10 nexus3.edgexfoundry.org:10002 00:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:10 Configure a credential helper to remove this warning. See 00:55:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:10 00:55:10 Login Succeeded 00:55:10 nexus3.edgexfoundry.org:10003 00:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:10 Configure a credential helper to remove this warning. See 00:55:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:10 00:55:10 Login Succeeded 00:55:10 nexus3.edgexfoundry.org:10004 00:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:10 Configure a credential helper to remove this warning. See 00:55:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:10 00:55:10 Login Succeeded 00:55:10 ****.io 00:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:10 Configure a credential helper to remove this warning. See 00:55:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:10 00:55:10 Login Succeeded 00:55:10 ---> ****-login.sh ends [Pipeline] } 00:55:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:11 ========================================================= 00:55:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:55:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:55:11 Sending build context to Docker daemon 24.64MB 00:55:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:55:11 Step 2/12 : FROM ${BASE} AS builder 00:55:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:12 7264a8db6415: Pulling fs layer 00:55:12 c4d48a809fc2: Pulling fs layer 00:55:12 4f1c88b9dad5: Pulling fs layer 00:55:12 ad3a456e5733: Pulling fs layer 00:55:12 69c7f0334f64: Pulling fs layer 00:55:12 1f1c1a5573a3: Pulling fs layer 00:55:12 ce7588e14bc9: Pulling fs layer 00:55:12 b5e4710f87ac: Pulling fs layer 00:55:12 69c7f0334f64: Waiting 00:55:12 ad3a456e5733: Waiting 00:55:12 ce7588e14bc9: Waiting 00:55:12 b5e4710f87ac: Waiting 00:55:12 1f1c1a5573a3: Waiting 00:55:12 c4d48a809fc2: Verifying Checksum 00:55:12 c4d48a809fc2: Download complete 00:55:12 ad3a456e5733: Verifying Checksum 00:55:12 ad3a456e5733: Download complete 00:55:12 69c7f0334f64: Verifying Checksum 00:55:12 69c7f0334f64: Download complete 00:55:12 7264a8db6415: Verifying Checksum 00:55:12 7264a8db6415: Download complete 00:55:12 1f1c1a5573a3: Verifying Checksum 00:55:12 1f1c1a5573a3: Download complete 00:55:12 7264a8db6415: Pull complete 00:55:12 b5e4710f87ac: Verifying Checksum 00:55:12 b5e4710f87ac: Download complete 00:55:12 c4d48a809fc2: Pull complete 00:55:12 4f1c88b9dad5: Verifying Checksum 00:55:12 4f1c88b9dad5: Download complete 00:55:12 ce7588e14bc9: Verifying Checksum 00:55:12 ce7588e14bc9: Download complete 00:55:16 4f1c88b9dad5: Pull complete 00:55:16 ad3a456e5733: Pull complete 00:55:16 69c7f0334f64: Pull complete 00:55:16 1f1c1a5573a3: Pull complete 00:55:18 ce7588e14bc9: Pull complete 00:55:18 b5e4710f87ac: Pull complete 00:55:18 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 00:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:55:18 ---> 88b5674ff536 00:55:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:55:22 ---> Running in 7d4e15913e29 00:55:22 Removing intermediate container 7d4e15913e29 00:55:22 ---> 39c25a29e05a 00:55:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:22 ---> Running in c3cd7fe41927 00:55:22 Removing intermediate container c3cd7fe41927 00:55:22 ---> 6f59c78fd443 00:55:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:55:22 ---> Running in 396d1739d161 00:55:22 Removing intermediate container 396d1739d161 00:55:22 ---> ec99a0d336bb 00:55:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:55:22 ---> Running in 3636fddf6166 00:55:22 Removing intermediate container 3636fddf6166 00:55:22 ---> 49db34366d05 00:55:22 Step 7/12 : WORKDIR /device-gpio 00:55:22 ---> Running in fe41441af2e2 00:55:22 Removing intermediate container fe41441af2e2 00:55:22 ---> 7ea37293e649 00:55:22 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:22 ---> Running in 97213c168e55 00:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:55:23 (1/4) Installing openssh-keygen (9.3_p2-r1) 00:55:23 (2/4) Installing libedit (20221030.3.1-r1) 00:55:23 (3/4) Installing openssh-client-common (9.3_p2-r1) 00:55:23 (4/4) Installing openssh-client-default (9.3_p2-r1) 00:55:23 Executing busybox-1.36.1-r5.trigger 00:55:23 OK: 268 MiB in 56 packages 00:55:23 Removing intermediate container 97213c168e55 00:55:23 ---> bd549b269b2d 00:55:23 Step 9/12 : COPY go.mod vendor* ./ 00:55:23 ---> 2752bf51f7cd 00:55:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:23 ---> Running in 43ffe8f1f45c 00:55:24 Still waiting to schedule task 00:55:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-501’ 00:56:31 Removing intermediate container 43ffe8f1f45c 00:56:31 ---> 02fffc053637 00:56:31 Step 11/12 : COPY . . 00:56:31 ---> 9f734225e65e 00:56:31 Step 12/12 : RUN ${MAKE} 00:56:31 ---> Running in e2d5f382a788 00:56:31 noop 00:56:31 Removing intermediate container e2d5f382a788 00:56:31 ---> e1a79a25ba67 00:56:31 Successfully built e1a79a25ba67 00:56:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:32 + docker inspect -f . ci-base-image-x86_64 00:56:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:32 prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container 00:56:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@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 ******** ci-base-image-x86_64 cat 00:56:32 $ docker top 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:33 + go version 00:56:33 go version go1.21.0 linux/amd64 [Pipeline] } 00:56:33 $ docker stop --time=1 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 00:56:34 $ docker rm -f --volumes 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:35 + docker inspect -f . ci-base-image-x86_64 00:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:35 prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container 00:56:35 $ 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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@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 ******** ci-base-image-x86_64 cat 00:56:35 $ docker top ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-234 [Pipeline] fileExists [Pipeline] sh 00:56:36 + make test 00:56:36 go test ./... -coverprofile=coverage.out ./... 00:56:38 ? github.com/edgexfoundry/device-gpio [no test files] 00:56:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:56:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:57:04 go vet ./... 00:57:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:09 ./bin/test-attribution-txt.sh 00:57:09 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 00:57:09 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 00:57:09 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 00:57:09 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 00:57:09 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 00:57:09 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 00:57:09 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 00:57:09 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 00:57:09 An attribution for golang.org/x/term is missing from Attribution.txt, please add 00:57:09 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 00:57:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 00:57:09 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 00:57:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:57:09 $ docker stop --time=1 ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 00:57:13 $ docker rm -f --volumes ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:57:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:16 + ls -al . 00:57:16 total 220 00:57:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:56 . 00:57:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 00:54 .. 00:57:16 -rw-rw-r-- 1 jenkins jenkins 120 Mar 21 00:54 .dockerignore 00:57:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:56 .git 00:57:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 .github 00:57:16 -rw-rw-r-- 1 jenkins jenkins 277 Mar 21 00:54 .gitignore 00:57:16 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 00:54 .golangci.yml 00:57:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 00:55 .semver 00:57:16 -rw-rw-r-- 1 jenkins jenkins 10671 Mar 21 00:54 Attribution.txt 00:57:16 -rw-rw-r-- 1 jenkins jenkins 7171 Mar 21 00:54 CHANGELOG.md 00:57:16 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 21 00:54 Dockerfile 00:57:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 00:54 GOVERNANCE.md 00:57:16 -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 00:54 Jenkinsfile 00:57:16 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 00:54 LICENSE 00:57:16 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 21 00:54 Makefile 00:57:16 -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 00:54 OWNERS.md 00:57:16 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 21 00:54 README.md 00:57:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 00:55 VERSION 00:57:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 00:54 bin 00:57:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 cmd 00:57:16 -rw-r--r-- 1 jenkins jenkins 10 Mar 21 00:56 coverage.out 00:57:16 -rw-rw-r-- 1 jenkins jenkins 7045 Mar 21 00:54 go.mod 00:57:16 -rw-rw-r-- 1 jenkins jenkins 101873 Mar 21 00:54 go.sum 00:57:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 internal 00:57:16 -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:16 + 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=40e947a709d50bd7f8efbbb4adaff282e4b864bd --label arch=amd64 --label version=0.0.0 . 00:57:16 Sending build context to Docker daemon 24.64MB 00:57:16 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:57:16 Step 2/26 : FROM ${BASE} AS builder 00:57:16 ---> e1a79a25ba67 00:57:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:57:17 ---> Running in 2a753345c26f 00:57:17 Removing intermediate container 2a753345c26f 00:57:17 ---> e228d18b7597 00:57:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:17 ---> Running in 5150c37be307 00:57:17 Removing intermediate container 5150c37be307 00:57:17 ---> a168de873d4a 00:57:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:57:17 ---> Running in c205640e6130 00:57:17 Removing intermediate container c205640e6130 00:57:17 ---> 13c63f51abe1 00:57:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:57:17 ---> Running in 5bc2c9b7ce4c 00:57:17 Removing intermediate container 5bc2c9b7ce4c 00:57:17 ---> 0c5a0de49b5c 00:57:17 Step 7/26 : WORKDIR /device-gpio 00:57:17 ---> Running in 0465dc926423 00:57:17 Removing intermediate container 0465dc926423 00:57:17 ---> f8c288f95745 00:57:17 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:17 ---> Running in cbcca6fd8487 00:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:18 OK: 268 MiB in 56 packages 00:57:18 Removing intermediate container cbcca6fd8487 00:57:18 ---> 3d416e42720e 00:57:18 Step 9/26 : COPY go.mod vendor* ./ 00:57:19 ---> 44e7d43efd72 00:57:19 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:19 ---> Running in ff6d25658bed 00:57:19 Removing intermediate container ff6d25658bed 00:57:19 ---> f019078d9911 00:57:19 Step 11/26 : COPY . . 00:57:20 ---> 7ec9eb1f5b06 00:57:20 Step 12/26 : RUN ${MAKE} 00:57:20 ---> Running in eb7a2c1fbdda 00:57:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:57:52 Removing intermediate container eb7a2c1fbdda 00:57:52 ---> f9d631f8a504 00:57:52 Step 13/26 : FROM alpine:3.18 00:57:52 3.18: Pulling from library/alpine 00:57:52 619be1103602: Pulling fs layer 00:57:52 619be1103602: Download complete 00:57:52 619be1103602: Pull complete 00:57:52 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:57:52 Status: Downloaded newer image for alpine:3.18 00:57:52 ---> d3782b16ccc9 00:57:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:57:52 ---> Running in bd2ce867fa0d 00:57:52 Removing intermediate container bd2ce867fa0d 00:57:52 ---> 8ac499972700 00:57:52 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:57:52 ---> Running in a473579412fc 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:52 (1/1) Installing dumb-init (1.2.5-r2) 00:57:52 Executing busybox-1.36.1-r5.trigger 00:57:52 OK: 7 MiB in 16 packages 00:57:52 Removing intermediate container a473579412fc 00:57:52 ---> 87210c1044da 00:57:52 Step 16/26 : RUN apk --no-cache upgrade 00:57:52 ---> Running in 4d796c4be436 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:52 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:57:52 OK: 7 MiB in 16 packages 00:57:52 Removing intermediate container 4d796c4be436 00:57:52 ---> bc93fb37005c 00:57:52 Step 17/26 : WORKDIR / 00:57:52 ---> Running in 953faa9657e4 00:57:52 Removing intermediate container 953faa9657e4 00:57:52 ---> d587482bd082 00:57:52 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 00:57:52 ---> 75e45edbb58d 00:57:52 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 00:57:52 ---> 758b1515ede5 00:57:52 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 00:57:52 ---> f9b81fb0bc56 00:57:52 Step 21/26 : EXPOSE 59910 00:57:52 ---> Running in 544f7087bd94 00:57:52 Removing intermediate container 544f7087bd94 00:57:52 ---> bd4d87b94a2d 00:57:52 Step 22/26 : ENTRYPOINT ["/device-gpio"] 00:57:52 ---> Running in 13b133dcaf5a 00:57:52 Removing intermediate container 13b133dcaf5a 00:57:52 ---> d5ac35d2017c 00:57:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:52 ---> Running in 2d5e6c76a861 00:57:52 Removing intermediate container 2d5e6c76a861 00:57:52 ---> a1dbfdb2bb8c 00:57:52 Step 24/26 : LABEL arch=amd64 00:57:52 ---> Running in b97199d20ce4 00:57:52 Removing intermediate container b97199d20ce4 00:57:52 ---> a85d7b42d83e 00:57:52 Step 25/26 : LABEL git_sha=40e947a709d50bd7f8efbbb4adaff282e4b864bd 00:57:52 ---> Running in c66dd4a486d9 00:57:52 Removing intermediate container c66dd4a486d9 00:57:52 ---> 74648603304c 00:57:52 Step 26/26 : LABEL version=0.0.0 00:57:52 ---> Running in 73586fad1535 00:57:52 Removing intermediate container 73586fad1535 00:57:52 ---> 5a7ece76a820 00:57:52 [Warning] One or more build-args [ARCH] were not consumed 00:57:52 Successfully built 5a7ece76a820 00:57:52 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 00:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:53 00:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:53 latest: Pulling from edgex-lftools-log-publisher 00:57:53 5eb5b503b376: Pulling fs layer 00:57:53 5c69ac0246d0: Pulling fs layer 00:57:53 ec43610c2a17: Pulling fs layer 00:57:53 3a2ae6a8a46f: Pulling fs layer 00:57:53 33b1e0a273af: Pulling fs layer 00:57:53 5d3b04190fa2: Pulling fs layer 00:57:53 2f39f015ded8: Pulling fs layer 00:57:53 33b1e0a273af: Waiting 00:57:53 5d3b04190fa2: Waiting 00:57:53 2f39f015ded8: Waiting 00:57:53 5c69ac0246d0: Verifying Checksum 00:57:53 5c69ac0246d0: Download complete 00:57:53 3a2ae6a8a46f: Download complete 00:57:53 33b1e0a273af: Verifying Checksum 00:57:53 33b1e0a273af: Download complete 00:57:53 5d3b04190fa2: Verifying Checksum 00:57:53 5d3b04190fa2: Download complete 00:57:53 ec43610c2a17: Verifying Checksum 00:57:53 ec43610c2a17: Download complete 00:57:54 5eb5b503b376: Download complete 00:57:54 2f39f015ded8: Download complete 00:57:55 5eb5b503b376: Pull complete 00:57:55 5c69ac0246d0: Pull complete 00:57:55 ec43610c2a17: Pull complete 00:57:55 3a2ae6a8a46f: Pull complete 00:57:56 33b1e0a273af: Pull complete 00:57:56 5d3b04190fa2: Pull complete 00:58:00 2f39f015ded8: Pull complete 00:58:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:00 prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container 00:58:00 $ 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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:58:04 $ docker top acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:04 ---> job-cost.sh 00:58:04 lf-activate-venv: SKIPPING 00:58:04 INFO: No Stack... 00:58:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:58:05 INFO: Archiving Costs [Pipeline] sh 00:58:05 + cut -d, -f6 00:58:05 + cat /w/workspace/edgexfoundry_device-gpio_PR-234/archives/cost.csv [Pipeline] lock 00:58:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] 00:58:05 Resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] did not exist. Created. 00:58:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:58:06 + echo total: 0.2199999988079071 [Pipeline] stash 00:58:06 Stashed 1 file(s) [Pipeline] } 00:58:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:58:06 $ docker stop --time=1 acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 00:58:07 $ docker rm -f --volumes acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-503 in /w/workspace/edgexfoundry_device-gpio_PR-234 [Pipeline] { [Pipeline] ws 00:59:01 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:59:04 The recommended git tool is: git 00:59:09 using credential edgex-jenkins-ssh 00:59:09 Cloning the remote Git repository 00:59:09 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:59:09 > git init /w/workspace/device-gpio/1 # timeout=10 00:59:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:59:09 > git --version # timeout=10 00:59:09 > git --version # 'git version 2.25.1' 00:59:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:12 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:59:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:59:13 Merging remotes/origin/main commit f3c8a999d00a9f0c6dac2773c41abd43344389a2 into PR head commit 40e947a709d50bd7f8efbbb4adaff282e4b864bd 00:59:13 Merge succeeded, producing 40e947a709d50bd7f8efbbb4adaff282e4b864bd 00:59:13 Checking out Revision 40e947a709d50bd7f8efbbb4adaff282e4b864bd (PR-234) 00:59:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:59:13 > git --version # timeout=10 00:59:14 > git --version # 'git version 2.25.1' 00:59:14 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:59:13 > git config core.sparsecheckout # timeout=10 00:59:13 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 00:59:13 > git remote # timeout=10 00:59:13 > git config --get remote.origin.url # timeout=10 00:59:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:13 > git merge f3c8a999d00a9f0c6dac2773c41abd43344389a2 # timeout=10 00:59:13 > git rev-parse HEAD^{commit} # timeout=10 00:59:13 > git config core.sparsecheckout # timeout=10 00:59:13 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:18 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:18 Dload Upload Total Spent Left Speed 00:59:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 39109 0 --:--:-- --:--:-- --:--:-- 39229 [Pipeline] sh 00:59:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:19 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 00:59:19 /etc/docker/daemon.new 00:59:19 { 00:59:19 "registry-mirrors": [ 00:59:19 "https://nexus3.edgexfoundry.org:10001" 00:59:19 ], 00:59:19 "bip": "10.250.0.254/24", 00:59:19 "hosts": [ 00:59:19 "tcp://0.0.0.0:5555", 00:59:19 "unix:///var/run/docker.sock" 00:59:19 ], 00:59:19 "mtu": 1458, 00:59:19 "selinux-enabled": true, 00:59:19 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:19 } [Pipeline] sh 00:59:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:39 provisioning config files... 00:59:39 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10192676554151781680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:39 ---> ****-login.sh 00:59:39 nexus3.edgexfoundry.org:10001 00:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:40 Configure a credential helper to remove this warning. See 00:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:40 00:59:40 Login Succeeded 00:59:40 nexus3.edgexfoundry.org:10002 00:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:40 Configure a credential helper to remove this warning. See 00:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:40 00:59:40 Login Succeeded 00:59:40 nexus3.edgexfoundry.org:10003 00:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:40 Configure a credential helper to remove this warning. See 00:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:40 00:59:40 Login Succeeded 00:59:40 nexus3.edgexfoundry.org:10004 00:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 ****.io 00:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 ---> ****-login.sh ends [Pipeline] } 00:59:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:42 ========================================================= 00:59:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:59:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:59:43 Sending build context to Docker daemon 12.39MB 00:59:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:59:43 Step 2/12 : FROM ${BASE} AS builder 00:59:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:43 9fda8d8052c6: Pulling fs layer 00:59:43 5d54e960e981: Pulling fs layer 00:59:43 c4a7e357bf2a: Pulling fs layer 00:59:43 f0e02332f6b5: Pulling fs layer 00:59:43 872ee5b61b7b: Pulling fs layer 00:59:43 0c6a40ed1a82: Pulling fs layer 00:59:43 94ae7d8d031c: Pulling fs layer 00:59:43 f0e02332f6b5: Waiting 00:59:43 872ee5b61b7b: Waiting 00:59:43 0c6a40ed1a82: Waiting 00:59:43 94ae7d8d031c: Waiting 00:59:43 5d54e960e981: Verifying Checksum 00:59:43 5d54e960e981: Download complete 00:59:43 f0e02332f6b5: Verifying Checksum 00:59:43 f0e02332f6b5: Download complete 00:59:43 872ee5b61b7b: Verifying Checksum 00:59:43 872ee5b61b7b: Download complete 00:59:43 9fda8d8052c6: Download complete 00:59:44 94ae7d8d031c: Verifying Checksum 00:59:44 94ae7d8d031c: Download complete 00:59:44 9fda8d8052c6: Pull complete 00:59:45 5d54e960e981: Pull complete 00:59:45 c4a7e357bf2a: Verifying Checksum 00:59:45 c4a7e357bf2a: Download complete 00:59:46 0c6a40ed1a82: Verifying Checksum 00:59:46 0c6a40ed1a82: Download complete 00:59:58 c4a7e357bf2a: Pull complete 00:59:58 f0e02332f6b5: Pull complete 00:59:58 872ee5b61b7b: Pull complete 01:00:08 0c6a40ed1a82: Pull complete 01:00:09 94ae7d8d031c: Pull complete 01:00:09 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:00:09 ---> 86de565de09d 01:00:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:00:10 ---> Running in 02777ba959c9 01:00:10 Removing intermediate container 02777ba959c9 01:00:10 ---> 218aeb21ecc6 01:00:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:10 ---> Running in b6e08616c197 01:00:10 Removing intermediate container b6e08616c197 01:00:10 ---> b7a6bfe6f09a 01:00:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:00:10 ---> Running in 68a91ebeb08d 01:00:11 Removing intermediate container 68a91ebeb08d 01:00:11 ---> e8cf1dd1f959 01:00:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:00:11 ---> Running in 6bd7a4aad468 01:00:11 Removing intermediate container 6bd7a4aad468 01:00:11 ---> d4731a7ad53e 01:00:11 Step 7/12 : WORKDIR /device-gpio 01:00:11 ---> Running in 921ff29a7967 01:00:12 Removing intermediate container 921ff29a7967 01:00:12 ---> 0cf837442c68 01:00:12 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:12 ---> Running in 75f194acc8a1 01:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:00:14 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:00:15 (2/4) Installing libedit (20221030.3.1-r1) 01:00:15 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:00:15 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:00:15 Executing busybox-1.36.1-r5.trigger 01:00:15 OK: 271 MiB in 56 packages 01:00:16 Removing intermediate container 75f194acc8a1 01:00:16 ---> b6a71ad23ab0 01:00:16 Step 9/12 : COPY go.mod vendor* ./ 01:00:16 ---> c0696df54e7c 01:00:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:16 ---> Running in 124257b560e1 01:02:23 Removing intermediate container 124257b560e1 01:02:23 ---> a397461571ca 01:02:23 Step 11/12 : COPY . . 01:02:23 ---> bac6e5b7fa3c 01:02:23 Step 12/12 : RUN ${MAKE} 01:02:23 ---> Running in 90d5cfb5e1c4 01:02:23 noop 01:02:23 Removing intermediate container 90d5cfb5e1c4 01:02:23 ---> 992d07948af3 01:02:23 Successfully built 992d07948af3 01:02:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:23 + docker inspect -f . ci-base-image-arm64 01:02:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:24 prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container 01:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:25 $ docker top 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:26 + go version 01:02:26 go version go1.21.0 linux/arm64 [Pipeline] } 01:02:26 $ docker stop --time=1 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 01:02:27 $ docker rm -f --volumes 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:28 + docker inspect -f . ci-base-image-arm64 01:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:28 prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container 01:02:28 $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:29 $ docker top 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:30 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:02:30 + make test 01:02:30 go test ./... -coverprofile=coverage.out ./... 01:02:36 ? github.com/edgexfoundry/device-gpio [no test files] 01:04:57 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:04:57 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:04:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:04:57 go vet ./... 01:05:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:36 ./bin/test-attribution-txt.sh 01:05:36 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:05:36 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:05:36 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:05:36 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:05:36 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:05:36 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:05:36 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:05:36 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:05:36 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:05:36 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 01:05:36 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:05:36 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:05:36 $ docker stop --time=1 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 01:05:38 $ docker rm -f --volumes 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:40 Warning: overwriting stash ‘coverage-report’ 01:05:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:41 + ls -al . 01:05:41 total 216 01:05:41 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 01:02 . 01:05:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 00:59 .. 01:05:41 -rw-rw-r-- 1 jenkins jenkins 120 Mar 21 00:59 .dockerignore 01:05:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:59 .git 01:05:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 .github 01:05:41 -rw-rw-r-- 1 jenkins jenkins 277 Mar 21 00:59 .gitignore 01:05:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 00:59 .golangci.yml 01:05:41 -rw-rw-r-- 1 jenkins jenkins 10671 Mar 21 00:59 Attribution.txt 01:05:41 -rw-rw-r-- 1 jenkins jenkins 7171 Mar 21 00:59 CHANGELOG.md 01:05:41 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 21 00:59 Dockerfile 01:05:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 00:59 GOVERNANCE.md 01:05:41 -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 00:59 Jenkinsfile 01:05:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 00:59 LICENSE 01:05:41 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 21 00:59 Makefile 01:05:41 -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 00:59 OWNERS.md 01:05:41 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 21 00:59 README.md 01:05:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 00:55 VERSION 01:05:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 00:59 bin 01:05:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 cmd 01:05:41 -rw-r--r-- 1 jenkins jenkins 10 Mar 21 01:02 coverage.out 01:05:41 -rw-rw-r-- 1 jenkins jenkins 7045 Mar 21 00:59 go.mod 01:05:41 -rw-rw-r-- 1 jenkins jenkins 101873 Mar 21 00:59 go.sum 01:05:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 internal 01:05:41 -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:42 + 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=40e947a709d50bd7f8efbbb4adaff282e4b864bd --label arch=arm64 --label version=0.0.0 . 01:05:42 Sending build context to Docker daemon 12.39MB 01:05:42 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:05:42 Step 2/26 : FROM ${BASE} AS builder 01:05:42 ---> 992d07948af3 01:05:42 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:05:42 ---> Running in 6c8c2eaf9197 01:05:43 Removing intermediate container 6c8c2eaf9197 01:05:43 ---> a477d71610ee 01:05:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:43 ---> Running in 8ec622d35a75 01:05:43 Removing intermediate container 8ec622d35a75 01:05:43 ---> 4bdf01ea5783 01:05:43 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:05:43 ---> Running in 2dc930a125a4 01:05:43 Removing intermediate container 2dc930a125a4 01:05:43 ---> 066378fe84be 01:05:43 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:05:43 ---> Running in 936efe807a3c 01:05:44 Removing intermediate container 936efe807a3c 01:05:44 ---> f763ef33a683 01:05:44 Step 7/26 : WORKDIR /device-gpio 01:05:44 ---> Running in b5f5e295fe0f 01:05:44 Removing intermediate container b5f5e295fe0f 01:05:44 ---> 67713de73607 01:05:44 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:44 ---> Running in 4ddbe433f66a 01:05:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:05:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:05:47 OK: 271 MiB in 56 packages 01:05:47 Removing intermediate container 4ddbe433f66a 01:05:47 ---> a8d363f0c899 01:05:47 Step 9/26 : COPY go.mod vendor* ./ 01:05:48 ---> aca620be0e50 01:05:48 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:48 ---> Running in d8f179933ca9 01:05:51 Removing intermediate container d8f179933ca9 01:05:51 ---> 4da5484b2caa 01:05:51 Step 11/26 : COPY . . 01:05:52 ---> 6ddf00de6bdc 01:05:52 Step 12/26 : RUN ${MAKE} 01:05:52 ---> Running in 7c175fd31510 01:05:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:08:44 Removing intermediate container 7c175fd31510 01:08:44 ---> bd75c5297d35 01:08:44 Step 13/26 : FROM alpine:3.18 01:08:44 3.18: Pulling from library/alpine 01:08:44 c6b39de5b339: Pulling fs layer 01:08:44 c6b39de5b339: Verifying Checksum 01:08:44 c6b39de5b339: Download complete 01:08:44 c6b39de5b339: Pull complete 01:08:44 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:08:44 Status: Downloaded newer image for alpine:3.18 01:08:44 ---> 33abbf032149 01:08:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:08:44 ---> Running in 488dff3f7ff6 01:08:44 Removing intermediate container 488dff3f7ff6 01:08:44 ---> 53f90710dd0a 01:08:44 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:08:44 ---> Running in c371e7223492 01:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:08:44 (1/1) Installing dumb-init (1.2.5-r2) 01:08:44 Executing busybox-1.36.1-r5.trigger 01:08:44 OK: 8 MiB in 16 packages 01:08:44 Removing intermediate container c371e7223492 01:08:44 ---> 7fa21424cf26 01:08:44 Step 16/26 : RUN apk --no-cache upgrade 01:08:44 ---> Running in ba40faec6235 01:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:08:44 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 01:08:44 OK: 8 MiB in 16 packages 01:08:44 Removing intermediate container ba40faec6235 01:08:44 ---> ca4eb6322f54 01:08:44 Step 17/26 : WORKDIR / 01:08:44 ---> Running in 8b84f49e0609 01:08:44 Removing intermediate container 8b84f49e0609 01:08:44 ---> d732edeb8b9e 01:08:44 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:08:44 ---> bee00432541f 01:08:44 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:08:44 ---> 1293db68b3ab 01:08:44 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:08:44 ---> 750b7a56ee7f 01:08:44 Step 21/26 : EXPOSE 59910 01:08:44 ---> Running in 1a8423389211 01:08:44 Removing intermediate container 1a8423389211 01:08:44 ---> 44483c5526a2 01:08:44 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:08:44 ---> Running in a8ec5d346a6e 01:08:44 Removing intermediate container a8ec5d346a6e 01:08:44 ---> cb035e466a26 01:08:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:08:44 ---> Running in 42f658dd7b73 01:08:44 Removing intermediate container 42f658dd7b73 01:08:44 ---> cc475d54e497 01:08:44 Step 24/26 : LABEL arch=arm64 01:08:44 ---> Running in 86059bc0e16c 01:08:44 Removing intermediate container 86059bc0e16c 01:08:44 ---> 354bccc0e21d 01:08:44 Step 25/26 : LABEL git_sha=40e947a709d50bd7f8efbbb4adaff282e4b864bd 01:08:44 ---> Running in 6dba928fc2c9 01:08:44 Removing intermediate container 6dba928fc2c9 01:08:44 ---> 5a8bb68375ec 01:08:44 Step 26/26 : LABEL version=0.0.0 01:08:44 ---> Running in a6072b4d2d56 01:08:45 Removing intermediate container a6072b4d2d56 01:08:45 ---> 7bb6e813cf4c 01:08:45 [Warning] One or more build-args [ARCH] were not consumed 01:08:45 Successfully built 7bb6e813cf4c 01:08:45 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 01:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:08:46 01:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:08:46 arm64: Pulling from edgex-lftools-log-publisher 01:08:46 8998bd30e6a1: Pulling fs layer 01:08:46 04944245beec: Pulling fs layer 01:08:46 699f458cf7ca: Pulling fs layer 01:08:46 765212b225bb: Pulling fs layer 01:08:46 f23df028b6ca: Pulling fs layer 01:08:46 d65c8cfc05b1: Pulling fs layer 01:08:46 2437ff75d9bd: Pulling fs layer 01:08:46 f23df028b6ca: Waiting 01:08:46 d65c8cfc05b1: Waiting 01:08:46 2437ff75d9bd: Waiting 01:08:46 765212b225bb: Waiting 01:08:46 04944245beec: Verifying Checksum 01:08:46 04944245beec: Download complete 01:08:46 765212b225bb: Verifying Checksum 01:08:46 f23df028b6ca: Verifying Checksum 01:08:46 f23df028b6ca: Download complete 01:08:46 d65c8cfc05b1: Verifying Checksum 01:08:46 d65c8cfc05b1: Download complete 01:08:46 699f458cf7ca: Verifying Checksum 01:08:46 699f458cf7ca: Download complete 01:08:47 8998bd30e6a1: Verifying Checksum 01:08:47 8998bd30e6a1: Download complete 01:08:49 2437ff75d9bd: Verifying Checksum 01:08:49 2437ff75d9bd: Download complete 01:08:52 8998bd30e6a1: Pull complete 01:08:52 04944245beec: Pull complete 01:08:54 699f458cf7ca: Pull complete 01:08:54 765212b225bb: Pull complete 01:08:55 f23df028b6ca: Pull complete 01:08:55 d65c8cfc05b1: Pull complete 01:09:13 2437ff75d9bd: Pull complete 01:09:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:13 prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container 01:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:09:16 $ docker top 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:17 ---> job-cost.sh 01:09:17 lf-activate-venv: SKIPPING 01:09:17 INFO: No Stack... 01:09:17 INFO: Retrieving Pricing Info for: v3-standard-4 01:09:18 INFO: Archiving Costs [Pipeline] sh 01:09:19 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:09:19 + cut -d, -f6 [Pipeline] lock 01:09:19 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] 01:09:19 Resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] did not exist. Created. 01:09:19 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:09:20 /w/workspace/device-gpio/1@tmp/durable-565ec729/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:09:20 + echo total: 0.10999999940395355 [Pipeline] stash 01:09:20 Warning: overwriting stash ‘stack-cost’ 01:09:20 Stashed 1 file(s) [Pipeline] } 01:09:20 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:09:20 $ docker stop --time=1 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b 01:09:22 $ docker rm -f --volumes 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b [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 01:09:23 provisioning config files... 01:09:23 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config9812787791809651446tmp [Pipeline] { [Pipeline] sh 01:09:23 + set +x 01:09:23 + curl -s https://codecov.io/bash 01:09:23 + bash -s -- 01:09:24 01:09:24 _____ _ 01:09:24 / ____| | | 01:09:24 | | ___ __| | ___ ___ _____ __ 01:09:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:09:24 | |___| (_) | (_| | __/ (_| (_) \ V / 01:09:24 \_____\___/ \__,_|\___|\___\___/ \_/ 01:09:24 Bash-1.0.6 01:09:24 01:09:24 01:09:24 ==> git version 2.25.1 found 01:09:24 ==> 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 01:09:24 Release-Date: 2020-01-08 01:09:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:09:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:09:24 ==> Jenkins CI detected. 01:09:24 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-234 01:09:24 project root: . 01:09:24 --> token set from env 01:09:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:09:24 ==> Running gcov in . (disable via -X gcov) 01:09:24 ==> Python coveragepy not found 01:09:24 ==> Searching for coverage reports in: 01:09:24 + . 01:09:24 -> Found 1 reports 01:09:24 ==> Detecting git/mercurial file structure 01:09:24 ==> Reading reports 01:09:24 + ./coverage.out bytes=10 01:09:24 ==> Appending adjustments 01:09:24 https://docs.codecov.io/docs/fixing-reports 01:09:24 + Found adjustments 01:09:24 ==> Gzipping contents 01:09:24 4.0K /tmp/codecov.gxqHh1.gz 01:09:24 ==> Uploading reports 01:09:24 url: https://codecov.io 01:09:24 query: branch=PR-234&commit=40e947a709d50bd7f8efbbb4adaff282e4b864bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=234&job=&cmd_args= 01:09:24 -> Pinging Codecov 01:09:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-234&commit=40e947a709d50bd7f8efbbb4adaff282e4b864bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=234&job=&cmd_args= 01:09:24 -> Uploading to 01:09:24 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/40e947a709d50bd7f8efbbb4adaff282e4b864bd/e42cb873-18db-4ae8-bb82-1fddbcb589d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T010924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b16a253c82b65bb67d047165a2b903a8e386d6a9a819191afc5b40823ff4ffdb 01:09:24 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:24 Dload Upload Total Spent Left Speed 01:09:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2216 --:--:-- --:--:-- --:--:-- 2216 01:09:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] } 01:09:25 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 01:09:27 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-234/archives ] 01:09:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-234/archives 01:09:27 total 16 01:09:27 drwxr-xr-x 3 root root 4096 Mar 21 00:58 . 01:09:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 00:58 .. 01:09:27 drwxr-xr-x 2 root root 4096 Mar 21 00:58 cost 01:09:27 -rw-r--r-- 1 root root 83 Mar 21 00:58 cost.csv 01:09:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-234/archives 01:09:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-234/archives 01:09:27 total 16 01:09:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 00:58 . 01:09:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 00:58 .. 01:09:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 00:58 cost 01:09:27 -rw-r--r-- 1 jenkins jenkins 83 Mar 21 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:09:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:09:28 ---> package-listing.sh 01:09:28 ++ facter osfamily 01:09:28 ++ tr '[:upper:]' '[:lower:]' 01:09:28 + OS_FAMILY=debian 01:09:28 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-234 01:09:28 + START_PACKAGES=/tmp/packages_start.txt 01:09:28 + END_PACKAGES=/tmp/packages_end.txt 01:09:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:09:28 + PACKAGES=/tmp/packages_start.txt 01:09:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-234 ']' 01:09:28 + PACKAGES=/tmp/packages_end.txt 01:09:28 + case "${OS_FAMILY}" in 01:09:28 + dpkg -l 01:09:28 + grep '^ii' 01:09:28 + '[' -f /tmp/packages_start.txt ']' 01:09:28 + '[' -f /tmp/packages_end.txt ']' 01:09:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:09:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-234 ']' 01:09:28 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-234/archives/ 01:09:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-234/archives/ [Pipeline] echo 01:09:28 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:09:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:09:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:29 prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container 01:09:29 $ 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-234/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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@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-lftools-log-publisher:latest cat 01:09:29 $ docker top 0132c30d496f6d72586cbae7eb0a3767a7636a036e657e46e0b7efdee9bdffe7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:09:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:09:30 + ls /var/log/sa-host 01:09:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:31 provisioning config files... 01:09:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config15394837294264042295tmp [Pipeline] { [Pipeline] echo 01:09:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:09:31 ---> create-netrc.sh [Pipeline] } 01:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:09:31 ---> python-tools-install.sh [Pipeline] echo 01:09:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:09:32 ---> sudo-logs.sh 01:09:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:09:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:09:32 ---> job-cost.sh 01:09:32 lf-activate-venv: SKIPPING 01:09:32 DEBUG: total: 0.2199999988079071 01:09:32 INFO: Retrieving Stack Cost... 01:09:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:09:33 INFO: Archiving Costs [Pipeline] echo 01:09:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:09:33 ---> logs-deploy.sh 01:09:33 lf-activate-venv: SKIPPING 01:09:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-234/1 01:09:33 INFO: archiving workspace using pattern(s): 01:09:34 Archives upload complete. 01:09:34 INFO: archiving logs to Nexus