Started by upstream project "edgexfoundry/cd-management/release-lts" build number 97 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21104ea6d401c6d21be032d08a72644bfa947428 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-ssh6191583804506752095.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh15998376344283169766.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14438304589025701259.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh14770052920764363828.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11236612906717081315.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 Running on prd-ubuntu20.04-docker-8c-8g-41083 in /w/workspace/edgexfoundry_device-gpio_odessa [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_odessa # 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 Avoid second fetch Checking out Revision 21104ea6d401c6d21be032d08a72644bfa947428 (odessa) > 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 core.sparsecheckout # timeout=10 > git checkout -f 21104ea6d401c6d21be032d08a72644bfa947428 # timeout=10 Commit message: "ci(lts-release): LTS release v4.0.0 @99341b5" > git rev-list --no-walk 21104ea6d401c6d21be032d08a72644bfa947428 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:49 ========================================================= 07:51:49 EdgeX Global Pipelines Version Info 07:51:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:50 ------------------- 07:51:50 stable info: 07:51:50 ------------------- 07:51:50 Commited By: Cherry Wang cherry@iotechsys.com 07:51:50 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:50 Message: update stable to v1.0.271 07:51:51 ------------------- 07:51:51 experimental info: 07:51:51 ------------------- 07:51:51 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:51 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:51 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] echo 07:51:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21104ea [Pipeline] echo 07:51:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:52 provisioning config files... 07:51:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config15278318076763661069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:52 ---> ****-login.sh 07:51:52 nexus3.edgexfoundry.org:10001 07:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:52 Configure a credential helper to remove this warning. See 07:51:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:52 07:51:52 Login Succeeded 07:51:52 nexus3.edgexfoundry.org:10002 07:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:52 Configure a credential helper to remove this warning. See 07:51:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:52 07:51:52 Login Succeeded 07:51:52 nexus3.edgexfoundry.org:10003 07:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:52 Configure a credential helper to remove this warning. See 07:51:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:52 07:51:52 Login Succeeded 07:51:52 nexus3.edgexfoundry.org:10004 07:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:52 Configure a credential helper to remove this warning. See 07:51:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:52 07:51:52 Login Succeeded 07:51:52 ****.io 07:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:53 Configure a credential helper to remove this warning. See 07:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:53 07:51:53 Login Succeeded 07:51:53 ---> ****-login.sh ends [Pipeline] } 07:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:51:53 + git rev-list -1 --merges 21104ea6d401c6d21be032d08a72644bfa947428~1..21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] echo 07:51:53 -----------> git rev-list -1 --merges 21104ea6d401c6d21be032d08a72644bfa947428~1..21104ea6d401c6d21be032d08a72644bfa947428 21104ea6d401c6d21be032d08a72644bfa947428 [false] [Pipeline] sh 07:51:54 + git log --format=format:%s -1 21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] echo 07:51:54 ========================================================= 07:51:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:51:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:54 + git log --format=format:%s -1 21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] echo 07:51:54 [semverPrep] GIT_COMMIT: 21104ea6d401c6d21be032d08a72644bfa947428, Commit Message: ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] echo 07:51:54 [semverPrep] This is not a build commit. [Pipeline] sh 07:51:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:54 + grep -v github /etc/ssh/ssh_known_hosts 07:51:54 + [ -e /tmp/ssh_known_hosts ] 07:51:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:51:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:51:54 + sudo tee -a /etc/ssh/ssh_known_hosts 07:51:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:55 07:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:55 0.1.4: Pulling from edgex-devops/py-git-semver 07:51:55 b85a868b505f: Pulling fs layer 07:51:55 e2be974225ed: Pulling fs layer 07:51:55 339a4e72a1f5: Pulling fs layer 07:51:55 988bab9f4d93: Pulling fs layer 07:51:55 1469e6f7b9e6: Pulling fs layer 07:51:55 eaf3925da568: Pulling fs layer 07:51:55 bab4dde63d76: Pulling fs layer 07:51:55 bde34c3a00c8: Pulling fs layer 07:51:55 b352a97aabf1: Pulling fs layer 07:51:55 988bab9f4d93: Waiting 07:51:55 1469e6f7b9e6: Waiting 07:51:55 eaf3925da568: Waiting 07:51:55 bab4dde63d76: Waiting 07:51:55 bde34c3a00c8: Waiting 07:51:55 4872d77fe225: Pulling fs layer 07:51:55 5851b861e8e6: Pulling fs layer 07:51:55 b352a97aabf1: Waiting 07:51:55 4872d77fe225: Waiting 07:51:55 5851b861e8e6: Waiting 07:51:55 e2be974225ed: Verifying Checksum 07:51:55 e2be974225ed: Download complete 07:51:55 988bab9f4d93: Verifying Checksum 07:51:55 988bab9f4d93: Download complete 07:51:55 1469e6f7b9e6: Verifying Checksum 07:51:55 1469e6f7b9e6: Download complete 07:51:55 eaf3925da568: Download complete 07:51:55 339a4e72a1f5: Verifying Checksum 07:51:55 339a4e72a1f5: Download complete 07:51:55 bde34c3a00c8: Download complete 07:51:55 b352a97aabf1: Verifying Checksum 07:51:55 b352a97aabf1: Download complete 07:51:55 4872d77fe225: Download complete 07:51:56 5851b861e8e6: Verifying Checksum 07:51:56 5851b861e8e6: Download complete 07:51:56 b85a868b505f: Download complete 07:51:56 bab4dde63d76: Verifying Checksum 07:51:56 bab4dde63d76: Download complete 07:51:57 b85a868b505f: Pull complete 07:51:57 e2be974225ed: Pull complete 07:51:57 339a4e72a1f5: Pull complete 07:51:57 988bab9f4d93: Pull complete 07:51:58 1469e6f7b9e6: Pull complete 07:51:58 eaf3925da568: Pull complete 07:52:00 bab4dde63d76: Pull complete 07:52:00 bde34c3a00c8: Pull complete 07:52:00 b352a97aabf1: Pull complete 07:52:01 4872d77fe225: Pull complete 07:52:01 5851b861e8e6: Pull complete 07:52:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:52:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:01 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 07:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:06 $ docker top 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c -eo pid,comm 07:52:06 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). 07:52:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:06 [ssh-agent] Looking for ssh-agent implementation... 07:52:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:06 $ docker exec 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c ssh-agent 07:52:06 SSH_AUTH_SOCK=/tmp/ssh-e6LzJ7wJ0GcU/agent.32 07:52:06 SSH_AGENT_PID=38 07:52:06 Running ssh-add (command line suppressed) 07:52:06 Identity added: /w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_12869971095892685773.key (/w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_12869971095892685773.key) 07:52:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:06 + git tag --points-at 21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] } 07:52:06 $ docker exec --env ******** --env ******** 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c ssh-agent -k 07:52:06 unset SSH_AUTH_SOCK; 07:52:06 unset SSH_AGENT_PID; 07:52:06 echo Agent pid 38 killed; 07:52:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:52:06 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 07:52:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:07 [ssh-agent] Looking for ssh-agent implementation... 07:52:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:07 $ docker exec 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c ssh-agent 07:52:07 SSH_AUTH_SOCK=/tmp/ssh-vkVd9SnNMZsB/agent.71 07:52:07 SSH_AGENT_PID=77 07:52:07 Running ssh-add (command line suppressed) 07:52:07 Identity added: /w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_16310705216700222289.key (/w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_16310705216700222289.key) 07:52:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:07 + git semver init 07:52:07 2025-03-12 07:52:07,812 [run_init] DEBUG init version:0.0.0 force:False 07:52:07 2025-03-12 07:52:07,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_odessa/.semver 07:52:07 2025-03-12 07:52:07,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_odessa/.semver 07:52:07 2025-03-12 07:52:07,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_odessa/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_odessa, universal_newlines=False, shell=None, istream=None) 07:52:10 2025-03-12 07:52:09,951 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_odessa/.git/info/exclude 07:52:10 2025-03-12 07:52:09,952 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa with force:False 07:52:10 2025-03-12 07:52:09,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa 07:52:10 2025-03-12 07:52:09,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa 07:52:10 4.0.0 [Pipeline] } 07:52:10 $ docker exec --env ******** --env ******** 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c ssh-agent -k 07:52:10 unset SSH_AUTH_SOCK; 07:52:10 unset SSH_AGENT_PID; 07:52:10 echo Agent pid 77 killed; 07:52:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:10 + git semver [Pipeline] } 07:52:11 $ docker stop --time=1 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c 07:52:12 $ docker rm -f --volumes 0767d8083bfabe98039138f3191cb4044ee6e2abdda284ef73c01756d3605e3c [Pipeline] // withDockerContainer [Pipeline] sh 07:52:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:13 Stashed 1 file(s) [Pipeline] echo 07:52:13 [edgeXSemver]: initialized semver on version 4.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:13 + git checkout 21104ea6d401c6d21be032d08a72644bfa947428 07:52:13 HEAD is now at 21104ea ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:13 provisioning config files... 07:52:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config788139519769313674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:13 ---> ****-login.sh 07:52:13 nexus3.edgexfoundry.org:10001 07:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:13 Configure a credential helper to remove this warning. See 07:52:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:13 07:52:13 Login Succeeded 07:52:13 nexus3.edgexfoundry.org:10002 07:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:13 Configure a credential helper to remove this warning. See 07:52:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:13 07:52:13 Login Succeeded 07:52:13 nexus3.edgexfoundry.org:10003 07:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:14 Configure a credential helper to remove this warning. See 07:52:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:14 07:52:14 Login Succeeded 07:52:14 nexus3.edgexfoundry.org:10004 07:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:14 Configure a credential helper to remove this warning. See 07:52:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:14 07:52:14 Login Succeeded 07:52:14 ****.io 07:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:14 Configure a credential helper to remove this warning. See 07:52:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:14 07:52:14 Login Succeeded 07:52:14 ---> ****-login.sh ends [Pipeline] } 07:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:52:15 + grep ^go [0-9].[0-9]* go.mod 07:52:15 + cut -d -f 2 [Pipeline] echo 07:52:15 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:52:15 ========================================================= 07:52:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 07:52:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:52:16 Sending build context to Docker daemon 80.75MB 07:52:16 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:52:16 Step 2/12 : FROM ${BASE} AS builder 07:52:16 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:52:16 0a9a5dfd008f: Pulling fs layer 07:52:16 8833042f23b5: Pulling fs layer 07:52:16 6ca661eb024f: Pulling fs layer 07:52:16 b5acb76e9680: Pulling fs layer 07:52:16 4f4fb700ef54: Pulling fs layer 07:52:16 012bb1f9d321: Pulling fs layer 07:52:16 97255f1bc79d: Pulling fs layer 07:52:16 454448c9edf9: Pulling fs layer 07:52:16 15f87924ceaf: Pulling fs layer 07:52:16 012bb1f9d321: Waiting 07:52:16 454448c9edf9: Waiting 07:52:16 97255f1bc79d: Waiting 07:52:16 15f87924ceaf: Waiting 07:52:16 b5acb76e9680: Waiting 07:52:16 4f4fb700ef54: Waiting 07:52:16 8833042f23b5: Verifying Checksum 07:52:16 8833042f23b5: Download complete 07:52:16 b5acb76e9680: Verifying Checksum 07:52:16 b5acb76e9680: Download complete 07:52:16 4f4fb700ef54: Verifying Checksum 07:52:16 4f4fb700ef54: Download complete 07:52:16 0a9a5dfd008f: Download complete 07:52:16 012bb1f9d321: Verifying Checksum 07:52:16 012bb1f9d321: Download complete 07:52:16 97255f1bc79d: Verifying Checksum 07:52:16 97255f1bc79d: Download complete 07:52:16 15f87924ceaf: Verifying Checksum 07:52:16 15f87924ceaf: Download complete 07:52:16 0a9a5dfd008f: Pull complete 07:52:17 6ca661eb024f: Download complete 07:52:17 8833042f23b5: Pull complete 07:52:17 454448c9edf9: Verifying Checksum 07:52:20 6ca661eb024f: Pull complete 07:52:20 b5acb76e9680: Pull complete 07:52:20 4f4fb700ef54: Pull complete 07:52:21 012bb1f9d321: Pull complete 07:52:21 97255f1bc79d: Pull complete 07:52:24 454448c9edf9: Pull complete 07:52:24 15f87924ceaf: Pull complete 07:52:24 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 07:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 07:52:25 ---> bc3d7bf65e23 07:52:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:52:28 Still waiting to schedule task 07:52:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41068’ 07:52:33 ---> Running in afd696137e8d 07:52:33 Removing intermediate container afd696137e8d 07:52:33 ---> eb26297a461b 07:52:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:33 ---> Running in 35dae0c9b80a 07:52:33 Removing intermediate container 35dae0c9b80a 07:52:33 ---> 32d9eea73f84 07:52:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:52:33 ---> Running in 63cdcc8f68b5 07:52:33 Removing intermediate container 63cdcc8f68b5 07:52:33 ---> bf059a362b34 07:52:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:52:33 ---> Running in d20a12822c99 07:52:33 Removing intermediate container d20a12822c99 07:52:33 ---> d547e2f8c6ee 07:52:33 Step 7/12 : WORKDIR /device-gpio 07:52:33 ---> Running in 74faac84d6db 07:52:33 Removing intermediate container 74faac84d6db 07:52:33 ---> 8ef0ff385ba4 07:52:33 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:52:33 ---> Running in b271f79f513b 07:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:52:33 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:52:33 (2/4) Installing libedit (20240517.3.1-r0) 07:52:33 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:52:33 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:52:33 Executing busybox-1.36.1-r29.trigger 07:52:33 OK: 252 MiB in 62 packages 07:52:34 Removing intermediate container b271f79f513b 07:52:34 ---> e7606377af1e 07:52:34 Step 9/12 : COPY go.mod vendor* ./ 07:52:37 ---> fcfd870a1668 07:52:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:38 ---> Running in cf7169b08f9b 07:53:34 Removing intermediate container cf7169b08f9b 07:53:34 ---> 0ffc9831c143 07:53:34 Step 11/12 : COPY . . 07:53:37 ---> ec1510666392 07:53:37 Step 12/12 : RUN ${MAKE} 07:53:38 ---> Running in 52d85e55a2ca 07:53:38 noop 07:53:38 Removing intermediate container 52d85e55a2ca 07:53:38 ---> b65d2ded329d 07:53:38 Successfully built b65d2ded329d 07:53:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:39 + docker inspect -f . ci-base-image-x86_64 07:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:39 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 07:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** ci-base-image-x86_64 cat 07:53:39 $ docker top 1111f0508cc9fde09351f1c8f9cb39a090546227c8409e5c4f61547e67d7ef7f -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:39 + go version 07:53:39 go version go1.23.7 linux/amd64 [Pipeline] } 07:53:39 $ docker stop --time=1 1111f0508cc9fde09351f1c8f9cb39a090546227c8409e5c4f61547e67d7ef7f 07:53:41 $ docker rm -f --volumes 1111f0508cc9fde09351f1c8f9cb39a090546227c8409e5c4f61547e67d7ef7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:41 + docker inspect -f . ci-base-image-x86_64 07:53:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:41 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 07:53:41 $ 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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** ci-base-image-x86_64 cat 07:53:42 $ docker top 04328f6567cf3fa4f9256305551e1c8cbb29ea0e69ce8f22880fc0a6b4ffe437 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] fileExists [Pipeline] sh 07:53:42 + make test 07:53:42 go test ./... -coverprofile=coverage.out ./... 07:53:44 ? github.com/edgexfoundry/device-gpio [no test files] 07:54:02 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 07:54:02 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 07:54:09 go vet ./... 07:54:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:54:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:54:14 ./bin/test-attribution-txt.sh [Pipeline] echo 07:54:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:54:15 + go mod tidy [Pipeline] } 07:54:15 $ docker stop --time=1 04328f6567cf3fa4f9256305551e1c8cbb29ea0e69ce8f22880fc0a6b4ffe437 07:54:22 $ docker rm -f --volumes 04328f6567cf3fa4f9256305551e1c8cbb29ea0e69ce8f22880fc0a6b4ffe437 [Pipeline] // withDockerContainer [Pipeline] sh 07:54:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:54:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:54:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:24 + ls -al . 07:54:24 total 228 07:54:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 07:53 . 07:54:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 .. 07:54:24 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 07:51 .dockerignore 07:54:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:54 .git 07:54:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 .github 07:54:24 -rw-rw-r-- 1 jenkins jenkins 269 Mar 12 07:51 .gitignore 07:54:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 07:51 .golangci.yml 07:54:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:52 .semver 07:54:24 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 07:51 Attribution.txt 07:54:24 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 07:51 CHANGELOG.md 07:54:24 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 07:51 Dockerfile 07:54:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:51 GOVERNANCE.md 07:54:24 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 07:51 Jenkinsfile 07:54:24 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:51 LICENSE 07:54:24 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 07:51 Makefile 07:54:24 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 07:51 OWNERS.md 07:54:24 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 07:51 README.md 07:54:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 07:54:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 bin 07:54:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 cmd 07:54:24 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 07:54 coverage.out 07:54:24 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 07:51 go.mod 07:54:24 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 07:51 go.sum 07:54:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 internal 07:54:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:51 vendor 07:54:24 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 07:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:24 + 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=21104ea6d401c6d21be032d08a72644bfa947428 --label arch=amd64 --label version=4.0.0 . 07:54:25 Sending build context to Docker daemon 80.76MB 07:54:25 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:54:25 Step 2/26 : FROM ${BASE} AS builder 07:54:25 ---> b65d2ded329d 07:54:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:54:26 ---> Running in ec6889308db4 07:54:27 Removing intermediate container ec6889308db4 07:54:27 ---> 30cba07f3248 07:54:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:54:27 ---> Running in f6082f903d20 07:54:27 Removing intermediate container f6082f903d20 07:54:27 ---> b500531d4519 07:54:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:54:27 ---> Running in 4d9e6b6b911f 07:54:27 Removing intermediate container 4d9e6b6b911f 07:54:27 ---> 52173eaf8e36 07:54:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:54:27 ---> Running in 9c021f6be09a 07:54:27 Removing intermediate container 9c021f6be09a 07:54:27 ---> 651782440fb5 07:54:27 Step 7/26 : WORKDIR /device-gpio 07:54:27 ---> Running in f4d67e017892 07:54:27 Removing intermediate container f4d67e017892 07:54:27 ---> ea02a71cbf10 07:54:27 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:54:27 ---> Running in cbf4a916e903 07:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:54:28 OK: 252 MiB in 62 packages 07:54:28 Removing intermediate container cbf4a916e903 07:54:28 ---> e7661a3d5415 07:54:28 Step 9/26 : COPY go.mod vendor* ./ 07:54:31 ---> 10b10b7c5be1 07:54:31 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:31 ---> Running in 8dbe730b9bef 07:54:31 skipping... 07:54:32 Removing intermediate container 8dbe730b9bef 07:54:32 ---> 29de1ee7338a 07:54:32 Step 11/26 : COPY . . 07:54:38 ---> 4f375a4e06d6 07:54:38 Step 12/26 : RUN ${MAKE} 07:54:38 ---> Running in 994feebc5c3c 07:54:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 07:55:16 Removing intermediate container 994feebc5c3c 07:55:16 ---> c860a913fae5 07:55:16 Step 13/26 : FROM alpine:3.20 07:55:17 3.20: Pulling from library/alpine 07:55:17 0a9a5dfd008f: Already exists 07:55:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:55:17 Status: Downloaded newer image for alpine:3.20 07:55:17 ---> ff221270b9fb 07:55:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:55:17 ---> Running in 98ba59baab1b 07:55:18 Removing intermediate container 98ba59baab1b 07:55:18 ---> f29dc737bf74 07:55:18 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:55:18 ---> Running in 6ddff2a32f3d 07:55:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:19 (1/1) Installing dumb-init (1.2.5-r3) 07:55:19 Executing busybox-1.36.1-r29.trigger 07:55:19 OK: 8 MiB in 15 packages 07:55:19 Removing intermediate container 6ddff2a32f3d 07:55:19 ---> a92be030f7c9 07:55:19 Step 16/26 : RUN apk --no-cache upgrade 07:55:19 ---> Running in 670657c44f73 07:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:20 OK: 8 MiB in 15 packages 07:55:21 Removing intermediate container 670657c44f73 07:55:21 ---> 03a3844b4557 07:55:21 Step 17/26 : WORKDIR / 07:55:21 ---> Running in a20eeadda786 07:55:21 Removing intermediate container a20eeadda786 07:55:21 ---> f5bddff12ae2 07:55:21 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 07:55:21 ---> 61c357f39013 07:55:21 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 07:55:22 ---> 63bff56bc9db 07:55:22 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 07:55:24 ---> 8d55a4d14671 07:55:24 Step 21/26 : EXPOSE 59910 07:55:24 ---> Running in dfd665f70eb5 07:55:24 Removing intermediate container dfd665f70eb5 07:55:24 ---> 64253982a1c9 07:55:24 Step 22/26 : ENTRYPOINT ["/device-gpio"] 07:55:24 ---> Running in 489d93f3d75c 07:55:25 Removing intermediate container 489d93f3d75c 07:55:25 ---> a9630faa6f68 07:55:25 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:55:25 ---> Running in f44a59d4e253 07:55:25 Removing intermediate container f44a59d4e253 07:55:25 ---> 20d731f96fd1 07:55:25 Step 24/26 : LABEL arch=amd64 07:55:25 ---> Running in 717170a4f4c0 07:55:25 Removing intermediate container 717170a4f4c0 07:55:25 ---> aff57863a866 07:55:25 Step 25/26 : LABEL git_sha=21104ea6d401c6d21be032d08a72644bfa947428 07:55:25 ---> Running in c05498720d52 07:55:25 Removing intermediate container c05498720d52 07:55:25 ---> 7da47d86cefe 07:55:25 Step 26/26 : LABEL version=4.0.0 07:55:25 ---> Running in 2e3e1f5087ef 07:55:25 Removing intermediate container 2e3e1f5087ef 07:55:25 ---> 25b3e559edcc 07:55:25 [Warning] One or more build-args [ARCH] were not consumed 07:55:25 Successfully built 25b3e559edcc 07:55:25 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:25 provisioning config files... 07:55:25 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config9925217780176280677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:26 ---> ****-login.sh 07:55:26 nexus3.edgexfoundry.org:10001 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10002 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10003 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10004 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 ****.io 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 ---> ****-login.sh ends [Pipeline] } 07:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:26 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:55:26 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 07:55:26 21104ea6d401c6d21be032d08a72644bfa947428 07:55:26 4.0.0 07:55:26 21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 07:55:26 odessa 07:55:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:26 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:27 + docker push nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428 07:55:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 07:55:27 d2c13e8331d9: Preparing 07:55:27 90b448f2df23: Preparing 07:55:27 8f1a23235d33: Preparing 07:55:27 aebb9992cdc7: Preparing 07:55:27 ebdfd77566bd: Preparing 07:55:27 994456c4fd7b: Preparing 07:55:27 994456c4fd7b: Waiting 07:55:27 8f1a23235d33: Pushed 07:55:27 90b448f2df23: Pushed 07:55:27 ebdfd77566bd: Pushed 07:55:27 994456c4fd7b: Layer already exists 07:55:27 aebb9992cdc7: Pushed 07:55:31 d2c13e8331d9: Pushed 07:55:31 21104ea6d401c6d21be032d08a72644bfa947428: digest: sha256:12e00899c5db8c04358c5fcb35e8b5e97f44a2df987dad52bd2dac2cf8a8ee1c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:31 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 07:55:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 07:55:32 d2c13e8331d9: Preparing 07:55:32 90b448f2df23: Preparing 07:55:32 8f1a23235d33: Preparing 07:55:32 aebb9992cdc7: Preparing 07:55:32 ebdfd77566bd: Preparing 07:55:32 994456c4fd7b: Preparing 07:55:32 994456c4fd7b: Waiting 07:55:32 d2c13e8331d9: Layer already exists 07:55:32 ebdfd77566bd: Layer already exists 07:55:32 8f1a23235d33: Layer already exists 07:55:32 90b448f2df23: Layer already exists 07:55:32 aebb9992cdc7: Layer already exists 07:55:32 994456c4fd7b: Layer already exists 07:55:32 4.0.0: digest: sha256:12e00899c5db8c04358c5fcb35e8b5e97f44a2df987dad52bd2dac2cf8a8ee1c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:32 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 07:55:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 07:55:32 d2c13e8331d9: Preparing 07:55:32 90b448f2df23: Preparing 07:55:32 8f1a23235d33: Preparing 07:55:32 aebb9992cdc7: Preparing 07:55:32 ebdfd77566bd: Preparing 07:55:32 994456c4fd7b: Preparing 07:55:32 994456c4fd7b: Waiting 07:55:32 aebb9992cdc7: Layer already exists 07:55:32 d2c13e8331d9: Layer already exists 07:55:32 8f1a23235d33: Layer already exists 07:55:32 ebdfd77566bd: Layer already exists 07:55:32 90b448f2df23: Layer already exists 07:55:32 994456c4fd7b: Layer already exists 07:55:32 21104ea6d401c6d21be032d08a72644bfa947428-4.0.0: digest: sha256:12e00899c5db8c04358c5fcb35e8b5e97f44a2df987dad52bd2dac2cf8a8ee1c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker push nexus3.edgexfoundry.org:10004/device-gpio:odessa 07:55:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 07:55:33 d2c13e8331d9: Preparing 07:55:33 90b448f2df23: Preparing 07:55:33 8f1a23235d33: Preparing 07:55:33 aebb9992cdc7: Preparing 07:55:33 ebdfd77566bd: Preparing 07:55:33 994456c4fd7b: Preparing 07:55:33 994456c4fd7b: Waiting 07:55:33 90b448f2df23: Layer already exists 07:55:33 8f1a23235d33: Layer already exists 07:55:33 aebb9992cdc7: Layer already exists 07:55:33 ebdfd77566bd: Layer already exists 07:55:33 d2c13e8331d9: Layer already exists 07:55:33 994456c4fd7b: Layer already exists 07:55:33 odessa: digest: sha256:12e00899c5db8c04358c5fcb35e8b5e97f44a2df987dad52bd2dac2cf8a8ee1c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:33 ===================================================== [Pipeline] echo 07:55:33 taggedImages: 07:55:33 - nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428 07:55:33 - nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 07:55:33 - nexus3.edgexfoundry.org:10004/device-gpio:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 07:55:33 - nexus3.edgexfoundry.org:10004/device-gpio:odessa [Pipeline] } [Pipeline] // script [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 07:55:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:34 07:55:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:34 latest: Pulling from edgex-lftools-log-publisher 07:55:34 5eb5b503b376: Pulling fs layer 07:55:34 5c69ac0246d0: Pulling fs layer 07:55:34 ec43610c2a17: Pulling fs layer 07:55:34 3a2ae6a8a46f: Pulling fs layer 07:55:34 33b1e0a273af: Pulling fs layer 07:55:34 5d3b04190fa2: Pulling fs layer 07:55:34 2f39f015ded8: Pulling fs layer 07:55:34 33b1e0a273af: Waiting 07:55:34 5d3b04190fa2: Waiting 07:55:34 2f39f015ded8: Waiting 07:55:34 3a2ae6a8a46f: Waiting 07:55:34 5c69ac0246d0: Verifying Checksum 07:55:34 5c69ac0246d0: Download complete 07:55:34 3a2ae6a8a46f: Verifying Checksum 07:55:34 3a2ae6a8a46f: Download complete 07:55:34 33b1e0a273af: Verifying Checksum 07:55:34 33b1e0a273af: Download complete 07:55:34 5d3b04190fa2: Verifying Checksum 07:55:34 5d3b04190fa2: Download complete 07:55:34 ec43610c2a17: Verifying Checksum 07:55:34 ec43610c2a17: Download complete 07:55:34 5eb5b503b376: Verifying Checksum 07:55:34 5eb5b503b376: Download complete 07:55:35 2f39f015ded8: Download complete 07:55:35 5eb5b503b376: Pull complete 07:55:35 5c69ac0246d0: Pull complete 07:55:36 ec43610c2a17: Pull complete 07:55:36 3a2ae6a8a46f: Pull complete 07:55:36 33b1e0a273af: Pull complete 07:55:36 5d3b04190fa2: Pull complete 07:55:40 2f39f015ded8: Pull complete 07:55:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:40 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 07:55:40 $ 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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:55:46 $ docker top 8789ed89df08a0b5795e4ceea3736e9d24c3a54c6f6369c0d9879bb9f6fbd082 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:47 ---> job-cost.sh 07:55:47 lf-activate-venv: SKIPPING 07:55:47 INFO: No Stack... 07:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:47 INFO: Archiving Costs [Pipeline] sh 07:55:48 + cat /w/workspace/edgexfoundry_device-gpio_odessa/archives/cost.csv 07:55:48 + cut -d, -f6 [Pipeline] lock 07:55:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] 07:55:48 Resource [jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] did not exist. Created. 07:55:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:48 + echo total: 0.2199999988079071 [Pipeline] stash 07:55:48 Stashed 1 file(s) [Pipeline] } 07:55:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:48 $ docker stop --time=1 8789ed89df08a0b5795e4ceea3736e9d24c3a54c6f6369c0d9879bb9f6fbd082 07:55:49 $ docker rm -f --volumes 8789ed89df08a0b5795e4ceea3736e9d24c3a54c6f6369c0d9879bb9f6fbd082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:58:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41090 in /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] { [Pipeline] ws 07:58:18 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 07:58:18 The recommended git tool is: git 07:58:24 using credential edgex-jenkins-ssh 07:58:25 Cloning the remote Git repository 07:58:25 Cloning repository git@github.com:edgexfoundry/device-gpio.git 07:58:25 > git init /w/workspace/device-gpio/2 # timeout=10 07:58:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:58:25 > git --version # timeout=10 07:58:25 > git --version # 'git version 2.25.1' 07:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:58:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:31 Avoid second fetch 07:58:31 Checking out Revision 21104ea6d401c6d21be032d08a72644bfa947428 (odessa) 07:58:31 > git config core.sparsecheckout # timeout=10 07:58:31 > git checkout -f 21104ea6d401c6d21be032d08a72644bfa947428 # timeout=10 07:58:34 Commit message: "ci(lts-release): LTS release v4.0.0 @99341b5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:58:39 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:39 Dload Upload Total Spent Left Speed 07:58:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 07:58:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:58:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:58:40 + sudo tee /etc/docker/daemon.new 07:58:40 { 07:58:40 "registry-mirrors": [ 07:58:40 "https://nexus3.edgexfoundry.org:10001" 07:58:40 ], 07:58:40 "bip": "10.250.0.254/24", 07:58:40 "hosts": [ 07:58:40 "tcp://0.0.0.0:5555", 07:58:40 "unix:///var/run/docker.sock" 07:58:40 ], 07:58:40 "mtu": 1458, 07:58:40 "selinux-enabled": true, 07:58:40 "seccomp-profile": "/etc/docker/seccomp.json" 07:58:40 } [Pipeline] sh 07:58:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:58:40 + sudo service docker restart [Pipeline] sh 07:58:59 + git checkout 21104ea6d401c6d21be032d08a72644bfa947428 07:58:59 HEAD is now at 21104ea ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:59 provisioning config files... 07:58:59 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config9795460910631290078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:00 ---> ****-login.sh 07:59:00 nexus3.edgexfoundry.org:10001 07:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:01 Configure a credential helper to remove this warning. See 07:59:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:01 07:59:01 Login Succeeded 07:59:01 nexus3.edgexfoundry.org:10002 07:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:01 Configure a credential helper to remove this warning. See 07:59:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:01 07:59:01 Login Succeeded 07:59:01 nexus3.edgexfoundry.org:10003 07:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:01 Configure a credential helper to remove this warning. See 07:59:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:01 07:59:01 Login Succeeded 07:59:01 nexus3.edgexfoundry.org:10004 07:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:02 Configure a credential helper to remove this warning. See 07:59:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:02 07:59:02 Login Succeeded 07:59:02 ****.io 07:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:02 Configure a credential helper to remove this warning. See 07:59:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:02 07:59:02 Login Succeeded 07:59:02 ---> ****-login.sh ends [Pipeline] } 07:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:59:03 + grep ^go [0-9].[0-9]* go.mod 07:59:03 + cut -d -f 2 [Pipeline] echo 07:59:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:59:03 ========================================================= 07:59:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 07:59:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:59:08 Sending build context to Docker daemon 60.7MB 07:59:08 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:59:08 Step 2/12 : FROM ${BASE} AS builder 07:59:08 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:59:08 94e9d8af2201: Pulling fs layer 07:59:08 345fe9f21930: Pulling fs layer 07:59:08 b40fc9e46828: Pulling fs layer 07:59:08 c9804373a1e5: Pulling fs layer 07:59:08 4f4fb700ef54: Pulling fs layer 07:59:08 f5a772c54f75: Pulling fs layer 07:59:08 e2dd1b2a9dca: Pulling fs layer 07:59:08 0a0502178392: Pulling fs layer 07:59:08 c9804373a1e5: Waiting 07:59:08 f5a772c54f75: Waiting 07:59:08 e2dd1b2a9dca: Waiting 07:59:08 0a0502178392: Waiting 07:59:08 4f4fb700ef54: Waiting 07:59:08 345fe9f21930: Verifying Checksum 07:59:08 345fe9f21930: Download complete 07:59:08 c9804373a1e5: Verifying Checksum 07:59:08 c9804373a1e5: Download complete 07:59:08 4f4fb700ef54: Verifying Checksum 07:59:08 4f4fb700ef54: Download complete 07:59:08 f5a772c54f75: Verifying Checksum 07:59:08 f5a772c54f75: Download complete 07:59:08 94e9d8af2201: Verifying Checksum 07:59:08 94e9d8af2201: Download complete 07:59:09 0a0502178392: Verifying Checksum 07:59:09 0a0502178392: Download complete 07:59:10 94e9d8af2201: Pull complete 07:59:11 345fe9f21930: Pull complete 07:59:11 b40fc9e46828: Verifying Checksum 07:59:11 b40fc9e46828: Download complete 07:59:12 e2dd1b2a9dca: Verifying Checksum 07:59:12 e2dd1b2a9dca: Download complete 07:59:27 b40fc9e46828: Pull complete 07:59:27 c9804373a1e5: Pull complete 07:59:27 4f4fb700ef54: Pull complete 07:59:27 f5a772c54f75: Pull complete 07:59:35 e2dd1b2a9dca: Pull complete 07:59:36 0a0502178392: Pull complete 07:59:36 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 07:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 07:59:37 ---> 72db82c1953f 07:59:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:59:39 ---> Running in 82aaf904d661 07:59:40 Removing intermediate container 82aaf904d661 07:59:40 ---> 9a07c75f135f 07:59:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:59:40 ---> Running in 89469ea7290a 07:59:40 Removing intermediate container 89469ea7290a 07:59:40 ---> 43bf766e8956 07:59:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:59:40 ---> Running in 600c92bf5fc7 07:59:41 Removing intermediate container 600c92bf5fc7 07:59:41 ---> 7d556f894f1d 07:59:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:59:41 ---> Running in c248eb40b4e8 07:59:41 Removing intermediate container c248eb40b4e8 07:59:41 ---> e49738af1ac6 07:59:41 Step 7/12 : WORKDIR /device-gpio 07:59:41 ---> Running in e906a26a9f2d 07:59:42 Removing intermediate container e906a26a9f2d 07:59:42 ---> e7e4f28f5fed 07:59:42 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:42 ---> Running in 09605f673b7d 07:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:59:45 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:59:45 (2/4) Installing libedit (20240517.3.1-r0) 07:59:45 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:59:45 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:59:45 Executing busybox-1.36.1-r29.trigger 07:59:45 OK: 244 MiB in 62 packages 07:59:46 Removing intermediate container 09605f673b7d 07:59:46 ---> 105bd7591495 07:59:46 Step 9/12 : COPY go.mod vendor* ./ 08:00:01 ---> 047523a1db6d 08:00:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:01 ---> Running in 16157e6d1360 08:01:41 Removing intermediate container 16157e6d1360 08:01:41 ---> 25eb270db925 08:01:41 Step 11/12 : COPY . . 08:01:53 ---> 2b0533629fec 08:01:53 Step 12/12 : RUN ${MAKE} 08:01:53 ---> Running in 2a5ca644f2c7 08:01:54 noop 08:01:55 Removing intermediate container 2a5ca644f2c7 08:01:55 ---> 10aa3bd482d0 08:01:55 Successfully built 10aa3bd482d0 08:01:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:56 + docker inspect -f . ci-base-image-arm64 08:01:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:56 prd-ubuntu20.04-docker-arm64-4c-16g-41090 does not seem to be running inside a container 08:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:01:57 $ docker top 750da8c4b7f9ca19ee7c1da1fb406c61a74b771471856086fd75a24610026d7a -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:58 + go version 08:01:58 go version go1.23.7 linux/arm64 [Pipeline] } 08:01:58 $ docker stop --time=1 750da8c4b7f9ca19ee7c1da1fb406c61a74b771471856086fd75a24610026d7a 08:02:00 $ docker rm -f --volumes 750da8c4b7f9ca19ee7c1da1fb406c61a74b771471856086fd75a24610026d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:01 + docker inspect -f . ci-base-image-arm64 08:02:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:01 prd-ubuntu20.04-docker-arm64-4c-16g-41090 does not seem to be running inside a container 08:02:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:02:02 $ docker top d0cf65a0a3c25842cc263b9297f0b4959cb3fd42e5896f8cf955306f989fc605 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:03 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 08:02:04 + make test 08:02:04 go test ./... -coverprofile=coverage.out ./... 08:02:08 ? github.com/edgexfoundry/device-gpio [no test files] 08:06:30 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 08:06:30 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 08:06:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:06:30 go vet ./... 08:07:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:07:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:07:27 ./bin/test-attribution-txt.sh [Pipeline] echo 08:07:27 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:07:28 + go mod tidy [Pipeline] } 08:07:33 $ docker stop --time=1 d0cf65a0a3c25842cc263b9297f0b4959cb3fd42e5896f8cf955306f989fc605 08:07:35 $ docker rm -f --volumes d0cf65a0a3c25842cc263b9297f0b4959cb3fd42e5896f8cf955306f989fc605 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:07:38 Warning: overwriting stash ‘coverage-report’ 08:07:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:07:40 + ls -al . 08:07:40 total 224 08:07:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 08:02 . 08:07:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:58 .. 08:07:40 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 07:58 .dockerignore 08:07:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:58 .git 08:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 .github 08:07:40 -rw-rw-r-- 1 jenkins jenkins 269 Mar 12 07:58 .gitignore 08:07:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 07:58 .golangci.yml 08:07:40 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 07:58 Attribution.txt 08:07:40 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 07:58 CHANGELOG.md 08:07:40 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 07:58 Dockerfile 08:07:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:58 GOVERNANCE.md 08:07:40 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 07:58 Jenkinsfile 08:07:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:58 LICENSE 08:07:40 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 07:58 Makefile 08:07:40 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 07:58 OWNERS.md 08:07:40 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 07:58 README.md 08:07:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 08:07:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:58 bin 08:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 cmd 08:07:40 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 08:06 coverage.out 08:07:40 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 07:58 go.mod 08:07:40 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 07:58 go.sum 08:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 internal 08:07:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:58 vendor 08:07:40 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:40 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=21104ea6d401c6d21be032d08a72644bfa947428 --label arch=arm64 --label version=4.0.0 . 08:07:45 Sending build context to Docker daemon 60.71MB 08:07:45 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:07:45 Step 2/26 : FROM ${BASE} AS builder 08:07:45 ---> 10aa3bd482d0 08:07:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:07:45 ---> Running in 8c556199d1d9 08:07:46 Removing intermediate container 8c556199d1d9 08:07:46 ---> ad37f64e5c48 08:07:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:07:46 ---> Running in 84ca07a189d6 08:07:46 Removing intermediate container 84ca07a189d6 08:07:46 ---> 9a57d8513a1b 08:07:46 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:07:46 ---> Running in fb14c3ab7823 08:07:47 Removing intermediate container fb14c3ab7823 08:07:47 ---> cec519a70690 08:07:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:07:47 ---> Running in dd23bad4080c 08:07:47 Removing intermediate container dd23bad4080c 08:07:47 ---> f7dca145dd81 08:07:47 Step 7/26 : WORKDIR /device-gpio 08:07:47 ---> Running in c388daa8fdfb 08:07:47 Removing intermediate container c388daa8fdfb 08:07:47 ---> 168f3a8a1459 08:07:47 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:07:47 ---> Running in 31bd129f559a 08:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:07:51 OK: 244 MiB in 62 packages 08:07:52 Removing intermediate container 31bd129f559a 08:07:52 ---> c2f4fe3628d2 08:07:52 Step 9/26 : COPY go.mod vendor* ./ 08:08:07 ---> a695968dd267 08:08:07 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:08:07 ---> Running in ce1ee1266854 08:08:08 skipping... 08:08:09 Removing intermediate container ce1ee1266854 08:08:09 ---> eb3951284cca 08:08:09 Step 11/26 : COPY . . 08:08:24 ---> 7d3ca8bb3ae3 08:08:24 Step 12/26 : RUN ${MAKE} 08:08:24 ---> Running in bb837f1f96e3 08:08:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 08:12:31 Removing intermediate container bb837f1f96e3 08:12:31 ---> b48d1bedf1bc 08:12:31 Step 13/26 : FROM alpine:3.20 08:12:31 3.20: Pulling from library/alpine 08:12:31 94e9d8af2201: Already exists 08:12:31 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:12:31 Status: Downloaded newer image for alpine:3.20 08:12:31 ---> 7aab056cecc6 08:12:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:12:31 ---> Running in 64f811f75023 08:12:31 Removing intermediate container 64f811f75023 08:12:31 ---> bbd6e406b7ed 08:12:31 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:12:31 ---> Running in 4752ba76ecf2 08:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:12:31 (1/1) Installing dumb-init (1.2.5-r3) 08:12:31 Executing busybox-1.36.1-r29.trigger 08:12:31 OK: 9 MiB in 15 packages 08:12:31 Removing intermediate container 4752ba76ecf2 08:12:31 ---> a757bb6855de 08:12:31 Step 16/26 : RUN apk --no-cache upgrade 08:12:31 ---> Running in c8b098417537 08:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:12:31 OK: 9 MiB in 15 packages 08:12:31 Removing intermediate container c8b098417537 08:12:31 ---> 4206d6f8dc6a 08:12:31 Step 17/26 : WORKDIR / 08:12:31 ---> Running in 75df4a837e1b 08:12:31 Removing intermediate container 75df4a837e1b 08:12:31 ---> bc7b0cf7c514 08:12:31 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:12:31 ---> 53335d2de4bf 08:12:31 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:12:31 ---> f911ef6e5f19 08:12:31 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:12:33 ---> 78550f7b7a7e 08:12:33 Step 21/26 : EXPOSE 59910 08:12:33 ---> Running in 8f79c93fa182 08:12:33 Removing intermediate container 8f79c93fa182 08:12:33 ---> 3140e967d16b 08:12:33 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:12:33 ---> Running in ec5ca7430811 08:12:33 Removing intermediate container ec5ca7430811 08:12:33 ---> cfe10e2421ec 08:12:33 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:12:33 ---> Running in f4d00041bcee 08:12:34 Removing intermediate container f4d00041bcee 08:12:34 ---> ce48c4db341e 08:12:34 Step 24/26 : LABEL arch=arm64 08:12:34 ---> Running in ca1ecb2d29f5 08:12:34 Removing intermediate container ca1ecb2d29f5 08:12:34 ---> 2aeee3cfd815 08:12:34 Step 25/26 : LABEL git_sha=21104ea6d401c6d21be032d08a72644bfa947428 08:12:34 ---> Running in 3c9b585a295e 08:12:34 Removing intermediate container 3c9b585a295e 08:12:34 ---> 0c19edff80b7 08:12:34 Step 26/26 : LABEL version=4.0.0 08:12:35 ---> Running in e392eec2396b 08:12:35 Removing intermediate container e392eec2396b 08:12:35 ---> c166385e18fc 08:12:35 [Warning] One or more build-args [ARCH] were not consumed 08:12:36 Successfully built c166385e18fc 08:12:36 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:36 provisioning config files... 08:12:36 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1230603717404458717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:36 ---> ****-login.sh 08:12:36 nexus3.edgexfoundry.org:10001 08:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:37 Configure a credential helper to remove this warning. See 08:12:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:37 08:12:37 Login Succeeded 08:12:37 nexus3.edgexfoundry.org:10002 08:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:37 Configure a credential helper to remove this warning. See 08:12:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:37 08:12:37 Login Succeeded 08:12:37 nexus3.edgexfoundry.org:10003 08:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:38 Configure a credential helper to remove this warning. See 08:12:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:38 08:12:38 Login Succeeded 08:12:38 nexus3.edgexfoundry.org:10004 08:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:38 Configure a credential helper to remove this warning. See 08:12:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:38 08:12:38 Login Succeeded 08:12:38 ****.io 08:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:39 Configure a credential helper to remove this warning. See 08:12:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:39 08:12:39 Login Succeeded 08:12:39 ---> ****-login.sh ends [Pipeline] } 08:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:12:39 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:12:39 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 08:12:39 21104ea6d401c6d21be032d08a72644bfa947428 08:12:39 4.0.0 08:12:39 21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 08:12:39 odessa 08:12:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:39 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428 08:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:12:39 e21cbaaa3b24: Preparing 08:12:39 7f0c6fdfbd35: Preparing 08:12:39 d17ab1354c4f: Preparing 08:12:39 f3efb714bfe4: Preparing 08:12:39 ed92b63579cc: Preparing 08:12:39 dd9c8f8612c8: Preparing 08:12:39 dd9c8f8612c8: Waiting 08:12:40 f3efb714bfe4: Pushed 08:12:40 ed92b63579cc: Pushed 08:12:40 d17ab1354c4f: Pushed 08:12:40 7f0c6fdfbd35: Pushed 08:12:40 dd9c8f8612c8: Layer already exists 08:12:50 e21cbaaa3b24: Pushed 08:12:50 21104ea6d401c6d21be032d08a72644bfa947428: digest: sha256:425bb9b24f3e6f4b3decff559dd71db06a710f3879b0a207efbfac2e29e6e5ec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:50 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 08:12:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:12:51 e21cbaaa3b24: Preparing 08:12:51 7f0c6fdfbd35: Preparing 08:12:51 d17ab1354c4f: Preparing 08:12:51 f3efb714bfe4: Preparing 08:12:51 ed92b63579cc: Preparing 08:12:51 dd9c8f8612c8: Preparing 08:12:51 dd9c8f8612c8: Waiting 08:12:51 ed92b63579cc: Layer already exists 08:12:51 f3efb714bfe4: Layer already exists 08:12:51 7f0c6fdfbd35: Layer already exists 08:12:51 e21cbaaa3b24: Layer already exists 08:12:51 d17ab1354c4f: Layer already exists 08:12:51 dd9c8f8612c8: Layer already exists 08:12:51 4.0.0: digest: sha256:425bb9b24f3e6f4b3decff559dd71db06a710f3879b0a207efbfac2e29e6e5ec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:51 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 08:12:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:12:52 e21cbaaa3b24: Preparing 08:12:52 7f0c6fdfbd35: Preparing 08:12:52 d17ab1354c4f: Preparing 08:12:52 f3efb714bfe4: Preparing 08:12:52 ed92b63579cc: Preparing 08:12:52 dd9c8f8612c8: Preparing 08:12:52 dd9c8f8612c8: Waiting 08:12:52 e21cbaaa3b24: Layer already exists 08:12:52 d17ab1354c4f: Layer already exists 08:12:52 7f0c6fdfbd35: Layer already exists 08:12:52 f3efb714bfe4: Layer already exists 08:12:52 ed92b63579cc: Layer already exists 08:12:52 dd9c8f8612c8: Layer already exists 08:12:52 21104ea6d401c6d21be032d08a72644bfa947428-4.0.0: digest: sha256:425bb9b24f3e6f4b3decff559dd71db06a710f3879b0a207efbfac2e29e6e5ec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:52 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:53 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa 08:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:12:53 e21cbaaa3b24: Preparing 08:12:53 7f0c6fdfbd35: Preparing 08:12:53 d17ab1354c4f: Preparing 08:12:53 f3efb714bfe4: Preparing 08:12:53 ed92b63579cc: Preparing 08:12:53 dd9c8f8612c8: Preparing 08:12:53 dd9c8f8612c8: Waiting 08:12:53 d17ab1354c4f: Layer already exists 08:12:53 ed92b63579cc: Layer already exists 08:12:53 f3efb714bfe4: Layer already exists 08:12:53 7f0c6fdfbd35: Layer already exists 08:12:53 e21cbaaa3b24: Layer already exists 08:12:53 dd9c8f8612c8: Layer already exists 08:12:53 odessa: digest: sha256:425bb9b24f3e6f4b3decff559dd71db06a710f3879b0a207efbfac2e29e6e5ec size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:12:53 ===================================================== [Pipeline] echo 08:12:53 taggedImages: 08:12:53 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428 08:12:53 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 08:12:53 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:21104ea6d401c6d21be032d08a72644bfa947428-4.0.0 08:12:53 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:53 08:12:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:54 arm64: Pulling from edgex-lftools-log-publisher 08:12:54 8998bd30e6a1: Pulling fs layer 08:12:54 04944245beec: Pulling fs layer 08:12:54 699f458cf7ca: Pulling fs layer 08:12:54 765212b225bb: Pulling fs layer 08:12:54 f23df028b6ca: Pulling fs layer 08:12:54 d65c8cfc05b1: Pulling fs layer 08:12:54 2437ff75d9bd: Pulling fs layer 08:12:54 f23df028b6ca: Waiting 08:12:54 765212b225bb: Waiting 08:12:54 2437ff75d9bd: Waiting 08:12:54 04944245beec: Verifying Checksum 08:12:54 04944245beec: Download complete 08:12:54 765212b225bb: Verifying Checksum 08:12:54 765212b225bb: Download complete 08:12:54 f23df028b6ca: Verifying Checksum 08:12:54 f23df028b6ca: Download complete 08:12:54 d65c8cfc05b1: Verifying Checksum 08:12:54 d65c8cfc05b1: Download complete 08:12:54 699f458cf7ca: Verifying Checksum 08:12:54 699f458cf7ca: Download complete 08:12:55 8998bd30e6a1: Verifying Checksum 08:12:55 8998bd30e6a1: Download complete 08:12:57 2437ff75d9bd: Download complete 08:13:00 8998bd30e6a1: Pull complete 08:13:00 04944245beec: Pull complete 08:13:02 699f458cf7ca: Pull complete 08:13:02 765212b225bb: Pull complete 08:13:03 f23df028b6ca: Pull complete 08:13:03 d65c8cfc05b1: Pull complete 08:13:18 2437ff75d9bd: Pull complete 08:13:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:18 prd-ubuntu20.04-docker-arm64-4c-16g-41090 does not seem to be running inside a container 08:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:13:21 $ docker top 9a5fa7462b8be9b43a6adbf45c24cfc69ac17deb6b9ec2403d1ca65a575349bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:22 ---> job-cost.sh 08:13:22 lf-activate-venv: SKIPPING 08:13:22 INFO: No Stack... 08:13:22 INFO: Retrieving Pricing Info for: v3-standard-4 08:13:23 INFO: Archiving Costs [Pipeline] sh 08:13:24 + cat /w/workspace/device-gpio/2/archives/cost.csv 08:13:24 + cut -d, -f6 [Pipeline] lock 08:13:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] 08:13:24 Resource [jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] did not exist. Created. 08:13:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:13:24 /w/workspace/device-gpio/2@tmp/durable-228f8a83/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:13:25 + echo total: 0.10999999940395355 [Pipeline] stash 08:13:25 Warning: overwriting stash ‘stack-cost’ 08:13:26 Stashed 1 file(s) [Pipeline] } 08:13:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:13:26 $ docker stop --time=1 9a5fa7462b8be9b43a6adbf45c24cfc69ac17deb6b9ec2403d1ca65a575349bc 08:13:27 $ docker rm -f --volumes 9a5fa7462b8be9b43a6adbf45c24cfc69ac17deb6b9ec2403d1ca65a575349bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:13:28 provisioning config files... 08:13:28 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config17433858776119583609tmp [Pipeline] { [Pipeline] sh 08:13:28 + set +x 08:13:28 + curl -s https://codecov.io/bash 08:13:28 + bash -s -- 08:13:28 08:13:28 _____ _ 08:13:28 / ____| | | 08:13:28 | | ___ __| | ___ ___ _____ __ 08:13:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:13:28 | |___| (_) | (_| | __/ (_| (_) \ V / 08:13:28 \_____\___/ \__,_|\___|\___\___/ \_/ 08:13:28 Bash-1.0.6 08:13:28 08:13:28 08:13:28 ==> git version 2.25.1 found 08:13:28 ==> 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 08:13:28 Release-Date: 2020-01-08 08:13:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:13:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:13:28 ==> Jenkins CI detected. 08:13:28 current dir:  /w/workspace/edgexfoundry_device-gpio_odessa 08:13:28 project root: . 08:13:28 --> token set from env 08:13:28 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 08:13:28 ==> Running gcov in . (disable via -X gcov) 08:13:28 ==> Python coveragepy not found 08:13:28 ==> Searching for coverage reports in: 08:13:28 + . 08:13:28 -> Found 1 reports 08:13:28 ==> Detecting git/mercurial file structure 08:13:28 ==> Reading reports 08:13:28 + ./coverage.out bytes=11486 08:13:28 ==> Appending adjustments 08:13:28 https://docs.codecov.io/docs/fixing-reports 08:13:28 + Found adjustments 08:13:28 ==> Gzipping contents 08:13:28 28K /tmp/codecov.1JEgpv.gz 08:13:28 ==> Uploading reports 08:13:28 url: https://codecov.io 08:13:28 query: branch=odessa&commit=21104ea6d401c6d21be032d08a72644bfa947428&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:13:28 -> Pinging Codecov 08:13:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=21104ea6d401c6d21be032d08a72644bfa947428&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:13:29 -> Uploading to 08:13:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/21104ea6d401c6d21be032d08a72644bfa947428/569c0489-c24f-4c35-8e47-82aa02ed7f70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T081328Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=31a21dd5dd2590c670fdb4ea6f47e280514195f8ac7e4a6f2a15127c5e228c88 08:13:29 % Total % Received % Xferd Average Speed Time Time Time Current 08:13:29 Dload Upload Total Spent Left Speed 08:13:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26234 0 0 100 26234 0 180k --:--:-- --:--:-- --:--:-- 181k 08:13:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] } 08:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:13:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:13:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:13:29 08:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:13:30 latest: Pulling from edgex-devops/edgex-snyk-go 08:13:30 43c4264eed91: Pulling fs layer 08:13:30 4cc291be95ef: Pulling fs layer 08:13:30 2ac1f1163629: Pulling fs layer 08:13:30 5c3c966382ef: Pulling fs layer 08:13:30 4f4fb700ef54: Pulling fs layer 08:13:30 d9c7d2e4e75e: Pulling fs layer 08:13:30 9c3e1370e548: Pulling fs layer 08:13:30 5c3c966382ef: Waiting 08:13:30 4f4fb700ef54: Waiting 08:13:30 d9c7d2e4e75e: Waiting 08:13:30 9c3e1370e548: Waiting 08:13:30 4cc291be95ef: Download complete 08:13:30 5c3c966382ef: Download complete 08:13:30 4f4fb700ef54: Verifying Checksum 08:13:30 4f4fb700ef54: Download complete 08:13:30 43c4264eed91: Download complete 08:13:30 43c4264eed91: Pull complete 08:13:30 4cc291be95ef: Pull complete 08:13:30 d9c7d2e4e75e: Verifying Checksum 08:13:30 d9c7d2e4e75e: Download complete 08:13:30 2ac1f1163629: Verifying Checksum 08:13:30 2ac1f1163629: Download complete 08:13:31 9c3e1370e548: Verifying Checksum 08:13:31 9c3e1370e548: Download complete 08:13:33 2ac1f1163629: Pull complete 08:13:33 5c3c966382ef: Pull complete 08:13:33 4f4fb700ef54: Pull complete 08:13:34 d9c7d2e4e75e: Pull complete 08:13:36 9c3e1370e548: Pull complete 08:13:36 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:13:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:36 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:13:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:13:39 $ docker top 948cf0148670e8c7a81bde1f94e771e122235702edb4e80f1cab214d49021b2e -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] echo 08:13:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:odessa' [Pipeline] sh 08:13:40 + set -o pipefail 08:13:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:odessa' 08:13:44 08:13:44 Monitoring /w/workspace/edgexfoundry_device-gpio_odessa (github.com/edgexfoundry/device-gpio)... 08:13:44 08:13:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/620c5184-7817-481e-8c97-94c6567935ff/history/07e35222-81f0-486d-9a9f-e3642288d7bd 08:13:44 08:13:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:13:44 08:13:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:13:44 08:13:44 08:13:44 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:13:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:13:44 $ docker stop --time=1 948cf0148670e8c7a81bde1f94e771e122235702edb4e80f1cab214d49021b2e 08:13:46 $ docker rm -f --volumes 948cf0148670e8c7a81bde1f94e771e122235702edb4e80f1cab214d49021b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:13:46 + git log --format=format:%s -1 21104ea6d401c6d21be032d08a72644bfa947428 [Pipeline] sh 08:13:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:13:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:47 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:48 $ docker top 125c13de33a453f79f2b98b2e5e8d7c4050c57450e302072f01004abb5efe14c -eo pid,comm 08:13:48 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). 08:13:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:48 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:48 + git semver [Pipeline] } 08:13:48 $ docker stop --time=1 125c13de33a453f79f2b98b2e5e8d7c4050c57450e302072f01004abb5efe14c 08:13:49 $ docker rm -f --volumes 125c13de33a453f79f2b98b2e5e8d7c4050c57450e302072f01004abb5efe14c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:13:50 08:13:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:13:50 0.23.1-centos7: Pulling from edgex-lftools 08:13:50 ab5ef0e58194: Pulling fs layer 08:13:50 9712f1f96733: Pulling fs layer 08:13:50 63f879dbbcfc: Pulling fs layer 08:13:50 0d9ebad4ef96: Pulling fs layer 08:13:50 e9a5061849ea: Pulling fs layer 08:13:50 d747dcd14b5f: Pulling fs layer 08:13:50 2de7ff778b66: Pulling fs layer 08:13:50 d747dcd14b5f: Waiting 08:13:50 2de7ff778b66: Waiting 08:13:50 0d9ebad4ef96: Waiting 08:13:50 e9a5061849ea: Waiting 08:13:50 9712f1f96733: Verifying Checksum 08:13:50 9712f1f96733: Download complete 08:13:50 63f879dbbcfc: Verifying Checksum 08:13:50 63f879dbbcfc: Download complete 08:13:51 0d9ebad4ef96: Verifying Checksum 08:13:51 0d9ebad4ef96: Download complete 08:13:51 e9a5061849ea: Verifying Checksum 08:13:51 e9a5061849ea: Download complete 08:13:51 d747dcd14b5f: Download complete 08:13:51 ab5ef0e58194: Verifying Checksum 08:13:51 2de7ff778b66: Verifying Checksum 08:13:51 2de7ff778b66: Download complete 08:13:54 ab5ef0e58194: Pull complete 08:13:54 9712f1f96733: Pull complete 08:13:54 63f879dbbcfc: Pull complete 08:13:59 0d9ebad4ef96: Pull complete 08:13:59 e9a5061849ea: Pull complete 08:13:59 d747dcd14b5f: Pull complete 08:14:00 2de7ff778b66: Pull complete 08:14:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:00 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:14:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:14:03 $ docker top ff6cfdc5680522fbd86437d0622b97f02d3c9eba11e22b6b219ad1d86e6f71f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:14:03 provisioning config files... 08:14:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config16677699884181083608tmp 08:14:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config7529062822829708098tmp 08:14:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config10673868318181757497tmp [Pipeline] { [Pipeline] echo 08:14:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:14:04 ---> sigul-configuration.sh 08:14:04 gpg: directory `/root/.gnupg' created 08:14:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:14:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:14:04 gpg: keyring `/root/.gnupg/secring.gpg' created 08:14:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:14:04 gpg: CAST5 encrypted data 08:14:04 gpg: encrypted with 1 passphrase 08:14:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:14:04 + mkdir /home/jenkins 08:14:04 + mkdir /home/jenkins/sigul [Pipeline] sh 08:14:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:14:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:14:04 ---> sigul-install.sh 08:14:04 Sigul already installed; skipping installation. [Pipeline] sh 08:14:05 + git tag --list 08:14:05 v1.0.0 08:14:05 v2.1.0 08:14:05 v2.1.1 08:14:05 v2.2.0 08:14:05 v2.3.0 08:14:05 v3.0 08:14:05 v3.0.0 08:14:05 v3.1 08:14:05 v3.1.0 08:14:05 v3.1.0-dev.1 08:14:05 v3.1.0-dev.10 08:14:05 v3.1.0-dev.11 08:14:05 v3.1.0-dev.12 08:14:05 v3.1.0-dev.13 08:14:05 v3.1.0-dev.14 08:14:05 v3.1.0-dev.15 08:14:05 v3.1.0-dev.16 08:14:05 v3.1.0-dev.17 08:14:05 v3.1.0-dev.18 08:14:05 v3.1.0-dev.19 08:14:05 v3.1.0-dev.2 08:14:05 v3.1.0-dev.20 08:14:05 v3.1.0-dev.21 08:14:05 v3.1.0-dev.22 08:14:05 v3.1.0-dev.23 08:14:05 v3.1.0-dev.24 08:14:05 v3.1.0-dev.25 08:14:05 v3.1.0-dev.26 08:14:05 v3.1.0-dev.3 08:14:05 v3.1.0-dev.4 08:14:05 v3.1.0-dev.5 08:14:05 v3.1.0-dev.6 08:14:05 v3.1.0-dev.7 08:14:05 v3.1.0-dev.8 08:14:05 v3.1.0-dev.9 08:14:05 v3.1.1 08:14:05 v3.1.1-dev.1 08:14:05 v3.2.0-dev.1 08:14:05 v3.2.0-dev.10 08:14:05 v3.2.0-dev.11 08:14:05 v3.2.0-dev.12 08:14:05 v3.2.0-dev.13 08:14:05 v3.2.0-dev.2 08:14:05 v3.2.0-dev.3 08:14:05 v3.2.0-dev.4 08:14:05 v3.2.0-dev.5 08:14:05 v3.2.0-dev.6 08:14:05 v3.2.0-dev.7 08:14:05 v3.2.0-dev.8 08:14:05 v3.2.0-dev.9 08:14:05 v4.0.0 08:14:05 v4.0.0-dev.1 08:14:05 v4.0.0-dev.2 08:14:05 v4.0.0-dev.3 08:14:05 v4.0.0-dev.4 [Pipeline] sh 08:14:05 + lftools sign git-tag v4.0.0 08:14:06 Signing Git tag with Sigul... 08:14:06 Signing v4.0.0 [Pipeline] echo 08:14:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:14:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:14:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:14:07 $ docker stop --time=1 ff6cfdc5680522fbd86437d0622b97f02d3c9eba11e22b6b219ad1d86e6f71f3 08:14:08 $ docker rm -f --volumes ff6cfdc5680522fbd86437d0622b97f02d3c9eba11e22b6b219ad1d86e6f71f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:14:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:09 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:14:10 $ docker top a9987a47366ec4ec3ef38a6240bee65dac1b64feb7205389ace1a1b549e570dc -eo pid,comm 08:14:10 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). 08:14:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:10 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:10 + git semver [Pipeline] } 08:14:10 $ docker stop --time=1 a9987a47366ec4ec3ef38a6240bee65dac1b64feb7205389ace1a1b549e570dc 08:14:12 $ docker rm -f --volumes a9987a47366ec4ec3ef38a6240bee65dac1b64feb7205389ace1a1b549e570dc [Pipeline] // withDockerContainer [Pipeline] sh 08:14:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:12 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:14:13 $ docker top 58855a886bb897dceb118973662fd56fab6b914ab4b8b672c137dbaec6d31337 -eo pid,comm 08:14:13 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). 08:14:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:13 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:13 + git semver [Pipeline] } 08:14:13 $ docker stop --time=1 58855a886bb897dceb118973662fd56fab6b914ab4b8b672c137dbaec6d31337 08:14:15 $ docker rm -f --volumes 58855a886bb897dceb118973662fd56fab6b914ab4b8b672c137dbaec6d31337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 08:14:15 + [ -d /w/workspace/edgexfoundry_device-gpio_odessa/archives ] 08:14:15 + ls -al /w/workspace/edgexfoundry_device-gpio_odessa/archives 08:14:15 total 16 08:14:15 drwxr-xr-x 3 root root 4096 Mar 12 07:55 . 08:14:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:14 .. 08:14:15 drwxr-xr-x 2 root root 4096 Mar 12 07:55 cost 08:14:15 -rw-r--r-- 1 root root 83 Mar 12 07:55 cost.csv 08:14:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_odessa/archives 08:14:15 + ls -al /w/workspace/edgexfoundry_device-gpio_odessa/archives 08:14:15 total 16 08:14:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:55 . 08:14:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:14 .. 08:14:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 07:55 cost 08:14:15 -rw-r--r-- 1 jenkins jenkins 83 Mar 12 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:14:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:14:16 ---> package-listing.sh 08:14:16 ++ facter osfamily 08:14:16 ++ tr '[:upper:]' '[:lower:]' 08:14:17 + OS_FAMILY=debian 08:14:17 + workspace=/w/workspace/edgexfoundry_device-gpio_odessa 08:14:17 + START_PACKAGES=/tmp/packages_start.txt 08:14:17 + END_PACKAGES=/tmp/packages_end.txt 08:14:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:14:17 + PACKAGES=/tmp/packages_start.txt 08:14:17 + '[' /w/workspace/edgexfoundry_device-gpio_odessa ']' 08:14:17 + PACKAGES=/tmp/packages_end.txt 08:14:17 + case "${OS_FAMILY}" in 08:14:17 + dpkg -l 08:14:17 + grep '^ii' 08:14:17 + '[' -f /tmp/packages_start.txt ']' 08:14:17 + '[' -f /tmp/packages_end.txt ']' 08:14:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:14:17 + '[' /w/workspace/edgexfoundry_device-gpio_odessa ']' 08:14:17 + mkdir -p /w/workspace/edgexfoundry_device-gpio_odessa/archives/ 08:14:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_odessa/archives/ [Pipeline] echo 08:14:17 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:14:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:14:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:18 prd-ubuntu20.04-docker-8c-8g-41083 does not seem to be running inside a container 08:14:18 $ 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_odessa/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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:14:18 $ docker top 8a185232eb4a190428ea33d9998f50110fb749edbcc04c39ac816d02c4a3ca99 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:19 + touch /tmp/pre-build-complete [Pipeline] sh 08:14:19 + mkdir -p /var/log/sysstat [Pipeline] sh 08:14:19 + ls /var/log/sa-host 08:14:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:19 provisioning config files... 08:14:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config17266803456965898990tmp [Pipeline] { [Pipeline] echo 08:14:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:14:20 ---> create-netrc.sh [Pipeline] } 08:14:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:14:20 ---> python-tools-install.sh [Pipeline] echo 08:14:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:14:20 ---> sudo-logs.sh 08:14:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:14:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:14:21 ---> job-cost.sh 08:14:21 lf-activate-venv: SKIPPING 08:14:21 DEBUG: total: 0.2199999988079071 08:14:21 INFO: Retrieving Stack Cost... 08:14:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:14:22 INFO: Archiving Costs [Pipeline] echo 08:14:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:14:22 ---> logs-deploy.sh 08:14:22 lf-activate-venv: SKIPPING 08:14:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/odessa/2 08:14:22 INFO: archiving workspace using pattern(s): 08:14:23 Archives upload complete. 08:14:23 INFO: archiving logs to Nexus