Pull request #254 opened 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 whxtpbnl for edgexfoundry/device-gpio Loading trusted files from base branch main at 99341b55b6a412f9218defbeb1518dbc282c704d rather than 4e5b6ae423211958ec40fb692ec1903b52037cba Obtained Jenkinsfile from 99341b55b6a412f9218defbeb1518dbc282c704d 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-ssh62057002684285886.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh3008163601272037303.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13211689596409937389.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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh930254888529475820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh10374312290917593642.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15296380339254213126.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44977 in /w/workspace/edgexfoundry_device-gpio_PR-254 [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-254 # 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 99341b55b6a412f9218defbeb1518dbc282c704d into PR head commit 4e5b6ae423211958ec40fb692ec1903b52037cba > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5b6ae423211958ec40fb692ec1903b52037cba # 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 99341b55b6a412f9218defbeb1518dbc282c704d # timeout=10 Merge succeeded, producing 4e5b6ae423211958ec40fb692ec1903b52037cba Checking out Revision 4e5b6ae423211958ec40fb692ec1903b52037cba (PR-254) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5b6ae423211958ec40fb692ec1903b52037cba # timeout=10 Commit message: "feat: Support reading multiple commands with a single request" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:02:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:02:24 ========================================================= 02:02:24 EdgeX Global Pipelines Version Info 02:02:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:02:25 ------------------- 02:02:25 stable info: 02:02:25 ------------------- 02:02:25 Commited By: Ginny Guan ginny@iotechsys.com 02:02:25 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:02:25 Message: update stable to v1.0.274 02:02:26 ------------------- 02:02:26 experimental info: 02:02:26 ------------------- 02:02:26 Commited By: Ginny Guan ginny@iotechsys.com 02:02:26 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 02:02:26 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:02:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e5b6ae423211958ec40fb692ec1903b52037cba [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e5b6ae [Pipeline] echo 02:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:28 provisioning config files... 02:02:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/config16025373564046449856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:29 ---> ****-login.sh 02:02:29 nexus3.edgexfoundry.org:10001 02:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:29 Configure a credential helper to remove this warning. See 02:02:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:29 02:02:29 Login Succeeded 02:02:29 nexus3.edgexfoundry.org:10002 02:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:29 Configure a credential helper to remove this warning. See 02:02:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:29 02:02:29 Login Succeeded 02:02:29 nexus3.edgexfoundry.org:10003 02:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:29 Configure a credential helper to remove this warning. See 02:02:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:29 02:02:29 Login Succeeded 02:02:29 nexus3.edgexfoundry.org:10004 02:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:29 Configure a credential helper to remove this warning. See 02:02:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:29 02:02:29 Login Succeeded 02:02:29 ****.io 02:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:30 Configure a credential helper to remove this warning. See 02:02:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:30 02:02:30 Login Succeeded 02:02:30 ---> ****-login.sh ends [Pipeline] } 02:02:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:02:31 + git rev-list -1 --merges 4e5b6ae423211958ec40fb692ec1903b52037cba~1..4e5b6ae423211958ec40fb692ec1903b52037cba [Pipeline] echo 02:02:31 -----------> git rev-list -1 --merges 4e5b6ae423211958ec40fb692ec1903b52037cba~1..4e5b6ae423211958ec40fb692ec1903b52037cba 4e5b6ae423211958ec40fb692ec1903b52037cba [false] [Pipeline] sh 02:02:31 + git log --format=format:%s -1 4e5b6ae423211958ec40fb692ec1903b52037cba [Pipeline] echo 02:02:31 ========================================================= 02:02:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:02:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:31 + git log --format=format:%s -1 4e5b6ae423211958ec40fb692ec1903b52037cba [Pipeline] echo 02:02:31 [semverPrep] GIT_COMMIT: 4e5b6ae423211958ec40fb692ec1903b52037cba, Commit Message: feat: Support reading multiple commands with a single request [Pipeline] echo 02:02:31 [semverPrep] This is not a build commit. [Pipeline] sh 02:02:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:02:32 + grep -v github /etc/ssh/ssh_known_hosts 02:02:32 + [ -e /tmp/ssh_known_hosts ] 02:02:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:02:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:02:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:02:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:02:33 02:02:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:02:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:02:33 b85a868b505f: Pulling fs layer 02:02:33 e2be974225ed: Pulling fs layer 02:02:33 339a4e72a1f5: Pulling fs layer 02:02:33 988bab9f4d93: Pulling fs layer 02:02:33 1469e6f7b9e6: Pulling fs layer 02:02:33 eaf3925da568: Pulling fs layer 02:02:33 bab4dde63d76: Pulling fs layer 02:02:33 bde34c3a00c8: Pulling fs layer 02:02:33 b352a97aabf1: Pulling fs layer 02:02:33 4872d77fe225: Pulling fs layer 02:02:33 5851b861e8e6: Pulling fs layer 02:02:33 988bab9f4d93: Waiting 02:02:33 bde34c3a00c8: Waiting 02:02:33 b352a97aabf1: Waiting 02:02:33 1469e6f7b9e6: Waiting 02:02:33 4872d77fe225: Waiting 02:02:33 eaf3925da568: Waiting 02:02:33 bab4dde63d76: Waiting 02:02:33 e2be974225ed: Download complete 02:02:33 988bab9f4d93: Download complete 02:02:33 339a4e72a1f5: Verifying Checksum 02:02:33 339a4e72a1f5: Download complete 02:02:33 1469e6f7b9e6: Verifying Checksum 02:02:33 1469e6f7b9e6: Download complete 02:02:33 eaf3925da568: Verifying Checksum 02:02:33 eaf3925da568: Download complete 02:02:33 bde34c3a00c8: Download complete 02:02:33 b352a97aabf1: Download complete 02:02:33 4872d77fe225: Verifying Checksum 02:02:33 4872d77fe225: Download complete 02:02:33 5851b861e8e6: Download complete 02:02:33 b85a868b505f: Verifying Checksum 02:02:33 b85a868b505f: Download complete 02:02:34 bab4dde63d76: Verifying Checksum 02:02:34 bab4dde63d76: Download complete 02:02:34 b85a868b505f: Pull complete 02:02:35 e2be974225ed: Pull complete 02:02:35 339a4e72a1f5: Pull complete 02:02:35 988bab9f4d93: Pull complete 02:02:35 1469e6f7b9e6: Pull complete 02:02:36 eaf3925da568: Pull complete 02:02:37 bab4dde63d76: Pull complete 02:02:37 bde34c3a00c8: Pull complete 02:02:37 b352a97aabf1: Pull complete 02:02:37 4872d77fe225: Pull complete 02:02:37 5851b861e8e6: Pull complete 02:02:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:02:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:38 prd-ubuntu20.04-docker-8c-8g-44977 does not seem to be running inside a container 02:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-254 -v /w/workspace/edgexfoundry_device-gpio_PR-254:/w/workspace/edgexfoundry_device-gpio_PR-254:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-254@tmp:/w/workspace/edgexfoundry_device-gpio_PR-254@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:02:40 $ docker top 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 -eo pid,comm 02:02:40 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). 02:02:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:40 [ssh-agent] Looking for ssh-agent implementation... 02:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:40 $ docker exec 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 ssh-agent 02:02:40 SSH_AUTH_SOCK=/tmp/ssh-ZU9q7IdkOiYV/agent.32 02:02:40 SSH_AGENT_PID=38 02:02:40 Running ssh-add (command line suppressed) 02:02:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-254@tmp/private_key_4613132071078412193.key (/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/private_key_4613132071078412193.key) 02:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:41 + git tag --points-at HEAD [Pipeline] } 02:02:41 $ docker exec --env ******** --env ******** 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 ssh-agent -k 02:02:41 unset SSH_AUTH_SOCK; 02:02:41 unset SSH_AGENT_PID; 02:02:41 echo Agent pid 38 killed; 02:02:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:02:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:41 [ssh-agent] Looking for ssh-agent implementation... 02:02:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:41 $ docker exec 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 ssh-agent 02:02:41 SSH_AUTH_SOCK=/tmp/ssh-ycA3tCFbi9JF/agent.71 02:02:41 SSH_AGENT_PID=77 02:02:41 Running ssh-add (command line suppressed) 02:02:41 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-254@tmp/private_key_177703540454866452.key (/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/private_key_177703540454866452.key) 02:02:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:42 + git semver init 02:02:42 2025-04-15 02:02:42,277 [run_init] DEBUG init version:0.0.0 force:False 02:02:42 2025-04-15 02:02:42,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-254/.semver 02:02:42 2025-04-15 02:02:42,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-254/.semver 02:02:42 2025-04-15 02:02:42,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-254/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-254, universal_newlines=False, shell=None, istream=None) 02:02:43 2025-04-15 02:02:43,550 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-254/.git/info/exclude 02:02:43 2025-04-15 02:02:43,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-254/.semver/PR-254 with force:False 02:02:43 2025-04-15 02:02:43,551 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-254/.semver/PR-254 02:02:43 2025-04-15 02:02:43,555 [execute] INFO git cat-file --batch-check 02:02:43 2025-04-15 02:02:43,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-254/.semver, universal_newlines=False, shell=None, istream=) 02:02:43 2025-04-15 02:02:43,560 [execute] INFO git cat-file --batch 02:02:43 2025-04-15 02:02:43,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-254/.semver, universal_newlines=False, shell=None, istream=) 02:02:43 2025-04-15 02:02:43,565 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-254/.semver/PR-254 02:02:43 0.0.0 [Pipeline] } 02:02:43 $ docker exec --env ******** --env ******** 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 ssh-agent -k 02:02:43 unset SSH_AUTH_SOCK; 02:02:43 unset SSH_AGENT_PID; 02:02:43 echo Agent pid 77 killed; 02:02:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:44 + git semver [Pipeline] } 02:02:44 $ docker stop --time=1 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 02:02:46 $ docker rm -f --volumes 65c2f62765ad5cdd6600d9a50ef397072ec5b567227ff531562ab6a3fe491fa0 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:02:53 Stashed 1 file(s) [Pipeline] echo 02:02:53 [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 02:02:55 provisioning config files... 02:02:55 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/config14783503393666116162tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 02:02:56 ---> ****-login.sh 02:02:56 nexus3.edgexfoundry.org:10001 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 nexus3.edgexfoundry.org:10002 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 nexus3.edgexfoundry.org:10003 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 nexus3.edgexfoundry.org:10004 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 ****.io 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 ---> ****-login.sh ends [Pipeline] } 02:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:02:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:02:59 ========================================================= 02:02:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:02:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:03 + 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 . 02:03:03 Sending build context to Docker daemon 33.53MB 02:03:03 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:03:03 Step 2/12 : FROM ${BASE} AS builder 02:03:03 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:03:03 0a9a5dfd008f: Pulling fs layer 02:03:03 dbfa0bcfca99: Pulling fs layer 02:03:03 70eabb1d9476: Pulling fs layer 02:03:03 957bedc73fa3: Pulling fs layer 02:03:03 4f4fb700ef54: Pulling fs layer 02:03:03 f40432e63723: Pulling fs layer 02:03:03 90b4343acab7: Pulling fs layer 02:03:03 9f67ea4ac784: Pulling fs layer 02:03:03 9228b9a606be: Pulling fs layer 02:03:03 957bedc73fa3: Waiting 02:03:03 4f4fb700ef54: Waiting 02:03:03 9f67ea4ac784: Waiting 02:03:03 f40432e63723: Waiting 02:03:03 90b4343acab7: Waiting 02:03:03 9228b9a606be: Waiting 02:03:03 dbfa0bcfca99: Verifying Checksum 02:03:03 dbfa0bcfca99: Download complete 02:03:03 957bedc73fa3: Verifying Checksum 02:03:03 957bedc73fa3: Download complete 02:03:03 0a9a5dfd008f: Download complete 02:03:03 4f4fb700ef54: Verifying Checksum 02:03:03 4f4fb700ef54: Download complete 02:03:03 f40432e63723: Verifying Checksum 02:03:03 f40432e63723: Download complete 02:03:03 90b4343acab7: Verifying Checksum 02:03:03 90b4343acab7: Download complete 02:03:04 0a9a5dfd008f: Pull complete 02:03:04 dbfa0bcfca99: Pull complete 02:03:04 9228b9a606be: Verifying Checksum 02:03:04 9228b9a606be: Download complete 02:03:04 70eabb1d9476: Download complete 02:03:04 9f67ea4ac784: Download complete 02:03:08 70eabb1d9476: Pull complete 02:03:08 957bedc73fa3: Pull complete 02:03:08 4f4fb700ef54: Pull complete 02:03:08 f40432e63723: Pull complete 02:03:08 90b4343acab7: Pull complete 02:03:09 9f67ea4ac784: Pull complete 02:03:10 9228b9a606be: Pull complete 02:03:10 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 02:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:03:10 ---> 69404ca5bff2 02:03:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:03:13 ---> Running in 134e2ae93399 02:03:13 Removing intermediate container 134e2ae93399 02:03:13 ---> b248f43be4b4 02:03:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:13 ---> Running in 54d57e8bf76a 02:03:13 Removing intermediate container 54d57e8bf76a 02:03:13 ---> 4ba264b96697 02:03:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:03:13 ---> Running in 9c9904a1c443 02:03:13 Removing intermediate container 9c9904a1c443 02:03:13 ---> 38dc58e3c897 02:03:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:03:13 ---> Running in 85888dea297d 02:03:13 Removing intermediate container 85888dea297d 02:03:13 ---> 3f9968cfdd0f 02:03:13 Step 7/12 : WORKDIR /device-gpio 02:03:13 ---> Running in e1bda5a0b633 02:03:13 Removing intermediate container e1bda5a0b633 02:03:13 ---> eef7bf70a377 02:03:13 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:13 ---> Running in afaa6d3e5437 02:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:03:14 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:03:14 (2/4) Installing libedit (20240517.3.1-r0) 02:03:14 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:03:14 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:03:14 Executing busybox-1.36.1-r29.trigger 02:03:15 OK: 252 MiB in 62 packages 02:03:15 Removing intermediate container afaa6d3e5437 02:03:15 ---> e6369dc801f3 02:03:15 Step 9/12 : COPY go.mod vendor* ./ 02:03:15 ---> 1714e4ceac47 02:03:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:15 ---> Running in 5a9a566aaa59 02:04:02 Removing intermediate container 5a9a566aaa59 02:04:02 ---> a0cc69d6d26c 02:04:02 Step 11/12 : COPY . . 02:04:03 ---> cafa1fa9eee9 02:04:03 Step 12/12 : RUN ${MAKE} 02:04:03 ---> Running in 45024762d3ed 02:04:03 noop 02:04:03 Removing intermediate container 45024762d3ed 02:04:03 ---> 415aa8ef4039 02:04:03 Successfully built 415aa8ef4039 02:04:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:04 + docker inspect -f . ci-base-image-x86_64 02:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:04 prd-ubuntu20.04-docker-8c-8g-44977 does not seem to be running inside a container 02:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-254 -v /w/workspace/edgexfoundry_device-gpio_PR-254:/w/workspace/edgexfoundry_device-gpio_PR-254:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-254@tmp:/w/workspace/edgexfoundry_device-gpio_PR-254@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 ******** ci-base-image-x86_64 cat 02:04:04 $ docker top 468e7984f26cbd7781418d2a299810dc53602b560545cb3f08b60d10774b21b8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:05 + go version 02:04:05 go version go1.23.8 linux/amd64 [Pipeline] } 02:04:05 $ docker stop --time=1 468e7984f26cbd7781418d2a299810dc53602b560545cb3f08b60d10774b21b8 02:04:06 $ docker rm -f --volumes 468e7984f26cbd7781418d2a299810dc53602b560545cb3f08b60d10774b21b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:07 + docker inspect -f . ci-base-image-x86_64 02:04:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:07 prd-ubuntu20.04-docker-8c-8g-44977 does not seem to be running inside a container 02:04:07 $ 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-254 -v /w/workspace/edgexfoundry_device-gpio_PR-254:/w/workspace/edgexfoundry_device-gpio_PR-254:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-254@tmp:/w/workspace/edgexfoundry_device-gpio_PR-254@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 ******** ci-base-image-x86_64 cat 02:04:08 $ docker top a64ff9c802e24a5c89d4f0f881c32e32dbcba1d44cd4dd6823e2acac4f477163 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-254 [Pipeline] fileExists [Pipeline] sh 02:04:08 + make test 02:04:08 go test ./... -coverprofile=coverage.out ./... 02:04:10 ? github.com/edgexfoundry/device-gpio [no test files] 02:04:28 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 02:04:28 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 02:04:41 go vet ./... 02:04:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:04:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:04:46 ./bin/test-attribution-txt.sh [Pipeline] echo 02:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:04:46 $ docker stop --time=1 a64ff9c802e24a5c89d4f0f881c32e32dbcba1d44cd4dd6823e2acac4f477163 02:04:49 $ docker rm -f --volumes a64ff9c802e24a5c89d4f0f881c32e32dbcba1d44cd4dd6823e2acac4f477163 [Pipeline] // withDockerContainer [Pipeline] sh 02:04:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:04:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:04:51 + ls -al . 02:04:51 total 224 02:04:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 02:04 . 02:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 02:02 .. 02:04:51 -rw-rw-r-- 1 jenkins jenkins 120 Apr 15 02:02 .dockerignore 02:04:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 02:04 .git 02:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:02 .github 02:04:51 -rw-rw-r-- 1 jenkins jenkins 277 Apr 15 02:02 .gitignore 02:04:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 15 02:02 .golangci.yml 02:04:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 02:02 .semver 02:04:51 -rw-rw-r-- 1 jenkins jenkins 19399 Apr 15 02:02 Attribution.txt 02:04:51 -rw-rw-r-- 1 jenkins jenkins 7819 Apr 15 02:02 CHANGELOG.md 02:04:51 -rw-rw-r-- 1 jenkins jenkins 1694 Apr 15 02:02 Dockerfile 02:04:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 02:02 GOVERNANCE.md 02:04:51 -rw-rw-r-- 1 jenkins jenkins 657 Apr 15 02:02 Jenkinsfile 02:04:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 02:02 LICENSE 02:04:51 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 15 02:02 Makefile 02:04:51 -rw-rw-r-- 1 jenkins jenkins 617 Apr 15 02:02 OWNERS.md 02:04:51 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 15 02:02 README.md 02:04:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 02:02 VERSION 02:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 02:02 bin 02:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:02 cmd 02:04:51 -rw-r--r-- 1 jenkins jenkins 11488 Apr 15 02:04 coverage.out 02:04:51 -rw-rw-r-- 1 jenkins jenkins 6050 Apr 15 02:02 go.mod 02:04:51 -rw-rw-r-- 1 jenkins jenkins 86888 Apr 15 02:02 go.sum 02:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:02 internal 02:04:51 -rw-rw-r-- 1 jenkins jenkins 209 Apr 15 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:51 + 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=4e5b6ae423211958ec40fb692ec1903b52037cba --label arch=amd64 --label version=0.0.0 . 02:04:51 Sending build context to Docker daemon 33.54MB 02:04:51 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:04:51 Step 2/26 : FROM ${BASE} AS builder 02:04:51 ---> 415aa8ef4039 02:04:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:04:51 ---> Running in ce4c96ba2e55 02:04:52 Removing intermediate container ce4c96ba2e55 02:04:52 ---> 6bf694c023ef 02:04:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:52 ---> Running in 1bd25af33809 02:04:52 Removing intermediate container 1bd25af33809 02:04:52 ---> d571b6507f31 02:04:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:04:52 ---> Running in cbde656db3dc 02:04:52 Removing intermediate container cbde656db3dc 02:04:52 ---> 022fe898a568 02:04:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:04:52 ---> Running in f51e6a7e5a01 02:04:52 Removing intermediate container f51e6a7e5a01 02:04:52 ---> 5678e1c1de07 02:04:52 Step 7/26 : WORKDIR /device-gpio 02:04:52 ---> Running in 13eb30c1b7ba 02:04:52 Removing intermediate container 13eb30c1b7ba 02:04:52 ---> 93c445c8f2c0 02:04:52 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:52 ---> Running in 2112e9750c03 02:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:04:53 OK: 252 MiB in 62 packages 02:04:53 Removing intermediate container 2112e9750c03 02:04:53 ---> 5774dc2ec711 02:04:53 Step 9/26 : COPY go.mod vendor* ./ 02:04:53 ---> ff40b162f963 02:04:53 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:53 ---> Running in 38cf42522f68 02:04:54 Removing intermediate container 38cf42522f68 02:04:54 ---> 898016d16813 02:04:54 Step 11/26 : COPY . . 02:04:55 ---> d8f769767ca0 02:04:55 Step 12/26 : RUN ${MAKE} 02:04:55 ---> Running in 08d91698068d 02:04:55 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" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:05:28 Removing intermediate container 08d91698068d 02:05:28 ---> be746b4b5ec9 02:05:28 Step 13/26 : FROM alpine:3.20 02:05:28 3.20: Pulling from library/alpine 02:05:28 0a9a5dfd008f: Already exists 02:05:28 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:05:28 Status: Downloaded newer image for alpine:3.20 02:05:28 ---> ff221270b9fb 02:05:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:05:28 ---> Running in 745bda4dbb74 02:05:28 Removing intermediate container 745bda4dbb74 02:05:28 ---> 038723195c4c 02:05:28 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:05:28 ---> Running in bbd1503f7511 02:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:05:28 (1/1) Installing dumb-init (1.2.5-r3) 02:05:28 Executing busybox-1.36.1-r29.trigger 02:05:28 OK: 8 MiB in 15 packages 02:05:28 Removing intermediate container bbd1503f7511 02:05:28 ---> 113db4598a40 02:05:28 Step 16/26 : RUN apk --no-cache upgrade 02:05:28 ---> Running in 968626d482d5 02:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:05:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:05:29 OK: 8 MiB in 15 packages 02:05:29 Removing intermediate container 968626d482d5 02:05:29 ---> bf16b0cf25a9 02:05:29 Step 17/26 : WORKDIR / 02:05:29 ---> Running in 8deaba13f4e5 02:05:29 Removing intermediate container 8deaba13f4e5 02:05:29 ---> bb40f79ee92c 02:05:29 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 02:05:30 ---> 21da8c00e17b 02:05:30 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 02:05:30 ---> c43d8eb64509 02:05:30 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 02:05:31 ---> ef13b8ea1d55 02:05:31 Step 21/26 : EXPOSE 59910 02:05:31 ---> Running in 746f65e62991 02:05:31 Removing intermediate container 746f65e62991 02:05:31 ---> 5c5641c2988b 02:05:31 Step 22/26 : ENTRYPOINT ["/device-gpio"] 02:05:31 ---> Running in bd37daec788c 02:05:31 Removing intermediate container bd37daec788c 02:05:31 ---> 100bf064c348 02:05:31 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:05:31 ---> Running in 4d9259ff348a 02:05:31 Removing intermediate container 4d9259ff348a 02:05:31 ---> 63cd07768327 02:05:31 Step 24/26 : LABEL arch=amd64 02:05:31 ---> Running in 21397a0007e5 02:05:31 Removing intermediate container 21397a0007e5 02:05:31 ---> 062454411d21 02:05:31 Step 25/26 : LABEL git_sha=4e5b6ae423211958ec40fb692ec1903b52037cba 02:05:31 ---> Running in dc40c77a380d 02:05:31 Removing intermediate container dc40c77a380d 02:05:31 ---> 65d9105746d9 02:05:31 Step 26/26 : LABEL version=0.0.0 02:05:31 ---> Running in 267f72cdb44f 02:05:31 Removing intermediate container 267f72cdb44f 02:05:31 ---> c909516b3426 02:05:31 [Warning] One or more build-args [ARCH] were not consumed 02:05:31 Successfully built c909516b3426 02:05:31 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 02:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:34 02:05:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:34 latest: Pulling from edgex-lftools-log-publisher 02:05:34 5eb5b503b376: Pulling fs layer 02:05:34 5c69ac0246d0: Pulling fs layer 02:05:34 ec43610c2a17: Pulling fs layer 02:05:34 3a2ae6a8a46f: Pulling fs layer 02:05:34 33b1e0a273af: Pulling fs layer 02:05:34 5d3b04190fa2: Pulling fs layer 02:05:34 2f39f015ded8: Pulling fs layer 02:05:34 33b1e0a273af: Waiting 02:05:34 3a2ae6a8a46f: Waiting 02:05:34 5d3b04190fa2: Waiting 02:05:34 2f39f015ded8: Waiting 02:05:34 5c69ac0246d0: Download complete 02:05:34 3a2ae6a8a46f: Verifying Checksum 02:05:34 3a2ae6a8a46f: Download complete 02:05:34 33b1e0a273af: Verifying Checksum 02:05:34 33b1e0a273af: Download complete 02:05:34 5d3b04190fa2: Verifying Checksum 02:05:34 5d3b04190fa2: Download complete 02:05:34 ec43610c2a17: Verifying Checksum 02:05:34 ec43610c2a17: Download complete 02:05:35 5eb5b503b376: Verifying Checksum 02:05:35 5eb5b503b376: Download complete 02:05:35 2f39f015ded8: Download complete 02:05:36 5eb5b503b376: Pull complete 02:05:36 5c69ac0246d0: Pull complete 02:05:36 ec43610c2a17: Pull complete 02:05:36 3a2ae6a8a46f: Pull complete 02:05:37 33b1e0a273af: Pull complete 02:05:37 5d3b04190fa2: Pull complete 02:05:42 2f39f015ded8: Pull complete 02:05:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:42 prd-ubuntu20.04-docker-8c-8g-44977 does not seem to be running inside a container 02:05:42 $ 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-254 -v /w/workspace/edgexfoundry_device-gpio_PR-254:/w/workspace/edgexfoundry_device-gpio_PR-254:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-254@tmp:/w/workspace/edgexfoundry_device-gpio_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:05:45 $ docker top 185a6cc9f7378c0e05b33f543e39c83d1adb9c36ca7d9912b64aa54483313380 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:45 ---> job-cost.sh 02:05:45 lf-activate-venv: SKIPPING 02:05:45 INFO: No Stack... 02:05:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:05:46 INFO: Archiving Costs [Pipeline] sh 02:05:46 + cat /w/workspace/edgexfoundry_device-gpio_PR-254/archives/cost.csv 02:05:46 + cut -d, -f6 [Pipeline] lock 02:05:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-254-1-stack-cost] 02:05:46 Resource [jenkins-edgexfoundry-device-gpio-PR-254-1-stack-cost] did not exist. Created. 02:05:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:47 + echo total: 0.2199999988079071 [Pipeline] stash 02:05:47 Stashed 1 file(s) [Pipeline] } 02:05:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-254-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:47 $ docker stop --time=1 185a6cc9f7378c0e05b33f543e39c83d1adb9c36ca7d9912b64aa54483313380 02:05:48 $ docker rm -f --volumes 185a6cc9f7378c0e05b33f543e39c83d1adb9c36ca7d9912b64aa54483313380 [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 02:05:49 provisioning config files... 02:05:49 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/config6695148908046004664tmp [Pipeline] { [Pipeline] sh 02:05:50 + set +x 02:05:50 + curl -s https://codecov.io/bash 02:05:50 + bash -s -- 02:05:50 02:05:50 _____ _ 02:05:50 / ____| | | 02:05:50 | | ___ __| | ___ ___ _____ __ 02:05:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:50 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:50 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:50 Bash-1.0.6 02:05:50 02:05:50 02:05:50 ==> git version 2.25.1 found 02:05:50 ==> 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 02:05:50 Release-Date: 2020-01-08 02:05:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:05:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:05:50 ==> Jenkins CI detected. 02:05:50 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-254 02:05:50 project root: . 02:05:50 --> token set from env 02:05:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:50 ==> Running gcov in . (disable via -X gcov) 02:05:50 ==> Python coveragepy not found 02:05:50 ==> Searching for coverage reports in: 02:05:50 + . 02:05:50 -> Found 1 reports 02:05:50 ==> Detecting git/mercurial file structure 02:05:50 ==> Reading reports 02:05:50 + ./coverage.out bytes=11488 02:05:50 ==> Appending adjustments 02:05:50 https://docs.codecov.io/docs/fixing-reports 02:05:50 + Found adjustments 02:05:50 ==> Gzipping contents 02:05:50 4.0K /tmp/codecov.x7gAV5.gz 02:05:50 ==> Uploading reports 02:05:50 url: https://codecov.io 02:05:50 query: branch=PR-254&commit=4e5b6ae423211958ec40fb692ec1903b52037cba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=254&job=&cmd_args= 02:05:50 -> Pinging Codecov 02:05:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-254&commit=4e5b6ae423211958ec40fb692ec1903b52037cba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=254&job=&cmd_args= 02:05:50 -> Uploading to 02:05:50 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/4e5b6ae423211958ec40fb692ec1903b52037cba/698c0198-9ec8-431a-acc6-2382dbf0f6c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250415%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250415T020550Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=b67b48a5a8bcd1f9579a01ebb0e0eab58fd5862a145ee078dca795fc962ebaa9 02:05:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:50 Dload Upload Total Spent Left Speed 02:05:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1707 0 0 100 1707 0 10668 --:--:-- --:--:-- --:--:-- 10668 02:05:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/4e5b6ae423211958ec40fb692ec1903b52037cba [Pipeline] } 02:05:50 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 02:05:53 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-254/archives ] 02:05:53 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-254/archives 02:05:53 total 16 02:05:53 drwxr-xr-x 3 root root 4096 Apr 15 02:05 . 02:05:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 02:05 .. 02:05:53 drwxr-xr-x 2 root root 4096 Apr 15 02:05 cost 02:05:53 -rw-r--r-- 1 root root 83 Apr 15 02:05 cost.csv 02:05:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-254/archives 02:05:53 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-254/archives 02:05:53 total 16 02:05:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 02:05 . 02:05:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 02:05 .. 02:05:53 drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 02:05 cost 02:05:53 -rw-r--r-- 1 jenkins jenkins 83 Apr 15 02:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:05:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:05:54 ---> package-listing.sh 02:05:54 ++ facter osfamily 02:05:54 ++ tr '[:upper:]' '[:lower:]' 02:05:54 + OS_FAMILY=debian 02:05:54 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-254 02:05:54 + START_PACKAGES=/tmp/packages_start.txt 02:05:54 + END_PACKAGES=/tmp/packages_end.txt 02:05:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:05:54 + PACKAGES=/tmp/packages_start.txt 02:05:54 + '[' /w/workspace/edgexfoundry_device-gpio_PR-254 ']' 02:05:54 + PACKAGES=/tmp/packages_end.txt 02:05:54 + case "${OS_FAMILY}" in 02:05:54 + dpkg -l 02:05:54 + grep '^ii' 02:05:54 + '[' -f /tmp/packages_start.txt ']' 02:05:54 + '[' -f /tmp/packages_end.txt ']' 02:05:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:05:54 + '[' /w/workspace/edgexfoundry_device-gpio_PR-254 ']' 02:05:54 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-254/archives/ 02:05:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-254/archives/ [Pipeline] echo 02:05:54 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:05:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:55 prd-ubuntu20.04-docker-8c-8g-44977 does not seem to be running inside a container 02:05:55 $ 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-254/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-254 -v /w/workspace/edgexfoundry_device-gpio_PR-254:/w/workspace/edgexfoundry_device-gpio_PR-254:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-254@tmp:/w/workspace/edgexfoundry_device-gpio_PR-254@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 02:05:56 $ docker top 1af5eb0ee851321057d6e14c14c37b9a2309f1492e068165f244bb162627cfb0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:56 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:56 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:57 + ls /var/log/sa-host 02:05:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:57 provisioning config files... 02:05:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-254@tmp/config9251508148725980680tmp [Pipeline] { [Pipeline] echo 02:05:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:57 ---> create-netrc.sh [Pipeline] } 02:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:58 ---> python-tools-install.sh [Pipeline] echo 02:06:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:06:05 ---> sudo-logs.sh 02:06:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:06:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:06:06 ---> job-cost.sh 02:06:06 lf-activate-venv: SKIPPING 02:06:06 DEBUG: total: 0.2199999988079071 02:06:06 INFO: Retrieving Stack Cost... 02:06:06 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:06 INFO: Archiving Costs [Pipeline] echo 02:06:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:06:07 ---> logs-deploy.sh 02:06:07 lf-activate-venv: SKIPPING 02:06:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-254/1 02:06:07 INFO: archiving workspace using pattern(s): 02:06:08 Archives upload complete. 02:06:08 INFO: archiving logs to Nexus 02:06:08 ---> uname -a: 02:06:08 Linux prd-ubuntu20-04-docker-8c-8g-44977 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:06:08 02:06:08 02:06:08 ---> lscpu: 02:06:08 Architecture: x86_64 02:06:08 CPU op-mode(s): 32-bit, 64-bit 02:06:08 Byte Order: Little Endian 02:06:08 Address sizes: 40 bits physical, 48 bits virtual 02:06:08 CPU(s): 8 02:06:08 On-line CPU(s) list: 0-7 02:06:08 Thread(s) per core: 1 02:06:08 Core(s) per socket: 1 02:06:08 Socket(s): 8 02:06:08 NUMA node(s): 1 02:06:08 Vendor ID: AuthenticAMD 02:06:08 CPU family: 23 02:06:08 Model: 49 02:06:08 Model name: AMD EPYC-Rome Processor 02:06:08 Stepping: 0 02:06:08 CPU MHz: 2799.998 02:06:08 BogoMIPS: 5599.99 02:06:08 Virtualization: AMD-V 02:06:08 Hypervisor vendor: KVM 02:06:08 Virtualization type: full 02:06:08 L1d cache: 256 KiB 02:06:08 L1i cache: 256 KiB 02:06:08 L2 cache: 4 MiB 02:06:08 L3 cache: 128 MiB 02:06:08 NUMA node0 CPU(s): 0-7 02:06:08 Vulnerability Itlb multihit: Not affected 02:06:08 Vulnerability L1tf: Not affected 02:06:08 Vulnerability Mds: Not affected 02:06:08 Vulnerability Meltdown: Not affected 02:06:08 Vulnerability Mmio stale data: Not affected 02:06:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:06:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:06:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:06:08 Vulnerability Srbds: Not affected 02:06:08 Vulnerability Tsx async abort: Not affected 02:06:08 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 02:06:08 02:06:08 02:06:08 ---> nproc: 02:06:08 8 02:06:08 02:06:08 02:06:08 ---> df -h: 02:06:08 Filesystem Size Used Avail Use% Mounted on 02:06:08 overlay 155G 12G 144G 8% / 02:06:08 tmpfs 64M 0 64M 0% /dev 02:06:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:06:08 shm 64M 0 64M 0% /dev/shm 02:06:08 /dev/vda1 155G 12G 144G 8% /facter-os 02:06:08 02:06:08 02:06:08 ---> sar -b -r -n DEV: 02:06:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-44977) 04/15/25 _x86_64_ (8 CPU) 02:06:08 02:06:08 02:01:36 LINUX RESTART (8 CPU) 02:06:08 02:06:08 02:02:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:06:08 02:03:01 234.10 39.13 194.97 0.00 4341.50 23064.29 0.00 02:06:08 02:04:01 304.27 2.93 301.33 0.00 43.73 94040.46 0.00 02:06:08 02:05:01 123.76 0.20 123.56 0.00 9.60 23748.31 0.00 02:06:08 02:06:01 156.22 0.32 155.91 0.00 28.80 49048.09 0.00 02:06:08 Average: 204.46 10.53 193.94 0.00 1092.37 47577.41 0.00 02:06:08 02:06:08 02:02:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:06:08 02:03:01 29914552 31587132 753844 2.29 59748 1916984 1720456 5.07 988536 1646240 436 02:06:08 02:04:01 27343996 31522768 774568 2.36 182316 4087064 1928760 5.68 1185964 3760800 0 02:06:08 02:05:01 27422656 31150656 1137340 3.46 192324 3654928 2675996 7.89 1749692 3137000 111956 02:06:08 02:06:01 26978640 31523084 764212 2.32 200776 4419496 1824460 5.38 1395984 3889328 420 02:06:08 Average: 27914961 31445910 857491 2.61 158791 3519618 2037418 6.00 1330044 3108342 28203 02:06:08 02:06:08 02:02:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:06:08 02:03:01 lo 5.83 5.83 0.57 0.57 0.00 0.00 0.00 0.00 02:06:08 02:03:01 ens3 378.78 308.12 2959.98 104.44 0.00 0.00 0.00 0.00 02:06:08 02:03:01 docker0 43.82 45.94 3.18 274.96 0.00 0.00 0.00 0.00 02:06:08 02:04:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 02:06:08 02:04:01 ens3 607.08 374.24 6120.64 40.87 0.00 0.00 0.00 0.00 02:06:08 02:04:01 docker0 310.01 498.78 26.11 2933.08 0.00 0.00 0.00 0.00 02:06:08 02:05:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 02:06:08 02:05:01 veth91f7fec 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 02:06:08 02:05:01 ens3 49.16 27.45 82.47 17.62 0.00 0.00 0.00 0.00 02:06:08 02:05:01 docker0 1.43 2.85 0.09 38.15 0.00 0.00 0.00 0.00 02:06:08 02:06:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 02:06:08 02:06:01 ens3 129.35 78.42 2632.63 21.89 0.00 0.00 0.00 0.00 02:06:08 02:06:01 docker0 2.78 5.98 0.17 76.77 0.00 0.00 0.00 0.00 02:06:08 Average: lo 2.39 2.39 0.23 0.23 0.00 0.00 0.00 0.00 02:06:08 Average: ens3 290.73 196.59 2948.88 45.96 0.00 0.00 0.00 0.00 02:06:08 Average: docker0 89.70 138.78 7.40 833.06 0.00 0.00 0.00 0.00 02:06:08 02:06:08 02:06:08 ---> sar -P ALL: 02:06:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-44977) 04/15/25 _x86_64_ (8 CPU) 02:06:08 02:06:08 02:01:36 LINUX RESTART (8 CPU) 02:06:08 02:06:08 02:02:02 CPU %user %nice %system %iowait %steal %idle 02:06:08 02:03:01 all 6.73 0.00 1.82 1.80 0.05 89.60 02:06:08 02:03:01 0 6.29 0.00 2.30 2.25 0.05 89.11 02:06:08 02:03:01 1 7.98 0.00 1.55 0.44 0.05 89.98 02:06:08 02:03:01 2 6.45 0.00 2.08 3.34 0.05 88.08 02:06:08 02:03:01 3 6.38 0.00 2.37 0.27 0.03 90.95 02:06:08 02:03:01 4 9.84 0.00 1.25 0.24 0.03 88.64 02:06:08 02:03:01 5 5.82 0.00 1.91 1.21 0.05 91.01 02:06:08 02:03:01 6 6.71 0.00 1.62 3.21 0.05 88.41 02:06:08 02:03:01 7 4.39 0.00 1.51 3.43 0.05 90.62 02:06:08 02:04:01 all 8.74 0.00 4.69 3.20 0.09 83.28 02:06:08 02:04:01 0 10.73 0.00 7.54 18.87 0.12 62.74 02:06:08 02:04:01 1 7.85 0.00 4.48 0.41 0.08 87.18 02:06:08 02:04:01 2 7.90 0.00 3.16 2.58 0.12 86.24 02:06:08 02:04:01 3 8.11 0.00 4.34 0.39 0.08 87.07 02:06:08 02:04:01 4 9.68 0.00 4.39 0.46 0.08 85.38 02:06:08 02:04:01 5 9.01 0.00 3.92 0.95 0.10 86.02 02:06:08 02:04:01 6 8.77 0.00 5.22 1.10 0.08 84.82 02:06:08 02:04:01 7 7.87 0.00 4.48 0.98 0.07 86.59 02:06:08 02:05:01 all 47.38 0.00 8.35 0.73 0.11 43.42 02:06:08 02:05:01 0 48.58 0.00 8.75 1.10 0.12 41.46 02:06:08 02:05:01 1 46.38 0.00 8.76 2.77 0.12 41.97 02:06:08 02:05:01 2 46.13 0.00 8.19 0.69 0.12 44.87 02:06:08 02:05:01 3 47.16 0.00 7.48 0.19 0.10 45.07 02:06:08 02:05:01 4 48.10 0.00 8.47 0.17 0.12 43.14 02:06:08 02:05:01 5 48.57 0.00 7.86 0.10 0.10 43.36 02:06:08 02:05:01 6 47.92 0.00 8.81 0.45 0.10 42.72 02:06:08 02:05:01 7 46.22 0.00 8.48 0.40 0.12 44.78 02:06:08 02:06:01 all 22.28 0.00 5.34 1.41 0.08 70.90 02:06:08 02:06:01 0 21.46 0.00 4.61 1.16 0.07 72.70 02:06:08 02:06:01 1 23.19 0.00 6.64 2.62 0.08 67.46 02:06:08 02:06:01 2 20.05 0.00 5.61 0.17 0.08 74.09 02:06:08 02:06:01 3 23.67 0.00 5.08 5.77 0.07 65.42 02:06:08 02:06:01 4 22.27 0.00 5.85 0.13 0.08 71.66 02:06:08 02:06:01 5 22.78 0.00 5.29 0.45 0.08 71.39 02:06:08 02:06:01 6 22.02 0.00 5.39 0.96 0.07 71.56 02:06:08 02:06:01 7 22.78 0.00 4.27 0.00 0.07 72.88 02:06:08 Average: all 21.34 0.00 5.06 1.78 0.08 71.74 02:06:08 Average: 0 21.84 0.00 5.80 5.81 0.09 66.45 02:06:08 Average: 1 21.38 0.00 5.37 1.56 0.08 71.61 02:06:08 Average: 2 20.15 0.00 4.76 1.69 0.09 73.31 02:06:08 Average: 3 21.38 0.00 4.82 1.66 0.07 72.06 02:06:08 Average: 4 22.53 0.00 5.00 0.25 0.08 72.14 02:06:08 Average: 5 21.61 0.00 4.76 0.68 0.08 72.88 02:06:08 Average: 6 21.42 0.00 5.27 1.42 0.08 71.81 02:06:08 Average: 7 20.40 0.00 4.70 1.20 0.08 73.63 02:06:08 02:06:08 02:06:08