Pull request #244 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-gpio Obtained Jenkinsfile from 00c7a9ce5f5ee1d62e8f4f5c99ee0ec11a7dc96e+f230f01cc13c190451e7ba870f98e45ec269a8da (b31a3c3e27a484d1fdd58493e6d590afc8dfbe20) 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-ssh2877721573724877682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh18158277211241397123.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17786045968261193358.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14922074339708782148.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1426012860826525169.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40288’ Running on prd-ubuntu20.04-docker-8c-8g-40300 in /w/workspace/edgexfoundry_device-gpio_PR-244 [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-244 # 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 f230f01cc13c190451e7ba870f98e45ec269a8da into PR head commit 00c7a9ce5f5ee1d62e8f4f5c99ee0ec11a7dc96e Merge succeeded, producing f28e571421cc6433de72c1a16cf733d211a09089 Checking out Revision f28e571421cc6433de72c1a16cf733d211a09089 (PR-244) > 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/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00c7a9ce5f5ee1d62e8f4f5c99ee0ec11a7dc96e # 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 f230f01cc13c190451e7ba870f98e45ec269a8da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f28e571421cc6433de72c1a16cf733d211a09089 # timeout=10 Commit message: "Merge commit 'f230f01cc13c190451e7ba870f98e45ec269a8da' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:19:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 782b56dae6f912b60a50760fca07fcca70af5837 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:19:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:04 ========================================================= 10:19:04 EdgeX Global Pipelines Version Info 10:19:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:19:05 ------------------- 10:19:05 stable info: 10:19:05 ------------------- 10:19:05 Commited By: Cherry Wang cherry@iotechsys.com 10:19:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:19:05 Message: update stable to v1.0.269 10:19:06 ------------------- 10:19:06 experimental info: 10:19:06 ------------------- 10:19:06 Commited By: Ginny Guan ginny@iotechsys.com 10:19:06 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:19:06 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-244 [Pipeline] echo 10:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-244 [Pipeline] echo 10:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-244 [Pipeline] echo 10:19:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f28e571421cc6433de72c1a16cf733d211a09089 [Pipeline] echo 10:19:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f28e571 [Pipeline] echo 10:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:07 provisioning config files... 10:19:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/config2458297951130964665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:07 ---> ****-login.sh 10:19:07 nexus3.edgexfoundry.org:10001 10:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:07 Configure a credential helper to remove this warning. See 10:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:07 10:19:07 Login Succeeded 10:19:07 nexus3.edgexfoundry.org:10002 10:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:07 Configure a credential helper to remove this warning. See 10:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:07 10:19:07 Login Succeeded 10:19:07 nexus3.edgexfoundry.org:10003 10:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:07 Configure a credential helper to remove this warning. See 10:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:07 10:19:07 Login Succeeded 10:19:07 nexus3.edgexfoundry.org:10004 10:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:07 Configure a credential helper to remove this warning. See 10:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:07 10:19:07 Login Succeeded 10:19:07 ****.io 10:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:08 Configure a credential helper to remove this warning. See 10:19:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:08 10:19:08 Login Succeeded 10:19:08 ---> ****-login.sh ends [Pipeline] } 10:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:19:08 + git rev-list -1 --merges f28e571421cc6433de72c1a16cf733d211a09089~1..f28e571421cc6433de72c1a16cf733d211a09089 [Pipeline] echo 10:19:08 -----------> git rev-list -1 --merges f28e571421cc6433de72c1a16cf733d211a09089~1..f28e571421cc6433de72c1a16cf733d211a09089 f28e571421cc6433de72c1a16cf733d211a09089 10:19:08 f28e571421cc6433de72c1a16cf733d211a09089 [false] [Pipeline] sh 10:19:08 + git log --format=format:%s -1 f28e571421cc6433de72c1a16cf733d211a09089 [Pipeline] echo 10:19:09 ========================================================= 10:19:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:19:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:09 + git log --format=format:%s -1 f28e571421cc6433de72c1a16cf733d211a09089 [Pipeline] echo 10:19:09 [semverPrep] GIT_COMMIT: f28e571421cc6433de72c1a16cf733d211a09089, Commit Message: Merge commit 'f230f01cc13c190451e7ba870f98e45ec269a8da' into HEAD [Pipeline] echo 10:19:09 [semverPrep] This is not a build commit. [Pipeline] sh 10:19:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:09 + grep -v github /etc/ssh/ssh_known_hosts 10:19:09 + [ -e /tmp/ssh_known_hosts ] 10:19:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:19:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:19:09 + sudo tee -a /etc/ssh/ssh_known_hosts 10:19:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:10 10:19:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:12 0.1.4: Pulling from edgex-devops/py-git-semver 10:19:12 b85a868b505f: Pulling fs layer 10:19:12 e2be974225ed: Pulling fs layer 10:19:12 339a4e72a1f5: Pulling fs layer 10:19:12 988bab9f4d93: Pulling fs layer 10:19:12 1469e6f7b9e6: Pulling fs layer 10:19:12 eaf3925da568: Pulling fs layer 10:19:12 bab4dde63d76: Pulling fs layer 10:19:12 bde34c3a00c8: Pulling fs layer 10:19:12 b352a97aabf1: Pulling fs layer 10:19:12 4872d77fe225: Pulling fs layer 10:19:12 5851b861e8e6: Pulling fs layer 10:19:12 988bab9f4d93: Waiting 10:19:12 4872d77fe225: Waiting 10:19:12 bde34c3a00c8: Waiting 10:19:12 b352a97aabf1: Waiting 10:19:12 1469e6f7b9e6: Waiting 10:19:12 5851b861e8e6: Waiting 10:19:12 bab4dde63d76: Waiting 10:19:12 e2be974225ed: Download complete 10:19:12 988bab9f4d93: Verifying Checksum 10:19:12 988bab9f4d93: Download complete 10:19:12 1469e6f7b9e6: Verifying Checksum 10:19:12 1469e6f7b9e6: Download complete 10:19:12 eaf3925da568: Verifying Checksum 10:19:12 eaf3925da568: Download complete 10:19:12 339a4e72a1f5: Verifying Checksum 10:19:12 339a4e72a1f5: Download complete 10:19:12 bde34c3a00c8: Verifying Checksum 10:19:12 bde34c3a00c8: Download complete 10:19:12 b352a97aabf1: Verifying Checksum 10:19:12 b352a97aabf1: Download complete 10:19:12 4872d77fe225: Verifying Checksum 10:19:12 4872d77fe225: Download complete 10:19:12 5851b861e8e6: Download complete 10:19:12 b85a868b505f: Verifying Checksum 10:19:12 b85a868b505f: Download complete 10:19:12 bab4dde63d76: Verifying Checksum 10:19:12 bab4dde63d76: Download complete 10:19:13 b85a868b505f: Pull complete 10:19:13 e2be974225ed: Pull complete 10:19:14 339a4e72a1f5: Pull complete 10:19:14 988bab9f4d93: Pull complete 10:19:14 1469e6f7b9e6: Pull complete 10:19:14 eaf3925da568: Pull complete 10:19:16 bab4dde63d76: Pull complete 10:19:16 bde34c3a00c8: Pull complete 10:19:16 b352a97aabf1: Pull complete 10:19:16 4872d77fe225: Pull complete 10:19:16 5851b861e8e6: Pull complete 10:19:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:16 prd-ubuntu20.04-docker-8c-8g-40300 does not seem to be running inside a container 10:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-244 -v /w/workspace/edgexfoundry_device-gpio_PR-244:/w/workspace/edgexfoundry_device-gpio_PR-244:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-244@tmp:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:18 $ docker top 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee -eo pid,comm 10:19:18 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). 10:19:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:18 [ssh-agent] Looking for ssh-agent implementation... 10:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:18 $ docker exec 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee ssh-agent 10:19:18 SSH_AUTH_SOCK=/tmp/ssh-qy9bDRXzqVOo/agent.33 10:19:18 SSH_AGENT_PID=39 10:19:18 Running ssh-add (command line suppressed) 10:19:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-244@tmp/private_key_13836438556418251504.key (/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/private_key_13836438556418251504.key) 10:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:18 + git tag --points-at HEAD [Pipeline] } 10:19:18 $ docker exec --env ******** --env ******** 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee ssh-agent -k 10:19:18 unset SSH_AUTH_SOCK; 10:19:18 unset SSH_AGENT_PID; 10:19:18 echo Agent pid 39 killed; 10:19:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:18 [ssh-agent] Looking for ssh-agent implementation... 10:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:19 $ docker exec 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee ssh-agent 10:19:19 SSH_AUTH_SOCK=/tmp/ssh-bqrGzemfkJ2A/agent.71 10:19:19 SSH_AGENT_PID=77 10:19:19 Running ssh-add (command line suppressed) 10:19:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-244@tmp/private_key_13285923400024301224.key (/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/private_key_13285923400024301224.key) 10:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:19 + git semver init 10:19:19 2025-03-05 10:19:19,768 [run_init] DEBUG init version:0.0.0 force:False 10:19:19 2025-03-05 10:19:19,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-244/.semver 10:19:19 2025-03-05 10:19:19,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-244/.semver 10:19:19 2025-03-05 10:19:19,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-244/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-244, universal_newlines=False, shell=None, istream=None) 10:19:21 2025-03-05 10:19:21,297 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-244/.git/info/exclude 10:19:21 2025-03-05 10:19:21,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-244/.semver/PR-244 with force:False 10:19:21 2025-03-05 10:19:21,297 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-244/.semver/PR-244 10:19:21 2025-03-05 10:19:21,300 [execute] INFO git cat-file --batch-check 10:19:21 2025-03-05 10:19:21,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-244/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 10:19:21 2025-03-05 10:19:21,306 [execute] INFO git cat-file --batch 10:19:21 2025-03-05 10:19:21,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-244/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 10:19:21 2025-03-05 10:19:21,313 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-244/.semver/PR-244 10:19:21 0.0.0 [Pipeline] } 10:19:21 $ docker exec --env ******** --env ******** 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee ssh-agent -k 10:19:21 unset SSH_AUTH_SOCK; 10:19:21 unset SSH_AGENT_PID; 10:19:21 echo Agent pid 77 killed; 10:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:22 + git semver [Pipeline] } 10:19:22 $ docker stop --time=1 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee 10:19:23 $ docker rm -f --volumes 930608dd9a6f2de6ae57f745b2c38d67eee5b57a778323e84f228c87f68c14ee [Pipeline] // withDockerContainer [Pipeline] sh 10:19:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:19:24 Stashed 1 file(s) [Pipeline] echo 10:19:24 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:24 provisioning config files... [Pipeline] // stage [Pipeline] } 10:19:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/config728108616413398284tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:19:24 ---> ****-login.sh 10:19:24 nexus3.edgexfoundry.org:10001 10:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:24 Configure a credential helper to remove this warning. See 10:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:24 10:19:24 Login Succeeded 10:19:24 nexus3.edgexfoundry.org:10002 10:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:24 Configure a credential helper to remove this warning. See 10:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:24 10:19:24 Login Succeeded 10:19:24 nexus3.edgexfoundry.org:10003 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:25 Login Succeeded 10:19:25 nexus3.edgexfoundry.org:10004 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:25 Login Succeeded 10:19:25 ****.io 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:25 Login Succeeded 10:19:25 ---> ****-login.sh ends [Pipeline] } 10:19:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:19:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:19:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:19:25 ========================================================= 10:19:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:19:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 10:19:25 Sending build context to Docker daemon 30.44MB 10:19:25 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:19:25 Step 2/12 : FROM ${BASE} AS builder 10:19:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:19:26 da9db072f522: Pulling fs layer 10:19:26 6ef4a4ee8ca5: Pulling fs layer 10:19:26 06f05ace1117: Pulling fs layer 10:19:26 5fe327b54edc: Pulling fs layer 10:19:26 4f4fb700ef54: Pulling fs layer 10:19:26 92a5565b7b96: Pulling fs layer 10:19:26 ff9bb7016b71: Pulling fs layer 10:19:26 4f4fb700ef54: Waiting 10:19:26 92a5565b7b96: Waiting 10:19:26 5fe327b54edc: Waiting 10:19:26 b67dba6c2c7d: Pulling fs layer 10:19:26 a813b0c90790: Pulling fs layer 10:19:26 b67dba6c2c7d: Waiting 10:19:26 a813b0c90790: Waiting 10:19:26 6ef4a4ee8ca5: Verifying Checksum 10:19:26 6ef4a4ee8ca5: Download complete 10:19:26 5fe327b54edc: Download complete 10:19:26 4f4fb700ef54: Verifying Checksum 10:19:26 4f4fb700ef54: Download complete 10:19:26 92a5565b7b96: Verifying Checksum 10:19:26 92a5565b7b96: Download complete 10:19:26 da9db072f522: Verifying Checksum 10:19:26 da9db072f522: Download complete 10:19:26 ff9bb7016b71: Verifying Checksum 10:19:26 ff9bb7016b71: Download complete 10:19:26 da9db072f522: Pull complete 10:19:26 a813b0c90790: Download complete 10:19:26 6ef4a4ee8ca5: Pull complete 10:19:26 06f05ace1117: Verifying Checksum 10:19:26 06f05ace1117: Download complete 10:19:26 b67dba6c2c7d: Verifying Checksum 10:19:26 b67dba6c2c7d: Download complete 10:19:29 06f05ace1117: Pull complete 10:19:29 5fe327b54edc: Pull complete 10:19:29 4f4fb700ef54: Pull complete 10:19:29 92a5565b7b96: Pull complete 10:19:29 ff9bb7016b71: Pull complete 10:19:31 b67dba6c2c7d: Pull complete 10:19:32 a813b0c90790: Pull complete 10:19:32 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:19:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:19:32 ---> 3ba60ce46760 10:19:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:19:34 ---> Running in afe2ce323f31 10:19:34 Removing intermediate container afe2ce323f31 10:19:34 ---> cf9906b12fce 10:19:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:19:34 ---> Running in c8998ecc3ce2 10:19:35 Removing intermediate container c8998ecc3ce2 10:19:35 ---> 6e5afb6e4fdb 10:19:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:19:35 ---> Running in bd541b38b5bf 10:19:35 Removing intermediate container bd541b38b5bf 10:19:35 ---> 4745be46f96b 10:19:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:19:35 ---> Running in 5e31bf313d2b 10:19:35 Removing intermediate container 5e31bf313d2b 10:19:35 ---> d36369959172 10:19:35 Step 7/12 : WORKDIR /device-gpio 10:19:35 ---> Running in 656ab249a56b 10:19:35 Removing intermediate container 656ab249a56b 10:19:35 ---> b79b1ad27eda 10:19:35 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:35 ---> Running in 562686ac116a 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:19:36 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:19:36 (2/4) Installing libedit (20240517.3.1-r0) 10:19:36 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:19:36 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:19:36 Executing busybox-1.36.1-r29.trigger 10:19:36 OK: 252 MiB in 62 packages 10:19:36 Removing intermediate container 562686ac116a 10:19:36 ---> d2a2bb8a0037 10:19:36 Step 9/12 : COPY go.mod vendor* ./ 10:19:36 ---> 1d39211b3f9d 10:19:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:36 ---> Running in d77dde0411da 10:20:23 Removing intermediate container d77dde0411da 10:20:23 ---> dff0d3c507b2 10:20:23 Step 11/12 : COPY . . 10:20:23 ---> 907295531e25 10:20:23 Step 12/12 : RUN ${MAKE} 10:20:23 ---> Running in 5c5d5d47646b 10:20:23 noop 10:20:23 Removing intermediate container 5c5d5d47646b 10:20:23 ---> d3869b1f8f2d 10:20:23 Successfully built d3869b1f8f2d 10:20:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:23 + docker inspect -f . ci-base-image-x86_64 10:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:23 prd-ubuntu20.04-docker-8c-8g-40300 does not seem to be running inside a container 10:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-244 -v /w/workspace/edgexfoundry_device-gpio_PR-244:/w/workspace/edgexfoundry_device-gpio_PR-244:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-244@tmp:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:20:24 $ docker top 3d43e47d7f968a134f59f527d0dae8373e4e7b732fce930166aa92dd445d6bf8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:24 + go version 10:20:24 go version go1.23.4 linux/amd64 [Pipeline] } 10:20:24 $ docker stop --time=1 3d43e47d7f968a134f59f527d0dae8373e4e7b732fce930166aa92dd445d6bf8 10:20:25 $ docker rm -f --volumes 3d43e47d7f968a134f59f527d0dae8373e4e7b732fce930166aa92dd445d6bf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:26 + docker inspect -f . ci-base-image-x86_64 10:20:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:26 prd-ubuntu20.04-docker-8c-8g-40300 does not seem to be running inside a container 10:20:26 $ 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-244 -v /w/workspace/edgexfoundry_device-gpio_PR-244:/w/workspace/edgexfoundry_device-gpio_PR-244:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-244@tmp:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:20:26 $ docker top 238b9c01dd05ceabfa61624a1b7d7ba6d6fed88da9b9ea7a36c2ee38802d2e2f -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-244 [Pipeline] fileExists [Pipeline] sh 10:20:27 + make test 10:20:27 go test ./... -coverprofile=coverage.out ./... 10:20:28 ? github.com/edgexfoundry/device-gpio [no test files] 10:20:46 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 10:20:46 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 10:20:56 go vet ./... 10:21:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:21:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:21:00 ./bin/test-attribution-txt.sh [Pipeline] echo 10:21:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:21:00 $ docker stop --time=1 238b9c01dd05ceabfa61624a1b7d7ba6d6fed88da9b9ea7a36c2ee38802d2e2f 10:21:03 $ docker rm -f --volumes 238b9c01dd05ceabfa61624a1b7d7ba6d6fed88da9b9ea7a36c2ee38802d2e2f [Pipeline] // withDockerContainer [Pipeline] sh 10:21:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:21:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:21:04 + ls -al . 10:21:04 total 224 10:21:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:20 . 10:21:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:18 .. 10:21:04 -rw-rw-r-- 1 jenkins jenkins 120 Mar 5 10:19 .dockerignore 10:21:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:20 .git 10:21:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 .github 10:21:04 -rw-rw-r-- 1 jenkins jenkins 277 Mar 5 10:19 .gitignore 10:21:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 10:19 .golangci.yml 10:21:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:19 .semver 10:21:04 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 5 10:19 Attribution.txt 10:21:04 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 5 10:19 CHANGELOG.md 10:21:04 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 5 10:19 Dockerfile 10:21:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:19 GOVERNANCE.md 10:21:04 -rw-rw-r-- 1 jenkins jenkins 657 Mar 5 10:19 Jenkinsfile 10:21:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 10:19 LICENSE 10:21:04 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 5 10:19 Makefile 10:21:04 -rw-rw-r-- 1 jenkins jenkins 617 Mar 5 10:19 OWNERS.md 10:21:04 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 5 10:19 README.md 10:21:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 10:19 VERSION 10:21:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:19 bin 10:21:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 cmd 10:21:04 -rw-r--r-- 1 jenkins jenkins 11486 Mar 5 10:20 coverage.out 10:21:04 -rw-rw-r-- 1 jenkins jenkins 6098 Mar 5 10:19 go.mod 10:21:04 -rw-rw-r-- 1 jenkins jenkins 86984 Mar 5 10:19 go.sum 10:21:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 internal 10:21:04 -rw-rw-r-- 1 jenkins jenkins 209 Mar 5 10:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:05 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f28e571421cc6433de72c1a16cf733d211a09089 --label arch=amd64 --label version=0.0.0 . 10:21:05 Sending build context to Docker daemon 30.45MB 10:21:05 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 10:21:05 Step 2/26 : FROM ${BASE} AS builder 10:21:05 ---> d3869b1f8f2d 10:21:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:21:05 ---> Running in a9074d6e89a4 10:21:05 Removing intermediate container a9074d6e89a4 10:21:05 ---> 26a591faf01e 10:21:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:21:05 ---> Running in ab423ad9027f 10:21:05 Removing intermediate container ab423ad9027f 10:21:05 ---> 98536383eac3 10:21:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:21:05 ---> Running in 8235cd156231 10:21:05 Removing intermediate container 8235cd156231 10:21:05 ---> ab76da1140a5 10:21:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:21:05 ---> Running in 1f89556c5325 10:21:05 Removing intermediate container 1f89556c5325 10:21:05 ---> af444c5e2110 10:21:05 Step 7/26 : WORKDIR /device-gpio 10:21:05 ---> Running in ae7e201b01a2 10:21:05 Removing intermediate container ae7e201b01a2 10:21:05 ---> f15c5114259f 10:21:05 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:05 ---> Running in c0dbe4826ca1 10:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:21:06 OK: 252 MiB in 62 packages 10:21:06 Removing intermediate container c0dbe4826ca1 10:21:06 ---> 443b41269e9b 10:21:06 Step 9/26 : COPY go.mod vendor* ./ 10:21:06 ---> 82a3d8dfb5d0 10:21:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:06 ---> Running in 8cdd48b460d8 10:21:07 Removing intermediate container 8cdd48b460d8 10:21:07 ---> 3cfe882f46d0 10:21:07 Step 11/26 : COPY . . 10:21:08 ---> a100080dc414 10:21:08 Step 12/26 : RUN ${MAKE} 10:21:08 ---> Running in e079d6952944 10:21:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 10:21:40 Removing intermediate container e079d6952944 10:21:40 ---> 896242b80ce5 10:21:40 Step 13/26 : FROM alpine:3.20 10:21:40 3.20: Pulling from library/alpine 10:21:40 0a9a5dfd008f: Pulling fs layer 10:21:40 0a9a5dfd008f: Verifying Checksum 10:21:40 0a9a5dfd008f: Download complete 10:21:40 0a9a5dfd008f: Pull complete 10:21:40 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:21:40 Status: Downloaded newer image for alpine:3.20 10:21:40 ---> ff221270b9fb 10:21:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:21:40 ---> Running in b3d9f618c0fb 10:21:40 Removing intermediate container b3d9f618c0fb 10:21:40 ---> 9db58d6e7903 10:21:40 Step 15/26 : RUN apk add --update --no-cache dumb-init 10:21:40 ---> Running in dd62884fbaf6 10:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:21:40 (1/1) Installing dumb-init (1.2.5-r3) 10:21:40 Executing busybox-1.36.1-r29.trigger 10:21:40 OK: 8 MiB in 15 packages 10:21:40 Removing intermediate container dd62884fbaf6 10:21:40 ---> 39b8a4c40253 10:21:40 Step 16/26 : RUN apk --no-cache upgrade 10:21:40 ---> Running in 47d8e830c298 10:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:21:40 OK: 8 MiB in 15 packages 10:21:40 Removing intermediate container 47d8e830c298 10:21:40 ---> a1f397a8b215 10:21:40 Step 17/26 : WORKDIR / 10:21:40 ---> Running in ca76ed00d77d 10:21:40 Removing intermediate container ca76ed00d77d 10:21:40 ---> 54d4bed76ec1 10:21:40 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 10:21:40 ---> c73ab7fd49ea 10:21:40 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 10:21:40 ---> 3e8d51dc8cd3 10:21:40 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 10:21:40 ---> f6215a57dc51 10:21:40 Step 21/26 : EXPOSE 59910 10:21:40 ---> Running in 4b2b2a7588c9 10:21:40 Removing intermediate container 4b2b2a7588c9 10:21:40 ---> 78784f4b8986 10:21:40 Step 22/26 : ENTRYPOINT ["/device-gpio"] 10:21:40 ---> Running in aa0c6dd55ccb 10:21:40 Removing intermediate container aa0c6dd55ccb 10:21:40 ---> 01f1ced57961 10:21:40 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:21:40 ---> Running in 1f6bca765ba7 10:21:40 Removing intermediate container 1f6bca765ba7 10:21:40 ---> 9590eee07099 10:21:40 Step 24/26 : LABEL arch=amd64 10:21:40 ---> Running in 1d35109c90bb 10:21:40 Removing intermediate container 1d35109c90bb 10:21:40 ---> e16baa134161 10:21:40 Step 25/26 : LABEL git_sha=f28e571421cc6433de72c1a16cf733d211a09089 10:21:40 ---> Running in 48f952516d35 10:21:40 Removing intermediate container 48f952516d35 10:21:40 ---> f38f21de3624 10:21:40 Step 26/26 : LABEL version=0.0.0 10:21:40 ---> Running in 21265253f29f 10:21:40 Removing intermediate container 21265253f29f 10:21:40 ---> b8ae9cc54474 10:21:40 [Warning] One or more build-args [ARCH] were not consumed 10:21:40 Successfully built b8ae9cc54474 10:21:40 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:40 10:21:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:41 latest: Pulling from edgex-lftools-log-publisher 10:21:41 5eb5b503b376: Pulling fs layer 10:21:41 5c69ac0246d0: Pulling fs layer 10:21:41 ec43610c2a17: Pulling fs layer 10:21:41 3a2ae6a8a46f: Pulling fs layer 10:21:41 33b1e0a273af: Pulling fs layer 10:21:41 5d3b04190fa2: Pulling fs layer 10:21:41 2f39f015ded8: Pulling fs layer 10:21:41 3a2ae6a8a46f: Waiting 10:21:41 5d3b04190fa2: Waiting 10:21:41 33b1e0a273af: Waiting 10:21:41 2f39f015ded8: Waiting 10:21:41 5c69ac0246d0: Download complete 10:21:41 3a2ae6a8a46f: Verifying Checksum 10:21:41 3a2ae6a8a46f: Download complete 10:21:41 33b1e0a273af: Verifying Checksum 10:21:41 33b1e0a273af: Download complete 10:21:41 5d3b04190fa2: Verifying Checksum 10:21:41 5d3b04190fa2: Download complete 10:21:41 ec43610c2a17: Verifying Checksum 10:21:41 ec43610c2a17: Download complete 10:21:41 5eb5b503b376: Verifying Checksum 10:21:41 5eb5b503b376: Download complete 10:21:42 2f39f015ded8: Download complete 10:21:42 5eb5b503b376: Pull complete 10:21:42 5c69ac0246d0: Pull complete 10:21:42 ec43610c2a17: Pull complete 10:21:42 3a2ae6a8a46f: Pull complete 10:21:43 33b1e0a273af: Pull complete 10:21:43 5d3b04190fa2: Pull complete 10:21:47 2f39f015ded8: Pull complete 10:21:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:47 prd-ubuntu20.04-docker-8c-8g-40300 does not seem to be running inside a container 10:21:47 $ 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-244 -v /w/workspace/edgexfoundry_device-gpio_PR-244:/w/workspace/edgexfoundry_device-gpio_PR-244:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-244@tmp:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:49 $ docker top 61d8f0fe7b0113d8b34e0f551e1750f0708792e9834b035704c9cfce367a5559 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:49 ---> job-cost.sh 10:21:49 lf-activate-venv: SKIPPING 10:21:49 INFO: No Stack... 10:21:49 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:49 INFO: Archiving Costs [Pipeline] sh 10:21:50 + cat /w/workspace/edgexfoundry_device-gpio_PR-244/archives/cost.csv 10:21:50 + cut -d, -f6 [Pipeline] lock 10:21:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-244-3-stack-cost] 10:21:50 Resource [jenkins-edgexfoundry-device-gpio-PR-244-3-stack-cost] did not exist. Created. 10:21:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-244-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:50 + echo total: 0.2199999988079071 [Pipeline] stash 10:21:50 Stashed 1 file(s) [Pipeline] } 10:21:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-244-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:50 $ docker stop --time=1 61d8f0fe7b0113d8b34e0f551e1750f0708792e9834b035704c9cfce367a5559 10:21:51 $ docker rm -f --volumes 61d8f0fe7b0113d8b34e0f551e1750f0708792e9834b035704c9cfce367a5559 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:21:52 provisioning config files... 10:21:52 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/config15925142329309780284tmp [Pipeline] { [Pipeline] sh 10:21:52 + set +x 10:21:52 + curl -s https://codecov.io/bash 10:21:52 + bash -s -- 10:21:52 10:21:52 _____ _ 10:21:52 / ____| | | 10:21:52 | | ___ __| | ___ ___ _____ __ 10:21:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:21:52 | |___| (_) | (_| | __/ (_| (_) \ V / 10:21:52 \_____\___/ \__,_|\___|\___\___/ \_/ 10:21:52 Bash-1.0.6 10:21:52 10:21:52 10:21:52 [0;36m==>[0m git version 2.25.1 found 10:21:52 [0;36m==>[0m curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:21:52 Release-Date: 2020-01-08 10:21:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:21:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:21:52 [0;90m==>[0m Jenkins CI detected. 10:21:52 [0;90mcurrent dir: [0m /w/workspace/edgexfoundry_device-gpio_PR-244 10:21:52 [0;90mproject root:[0m . 10:21:52 [0;90m-->[0m token set from env 10:21:52 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 10:21:52 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 10:21:52 [0;90m==>[0m Python coveragepy not found 10:21:52 [0;90m==>[0m Searching for coverage reports in: 10:21:52 [0;32m+[0m . 10:21:52 [0;90m->[0m Found 1 reports 10:21:52 [0;90m==>[0m Detecting git/mercurial file structure 10:21:52 [0;90m==>[0m Reading reports 10:21:52 [0;32m+[0m ./coverage.out [0;90mbytes=11486[0m 10:21:52 [0;90m==>[0m Appending adjustments 10:21:52 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 10:21:52 [0;32m+[0m Found adjustments 10:21:52 [0;90m==>[0m Gzipping contents 10:21:52 4.0K /tmp/codecov.t5otYL.gz 10:21:52 [0;90m==>[0m Uploading reports 10:21:52 [0;90murl:[0m https://codecov.io 10:21:52 [0;90mquery:[0m branch=PR-244&commit=f28e571421cc6433de72c1a16cf733d211a09089&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=244&job=&cmd_args= 10:21:52 [0;90m->[0m Pinging Codecov 10:21:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=****&branch=PR-244&commit=f28e571421cc6433de72c1a16cf733d211a09089&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=244&job=&cmd_args= 10:21:52 [0;90m->[0m Uploading to 10:21:52 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/f28e571421cc6433de72c1a16cf733d211a09089/77286a7d-b4a3-410d-ac52-a6d6455e1cb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T102152Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0bd2df85a07b353da06d28695934f4df266feecfb8417ccd26b6ecaed4d01529 10:21:52 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:52 Dload Upload Total Spent Left Speed 10:21:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 10910 --:--:-- --:--:-- --:--:-- 10910 10:21:52 [0;32m->[0m Reports have been successfully queued for processing at [0;36mhttps://app.codecov.io/github/edgexfoundry/device-gpio/commit/f28e571421cc6433de72c1a16cf733d211a09089[0m [Pipeline] } 10:21:52 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:21:53 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-244/archives ] 10:21:53 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-244/archives 10:21:53 total 16 10:21:53 drwxr-xr-x 3 root root 4096 Mar 5 10:21 . 10:21:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:21 .. 10:21:53 drwxr-xr-x 2 root root 4096 Mar 5 10:21 cost 10:21:53 -rw-r--r-- 1 root root 83 Mar 5 10:21 cost.csv 10:21:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-244/archives 10:21:53 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-244/archives 10:21:53 total 16 10:21:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:21 . 10:21:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:21 .. 10:21:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:21 cost 10:21:53 -rw-r--r-- 1 jenkins jenkins 83 Mar 5 10:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:54 ---> package-listing.sh 10:21:54 ++ facter osfamily 10:21:54 ++ tr '[:upper:]' '[:lower:]' 10:21:55 + OS_FAMILY=debian 10:21:55 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-244 10:21:55 + START_PACKAGES=/tmp/packages_start.txt 10:21:55 + END_PACKAGES=/tmp/packages_end.txt 10:21:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:55 + PACKAGES=/tmp/packages_start.txt 10:21:55 + '[' /w/workspace/edgexfoundry_device-gpio_PR-244 ']' 10:21:55 + PACKAGES=/tmp/packages_end.txt 10:21:55 + case "${OS_FAMILY}" in 10:21:55 + dpkg -l 10:21:55 + grep '^ii' 10:21:55 + '[' -f /tmp/packages_start.txt ']' 10:21:55 + '[' -f /tmp/packages_end.txt ']' 10:21:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:55 + '[' /w/workspace/edgexfoundry_device-gpio_PR-244 ']' 10:21:55 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-244/archives/ 10:21:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-244/archives/ [Pipeline] echo 10:21:55 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-244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:21:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:56 prd-ubuntu20.04-docker-8c-8g-40300 does not seem to be running inside a container 10:21:56 $ 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-244/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-244 -v /w/workspace/edgexfoundry_device-gpio_PR-244:/w/workspace/edgexfoundry_device-gpio_PR-244:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-244@tmp:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:56 $ docker top cec7bc6dbb2b146c38b1d0b569597995d74e4fa1a2d624f0e281a3a7fb0bbffb -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:56 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:56 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:57 + ls /var/log/sa-host 10:21:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:57 provisioning config files... 10:21:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-244@tmp/config12241318374837806249tmp [Pipeline] { [Pipeline] echo 10:21:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:57 ---> create-netrc.sh [Pipeline] } 10:21:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:57 ---> python-tools-install.sh [Pipeline] echo 10:21:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:58 ---> sudo-logs.sh 10:21:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:58 ---> job-cost.sh 10:21:58 lf-activate-venv: SKIPPING 10:21:58 DEBUG: total: 0.2199999988079071 10:21:58 INFO: Retrieving Stack Cost... 10:21:58 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:58 INFO: Archiving Costs [Pipeline] echo 10:21:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:59 ---> logs-deploy.sh 10:21:59 lf-activate-venv: SKIPPING 10:21:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-244/3 10:21:59 INFO: archiving workspace using pattern(s): 10:21:59 Archives upload complete. 10:22:00 INFO: archiving logs to Nexus 10:22:00 ---> uname -a: 10:22:00 Linux prd-ubuntu20-04-docker-8c-8g-40300 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:22:00 10:22:00 10:22:00 ---> lscpu: 10:22:00 Architecture: x86_64 10:22:00 CPU op-mode(s): 32-bit, 64-bit 10:22:00 Byte Order: Little Endian 10:22:00 Address sizes: 40 bits physical, 48 bits virtual 10:22:00 CPU(s): 8 10:22:00 On-line CPU(s) list: 0-7 10:22:00 Thread(s) per core: 1 10:22:00 Core(s) per socket: 1 10:22:00 Socket(s): 8 10:22:00 NUMA node(s): 1 10:22:00 Vendor ID: AuthenticAMD 10:22:00 CPU family: 23 10:22:00 Model: 49 10:22:00 Model name: AMD EPYC-Rome Processor 10:22:00 Stepping: 0 10:22:00 CPU MHz: 2800.000 10:22:00 BogoMIPS: 5600.00 10:22:00 Virtualization: AMD-V 10:22:00 Hypervisor vendor: KVM 10:22:00 Virtualization type: full 10:22:00 L1d cache: 256 KiB 10:22:00 L1i cache: 256 KiB 10:22:00 L2 cache: 4 MiB 10:22:00 L3 cache: 128 MiB 10:22:00 NUMA node0 CPU(s): 0-7 10:22:00 Vulnerability Itlb multihit: Not affected 10:22:00 Vulnerability L1tf: Not affected 10:22:00 Vulnerability Mds: Not affected 10:22:00 Vulnerability Meltdown: Not affected 10:22:00 Vulnerability Mmio stale data: Not affected 10:22:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:22:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:22:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:22:00 Vulnerability Srbds: Not affected 10:22:00 Vulnerability Tsx async abort: Not affected 10:22:00 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 10:22:00 10:22:00 10:22:00 ---> nproc: 10:22:00 8 10:22:00 10:22:00 10:22:00 ---> df -h: 10:22:00 Filesystem Size Used Avail Use% Mounted on 10:22:00 overlay 155G 12G 144G 8% / 10:22:00 tmpfs 64M 0 64M 0% /dev 10:22:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:22:00 shm 64M 0 64M 0% /dev/shm 10:22:00 /dev/vda1 155G 12G 144G 8% /facter-os 10:22:00 10:22:00 10:22:00 ---> sar -b -r -n DEV: 10:22:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40300) 03/05/25 _x86_64_ (8 CPU) 10:22:00 10:22:00 10:18:24 LINUX RESTART (8 CPU) 10:22:00 10:22:00 10:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:22:00 10:20:01 445.85 12.68 433.17 0.00 1793.54 60066.78 0.00 10:22:00 10:21:01 157.89 0.10 157.79 0.00 5.20 53464.82 0.00 10:22:00 Average: 301.88 6.39 295.49 0.00 899.44 56766.08 0.00 10:22:00 10:22:00 10:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:22:00 10:20:01 28091732 31531416 773264 2.35 128912 3478532 1891480 5.57 1247864 3034568 295760 10:22:00 10:21:01 27539384 31525816 770284 2.34 189756 3884984 1949436 5.75 1321608 3425264 369448 10:22:00 Average: 27815558 31528616 771774 2.35 159334 3681758 1920458 5.66 1284736 3229916 332604 10:22:00 10:22:00 10:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:22:00 10:20:01 docker0 343.04 540.69 28.57 3170.95 0.00 0.00 0.00 0.00 10:22:00 10:20:01 lo 6.00 6.00 0.59 0.59 0.00 0.00 0.00 0.00 10:22:00 10:20:01 ens3 825.69 509.60 8150.32 79.45 0.00 0.00 0.00 0.00 10:22:00 10:21:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 10:22:00 10:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:22:00 10:21:01 veth6d89076 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 10:22:00 10:21:01 ens3 32.23 18.83 31.14 11.85 0.00 0.00 0.00 0.00 10:22:00 Average: docker0 171.53 270.42 14.29 1585.61 0.00 0.00 0.00 0.00 10:22:00 Average: lo 3.10 3.10 0.30 0.30 0.00 0.00 0.00 0.00 10:22:00 Average: veth6d89076 0.00 0.09 0.00 0.01 0.00 0.00 0.00 0.00 10:22:00 Average: ens3 428.99 264.23 4091.07 45.65 0.00 0.00 0.00 0.00 10:22:00 10:22:00 10:22:00 ---> sar -P ALL: 10:22:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40300) 03/05/25 _x86_64_ (8 CPU) 10:22:00 10:22:00 10:18:24 LINUX RESTART (8 CPU) 10:22:00 10:22:00 10:19:01 CPU %user %nice %system %iowait %steal %idle 10:22:00 10:20:01 all 8.02 0.00 3.64 1.96 0.08 86.31 10:22:00 10:20:01 0 11.11 0.00 3.54 0.35 0.07 84.93 10:22:00 10:20:01 1 6.83 0.00 4.52 3.94 0.07 84.64 10:22:00 10:20:01 2 7.97 0.00 2.86 0.17 0.07 88.93 10:22:00 10:20:01 3 6.84 0.00 4.04 4.71 0.08 84.33 10:22:00 10:20:01 4 7.37 0.00 3.05 0.30 0.07 89.21 10:22:00 10:20:01 5 8.78 0.00 2.88 0.57 0.08 87.69 10:22:00 10:20:01 6 8.18 0.00 4.34 5.21 0.10 82.17 10:22:00 10:20:01 7 7.07 0.00 3.87 0.45 0.07 88.53 10:22:00 10:21:01 all 41.45 0.00 7.55 1.04 0.08 49.87 10:22:00 10:21:01 0 41.18 0.00 7.40 0.32 0.10 51.00 10:22:00 10:21:01 1 41.61 0.00 7.78 0.32 0.10 50.19 10:22:00 10:21:01 2 40.92 0.00 7.20 0.78 0.07 51.03 10:22:00 10:21:01 3 42.29 0.00 8.50 5.40 0.08 43.73 10:22:00 10:21:01 4 39.43 0.00 6.99 0.08 0.08 53.41 10:22:00 10:21:01 5 42.71 0.00 7.58 0.49 0.07 49.15 10:22:00 10:21:01 6 41.74 0.00 7.84 0.88 0.07 49.48 10:22:00 10:21:01 7 41.73 0.00 7.12 0.10 0.10 50.94 10:22:00 Average: all 24.72 0.00 5.59 1.50 0.08 68.10 10:22:00 Average: 0 26.11 0.00 5.47 0.34 0.08 68.01 10:22:00 Average: 1 24.21 0.00 6.15 2.13 0.08 67.42 10:22:00 Average: 2 24.42 0.00 5.03 0.47 0.07 70.01 10:22:00 Average: 3 24.54 0.00 6.26 5.05 0.08 64.06 10:22:00 Average: 4 23.39 0.00 5.02 0.19 0.08 71.32 10:22:00 Average: 5 25.74 0.00 5.23 0.53 0.08 68.42 10:22:00 Average: 6 24.99 0.00 6.09 3.04 0.08 65.80 10:22:00 Average: 7 24.39 0.00 5.49 0.28 0.08 69.76 10:22:00 10:22:00 10:22:00