Pull request #221 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77530bbb1f6a91a8852a226c6254e6d40ccef75b+10c8498a836d213a72528a39cca8cbe97667fe45 (5ee407ceb360acbc34bc090054c30b936cf71fbd) 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-ssh11058933041854967350.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-ssh4769373716033691990.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-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4305893232244525123.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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17064734336515286799.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-ssh17485972686855302413.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16733294409081886731.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 ‘prd-centos7-blackbox-4c-2g-23876’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24121’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24123 in /w/workspace/edgexfoundry_device-gpio_PR-221 [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-221 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 10c8498a836d213a72528a39cca8cbe97667fe45 into PR head commit 77530bbb1f6a91a8852a226c6254e6d40ccef75b Merge succeeded, producing 77530bbb1f6a91a8852a226c6254e6d40ccef75b Checking out Revision 77530bbb1f6a91a8852a226c6254e6d40ccef75b (PR-221) 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 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/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77530bbb1f6a91a8852a226c6254e6d40ccef75b # 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 10c8498a836d213a72528a39cca8cbe97667fe45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77530bbb1f6a91a8852a226c6254e6d40ccef75b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:22:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:22:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:22:41 ========================================================= 00:22:41 EdgeX Global Pipelines Version Info 00:22:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:22:42 ------------------- 00:22:42 stable info: 00:22:42 ------------------- 00:22:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:22:42 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:22:42 Message: update stable to v1.0.258 00:22:42 ------------------- 00:22:42 experimental info: 00:22:42 ------------------- 00:22:42 Commited By: **** collab-it+edgex@linuxfoundation.org 00:22:42 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:22:42 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:22:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo 00:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo 00:22:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77530bbb1f6a91a8852a226c6254e6d40ccef75b [Pipeline] echo 00:22:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77530bb [Pipeline] echo 00:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:45 provisioning config files... 00:22:45 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/config3266370637978491455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:45 ---> ****-login.sh 00:22:45 nexus3.edgexfoundry.org:10001 00:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:46 Configure a credential helper to remove this warning. See 00:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:46 00:22:46 Login Succeeded 00:22:46 nexus3.edgexfoundry.org:10002 00:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:46 Configure a credential helper to remove this warning. See 00:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:46 00:22:46 Login Succeeded 00:22:46 nexus3.edgexfoundry.org:10003 00:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:46 Configure a credential helper to remove this warning. See 00:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:46 00:22:46 Login Succeeded 00:22:46 nexus3.edgexfoundry.org:10004 00:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:46 Configure a credential helper to remove this warning. See 00:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:46 00:22:46 Login Succeeded 00:22:46 ****.io 00:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:46 Configure a credential helper to remove this warning. See 00:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:46 00:22:46 Login Succeeded 00:22:46 ---> ****-login.sh ends [Pipeline] } 00:22:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:22:47 + git rev-list -1 --merges 77530bbb1f6a91a8852a226c6254e6d40ccef75b~1..77530bbb1f6a91a8852a226c6254e6d40ccef75b [Pipeline] echo 00:22:47 -----------> git rev-list -1 --merges 77530bbb1f6a91a8852a226c6254e6d40ccef75b~1..77530bbb1f6a91a8852a226c6254e6d40ccef75b 77530bbb1f6a91a8852a226c6254e6d40ccef75b [false] [Pipeline] sh 00:22:47 + git log --format=format:%s -1 77530bbb1f6a91a8852a226c6254e6d40ccef75b [Pipeline] echo 00:22:47 ========================================================= 00:22:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:22:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:48 + git log --format=format:%s -1 77530bbb1f6a91a8852a226c6254e6d40ccef75b [Pipeline] echo 00:22:48 [semverPrep] GIT_COMMIT: 77530bbb1f6a91a8852a226c6254e6d40ccef75b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:22:48 [semverPrep] This is not a build commit. [Pipeline] sh 00:22:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:22:48 + grep -v github /etc/ssh/ssh_known_hosts 00:22:48 + [ -e /tmp/ssh_known_hosts ] 00:22:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:22:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:22:48 + sudo tee -a /etc/ssh/ssh_known_hosts 00:22:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:49 00:22:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:49 0.1.4: Pulling from edgex-devops/py-git-semver 00:22:49 b85a868b505f: Pulling fs layer 00:22:49 e2be974225ed: Pulling fs layer 00:22:49 339a4e72a1f5: Pulling fs layer 00:22:49 988bab9f4d93: Pulling fs layer 00:22:49 1469e6f7b9e6: Pulling fs layer 00:22:49 eaf3925da568: Pulling fs layer 00:22:49 bab4dde63d76: Pulling fs layer 00:22:49 bde34c3a00c8: Pulling fs layer 00:22:49 b352a97aabf1: Pulling fs layer 00:22:49 4872d77fe225: Pulling fs layer 00:22:49 5851b861e8e6: Pulling fs layer 00:22:49 988bab9f4d93: Waiting 00:22:49 eaf3925da568: Waiting 00:22:49 bde34c3a00c8: Waiting 00:22:49 1469e6f7b9e6: Waiting 00:22:49 b352a97aabf1: Waiting 00:22:49 bab4dde63d76: Waiting 00:22:49 4872d77fe225: Waiting 00:22:49 e2be974225ed: Download complete 00:22:49 988bab9f4d93: Verifying Checksum 00:22:49 988bab9f4d93: Download complete 00:22:49 1469e6f7b9e6: Verifying Checksum 00:22:49 1469e6f7b9e6: Download complete 00:22:49 eaf3925da568: Verifying Checksum 00:22:49 eaf3925da568: Download complete 00:22:49 339a4e72a1f5: Verifying Checksum 00:22:49 339a4e72a1f5: Download complete 00:22:49 bde34c3a00c8: Verifying Checksum 00:22:49 b352a97aabf1: Verifying Checksum 00:22:49 b352a97aabf1: Download complete 00:22:49 4872d77fe225: Verifying Checksum 00:22:49 4872d77fe225: Download complete 00:22:49 5851b861e8e6: Verifying Checksum 00:22:49 5851b861e8e6: Download complete 00:22:49 b85a868b505f: Download complete 00:22:50 bab4dde63d76: Verifying Checksum 00:22:50 bab4dde63d76: Download complete 00:22:51 b85a868b505f: Pull complete 00:22:51 e2be974225ed: Pull complete 00:22:51 339a4e72a1f5: Pull complete 00:22:51 988bab9f4d93: Pull complete 00:22:52 1469e6f7b9e6: Pull complete 00:22:52 eaf3925da568: Pull complete 00:22:54 bab4dde63d76: Pull complete 00:22:54 bde34c3a00c8: Pull complete 00:22:54 b352a97aabf1: Pull complete 00:22:54 4872d77fe225: Pull complete 00:22:54 5851b861e8e6: Pull complete 00:22:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:22:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:54 prd-ubuntu20.04-docker-8c-8g-24123 does not seem to be running inside a container 00:22:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-221 -v /w/workspace/edgexfoundry_device-gpio_PR-221:/w/workspace/edgexfoundry_device-gpio_PR-221:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-221@tmp:/w/workspace/edgexfoundry_device-gpio_PR-221@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:22:58 $ docker top e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba -eo pid,comm 00:22:58 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:22:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:22:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:58 [ssh-agent] Looking for ssh-agent implementation... 00:22:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:58 $ docker exec e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba ssh-agent 00:22:58 SSH_AUTH_SOCK=/tmp/ssh-9HicXBofHysm/agent.32 00:22:58 SSH_AGENT_PID=38 00:22:58 Running ssh-add (command line suppressed) 00:22:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-221@tmp/private_key_15452123261643266881.key (/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/private_key_15452123261643266881.key) 00:22:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:59 + git tag --points-at HEAD [Pipeline] } 00:22:59 $ docker exec --env ******** --env ******** e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba ssh-agent -k 00:22:59 unset SSH_AUTH_SOCK; 00:22:59 unset SSH_AGENT_PID; 00:22:59 echo Agent pid 38 killed; 00:22:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:22:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:59 [ssh-agent] Looking for ssh-agent implementation... 00:22:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:59 $ docker exec e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba ssh-agent 00:22:59 SSH_AUTH_SOCK=/tmp/ssh-XnxbYXxIRuQY/agent.70 00:22:59 SSH_AGENT_PID=76 00:22:59 Running ssh-add (command line suppressed) 00:22:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-221@tmp/private_key_17876060863033603335.key (/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/private_key_17876060863033603335.key) 00:22:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:23:00 + git semver init 00:23:00 2023-12-06 00:23:00,529 [run_init] DEBUG init version:0.0.0 force:False 00:23:00 2023-12-06 00:23:00,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-221/.semver 00:23:00 2023-12-06 00:23:00,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-221/.semver 00:23:00 2023-12-06 00:23:00,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-221/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-221, universal_newlines=False, shell=None, istream=None) 00:23:01 2023-12-06 00:23:01,821 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-221/.git/info/exclude 00:23:01 2023-12-06 00:23:01,822 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-221/.semver/PR-221 with force:False 00:23:01 2023-12-06 00:23:01,822 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-221/.semver/PR-221 00:23:01 2023-12-06 00:23:01,826 [execute] INFO git cat-file --batch-check 00:23:01 2023-12-06 00:23:01,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-221/.semver, universal_newlines=False, shell=None, istream=) 00:23:01 2023-12-06 00:23:01,833 [execute] INFO git cat-file --batch 00:23:01 2023-12-06 00:23:01,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-221/.semver, universal_newlines=False, shell=None, istream=) 00:23:01 2023-12-06 00:23:01,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-221/.semver/PR-221 00:23:01 0.0.0 [Pipeline] } 00:23:02 $ docker exec --env ******** --env ******** e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba ssh-agent -k 00:23:02 unset SSH_AUTH_SOCK; 00:23:02 unset SSH_AGENT_PID; 00:23:02 echo Agent pid 76 killed; 00:23:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:23:02 + git semver [Pipeline] } 00:23:02 $ docker stop --time=1 e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba 00:23:04 $ docker rm -f --volumes e238ef3b4facff15c6b377e010ac569bbdaa0d2ce2ca188d6a8b84436d1473ba [Pipeline] // withDockerContainer [Pipeline] sh 00:23:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:23:05 Stashed 1 file(s) [Pipeline] echo 00:23:05 [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:23:05 provisioning config files... 00:23:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/config10567351824870504034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:06 ---> ****-login.sh 00:23:06 nexus3.edgexfoundry.org:10001 00:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:06 Configure a credential helper to remove this warning. See 00:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:06 00:23:06 Login Succeeded 00:23:06 nexus3.edgexfoundry.org:10002 00:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:06 Configure a credential helper to remove this warning. See 00:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:06 00:23:06 Login Succeeded 00:23:06 nexus3.edgexfoundry.org:10003 00:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:06 Configure a credential helper to remove this warning. See 00:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:06 00:23:06 Login Succeeded 00:23:06 nexus3.edgexfoundry.org:10004 00:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:06 Configure a credential helper to remove this warning. See 00:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:06 00:23:06 Login Succeeded 00:23:06 ****.io 00:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:06 Configure a credential helper to remove this warning. See 00:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:06 00:23:06 Login Succeeded 00:23:06 ---> ****-login.sh ends [Pipeline] } 00:23:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:23:07 ========================================================= 00:23:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:23:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:07 + 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:23:07 Sending build context to Docker daemon 24.48MB 00:23:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:23:07 Step 2/12 : FROM ${BASE} AS builder 00:23:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:23:08 7264a8db6415: Pulling fs layer 00:23:08 c4d48a809fc2: Pulling fs layer 00:23:08 4f1c88b9dad5: Pulling fs layer 00:23:08 ad3a456e5733: Pulling fs layer 00:23:08 69c7f0334f64: Pulling fs layer 00:23:08 1f1c1a5573a3: Pulling fs layer 00:23:08 ce7588e14bc9: Pulling fs layer 00:23:08 b5e4710f87ac: Pulling fs layer 00:23:08 ad3a456e5733: Waiting 00:23:08 69c7f0334f64: Waiting 00:23:08 1f1c1a5573a3: Waiting 00:23:08 ce7588e14bc9: Waiting 00:23:08 c4d48a809fc2: Verifying Checksum 00:23:08 c4d48a809fc2: Download complete 00:23:08 ad3a456e5733: Verifying Checksum 00:23:08 ad3a456e5733: Download complete 00:23:08 69c7f0334f64: Verifying Checksum 00:23:08 69c7f0334f64: Download complete 00:23:08 7264a8db6415: Verifying Checksum 00:23:08 7264a8db6415: Download complete 00:23:08 1f1c1a5573a3: Verifying Checksum 00:23:08 1f1c1a5573a3: Download complete 00:23:08 7264a8db6415: Pull complete 00:23:08 b5e4710f87ac: Verifying Checksum 00:23:08 b5e4710f87ac: Download complete 00:23:08 c4d48a809fc2: Pull complete 00:23:08 4f1c88b9dad5: Download complete 00:23:08 ce7588e14bc9: Verifying Checksum 00:23:08 ce7588e14bc9: Download complete 00:23:12 4f1c88b9dad5: Pull complete 00:23:12 ad3a456e5733: Pull complete 00:23:12 69c7f0334f64: Pull complete 00:23:12 1f1c1a5573a3: Pull complete 00:23:14 ce7588e14bc9: Pull complete 00:23:15 b5e4710f87ac: Pull complete 00:23:15 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 00:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:23:15 ---> 88b5674ff536 00:23:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:23:19 ---> Running in 436419bdd23f 00:23:19 Removing intermediate container 436419bdd23f 00:23:19 ---> ca0e92987e5f 00:23:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:23:19 ---> Running in 8ff0f9304b3c 00:23:19 Removing intermediate container 8ff0f9304b3c 00:23:19 ---> 9a0d6e2af5f7 00:23:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:23:19 ---> Running in b9a710e64314 00:23:19 Removing intermediate container b9a710e64314 00:23:19 ---> 96dadef88873 00:23:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:23:19 ---> Running in 44d28171f51c 00:23:19 Removing intermediate container 44d28171f51c 00:23:19 ---> b44363292918 00:23:19 Step 7/12 : WORKDIR /device-gpio 00:23:19 ---> Running in 7c4314b4c40f 00:23:19 Removing intermediate container 7c4314b4c40f 00:23:19 ---> f1ec25f1027b 00:23:19 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:20 ---> Running in a7527c68f9a4 00:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:23:20 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:23:20 (2/4) Installing libedit (20221030.3.1-r1) 00:23:20 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:23:20 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:23:20 Executing busybox-1.36.1-r5.trigger 00:23:20 Still waiting to schedule task 00:23:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24120’ 00:23:20 OK: 268 MiB in 56 packages 00:23:21 Removing intermediate container a7527c68f9a4 00:23:21 ---> fa062619c16b 00:23:21 Step 9/12 : COPY go.mod vendor* ./ 00:23:21 ---> 663043a2fdc2 00:23:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:21 ---> Running in 97e845797291 00:24:00 Removing intermediate container 97e845797291 00:24:00 ---> e7f3deb906d6 00:24:00 Step 11/12 : COPY . . 00:24:00 ---> bed39849eb92 00:24:00 Step 12/12 : RUN ${MAKE} 00:24:00 ---> Running in 3ea8cb035027 00:24:00 noop 00:24:00 Removing intermediate container 3ea8cb035027 00:24:00 ---> 5bb60e2c680d 00:24:00 Successfully built 5bb60e2c680d 00:24:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:00 + docker inspect -f . ci-base-image-x86_64 00:24:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:00 prd-ubuntu20.04-docker-8c-8g-24123 does not seem to be running inside a container 00:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-221 -v /w/workspace/edgexfoundry_device-gpio_PR-221:/w/workspace/edgexfoundry_device-gpio_PR-221:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-221@tmp:/w/workspace/edgexfoundry_device-gpio_PR-221@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:24:01 $ docker top bdd5259be60001a5e8c46008c122e876bd7253127edc3f34436d8c63ad694401 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:01 + go version 00:24:01 go version go1.21.0 linux/amd64 [Pipeline] } 00:24:01 $ docker stop --time=1 bdd5259be60001a5e8c46008c122e876bd7253127edc3f34436d8c63ad694401 00:24:02 $ docker rm -f --volumes bdd5259be60001a5e8c46008c122e876bd7253127edc3f34436d8c63ad694401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:03 + docker inspect -f . ci-base-image-x86_64 00:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:04 prd-ubuntu20.04-docker-8c-8g-24123 does not seem to be running inside a container 00:24:04 $ 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-221 -v /w/workspace/edgexfoundry_device-gpio_PR-221:/w/workspace/edgexfoundry_device-gpio_PR-221:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-221@tmp:/w/workspace/edgexfoundry_device-gpio_PR-221@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:24:04 $ docker top 4819907cce010514d536615c1d4da412d2997e1ae5e1b1d47f614504bc0835ce -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-221 [Pipeline] fileExists [Pipeline] sh 00:24:05 + make test 00:24:05 go test ./... -coverprofile=coverage.out ./... 00:24:06 ? github.com/edgexfoundry/device-gpio [no test files] 00:24:18 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:24:18 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:24:24 go vet ./... 00:24:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:24:27 $ docker stop --time=1 4819907cce010514d536615c1d4da412d2997e1ae5e1b1d47f614504bc0835ce 00:24:30 $ docker rm -f --volumes 4819907cce010514d536615c1d4da412d2997e1ae5e1b1d47f614504bc0835ce [Pipeline] // withDockerContainer [Pipeline] sh 00:24:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:24:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:32 + ls -al . 00:24:32 total 152 00:24:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 00:24 . 00:24:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 00:22 .. 00:24:32 -rw-rw-r-- 1 jenkins jenkins 120 Dec 6 00:22 .dockerignore 00:24:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 00:24 .git 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:22 .github 00:24:32 -rw-rw-r-- 1 jenkins jenkins 277 Dec 6 00:22 .gitignore 00:24:32 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 00:22 .golangci.yml 00:24:32 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 00:23 .semver 00:24:32 -rw-rw-r-- 1 jenkins jenkins 10671 Dec 6 00:22 Attribution.txt 00:24:32 -rw-rw-r-- 1 jenkins jenkins 7171 Dec 6 00:22 CHANGELOG.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 1661 Dec 6 00:22 Dockerfile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 00:22 GOVERNANCE.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 657 Dec 6 00:22 Jenkinsfile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 00:22 LICENSE 00:24:32 -rw-rw-r-- 1 jenkins jenkins 1923 Dec 6 00:22 Makefile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 617 Dec 6 00:22 OWNERS.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 6 00:22 README.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 00:23 VERSION 00:24:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 00:22 bin 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:22 cmd 00:24:32 -rw-r--r-- 1 jenkins jenkins 10 Dec 6 00:24 coverage.out 00:24:32 -rw-rw-r-- 1 jenkins jenkins 3693 Dec 6 00:22 go.mod 00:24:32 -rw-rw-r-- 1 jenkins jenkins 35440 Dec 6 00:22 go.sum 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:22 internal 00:24:32 -rw-rw-r-- 1 jenkins jenkins 209 Dec 6 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:32 + 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=77530bbb1f6a91a8852a226c6254e6d40ccef75b --label arch=amd64 --label version=0.0.0 . 00:24:32 Sending build context to Docker daemon 24.48MB 00:24:32 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:24:32 Step 2/26 : FROM ${BASE} AS builder 00:24:32 ---> 5bb60e2c680d 00:24:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:24:33 ---> Running in ec153e12b0ff 00:24:33 Removing intermediate container ec153e12b0ff 00:24:33 ---> 1e47e7b5947b 00:24:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:33 ---> Running in 6d5b57df31af 00:24:33 Removing intermediate container 6d5b57df31af 00:24:33 ---> fb7f7edb3f5c 00:24:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:24:33 ---> Running in 1d0dd712ce3c 00:24:33 Removing intermediate container 1d0dd712ce3c 00:24:33 ---> 8fd78dda3ede 00:24:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:24:33 ---> Running in 0e3b54e30114 00:24:33 Removing intermediate container 0e3b54e30114 00:24:33 ---> aef2aea6476b 00:24:33 Step 7/26 : WORKDIR /device-gpio 00:24:33 ---> Running in 894556c8455e 00:24:33 Removing intermediate container 894556c8455e 00:24:33 ---> 0e190d50498b 00:24:33 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:24:33 ---> Running in 6a545576e2ce 00:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:24:34 OK: 268 MiB in 56 packages 00:24:34 Removing intermediate container 6a545576e2ce 00:24:34 ---> c4ef40693484 00:24:34 Step 9/26 : COPY go.mod vendor* ./ 00:24:34 ---> b6e33a388ff1 00:24:34 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:34 ---> Running in 30f57e7713d8 00:24:35 Removing intermediate container 30f57e7713d8 00:24:35 ---> 18f3dd5034d7 00:24:35 Step 11/26 : COPY . . 00:24:35 ---> fd94302e045f 00:24:35 Step 12/26 : RUN ${MAKE} 00:24:35 ---> Running in c6f17e07a6ff 00:24:36 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.2" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:24:58 Removing intermediate container c6f17e07a6ff 00:24:58 ---> a4a353b539de 00:24:58 Step 13/26 : FROM alpine:3.18 00:24:58 3.18: Pulling from library/alpine 00:24:58 c926b61bad3b: Pulling fs layer 00:24:58 c926b61bad3b: Verifying Checksum 00:24:58 c926b61bad3b: Download complete 00:24:58 c926b61bad3b: Pull complete 00:24:58 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:24:58 Status: Downloaded newer image for alpine:3.18 00:24:58 ---> b541f2080109 00:24:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:24:58 ---> Running in 40ebd6033b0b 00:24:58 Removing intermediate container 40ebd6033b0b 00:24:58 ---> 9ceea6eb7f45 00:24:58 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:24:58 ---> Running in 5673bd1e3ad4 00:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:24:58 (1/1) Installing dumb-init (1.2.5-r2) 00:24:58 Executing busybox-1.36.1-r5.trigger 00:24:58 OK: 7 MiB in 16 packages 00:24:58 Removing intermediate container 5673bd1e3ad4 00:24:58 ---> 34a65d81809b 00:24:58 Step 16/26 : RUN apk --no-cache upgrade 00:24:58 ---> Running in bf813a183023 00:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:24:58 OK: 7 MiB in 16 packages 00:24:58 Removing intermediate container bf813a183023 00:24:58 ---> e86d641e7845 00:24:58 Step 17/26 : WORKDIR / 00:24:58 ---> Running in 2326a036196f 00:24:58 Removing intermediate container 2326a036196f 00:24:58 ---> 5acd09f4964e 00:24:58 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 00:24:58 ---> 953b88138ed2 00:24:58 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 00:24:58 ---> d1f7151f220d 00:24:58 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 00:24:59 ---> 595f7197cee1 00:24:59 Step 21/26 : EXPOSE 59910 00:24:59 ---> Running in 86e9343b0437 00:24:59 Removing intermediate container 86e9343b0437 00:24:59 ---> 17f17180d7c0 00:24:59 Step 22/26 : ENTRYPOINT ["/device-gpio"] 00:24:59 ---> Running in 1bec03daa070 00:24:59 Removing intermediate container 1bec03daa070 00:24:59 ---> 791e47c72abf 00:24:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:24:59 ---> Running in 895dd4796c76 00:24:59 Removing intermediate container 895dd4796c76 00:24:59 ---> 9813de392428 00:24:59 Step 24/26 : LABEL arch=amd64 00:24:59 ---> Running in a3dcc6220ddf 00:24:59 Removing intermediate container a3dcc6220ddf 00:24:59 ---> 1aa049a42635 00:24:59 Step 25/26 : LABEL git_sha=77530bbb1f6a91a8852a226c6254e6d40ccef75b 00:24:59 ---> Running in 98c6a7142c0a 00:24:59 Removing intermediate container 98c6a7142c0a 00:24:59 ---> 6407bcbba071 00:24:59 Step 26/26 : LABEL version=0.0.0 00:24:59 ---> Running in 75d68b915c73 00:24:59 Removing intermediate container 75d68b915c73 00:24:59 ---> 1155f4a60efe 00:24:59 [Warning] One or more build-args [ARCH] were not consumed 00:24:59 Successfully built 1155f4a60efe 00:24:59 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:25:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:00 00:25:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:01 latest: Pulling from edgex-lftools-log-publisher 00:25:01 5eb5b503b376: Pulling fs layer 00:25:01 5c69ac0246d0: Pulling fs layer 00:25:01 ec43610c2a17: Pulling fs layer 00:25:01 3a2ae6a8a46f: Pulling fs layer 00:25:01 33b1e0a273af: Pulling fs layer 00:25:01 5d3b04190fa2: Pulling fs layer 00:25:01 2f39f015ded8: Pulling fs layer 00:25:01 3a2ae6a8a46f: Waiting 00:25:01 33b1e0a273af: Waiting 00:25:01 5d3b04190fa2: Waiting 00:25:01 2f39f015ded8: Waiting 00:25:01 5c69ac0246d0: Verifying Checksum 00:25:01 5c69ac0246d0: Download complete 00:25:01 3a2ae6a8a46f: Verifying Checksum 00:25:01 3a2ae6a8a46f: Download complete 00:25:01 33b1e0a273af: Verifying Checksum 00:25:01 33b1e0a273af: Download complete 00:25:01 5d3b04190fa2: Verifying Checksum 00:25:01 5d3b04190fa2: Download complete 00:25:01 ec43610c2a17: Download complete 00:25:01 5eb5b503b376: Verifying Checksum 00:25:01 5eb5b503b376: Download complete 00:25:02 2f39f015ded8: Verifying Checksum 00:25:02 2f39f015ded8: Download complete 00:25:03 5eb5b503b376: Pull complete 00:25:03 5c69ac0246d0: Pull complete 00:25:03 ec43610c2a17: Pull complete 00:25:03 3a2ae6a8a46f: Pull complete 00:25:03 33b1e0a273af: Pull complete 00:25:03 5d3b04190fa2: Pull complete 00:25:09 2f39f015ded8: Pull complete 00:25:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:09 prd-ubuntu20.04-docker-8c-8g-24123 does not seem to be running inside a container 00:25:09 $ 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-221 -v /w/workspace/edgexfoundry_device-gpio_PR-221:/w/workspace/edgexfoundry_device-gpio_PR-221:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-221@tmp:/w/workspace/edgexfoundry_device-gpio_PR-221@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:25:12 $ docker top deff63c5566d8833d5e7a3f02b53b17d674eacb7a8c4a92fa5d6099a2427b339 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:13 ---> job-cost.sh 00:25:13 lf-activate-venv: SKIPPING 00:25:13 INFO: No Stack... 00:25:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:25:14 INFO: Archiving Costs [Pipeline] sh 00:25:14 + cat /w/workspace/edgexfoundry_device-gpio_PR-221/archives/cost.csv 00:25:14 + cut -d, -f6 [Pipeline] lock 00:25:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] 00:25:14 Resource [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] did not exist. Created. 00:25:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:15 + echo total: 0.2199999988079071 [Pipeline] stash 00:25:15 Stashed 1 file(s) [Pipeline] } 00:25:15 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:15 $ docker stop --time=1 deff63c5566d8833d5e7a3f02b53b17d674eacb7a8c4a92fa5d6099a2427b339 00:25:16 $ docker rm -f --volumes deff63c5566d8833d5e7a3f02b53b17d674eacb7a8c4a92fa5d6099a2427b339 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:26:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24125 in /w/workspace/edgexfoundry_device-gpio_PR-221 [Pipeline] { [Pipeline] ws 00:26:51 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:26:54 The recommended git tool is: git 00:27:02 using credential edgex-jenkins-ssh 00:27:02 Cloning the remote Git repository 00:27:02 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:27:02 > git init /w/workspace/device-gpio/1 # timeout=10 00:27:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:27:02 > git --version # timeout=10 00:27:02 > git --version # 'git version 2.25.1' 00:27:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:27:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:06 Merging remotes/origin/main commit 10c8498a836d213a72528a39cca8cbe97667fe45 into PR head commit 77530bbb1f6a91a8852a226c6254e6d40ccef75b 00:27:06 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:27:06 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:27:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:27:06 Merge succeeded, producing 77530bbb1f6a91a8852a226c6254e6d40ccef75b 00:27:06 Checking out Revision 77530bbb1f6a91a8852a226c6254e6d40ccef75b (PR-221) 00:27:07 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:27:07 > git --version # timeout=10 00:27:07 > git --version # 'git version 2.25.1' 00:27:07 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 00:27:06 > git config core.sparsecheckout # timeout=10 00:27:06 > git checkout -f 77530bbb1f6a91a8852a226c6254e6d40ccef75b # timeout=10 00:27:06 > git remote # timeout=10 00:27:06 > git config --get remote.origin.url # timeout=10 00:27:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:06 > git merge 10c8498a836d213a72528a39cca8cbe97667fe45 # timeout=10 00:27:06 > git rev-parse HEAD^{commit} # timeout=10 00:27:06 > git config core.sparsecheckout # timeout=10 00:27:06 > git checkout -f 77530bbb1f6a91a8852a226c6254e6d40ccef75b # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:27:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:27:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:27:08 Dload Upload Total Spent Left Speed 00:27:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 00:27:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:27:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 00:27:09 sudo tee /etc/docker/daemon.new 00:27:09 { 00:27:09 "registry-mirrors": [ 00:27:09 "https://nexus3.edgexfoundry.org:10001" 00:27:09 ], 00:27:09 "bip": "10.250.0.254/24", 00:27:09 "hosts": [ 00:27:09 "tcp://0.0.0.0:5555", 00:27:09 "unix:///var/run/docker.sock" 00:27:09 ], 00:27:09 "mtu": 1458, 00:27:09 "selinux-enabled": true, 00:27:09 "seccomp-profile": "/etc/docker/seccomp.json" 00:27:09 } [Pipeline] sh 00:27:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:27:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:27:28 provisioning config files... 00:27:28 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4780325213864063332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:29 ---> ****-login.sh 00:27:29 nexus3.edgexfoundry.org:10001 00:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:27:29 Configure a credential helper to remove this warning. See 00:27:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:27:29 00:27:29 Login Succeeded 00:27:30 nexus3.edgexfoundry.org:10002 00:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 nexus3.edgexfoundry.org:10003 00:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 nexus3.edgexfoundry.org:10004 00:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 ****.io 00:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:27:31 Configure a credential helper to remove this warning. See 00:27:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:27:31 00:27:31 Login Succeeded 00:27:31 ---> ****-login.sh ends [Pipeline] } 00:27:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:27:32 ========================================================= 00:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:27:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:33 + 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:27:35 #0 building with "default" instance using docker driver 00:27:35 00:27:35 #1 [internal] load build definition from Dockerfile 00:27:35 #1 transferring dockerfile: 1.70kB 0.0s done 00:27:35 #1 DONE 0.1s 00:27:35 00:27:35 #2 [internal] load .dockerignore 00:27:35 #2 transferring context: 160B done 00:27:35 #2 DONE 0.1s 00:27:35 00:27:35 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:27:35 #3 DONE 0.1s 00:27:35 00:27:35 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:27:35 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 00:27:35 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 00:27:35 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.13MB / 3.33MB 0.1s 00:27:35 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 00:27:35 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 00:27:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 00:27:35 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 00:27:35 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 00:27:35 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 00:27:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 00:27:35 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 00:27:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 00:27:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 00:27:35 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 00:27:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 00:27:35 #4 ... 00:27:35 00:27:35 #5 [internal] load build context 00:27:35 #5 transferring context: 12.21MB 0.5s done 00:27:35 #5 DONE 0.5s 00:27:35 00:27:35 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:27:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.98MB / 63.99MB 0.5s 00:27:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 00:27:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.38MB / 11.40MB 0.5s 00:27:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.25MB / 63.99MB 0.6s 00:27:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 00:27:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.31MB / 63.99MB 0.8s 00:27:35 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 00:27:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.8s 00:27:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.51MB / 63.99MB 0.9s 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.9s 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 00:27:36 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.1s 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 1.1s 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.39MB / 63.99MB 1.3s 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.3s 00:27:36 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.4s 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.5s 00:27:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.6s 00:27:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.08MB / 97.63MB 1.8s 00:27:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 00:27:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.0s 00:27:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s 00:27:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 00:27:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 00:27:48 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 00:27:53 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 00:27:55 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 00:27:55 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 00:27:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 00:28:00 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 00:28:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 00:28:03 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 00:28:05 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 00:28:06 #4 DONE 31.0s 00:28:06 00:28:06 #6 [builder 2/7] WORKDIR /device-gpio 00:28:07 #6 DONE 1.7s 00:28:07 00:28:07 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 00:28:08 #7 0.766 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:28:09 #7 1.209 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:28:10 #7 2.277 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:28:10 #7 2.302 (2/4) Installing libedit (20221030.3.1-r1) 00:28:10 #7 2.320 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:28:10 #7 2.387 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:28:10 #7 2.416 Executing busybox-1.36.1-r5.trigger 00:28:10 #7 2.458 OK: 271 MiB in 56 packages 00:28:10 #7 DONE 2.8s 00:28:10 00:28:10 #8 [builder 4/7] COPY go.mod vendor* ./ 00:28:10 #8 DONE 0.1s 00:28:10 00:28:10 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:28:37 #9 DONE 23.5s 00:28:37 00:28:37 #10 [builder 6/7] COPY . . 00:28:37 #10 DONE 0.3s 00:28:37 00:28:37 #11 [builder 7/7] RUN echo noop 00:28:37 #11 0.639 noop 00:28:37 #11 DONE 0.7s 00:28:37 00:28:37 #12 exporting to image 00:28:37 #12 exporting layers 00:28:59 #12 exporting layers 23.9s done 00:28:59 #12 writing image sha256:f0b8ff301919f57278feaeb773f833b1f14dca5cf6782927bb1eb34ccae8ca65 done 00:28:59 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 00:28:59 #12 DONE 23.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:00 + docker inspect -f . ci-base-image-arm64 00:29:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:00 prd-ubuntu20.04-docker-arm64-4c-16g-24125 does not seem to be running inside a container 00:29:00 $ 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 00:29:01 $ docker top f01b728a21de412612e947a92fed656614347b2ce70e6f5cc703db0be200bef6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:02 + go version 00:29:02 go version go1.21.0 linux/arm64 [Pipeline] } 00:29:02 $ docker stop --time=1 f01b728a21de412612e947a92fed656614347b2ce70e6f5cc703db0be200bef6 00:29:04 $ docker rm -f --volumes f01b728a21de412612e947a92fed656614347b2ce70e6f5cc703db0be200bef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:05 + docker inspect -f . ci-base-image-arm64 00:29:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:06 prd-ubuntu20.04-docker-arm64-4c-16g-24125 does not seem to be running inside a container 00:29:06 $ 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 00:29:07 $ docker top a8a62fe7b082d299efd5033308740a981fb0d1fdac201a93e12b1cfa3e78b194 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:07 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:29:08 + make test 00:29:08 go test ./... -coverprofile=coverage.out ./... 00:29:16 ? github.com/edgexfoundry/device-gpio [no test files] 00:30:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:30:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:30:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:30:12 go vet ./... 00:30:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:30:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:30:21 ./bin/test-attribution-txt.sh [Pipeline] echo 00:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:30:21 $ docker stop --time=1 a8a62fe7b082d299efd5033308740a981fb0d1fdac201a93e12b1cfa3e78b194 00:30:23 $ docker rm -f --volumes a8a62fe7b082d299efd5033308740a981fb0d1fdac201a93e12b1cfa3e78b194 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:30:24 Warning: overwriting stash ‘coverage-report’ 00:30:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:30:26 + ls -al . 00:30:26 total 148 00:30:26 drwxrwxr-x 7 jenkins jenkins 4096 Dec 6 00:29 . 00:30:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 00:27 .. 00:30:26 -rw-rw-r-- 1 jenkins jenkins 120 Dec 6 00:27 .dockerignore 00:30:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 00:27 .git 00:30:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:27 .github 00:30:26 -rw-rw-r-- 1 jenkins jenkins 277 Dec 6 00:27 .gitignore 00:30:26 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 00:27 .golangci.yml 00:30:26 -rw-rw-r-- 1 jenkins jenkins 10671 Dec 6 00:27 Attribution.txt 00:30:26 -rw-rw-r-- 1 jenkins jenkins 7171 Dec 6 00:27 CHANGELOG.md 00:30:26 -rw-rw-r-- 1 jenkins jenkins 1661 Dec 6 00:27 Dockerfile 00:30:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 00:27 GOVERNANCE.md 00:30:26 -rw-rw-r-- 1 jenkins jenkins 657 Dec 6 00:27 Jenkinsfile 00:30:26 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 00:27 LICENSE 00:30:26 -rw-rw-r-- 1 jenkins jenkins 1923 Dec 6 00:27 Makefile 00:30:26 -rw-rw-r-- 1 jenkins jenkins 617 Dec 6 00:27 OWNERS.md 00:30:26 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 6 00:27 README.md 00:30:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 00:23 VERSION 00:30:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 00:27 bin 00:30:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:27 cmd 00:30:26 -rw-r--r-- 1 jenkins jenkins 10 Dec 6 00:29 coverage.out 00:30:26 -rw-rw-r-- 1 jenkins jenkins 3693 Dec 6 00:27 go.mod 00:30:26 -rw-rw-r-- 1 jenkins jenkins 35440 Dec 6 00:27 go.sum 00:30:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:27 internal 00:30:26 -rw-rw-r-- 1 jenkins jenkins 209 Dec 6 00:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:26 + 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=77530bbb1f6a91a8852a226c6254e6d40ccef75b --label arch=arm64 --label version=0.0.0 . 00:30:29 #0 building with "default" instance using docker driver 00:30:29 00:30:29 #1 [internal] load .dockerignore 00:30:29 #1 transferring context: 160B done 00:30:29 #1 DONE 0.0s 00:30:29 00:30:29 #2 [internal] load build definition from Dockerfile 00:30:29 #2 transferring dockerfile: 1.70kB done 00:30:29 #2 DONE 0.0s 00:30:29 00:30:29 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 00:30:29 #3 DONE 0.0s 00:30:29 00:30:29 #4 [internal] load metadata for docker.io/library/alpine:3.18 00:30:29 #4 DONE 0.3s 00:30:29 00:30:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:30:29 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 00:30:29 #5 ... 00:30:29 00:30:29 #6 [internal] load build context 00:30:29 #6 transferring context: 6.36kB 0.0s done 00:30:29 #6 DONE 0.1s 00:30:29 00:30:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:30:29 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 00:30:29 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 00:30:29 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 00:30:29 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 00:30:29 #5 ... 00:30:29 00:30:29 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 00:30:29 #7 DONE 0.2s 00:30:29 00:30:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:30:29 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 00:30:29 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 00:30:29 #5 ... 00:30:29 00:30:29 #8 [builder 2/7] WORKDIR /device-gpio 00:30:29 #8 DONE 0.1s 00:30:29 00:30:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:30:29 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 00:30:30 #5 DONE 1.0s 00:30:30 00:30:30 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 00:30:30 #9 0.755 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:30:31 #9 1.200 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:30:32 #9 2.378 OK: 271 MiB in 56 packages 00:30:32 #9 DONE 2.7s 00:30:32 00:30:32 #10 [builder 4/7] COPY go.mod vendor* ./ 00:30:32 #10 DONE 0.2s 00:30:32 00:30:32 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:32 #11 ... 00:30:32 00:30:32 #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 00:30:32 #12 0.772 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:30:32 #12 1.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:30:32 #12 2.361 (1/1) Installing dumb-init (1.2.5-r2) 00:30:32 #12 2.373 Executing busybox-1.36.1-r5.trigger 00:30:32 #12 2.410 OK: 8 MiB in 16 packages 00:30:32 #12 DONE 2.7s 00:30:33 00:30:33 #13 [stage-1 3/7] RUN apk --no-cache upgrade 00:30:33 #13 0.808 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:30:34 #13 ... 00:30:34 00:30:34 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:34 #11 DONE 1.4s 00:30:34 00:30:34 #13 [stage-1 3/7] RUN apk --no-cache upgrade 00:30:34 #13 1.187 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:30:34 #13 ... 00:30:34 00:30:34 #14 [builder 6/7] COPY . . 00:30:34 #14 DONE 0.4s 00:30:34 00:30:34 #15 [builder 7/7] RUN make build 00:30:34 #15 0.707 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.2" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:30:35 #15 ... 00:30:35 00:30:35 #13 [stage-1 3/7] RUN apk --no-cache upgrade 00:30:35 #13 2.336 OK: 8 MiB in 16 packages 00:30:35 #13 DONE 2.6s 00:30:35 00:30:35 #15 [builder 7/7] RUN make build 00:31:43 #15 DONE 68.4s 00:31:43 00:31:43 #16 [stage-1 4/7] COPY --from=builder /device-gpio/Attribution.txt / 00:31:43 #16 DONE 0.1s 00:31:43 00:31:43 #17 [stage-1 5/7] COPY --from=builder /device-gpio/LICENSE / 00:31:43 #17 DONE 0.1s 00:31:43 00:31:43 #18 [stage-1 6/7] COPY --from=builder /device-gpio/cmd/ / 00:31:43 #18 DONE 0.3s 00:31:43 00:31:43 #19 exporting to image 00:31:43 #19 exporting layers 00:31:43 #19 exporting layers 0.4s done 00:31:43 #19 writing image sha256:e2acef7180c308ac521bf25b9bc0f1e116bce00ddc73e4b337e8bf2caecaa0fd done 00:31:43 #19 naming to docker.io/library/device-gpio-arm64 0.0s done 00:31:43 #19 DONE 0.4s [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 00:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:45 00:31:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:45 arm64: Pulling from edgex-lftools-log-publisher 00:31:45 8998bd30e6a1: Pulling fs layer 00:31:45 04944245beec: Pulling fs layer 00:31:45 699f458cf7ca: Pulling fs layer 00:31:45 765212b225bb: Pulling fs layer 00:31:45 f23df028b6ca: Pulling fs layer 00:31:45 d65c8cfc05b1: Pulling fs layer 00:31:45 2437ff75d9bd: Pulling fs layer 00:31:45 765212b225bb: Waiting 00:31:45 f23df028b6ca: Waiting 00:31:45 d65c8cfc05b1: Waiting 00:31:45 2437ff75d9bd: Waiting 00:31:45 04944245beec: Verifying Checksum 00:31:45 04944245beec: Download complete 00:31:45 765212b225bb: Verifying Checksum 00:31:45 765212b225bb: Download complete 00:31:45 f23df028b6ca: Verifying Checksum 00:31:45 f23df028b6ca: Download complete 00:31:45 d65c8cfc05b1: Verifying Checksum 00:31:45 d65c8cfc05b1: Download complete 00:31:46 699f458cf7ca: Verifying Checksum 00:31:46 699f458cf7ca: Download complete 00:31:46 8998bd30e6a1: Verifying Checksum 00:31:46 8998bd30e6a1: Download complete 00:31:48 2437ff75d9bd: Verifying Checksum 00:31:48 2437ff75d9bd: Download complete 00:31:53 8998bd30e6a1: Pull complete 00:31:53 04944245beec: Pull complete 00:31:57 699f458cf7ca: Pull complete 00:31:57 765212b225bb: Pull complete 00:31:58 f23df028b6ca: Pull complete 00:31:58 d65c8cfc05b1: Pull complete 00:32:20 2437ff75d9bd: Pull complete 00:32:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:21 prd-ubuntu20.04-docker-arm64-4c-16g-24125 does not seem to be running inside a container 00:32:21 $ 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 00:32:23 $ docker top 02541067dca7689b19a0201f9b06cea28b5df0ffb455ca38b760603d16b83f0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:23 ---> job-cost.sh 00:32:24 lf-activate-venv: SKIPPING 00:32:24 INFO: No Stack... 00:32:24 INFO: Retrieving Pricing Info for: v3-standard-8 00:32:25 INFO: Archiving Costs [Pipeline] sh 00:32:25 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:32:25 + cut -d, -f6 [Pipeline] lock 00:32:25 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] 00:32:25 Resource [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] did not exist. Created. 00:32:25 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:32:26 /w/workspace/device-gpio/1@tmp/durable-a718e5e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:32:26 + echo total: 0.2199999988079071 [Pipeline] stash 00:32:26 Warning: overwriting stash ‘stack-cost’ 00:32:26 Stashed 1 file(s) [Pipeline] } 00:32:26 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:32:27 $ docker stop --time=1 02541067dca7689b19a0201f9b06cea28b5df0ffb455ca38b760603d16b83f0f 00:32:28 $ docker rm -f --volumes 02541067dca7689b19a0201f9b06cea28b5df0ffb455ca38b760603d16b83f0f [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 00:32:30 provisioning config files... 00:32:30 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/config8142304606830854372tmp [Pipeline] { [Pipeline] sh 00:32:30 + set +x 00:32:30 + curl -s https://codecov.io/bash 00:32:30 + bash -s -- 00:32:31 00:32:31 _____ _ 00:32:31 / ____| | | 00:32:31 | | ___ __| | ___ ___ _____ __ 00:32:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:32:31 | |___| (_) | (_| | __/ (_| (_) \ V / 00:32:31 \_____\___/ \__,_|\___|\___\___/ \_/ 00:32:31 Bash-1.0.6 00:32:31 00:32:31 00:32:31 ==> git version 2.25.1 found 00:32:31 ==> 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 00:32:31 Release-Date: 2020-01-08 00:32:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:32:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:32:31 ==> Jenkins CI detected. 00:32:31 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-221 00:32:31 project root: . 00:32:31 --> token set from env 00:32:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:32:31 ==> Running gcov in . (disable via -X gcov) 00:32:31 ==> Python coveragepy not found 00:32:31 ==> Searching for coverage reports in: 00:32:31 + . 00:32:31 -> Found 1 reports 00:32:31 ==> Detecting git/mercurial file structure 00:32:31 ==> Reading reports 00:32:31 + ./coverage.out bytes=10 00:32:31 ==> Appending adjustments 00:32:31 https://docs.codecov.io/docs/fixing-reports 00:32:31 + Found adjustments 00:32:31 ==> Gzipping contents 00:32:31 4.0K /tmp/codecov.LXEcbP.gz 00:32:31 ==> Uploading reports 00:32:31 url: https://codecov.io 00:32:31 query: branch=PR-221&commit=77530bbb1f6a91a8852a226c6254e6d40ccef75b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=221&job=&cmd_args= 00:32:31 -> Pinging Codecov 00:32:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-221&commit=77530bbb1f6a91a8852a226c6254e6d40ccef75b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=221&job=&cmd_args= 00:32:31 -> Uploading to 00:32:31 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/77530bbb1f6a91a8852a226c6254e6d40ccef75b/5090b9d6-4464-4b97-b07f-7e9275ed2982.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T003231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b91d794d8a109debb3a0265f146651bc3d23066641e9ca75bf12245c99d0eb6 00:32:31 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:31 Dload Upload Total Spent Left Speed 00:32:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2173 --:--:-- --:--:-- --:--:-- 2173 00:32:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/77530bbb1f6a91a8852a226c6254e6d40ccef75b [Pipeline] } 00:32:31 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 00:32:34 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-221/archives ] 00:32:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-221/archives 00:32:34 total 16 00:32:34 drwxr-xr-x 3 root root 4096 Dec 6 00:25 . 00:32:34 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 00:25 .. 00:32:34 drwxr-xr-x 2 root root 4096 Dec 6 00:25 cost 00:32:34 -rw-r--r-- 1 root root 83 Dec 6 00:25 cost.csv 00:32:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-221/archives 00:32:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-221/archives 00:32:34 total 16 00:32:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 00:25 . 00:32:34 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 00:25 .. 00:32:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 00:25 cost 00:32:34 -rw-r--r-- 1 jenkins jenkins 83 Dec 6 00:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:32:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:32:36 ---> package-listing.sh 00:32:36 ++ facter osfamily 00:32:36 ++ tr '[:upper:]' '[:lower:]' 00:32:36 + OS_FAMILY=debian 00:32:36 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-221 00:32:36 + START_PACKAGES=/tmp/packages_start.txt 00:32:36 + END_PACKAGES=/tmp/packages_end.txt 00:32:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:32:36 + PACKAGES=/tmp/packages_start.txt 00:32:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-221 ']' 00:32:36 + PACKAGES=/tmp/packages_end.txt 00:32:36 + case "${OS_FAMILY}" in 00:32:36 + dpkg -l 00:32:36 + grep '^ii' 00:32:36 + '[' -f /tmp/packages_start.txt ']' 00:32:36 + '[' -f /tmp/packages_end.txt ']' 00:32:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:32:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-221 ']' 00:32:36 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-221/archives/ 00:32:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-221/archives/ [Pipeline] echo 00:32:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:32:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:37 prd-ubuntu20.04-docker-8c-8g-24123 does not seem to be running inside a container 00:32:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-221/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-221 -v /w/workspace/edgexfoundry_device-gpio_PR-221:/w/workspace/edgexfoundry_device-gpio_PR-221:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-221@tmp:/w/workspace/edgexfoundry_device-gpio_PR-221@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 00:32:37 $ docker top a56f53b5f3527d7fdaecaf11e57d1938243c3d56717ac93c1ee822785c8de655 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:38 + touch /tmp/pre-build-complete [Pipeline] sh 00:32:38 + mkdir -p /var/log/sysstat [Pipeline] sh 00:32:39 + ls /var/log/sa-host 00:32:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:39 provisioning config files... 00:32:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-221@tmp/config13231859085390371278tmp [Pipeline] { [Pipeline] echo 00:32:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:32:39 ---> create-netrc.sh [Pipeline] } 00:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:32:40 ---> python-tools-install.sh [Pipeline] echo 00:32:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:32:40 ---> sudo-logs.sh 00:32:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:32:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:32:41 ---> job-cost.sh 00:32:41 lf-activate-venv: SKIPPING 00:32:41 DEBUG: total: 0.2199999988079071 00:32:41 INFO: Retrieving Stack Cost... 00:32:41 INFO: Retrieving Pricing Info for: v3-standard-8 00:32:41 INFO: Archiving Costs [Pipeline] echo 00:32:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:32:42 ---> logs-deploy.sh 00:32:42 lf-activate-venv: SKIPPING 00:32:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-221/1 00:32:42 INFO: archiving workspace using pattern(s): 00:32:43 Archives upload complete. 00:32:43 INFO: archiving logs to Nexus 00:32:44 ---> uname -a: 00:32:44 Linux prd-ubuntu20-04-docker-8c-8g-24123 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:32:44 00:32:44 00:32:44 ---> lscpu: 00:32:44 Architecture: x86_64 00:32:44 CPU op-mode(s): 32-bit, 64-bit 00:32:44 Byte Order: Little Endian 00:32:44 Address sizes: 40 bits physical, 48 bits virtual 00:32:44 CPU(s): 8 00:32:44 On-line CPU(s) list: 0-7 00:32:44 Thread(s) per core: 1 00:32:44 Core(s) per socket: 1 00:32:44 Socket(s): 8 00:32:44 NUMA node(s): 1 00:32:44 Vendor ID: AuthenticAMD 00:32:44 CPU family: 23 00:32:44 Model: 49 00:32:44 Model name: AMD EPYC-Rome Processor 00:32:44 Stepping: 0 00:32:44 CPU MHz: 2800.000 00:32:44 BogoMIPS: 5600.00 00:32:44 Virtualization: AMD-V 00:32:44 Hypervisor vendor: KVM 00:32:44 Virtualization type: full 00:32:44 L1d cache: 256 KiB 00:32:44 L1i cache: 256 KiB 00:32:44 L2 cache: 4 MiB 00:32:44 L3 cache: 128 MiB 00:32:44 NUMA node0 CPU(s): 0-7 00:32:44 Vulnerability Itlb multihit: Not affected 00:32:44 Vulnerability L1tf: Not affected 00:32:44 Vulnerability Mds: Not affected 00:32:44 Vulnerability Meltdown: Not affected 00:32:44 Vulnerability Mmio stale data: Not affected 00:32:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:32:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:32:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:32:44 Vulnerability Srbds: Not affected 00:32:44 Vulnerability Tsx async abort: Not affected 00:32:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:32:44 00:32:44 00:32:44 ---> nproc: 00:32:44 8 00:32:44 00:32:44 00:32:44 ---> df -h: 00:32:44 Filesystem Size Used Avail Use% Mounted on 00:32:44 overlay 155G 12G 144G 8% / 00:32:44 tmpfs 64M 0 64M 0% /dev 00:32:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:32:44 shm 64M 0 64M 0% /dev/shm 00:32:44 /dev/vda1 155G 12G 144G 8% /facter-os 00:32:44 00:32:44 00:32:44 ---> sar -b -r -n DEV: 00:32:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-24123) 12/06/23 _x86_64_ (8 CPU) 00:32:44 00:32:44 00:22:03 LINUX RESTART (8 CPU) 00:32:44 00:32:44 00:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:32:44 00:24:01 234.28 1.83 232.44 0.00 42.26 75571.14 0.00 00:32:44 00:25:01 181.75 0.27 181.49 0.00 24.53 32381.40 0.00 00:32:44 00:26:01 48.64 0.08 48.56 0.00 7.47 16750.69 0.00 00:32:44 00:27:01 1.63 0.00 1.63 0.00 0.00 19.33 0.00 00:32:44 00:28:01 54.87 10.60 44.28 0.00 5155.01 8465.92 0.00 00:32:44 00:29:01 4.07 0.02 4.05 0.00 0.13 94.50 0.00 00:32:44 00:30:01 1.40 0.00 1.40 0.00 0.00 16.53 0.00 00:32:44 00:31:01 1.93 0.00 1.93 0.00 0.00 22.40 0.00 00:32:44 00:32:01 1.53 0.00 1.53 0.00 0.00 17.86 0.00 00:32:44 Average: 58.90 1.42 57.48 0.00 581.01 14814.71 0.00 00:32:44 00:32:44 00:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:32:44 00:24:01 28399864 31541088 770048 2.34 150072 3194096 2017648 5.95 1100412 2921660 628 00:32:44 00:25:01 27897792 31528860 780500 2.37 158036 3643756 2101716 6.19 1288608 3194220 156040 00:32:44 00:26:01 27583308 31564204 743532 2.26 166244 3940076 1747680 5.15 1276116 3477948 172 00:32:44 00:27:01 27583840 31564812 742668 2.26 166284 3940072 1747680 5.15 1275644 3477948 36 00:32:44 00:28:01 27108368 31547116 732784 2.23 195268 4364624 1730280 5.10 1579352 3615444 196 00:32:44 00:29:01 27113188 31547092 732532 2.23 193812 4361368 1693480 4.99 1577348 3612224 8 00:32:44 00:30:01 27121920 31555940 723580 2.20 193896 4361376 1693480 4.99 1569096 3612232 8 00:32:44 00:31:01 27122220 31556312 723104 2.20 193968 4361380 1693480 4.99 1569448 3612236 176 00:32:44 00:32:01 27123204 31557376 721960 2.20 194032 4361380 1693480 4.99 1569084 3612236 168 00:32:44 Average: 27450412 31551422 741190 2.25 179068 4058681 1790992 5.28 1422790 3459572 17492 00:32:44 00:32:44 00:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:32:44 00:24:01 veth4d3efac 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 00:32:44 00:24:01 ens3 514.36 301.52 5577.73 94.16 0.00 0.00 0.00 0.00 00:32:44 00:24:01 lo 2.67 2.67 0.27 0.27 0.00 0.00 0.00 0.00 00:32:44 00:24:01 docker0 204.50 371.69 17.37 2424.78 0.00 0.00 0.00 0.00 00:32:44 00:25:01 ens3 114.48 70.40 2278.01 23.73 0.00 0.00 0.00 0.00 00:32:44 00:25:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 00:32:44 00:25:01 docker0 4.50 10.23 0.27 93.29 0.00 0.00 0.00 0.00 00:32:44 00:26:01 ens3 27.06 15.66 435.49 6.81 0.00 0.00 0.00 0.00 00:32:44 00:26:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 00:32:44 00:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:27:01 ens3 0.80 0.53 0.36 0.28 0.00 0.00 0.00 0.00 00:32:44 00:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:32:44 00:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:28:01 ens3 198.35 90.80 2730.48 6.51 0.00 0.00 0.00 0.00 00:32:44 00:28:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 00:32:44 00:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:29:01 ens3 0.57 0.47 0.27 0.22 0.00 0.00 0.00 0.00 00:32:44 00:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:32:44 00:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:30:01 ens3 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:31:01 ens3 0.42 0.12 0.05 0.01 0.00 0.00 0.00 0.00 00:32:44 00:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:32:44 00:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:32:01 ens3 0.53 0.33 0.26 0.21 0.00 0.00 0.00 0.00 00:32:44 00:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 00:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:32:44 Average: ens3 95.18 53.31 1224.67 14.66 0.00 0.00 0.00 0.00 00:32:44 Average: lo 0.66 0.66 0.06 0.06 0.00 0.00 0.00 0.00 00:32:44 Average: docker0 23.22 42.43 1.96 279.77 0.00 0.00 0.00 0.00 00:32:44 00:32:44