Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c1eec1cce53e3d99f3878f2a839c8345b98407a 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-ssh16918771229930300108.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh130496418316509019.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 590556114a56c6d90cc8043840e039c2f74196dc 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13506846766585134965.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2462696292662389700.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14688500921077506168.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4907 in /w/workspace/edgexfoundry_device-gpio_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8c1eec1cce53e3d99f3878f2a839c8345b98407a (main) Commit message: "Merge pull request #237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > git config core.sparsecheckout # timeout=10 > git checkout -f 8c1eec1cce53e3d99f3878f2a839c8345b98407a # timeout=10 > git rev-list --no-walk 688a4a293e90f410e0c8818ae36297e33c21074c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:21:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:21:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:21:46 ========================================================= 08:21:46 EdgeX Global Pipelines Version Info 08:21:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:21:46 ------------------- 08:21:46 stable info: 08:21:46 ------------------- 08:21:46 Commited By: Ginny Guan ginny@iotechsys.com 08:21:46 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 08:21:46 Message: update stable to v1.0.260 08:21:47 ------------------- 08:21:47 experimental info: 08:21:47 ------------------- 08:21:47 Commited By: Ginny Guan ginny@iotechsys.com 08:21:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:21:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:21:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c1eec1 [Pipeline] echo 08:21:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:48 provisioning config files... 08:21:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3884380591218938669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:21:48 ---> ****-login.sh 08:21:48 nexus3.edgexfoundry.org:10001 08:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:21:48 Configure a credential helper to remove this warning. See 08:21:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:21:48 08:21:48 Login Succeeded 08:21:48 nexus3.edgexfoundry.org:10002 08:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:21:48 Configure a credential helper to remove this warning. See 08:21:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:21:48 08:21:48 Login Succeeded 08:21:48 nexus3.edgexfoundry.org:10003 08:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:21:49 Configure a credential helper to remove this warning. See 08:21:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:21:49 08:21:49 Login Succeeded 08:21:49 nexus3.edgexfoundry.org:10004 08:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:21:49 Configure a credential helper to remove this warning. See 08:21:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:21:49 08:21:49 Login Succeeded 08:21:49 ****.io 08:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:21:49 Configure a credential helper to remove this warning. See 08:21:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:21:49 08:21:49 Login Succeeded 08:21:49 ---> ****-login.sh ends [Pipeline] } 08:21:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:21:49 + git rev-list -1 --merges 8c1eec1cce53e3d99f3878f2a839c8345b98407a~1..8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] echo 08:21:49 -----------> git rev-list -1 --merges 8c1eec1cce53e3d99f3878f2a839c8345b98407a~1..8c1eec1cce53e3d99f3878f2a839c8345b98407a 8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:21:49 8c1eec1cce53e3d99f3878f2a839c8345b98407a [false] [Pipeline] sh 08:21:50 + git log --format=format:%s -1 8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] echo 08:21:50 ========================================================= 08:21:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:21:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:21:50 + git log --format=format:%s -1 8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] echo 08:21:50 [semverPrep] GIT_COMMIT: 8c1eec1cce53e3d99f3878f2a839c8345b98407a, Commit Message: Merge pull request #237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 08:21:50 [semverPrep] This is not a build commit. [Pipeline] sh 08:21:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:21:50 + grep -v github /etc/ssh/ssh_known_hosts 08:21:50 + [ -e /tmp/ssh_known_hosts ] 08:21:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:21:50 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 08:21:50 -a /etc/ssh/ssh_known_hosts 08:21:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:51 08:21:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:51 0.1.4: Pulling from edgex-devops/py-git-semver 08:21:51 b85a868b505f: Pulling fs layer 08:21:51 e2be974225ed: Pulling fs layer 08:21:51 339a4e72a1f5: Pulling fs layer 08:21:51 988bab9f4d93: Pulling fs layer 08:21:51 1469e6f7b9e6: Pulling fs layer 08:21:51 eaf3925da568: Pulling fs layer 08:21:51 bab4dde63d76: Pulling fs layer 08:21:51 bde34c3a00c8: Pulling fs layer 08:21:51 b352a97aabf1: Pulling fs layer 08:21:51 4872d77fe225: Pulling fs layer 08:21:51 5851b861e8e6: Pulling fs layer 08:21:51 eaf3925da568: Waiting 08:21:51 1469e6f7b9e6: Waiting 08:21:51 bab4dde63d76: Waiting 08:21:51 5851b861e8e6: Waiting 08:21:51 b352a97aabf1: Waiting 08:21:51 988bab9f4d93: Waiting 08:21:51 4872d77fe225: Waiting 08:21:51 bde34c3a00c8: Waiting 08:21:51 e2be974225ed: Download complete 08:21:51 988bab9f4d93: Download complete 08:21:51 1469e6f7b9e6: Verifying Checksum 08:21:51 1469e6f7b9e6: Download complete 08:21:51 eaf3925da568: Verifying Checksum 08:21:51 eaf3925da568: Download complete 08:21:51 339a4e72a1f5: Verifying Checksum 08:21:51 339a4e72a1f5: Download complete 08:21:51 bde34c3a00c8: Download complete 08:21:51 b352a97aabf1: Download complete 08:21:51 4872d77fe225: Verifying Checksum 08:21:51 4872d77fe225: Download complete 08:21:51 5851b861e8e6: Download complete 08:21:51 b85a868b505f: Verifying Checksum 08:21:51 b85a868b505f: Download complete 08:21:52 bab4dde63d76: Verifying Checksum 08:21:52 bab4dde63d76: Download complete 08:21:52 b85a868b505f: Pull complete 08:21:53 e2be974225ed: Pull complete 08:21:53 339a4e72a1f5: Pull complete 08:21:53 988bab9f4d93: Pull complete 08:21:54 1469e6f7b9e6: Pull complete 08:21:54 eaf3925da568: Pull complete 08:21:55 bab4dde63d76: Pull complete 08:21:55 bde34c3a00c8: Pull complete 08:21:55 b352a97aabf1: Pull complete 08:21:55 4872d77fe225: Pull complete 08:21:55 5851b861e8e6: Pull complete 08:21:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:56 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:21:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:21:59 $ docker top 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f -eo pid,comm 08:21:59 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:21:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:21:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:59 [ssh-agent] Looking for ssh-agent implementation... 08:21:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:59 $ docker exec 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f ssh-agent 08:21:59 SSH_AUTH_SOCK=/tmp/ssh-sjYVokMF8upB/agent.31 08:21:59 SSH_AGENT_PID=37 08:21:59 Running ssh-add (command line suppressed) 08:22:00 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12118996219207438278.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12118996219207438278.key) 08:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:00 + git tag --points-at HEAD [Pipeline] } 08:22:00 $ docker exec --env ******** --env ******** 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f ssh-agent -k 08:22:00 unset SSH_AUTH_SOCK; 08:22:00 unset SSH_AGENT_PID; 08:22:00 echo Agent pid 37 killed; 08:22:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:22:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:00 [ssh-agent] Looking for ssh-agent implementation... 08:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:00 $ docker exec 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f ssh-agent 08:22:00 SSH_AUTH_SOCK=/tmp/ssh-JYKGp62cfnAk/agent.70 08:22:00 SSH_AGENT_PID=76 08:22:00 Running ssh-add (command line suppressed) 08:22:00 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7287826385295829427.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7287826385295829427.key) 08:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:01 + git semver init 08:22:01 2024-07-03 08:22:01,356 [run_init] DEBUG init version:0.0.0 force:False 08:22:01 2024-07-03 08:22:01,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 08:22:01 2024-07-03 08:22:01,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 08:22:01 2024-07-03 08:22:01,358 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 08:22:02 2024-07-03 08:22:02,737 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 08:22:02 2024-07-03 08:22:02,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 08:22:02 2024-07-03 08:22:02,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:22:02 2024-07-03 08:22:02,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:22:02 3.2.0-dev.11 [Pipeline] } 08:22:02 $ docker exec --env ******** --env ******** 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f ssh-agent -k 08:22:02 unset SSH_AUTH_SOCK; 08:22:02 unset SSH_AGENT_PID; 08:22:02 echo Agent pid 76 killed; 08:22:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:22:03 + git semver [Pipeline] } 08:22:03 $ docker stop --time=1 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f 08:22:04 $ docker rm -f --volumes 6304e98a0de814e55fa8037602e773b433ef243da49e028a0de129fc6016897f [Pipeline] // withDockerContainer [Pipeline] sh 08:22:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:22:05 Stashed 1 file(s) [Pipeline] echo 08:22:05 [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:05 provisioning config files... 08:22:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16254593696789185236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:05 ---> ****-login.sh 08:22:05 nexus3.edgexfoundry.org:10001 08:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:22:05 Configure a credential helper to remove this warning. See 08:22:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:22:05 08:22:05 Login Succeeded 08:22:05 nexus3.edgexfoundry.org:10002 08:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:22:05 Configure a credential helper to remove this warning. See 08:22:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:22:05 08:22:05 Login Succeeded 08:22:05 nexus3.edgexfoundry.org:10003 08:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:22:06 Configure a credential helper to remove this warning. See 08:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:22:06 08:22:06 Login Succeeded 08:22:06 nexus3.edgexfoundry.org:10004 08:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:22:06 Configure a credential helper to remove this warning. See 08:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:22:06 08:22:06 Login Succeeded 08:22:06 ****.io 08:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:22:06 Configure a credential helper to remove this warning. See 08:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:22:06 08:22:06 Login Succeeded 08:22:06 ---> ****-login.sh ends [Pipeline] } 08:22:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:22:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:22:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:22:06 ========================================================= 08:22:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:22:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 08:22:06 Sending build context to Docker daemon 30.54MB 08:22:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:22:06 Step 2/12 : FROM ${BASE} AS builder 08:22:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:22:07 619be1103602: Pulling fs layer 08:22:07 7862e08f4a3e: Pulling fs layer 08:22:07 5df492c9dc93: Pulling fs layer 08:22:07 7629e6793208: Pulling fs layer 08:22:07 4f4fb700ef54: Pulling fs layer 08:22:07 fb5054dd5b73: Pulling fs layer 08:22:07 eeca6798cff9: Pulling fs layer 08:22:07 aa269ceb94a6: Pulling fs layer 08:22:07 ada007ff1a6a: Pulling fs layer 08:22:07 7629e6793208: Waiting 08:22:07 4f4fb700ef54: Waiting 08:22:07 fb5054dd5b73: Waiting 08:22:07 eeca6798cff9: Waiting 08:22:07 aa269ceb94a6: Waiting 08:22:07 ada007ff1a6a: Waiting 08:22:07 7862e08f4a3e: Verifying Checksum 08:22:07 7862e08f4a3e: Download complete 08:22:07 7629e6793208: Verifying Checksum 08:22:07 7629e6793208: Download complete 08:22:07 4f4fb700ef54: Verifying Checksum 08:22:07 4f4fb700ef54: Download complete 08:22:07 fb5054dd5b73: Verifying Checksum 08:22:07 fb5054dd5b73: Download complete 08:22:07 619be1103602: Download complete 08:22:07 eeca6798cff9: Verifying Checksum 08:22:07 eeca6798cff9: Download complete 08:22:07 619be1103602: Pull complete 08:22:07 ada007ff1a6a: Verifying Checksum 08:22:07 ada007ff1a6a: Download complete 08:22:07 7862e08f4a3e: Pull complete 08:22:07 5df492c9dc93: Verifying Checksum 08:22:07 5df492c9dc93: Download complete 08:22:08 aa269ceb94a6: Verifying Checksum 08:22:08 aa269ceb94a6: Download complete 08:22:10 5df492c9dc93: Pull complete 08:22:10 7629e6793208: Pull complete 08:22:10 4f4fb700ef54: Pull complete 08:22:10 fb5054dd5b73: Pull complete 08:22:10 eeca6798cff9: Pull complete 08:22:13 aa269ceb94a6: Pull complete 08:22:13 ada007ff1a6a: Pull complete 08:22:13 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 08:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:22:13 ---> f489d0715acc 08:22:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:22:17 ---> Running in ba3808d03b4b 08:22:17 Removing intermediate container ba3808d03b4b 08:22:17 ---> d8fc2fdb1e87 08:22:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:22:17 ---> Running in c39620f4e527 08:22:17 Removing intermediate container c39620f4e527 08:22:17 ---> 4e77b001a97c 08:22:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:22:17 ---> Running in 4712bfdfc791 08:22:17 Removing intermediate container 4712bfdfc791 08:22:17 ---> c7b801dadfd7 08:22:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:22:17 ---> Running in 9365f7b83678 08:22:17 Removing intermediate container 9365f7b83678 08:22:17 ---> 274048dadfa7 08:22:17 Step 7/12 : WORKDIR /device-gpio 08:22:17 ---> Running in 7d1eb86cd5fd 08:22:17 Removing intermediate container 7d1eb86cd5fd 08:22:17 ---> b728fe042ee6 08:22:17 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:22:18 ---> Running in ba971602b497 08:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:22:18 (1/4) Installing openssh-keygen (9.3_p2-r2) 08:22:18 (2/4) Installing libedit (20221030.3.1-r1) 08:22:18 (3/4) Installing openssh-client-common (9.3_p2-r2) 08:22:18 (4/4) Installing openssh-client-default (9.3_p2-r2) 08:22:18 Executing busybox-1.36.1-r5.trigger 08:22:18 OK: 268 MiB in 56 packages 08:22:19 Removing intermediate container ba971602b497 08:22:19 ---> 132c9c0a30e5 08:22:19 Step 9/12 : COPY go.mod vendor* ./ 08:22:19 ---> d27843cdf4f4 08:22:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:22:19 ---> Running in 971c9529852b 08:22:20 Still waiting to schedule task 08:22:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4908’ is offline 08:23:21 Removing intermediate container 971c9529852b 08:23:21 ---> abb84dd4d771 08:23:21 Step 11/12 : COPY . . 08:23:21 ---> 46bd40732e76 08:23:21 Step 12/12 : RUN ${MAKE} 08:23:21 ---> Running in dbbc5dd84263 08:23:21 noop 08:23:21 Removing intermediate container dbbc5dd84263 08:23:21 ---> 5899c15dc185 08:23:21 Successfully built 5899c15dc185 08:23:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:22 + docker inspect -f . ci-base-image-x86_64 08:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:22 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 08:23:22 $ docker top 7e9537432256e36b9e1ab7d5e7642b3a4061962bd90889f5f144043936571cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:22 + go version 08:23:22 go version go1.21.9 linux/amd64 [Pipeline] } 08:23:22 $ docker stop --time=1 7e9537432256e36b9e1ab7d5e7642b3a4061962bd90889f5f144043936571cc2 08:23:24 $ docker rm -f --volumes 7e9537432256e36b9e1ab7d5e7642b3a4061962bd90889f5f144043936571cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:24 + docker inspect -f . ci-base-image-x86_64 08:23:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:24 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:23:24 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 08:23:25 $ docker top a0f3b4f943e522761e47493e14c04a98db830c9847ad6adddf3974730fd89511 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 08:23:25 + make test 08:23:25 go test ./... -coverprofile=coverage.out ./... 08:23:27 ? github.com/edgexfoundry/device-gpio [no test files] 08:23:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:23:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:23:58 go vet ./... 08:24:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:24:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:24:03 ./bin/test-attribution-txt.sh 08:24:03 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:24:03 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:24:03 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:24:03 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:24:03 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:24:03 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:24:03 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:24:03 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:24:03 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:24:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:24:03 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:24:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:24:03 $ docker stop --time=1 a0f3b4f943e522761e47493e14c04a98db830c9847ad6adddf3974730fd89511 08:24:08 $ docker rm -f --volumes a0f3b4f943e522761e47493e14c04a98db830c9847ad6adddf3974730fd89511 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:24:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:24:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:24:09 + ls -al . 08:24:09 total 220 08:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:23 . 08:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 08:21 .. 08:24:09 -rw-rw-r-- 1 jenkins jenkins 120 Jul 3 08:21 .dockerignore 08:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:23 .git 08:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:21 .github 08:24:09 -rw-rw-r-- 1 jenkins jenkins 277 Jul 3 08:21 .gitignore 08:24:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 08:21 .golangci.yml 08:24:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 08:22 .semver 08:24:09 -rw-rw-r-- 1 jenkins jenkins 10671 Jul 3 08:21 Attribution.txt 08:24:09 -rw-rw-r-- 1 jenkins jenkins 7171 Jul 3 08:21 CHANGELOG.md 08:24:09 -rw-rw-r-- 1 jenkins jenkins 1661 Jul 3 08:21 Dockerfile 08:24:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 08:21 GOVERNANCE.md 08:24:09 -rw-rw-r-- 1 jenkins jenkins 657 Jul 3 08:21 Jenkinsfile 08:24:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 08:21 LICENSE 08:24:09 -rw-rw-r-- 1 jenkins jenkins 1923 Jul 3 08:21 Makefile 08:24:09 -rw-rw-r-- 1 jenkins jenkins 617 Jul 3 08:21 OWNERS.md 08:24:09 -rw-rw-r-- 1 jenkins jenkins 3578 Jul 3 08:21 README.md 08:24:09 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 08:22 VERSION 08:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 08:21 bin 08:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:21 cmd 08:24:09 -rw-r--r-- 1 jenkins jenkins 10 Jul 3 08:23 coverage.out 08:24:09 -rw-rw-r-- 1 jenkins jenkins 6998 Jul 3 08:21 go.mod 08:24:09 -rw-rw-r-- 1 jenkins jenkins 102307 Jul 3 08:21 go.sum 08:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:21 internal 08:24:09 -rw-rw-r-- 1 jenkins jenkins 209 Jul 3 08:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:09 + 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=8c1eec1cce53e3d99f3878f2a839c8345b98407a --label arch=amd64 --label version=3.2.0-dev.11 . 08:24:09 Sending build context to Docker daemon 30.54MB 08:24:09 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:24:09 Step 2/26 : FROM ${BASE} AS builder 08:24:09 ---> 5899c15dc185 08:24:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:24:10 ---> Running in 8307ce3c06dc 08:24:10 Removing intermediate container 8307ce3c06dc 08:24:10 ---> e16ba215b25a 08:24:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:24:10 ---> Running in c1fade247a83 08:24:10 Removing intermediate container c1fade247a83 08:24:10 ---> 8e784ea940fb 08:24:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:24:10 ---> Running in e8f6ca584970 08:24:10 Removing intermediate container e8f6ca584970 08:24:10 ---> 9af0595d6f4a 08:24:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:24:10 ---> Running in 377e74d73d56 08:24:10 Removing intermediate container 377e74d73d56 08:24:10 ---> 939ea711cf59 08:24:10 Step 7/26 : WORKDIR /device-gpio 08:24:10 ---> Running in 9ef6849037a7 08:24:10 Removing intermediate container 9ef6849037a7 08:24:10 ---> c9e30cb034c1 08:24:10 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:24:10 ---> Running in dc870d6db7bc 08:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:24:11 OK: 268 MiB in 56 packages 08:24:11 Removing intermediate container dc870d6db7bc 08:24:11 ---> 8a90570146ee 08:24:11 Step 9/26 : COPY go.mod vendor* ./ 08:24:12 ---> 68b30270ff1b 08:24:12 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:12 ---> Running in d5d8fae07091 08:24:12 Removing intermediate container d5d8fae07091 08:24:12 ---> 9d3fae0f418d 08:24:12 Step 11/26 : COPY . . 08:24:13 ---> 8e08d81d2c97 08:24:13 Step 12/26 : RUN ${MAKE} 08:24:13 ---> Running in ddab1510cc52 08:24:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 08:24:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4909 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 08:24:36 Running in /w/workspace/device-gpio/124 [Pipeline] { [Pipeline] checkout 08:24:39 The recommended git tool is: git 08:24:46 using credential edgex-jenkins-ssh 08:24:46 Cloning the remote Git repository 08:24:46 Cloning repository git@github.com:edgexfoundry/device-gpio.git 08:24:46 > git init /w/workspace/device-gpio/124 # timeout=10 08:24:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:24:46 > git --version # timeout=10 08:24:46 > git --version # 'git version 2.25.1' 08:24:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:24:49 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:24:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:24:51 Avoid second fetch 08:24:51 Checking out Revision 8c1eec1cce53e3d99f3878f2a839c8345b98407a (main) 08:24:52 Commit message: "Merge pull request #237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" 08:24:51 > git config core.sparsecheckout # timeout=10 08:24:51 > git checkout -f 8c1eec1cce53e3d99f3878f2a839c8345b98407a # timeout=10 08:24:52 Removing intermediate container ddab1510cc52 08:24:52 ---> f5c14106baf4 08:24:52 Step 13/26 : FROM alpine:3.18 08:24:52 3.18: Pulling from library/alpine 08:24:52 73baa7ef167e: Pulling fs layer 08:24:52 73baa7ef167e: Verifying Checksum 08:24:52 73baa7ef167e: Download complete 08:24:52 73baa7ef167e: Pull complete 08:24:52 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 08:24:52 Status: Downloaded newer image for alpine:3.18 08:24:52 ---> 8fd7cac70a4a 08:24:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:24:52 ---> Running in ed884548d62c 08:24:52 Removing intermediate container ed884548d62c 08:24:52 ---> a429f3430b5e 08:24:52 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:24:52 ---> Running in 3eecfaf7f46e 08:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:24:52 (1/1) Installing dumb-init (1.2.5-r2) 08:24:52 Executing busybox-1.36.1-r7.trigger 08:24:52 OK: 7 MiB in 16 packages 08:24:52 Removing intermediate container 3eecfaf7f46e 08:24:52 ---> cbd5def3b308 08:24:52 Step 16/26 : RUN apk --no-cache upgrade 08:24:52 ---> Running in e2c3d3284337 08:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:24:52 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 08:24:52 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 08:24:52 OK: 7 MiB in 16 packages 08:24:52 Removing intermediate container e2c3d3284337 08:24:52 ---> 1964ba3a906f 08:24:52 Step 17/26 : WORKDIR / 08:24:52 ---> Running in 66ef888f973b 08:24:52 Removing intermediate container 66ef888f973b 08:24:52 ---> cd2c25199d54 08:24:52 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:24:52 ---> b2ea2ad99350 08:24:52 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:24:52 ---> 67813aee7bd8 08:24:52 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:24:52 ---> 028b61d7aede 08:24:52 Step 21/26 : EXPOSE 59910 08:24:52 ---> Running in 2128899a4ad2 08:24:52 Removing intermediate container 2128899a4ad2 08:24:52 ---> f3ca3830edf8 08:24:52 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:24:52 ---> Running in fb2086b90c55 08:24:52 Removing intermediate container fb2086b90c55 08:24:52 ---> a6634b5c0bb4 08:24:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:24:52 ---> Running in 81d9f2bc4f3b 08:24:52 Removing intermediate container 81d9f2bc4f3b 08:24:52 ---> 3bdbfcd5e018 08:24:52 Step 24/26 : LABEL arch=amd64 08:24:52 ---> Running in 0c6797625136 08:24:52 Removing intermediate container 0c6797625136 08:24:52 ---> 5f2c480c6a4c 08:24:52 Step 25/26 : LABEL git_sha=8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:24:52 ---> Running in 23c14e953039 08:24:52 Removing intermediate container 23c14e953039 08:24:52 ---> 589cdad4b640 08:24:52 Step 26/26 : LABEL version=3.2.0-dev.11 08:24:52 ---> Running in e46a48e4c285 08:24:52 Removing intermediate container e46a48e4c285 08:24:52 ---> a3220e81ff23 08:24:52 [Warning] One or more build-args [ARCH] were not consumed 08:24:52 Successfully built a3220e81ff23 08:24:52 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:53 provisioning config files... 08:24:53 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7892688845041762926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:53 ---> ****-login.sh 08:24:53 nexus3.edgexfoundry.org:10001 08:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:53 Configure a credential helper to remove this warning. See 08:24:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:53 08:24:53 Login Succeeded 08:24:53 nexus3.edgexfoundry.org:10002 08:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:53 Configure a credential helper to remove this warning. See 08:24:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:53 08:24:53 Login Succeeded 08:24:53 nexus3.edgexfoundry.org:10003 08:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:53 Configure a credential helper to remove this warning. See 08:24:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:53 08:24:53 Login Succeeded 08:24:53 nexus3.edgexfoundry.org:10004 08:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:53 Configure a credential helper to remove this warning. See 08:24:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:53 08:24:53 Login Succeeded 08:24:53 ****.io 08:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:54 Configure a credential helper to remove this warning. See 08:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:54 08:24:54 Login Succeeded 08:24:54 ---> ****-login.sh ends [Pipeline] } 08:24:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:24:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:24:54 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 08:24:54 8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:24:54 latest 08:24:54 3.2.0-dev.11 08:24:54 8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:24:54 main 08:24:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:54 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:54 + docker push nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:24:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:24:54 4eaf0d18d1ee: Preparing 08:24:54 7a69cd51ec72: Preparing 08:24:54 4ee057a0e946: Preparing 08:24:54 21e86d224b33: Preparing 08:24:54 fb62ef73a352: Preparing 08:24:54 63ec0bd56cf3: Preparing 08:24:54 63ec0bd56cf3: Waiting 08:24:54 4ee057a0e946: Pushed 08:24:54 7a69cd51ec72: Pushed 08:24:54 fb62ef73a352: Pushed 08:24:54 63ec0bd56cf3: Layer already exists 08:24:55 21e86d224b33: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:24:57 % Total % Received % Xferd Average Speed Time Time Time Current 08:24:57 Dload Upload Total Spent Left Speed 08:24:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 08:24:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:24:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:24:57 + sudo tee /etc/docker/daemon.new 08:24:57 { 08:24:57 "registry-mirrors": [ 08:24:57 "https://nexus3.edgexfoundry.org:10001" 08:24:57 ], 08:24:57 "bip": "10.250.0.254/24", 08:24:57 "hosts": [ 08:24:57 "tcp://0.0.0.0:5555", 08:24:57 "unix:///var/run/docker.sock" 08:24:57 ], 08:24:57 "mtu": 1458, 08:24:57 "selinux-enabled": true, 08:24:57 "seccomp-profile": "/etc/docker/seccomp.json" 08:24:57 } [Pipeline] sh 08:24:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:24:58 + sudo service docker restart 08:24:59 4eaf0d18d1ee: Pushed 08:24:59 8c1eec1cce53e3d99f3878f2a839c8345b98407a: digest: sha256:9205bc67404d2c972a4661c9706d1902fcebc58c726dce11a45738f3af178d2d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:59 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 08:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:25:00 4eaf0d18d1ee: Preparing 08:25:00 7a69cd51ec72: Preparing 08:25:00 4ee057a0e946: Preparing 08:25:00 21e86d224b33: Preparing 08:25:00 fb62ef73a352: Preparing 08:25:00 63ec0bd56cf3: Preparing 08:25:00 63ec0bd56cf3: Waiting 08:25:00 fb62ef73a352: Layer already exists 08:25:00 4eaf0d18d1ee: Layer already exists 08:25:00 7a69cd51ec72: Layer already exists 08:25:00 21e86d224b33: Layer already exists 08:25:00 4ee057a0e946: Layer already exists 08:25:00 63ec0bd56cf3: Layer already exists 08:25:00 latest: digest: sha256:9205bc67404d2c972a4661c9706d1902fcebc58c726dce11a45738f3af178d2d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:00 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.11 08:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:25:00 4eaf0d18d1ee: Preparing 08:25:00 7a69cd51ec72: Preparing 08:25:00 4ee057a0e946: Preparing 08:25:00 21e86d224b33: Preparing 08:25:00 fb62ef73a352: Preparing 08:25:00 63ec0bd56cf3: Preparing 08:25:00 63ec0bd56cf3: Waiting 08:25:00 21e86d224b33: Layer already exists 08:25:00 4ee057a0e946: Layer already exists 08:25:00 fb62ef73a352: Layer already exists 08:25:00 7a69cd51ec72: Layer already exists 08:25:00 4eaf0d18d1ee: Layer already exists 08:25:00 63ec0bd56cf3: Layer already exists 08:25:00 3.2.0-dev.11: digest: sha256:9205bc67404d2c972a4661c9706d1902fcebc58c726dce11a45738f3af178d2d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:01 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:01 + docker push nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:25:01 4eaf0d18d1ee: Preparing 08:25:01 7a69cd51ec72: Preparing 08:25:01 4ee057a0e946: Preparing 08:25:01 21e86d224b33: Preparing 08:25:01 fb62ef73a352: Preparing 08:25:01 63ec0bd56cf3: Preparing 08:25:01 63ec0bd56cf3: Waiting 08:25:01 4eaf0d18d1ee: Layer already exists 08:25:01 7a69cd51ec72: Layer already exists 08:25:01 fb62ef73a352: Layer already exists 08:25:01 21e86d224b33: Layer already exists 08:25:01 4ee057a0e946: Layer already exists 08:25:01 63ec0bd56cf3: Layer already exists 08:25:01 8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11: digest: sha256:9205bc67404d2c972a4661c9706d1902fcebc58c726dce11a45738f3af178d2d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:01 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:02 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 08:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:25:02 4eaf0d18d1ee: Preparing 08:25:02 7a69cd51ec72: Preparing 08:25:02 4ee057a0e946: Preparing 08:25:02 21e86d224b33: Preparing 08:25:02 fb62ef73a352: Preparing 08:25:02 63ec0bd56cf3: Preparing 08:25:02 63ec0bd56cf3: Waiting 08:25:02 4ee057a0e946: Layer already exists 08:25:02 21e86d224b33: Layer already exists 08:25:02 fb62ef73a352: Layer already exists 08:25:02 7a69cd51ec72: Layer already exists 08:25:02 4eaf0d18d1ee: Layer already exists 08:25:02 63ec0bd56cf3: Layer already exists 08:25:02 main: digest: sha256:9205bc67404d2c972a4661c9706d1902fcebc58c726dce11a45738f3af178d2d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:25:02 ===================================================== [Pipeline] echo 08:25:02 taggedImages: 08:25:02 - nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:25:02 - nexus3.edgexfoundry.org:10004/device-gpio:latest 08:25:02 - nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.11 08:25:02 - nexus3.edgexfoundry.org:10004/device-gpio:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:25:02 - nexus3.edgexfoundry.org:10004/device-gpio:main [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 08:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:02 08:25:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:02 latest: Pulling from edgex-lftools-log-publisher 08:25:02 5eb5b503b376: Pulling fs layer 08:25:02 5c69ac0246d0: Pulling fs layer 08:25:02 ec43610c2a17: Pulling fs layer 08:25:02 3a2ae6a8a46f: Pulling fs layer 08:25:02 33b1e0a273af: Pulling fs layer 08:25:02 3a2ae6a8a46f: Waiting 08:25:02 5d3b04190fa2: Pulling fs layer 08:25:02 2f39f015ded8: Pulling fs layer 08:25:02 33b1e0a273af: Waiting 08:25:02 2f39f015ded8: Waiting 08:25:02 5d3b04190fa2: Waiting 08:25:02 5c69ac0246d0: Download complete 08:25:02 3a2ae6a8a46f: Verifying Checksum 08:25:02 3a2ae6a8a46f: Download complete 08:25:02 33b1e0a273af: Verifying Checksum 08:25:02 33b1e0a273af: Download complete 08:25:02 ec43610c2a17: Verifying Checksum 08:25:02 ec43610c2a17: Download complete 08:25:02 5d3b04190fa2: Verifying Checksum 08:25:02 5d3b04190fa2: Download complete 08:25:03 5eb5b503b376: Verifying Checksum 08:25:03 5eb5b503b376: Download complete 08:25:03 2f39f015ded8: Download complete 08:25:04 5eb5b503b376: Pull complete 08:25:04 5c69ac0246d0: Pull complete 08:25:04 ec43610c2a17: Pull complete 08:25:04 3a2ae6a8a46f: Pull complete 08:25:05 33b1e0a273af: Pull complete 08:25:05 5d3b04190fa2: Pull complete 08:25:10 2f39f015ded8: Pull complete 08:25:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:10 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:25:10 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 08:25:14 $ docker top 5abd1e40f2f8af38badd8165c1ae7bf6e0b3b8cb5b97ebf87f529e12899e317c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:15 ---> job-cost.sh 08:25:15 lf-activate-venv: SKIPPING 08:25:15 INFO: No Stack... 08:25:15 INFO: Retrieving Pricing Info for: v3-standard-8 08:25:16 INFO: Archiving Costs [Pipeline] sh 08:25:16 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 08:25:16 + cut -d, -f6 [Pipeline] lock 08:25:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] 08:25:16 Resource [jenkins-edgexfoundry-device-gpio-main-124-stack-cost] did not exist. Created. 08:25:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:25:16 + echo total: 0.2199999988079071 [Pipeline] stash 08:25:16 Stashed 1 file(s) [Pipeline] } 08:25:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 08:25:16 $ docker stop --time=1 5abd1e40f2f8af38badd8165c1ae7bf6e0b3b8cb5b97ebf87f529e12899e317c 08:25:17 $ docker rm -f --volumes 5abd1e40f2f8af38badd8165c1ae7bf6e0b3b8cb5b97ebf87f529e12899e317c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 08:25:18 provisioning config files... [Pipeline] } [Pipeline] // withEnv 08:25:18 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/124@tmp/config3117292490960641737tmp [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:18 ---> ****-login.sh 08:25:18 nexus3.edgexfoundry.org:10001 08:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:25:19 Configure a credential helper to remove this warning. See 08:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:25:19 08:25:19 Login Succeeded 08:25:19 nexus3.edgexfoundry.org:10002 08:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:25:19 Configure a credential helper to remove this warning. See 08:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:25:19 08:25:19 Login Succeeded 08:25:19 nexus3.edgexfoundry.org:10003 08:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:25:19 Configure a credential helper to remove this warning. See 08:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:25:19 08:25:19 Login Succeeded 08:25:19 nexus3.edgexfoundry.org:10004 08:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:25:20 Configure a credential helper to remove this warning. See 08:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:25:20 08:25:20 Login Succeeded 08:25:20 ****.io 08:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:25:20 Configure a credential helper to remove this warning. See 08:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:25:20 08:25:20 Login Succeeded 08:25:20 ---> ****-login.sh ends [Pipeline] } 08:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:25:21 ========================================================= 08:25:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:25:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 08:25:22 Sending build context to Docker daemon 15.35MB 08:25:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:25:22 Step 2/12 : FROM ${BASE} AS builder 08:25:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:25:22 c6b39de5b339: Pulling fs layer 08:25:22 a69c41024577: Pulling fs layer 08:25:22 d6de4b400683: Pulling fs layer 08:25:22 35cb2a7552d0: Pulling fs layer 08:25:22 4f4fb700ef54: Pulling fs layer 08:25:22 464afbd9ba4c: Pulling fs layer 08:25:22 00f215d4a9da: Pulling fs layer 08:25:22 d496ad576159: Pulling fs layer 08:25:22 464afbd9ba4c: Waiting 08:25:22 35cb2a7552d0: Waiting 08:25:22 d496ad576159: Waiting 08:25:22 00f215d4a9da: Waiting 08:25:22 4f4fb700ef54: Waiting 08:25:22 a69c41024577: Download complete 08:25:22 35cb2a7552d0: Verifying Checksum 08:25:22 35cb2a7552d0: Download complete 08:25:22 4f4fb700ef54: Verifying Checksum 08:25:22 4f4fb700ef54: Download complete 08:25:22 c6b39de5b339: Verifying Checksum 08:25:22 c6b39de5b339: Download complete 08:25:22 464afbd9ba4c: Verifying Checksum 08:25:22 464afbd9ba4c: Download complete 08:25:22 d496ad576159: Verifying Checksum 08:25:22 d496ad576159: Download complete 08:25:23 c6b39de5b339: Pull complete 08:25:24 d6de4b400683: Verifying Checksum 08:25:24 d6de4b400683: Download complete 08:25:24 a69c41024577: Pull complete 08:25:25 00f215d4a9da: Verifying Checksum 08:25:25 00f215d4a9da: Download complete 08:25:37 d6de4b400683: Pull complete 08:25:37 35cb2a7552d0: Pull complete 08:25:37 4f4fb700ef54: Pull complete 08:25:37 464afbd9ba4c: Pull complete 08:25:47 00f215d4a9da: Pull complete 08:25:47 d496ad576159: Pull complete 08:25:47 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 08:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:25:47 ---> f246e2811388 08:25:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:25:48 ---> Running in 93b0f0339805 08:25:49 Removing intermediate container 93b0f0339805 08:25:49 ---> bb9fdcf985ed 08:25:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:25:49 ---> Running in 4fad8ca7b17e 08:25:49 Removing intermediate container 4fad8ca7b17e 08:25:49 ---> 200646d2fed4 08:25:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:25:49 ---> Running in 99e3f14fda08 08:25:49 Removing intermediate container 99e3f14fda08 08:25:49 ---> 8c79f197b3a4 08:25:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:25:49 ---> Running in 13dcab0fadd8 08:25:50 Removing intermediate container 13dcab0fadd8 08:25:50 ---> 6c3597bfa772 08:25:50 Step 7/12 : WORKDIR /device-gpio 08:25:50 ---> Running in 88738246f6f3 08:25:50 Removing intermediate container 88738246f6f3 08:25:50 ---> 8e1c3f9d8cc1 08:25:50 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:25:50 ---> Running in 05d6e7c9a4fc 08:25:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:25:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:25:53 (1/4) Installing openssh-keygen (9.3_p2-r2) 08:25:53 (2/4) Installing libedit (20221030.3.1-r1) 08:25:53 (3/4) Installing openssh-client-common (9.3_p2-r2) 08:25:53 (4/4) Installing openssh-client-default (9.3_p2-r2) 08:25:53 Executing busybox-1.36.1-r5.trigger 08:25:53 OK: 271 MiB in 56 packages 08:25:55 Removing intermediate container 05d6e7c9a4fc 08:25:55 ---> 421c8a86cfd9 08:25:55 Step 9/12 : COPY go.mod vendor* ./ 08:25:55 ---> 4468fcad9639 08:25:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:25:55 ---> Running in c1af82985558 08:27:47 Removing intermediate container c1af82985558 08:27:47 ---> 543f8ebfd2d4 08:27:47 Step 11/12 : COPY . . 08:27:47 ---> 2661ac97bd00 08:27:47 Step 12/12 : RUN ${MAKE} 08:27:47 ---> Running in 3ce5dd68720c 08:27:47 noop 08:27:47 Removing intermediate container 3ce5dd68720c 08:27:47 ---> 6eed5a53b30b 08:27:47 Successfully built 6eed5a53b30b 08:27:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:48 + docker inspect -f . ci-base-image-arm64 08:27:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-4909 does not seem to be running inside a container 08:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/124 -v /w/workspace/device-gpio/124:/w/workspace/device-gpio/124:rw,z -v /w/workspace/device-gpio/124@tmp:/w/workspace/device-gpio/124@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:27:49 $ docker top 2d6f7839d03a1bed0aaade45cac8dad0eac895e97567dc08c6921fb14f5ed3b0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:50 + go version 08:27:50 go version go1.21.9 linux/arm64 [Pipeline] } 08:27:50 $ docker stop --time=1 2d6f7839d03a1bed0aaade45cac8dad0eac895e97567dc08c6921fb14f5ed3b0 08:27:52 $ docker rm -f --volumes 2d6f7839d03a1bed0aaade45cac8dad0eac895e97567dc08c6921fb14f5ed3b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:52 + docker inspect -f . ci-base-image-arm64 08:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:52 prd-ubuntu20.04-docker-arm64-4c-16g-4909 does not seem to be running inside a container 08:27:53 $ 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/124 -v /w/workspace/device-gpio/124:/w/workspace/device-gpio/124:rw,z -v /w/workspace/device-gpio/124@tmp:/w/workspace/device-gpio/124@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:27:54 $ docker top fcce399d0a36b8e1083bfa7ac19a7dfabbf53e869ee4dd4720d9d902c8171277 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:54 + git config --global --add safe.directory /w/workspace/device-gpio/124 [Pipeline] fileExists [Pipeline] sh 08:27:55 + make test 08:27:55 go test ./... -coverprofile=coverage.out ./... 08:28:02 ? github.com/edgexfoundry/device-gpio [no test files] 08:31:23 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:31:23 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:31:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:31:23 go vet ./... 08:32:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:32:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:32:10 ./bin/test-attribution-txt.sh 08:32:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:32:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:32:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:32:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:32:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:32:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:32:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:32:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:32:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:32:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:32:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:32:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:32:10 $ docker stop --time=1 fcce399d0a36b8e1083bfa7ac19a7dfabbf53e869ee4dd4720d9d902c8171277 08:32:12 $ docker rm -f --volumes fcce399d0a36b8e1083bfa7ac19a7dfabbf53e869ee4dd4720d9d902c8171277 [Pipeline] // withDockerContainer [Pipeline] sh 08:32:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:32:14 Warning: overwriting stash ‘coverage-report’ 08:32:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:32:15 + ls -al . 08:32:15 total 216 08:32:15 drwxrwxr-x 7 jenkins jenkins 4096 Jul 3 08:28 . 08:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 08:24 .. 08:32:15 -rw-rw-r-- 1 jenkins jenkins 120 Jul 3 08:24 .dockerignore 08:32:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:24 .git 08:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:24 .github 08:32:15 -rw-rw-r-- 1 jenkins jenkins 277 Jul 3 08:24 .gitignore 08:32:15 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 08:24 .golangci.yml 08:32:15 -rw-rw-r-- 1 jenkins jenkins 10671 Jul 3 08:24 Attribution.txt 08:32:15 -rw-rw-r-- 1 jenkins jenkins 7171 Jul 3 08:24 CHANGELOG.md 08:32:15 -rw-rw-r-- 1 jenkins jenkins 1661 Jul 3 08:24 Dockerfile 08:32:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 08:24 GOVERNANCE.md 08:32:15 -rw-rw-r-- 1 jenkins jenkins 657 Jul 3 08:24 Jenkinsfile 08:32:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 08:24 LICENSE 08:32:15 -rw-rw-r-- 1 jenkins jenkins 1923 Jul 3 08:24 Makefile 08:32:15 -rw-rw-r-- 1 jenkins jenkins 617 Jul 3 08:24 OWNERS.md 08:32:15 -rw-rw-r-- 1 jenkins jenkins 3578 Jul 3 08:24 README.md 08:32:15 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 08:22 VERSION 08:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 08:24 bin 08:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:24 cmd 08:32:15 -rw-r--r-- 1 jenkins jenkins 10 Jul 3 08:28 coverage.out 08:32:15 -rw-rw-r-- 1 jenkins jenkins 6998 Jul 3 08:24 go.mod 08:32:15 -rw-rw-r-- 1 jenkins jenkins 102307 Jul 3 08:24 go.sum 08:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:24 internal 08:32:15 -rw-rw-r-- 1 jenkins jenkins 209 Jul 3 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:15 + 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=8c1eec1cce53e3d99f3878f2a839c8345b98407a --label arch=arm64 --label version=3.2.0-dev.11 . 08:32:16 Sending build context to Docker daemon 15.35MB 08:32:16 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:32:16 Step 2/26 : FROM ${BASE} AS builder 08:32:16 ---> 6eed5a53b30b 08:32:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:32:16 ---> Running in 26fc19277091 08:32:16 Removing intermediate container 26fc19277091 08:32:16 ---> fd36107f0ce4 08:32:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:32:16 ---> Running in 50a321b4424a 08:32:17 Removing intermediate container 50a321b4424a 08:32:17 ---> 518eea369a0f 08:32:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:32:17 ---> Running in 28ccfe1bcf2b 08:32:17 Removing intermediate container 28ccfe1bcf2b 08:32:17 ---> c37b9c3e7b68 08:32:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:32:17 ---> Running in 2ef6fecc7237 08:32:17 Removing intermediate container 2ef6fecc7237 08:32:17 ---> fa227e6c0c81 08:32:17 Step 7/26 : WORKDIR /device-gpio 08:32:17 ---> Running in d302b8e5ae15 08:32:18 Removing intermediate container d302b8e5ae15 08:32:18 ---> a65f0b48cb3d 08:32:18 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:18 ---> Running in 3d27d4ff9634 08:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:32:20 OK: 271 MiB in 56 packages 08:32:21 Removing intermediate container 3d27d4ff9634 08:32:21 ---> 166488ac2035 08:32:21 Step 9/26 : COPY go.mod vendor* ./ 08:32:21 ---> 0cd62d6dbde0 08:32:21 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:22 ---> Running in 7fb80494ad52 08:32:24 Removing intermediate container 7fb80494ad52 08:32:24 ---> 035ce2466693 08:32:24 Step 11/26 : COPY . . 08:32:25 ---> d9df9edf9dc8 08:32:25 Step 12/26 : RUN ${MAKE} 08:32:25 ---> Running in 765ea4a6b1ac 08:32:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 08:36:03 Removing intermediate container 765ea4a6b1ac 08:36:03 ---> a4036cae38f5 08:36:03 Step 13/26 : FROM alpine:3.18 08:36:03 3.18: Pulling from library/alpine 08:36:03 5c905c7ebe2f: Pulling fs layer 08:36:03 5c905c7ebe2f: Download complete 08:36:03 5c905c7ebe2f: Pull complete 08:36:03 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 08:36:03 Status: Downloaded newer image for alpine:3.18 08:36:03 ---> dec292d02e07 08:36:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:36:03 ---> Running in 9047c7ddf360 08:36:03 Removing intermediate container 9047c7ddf360 08:36:03 ---> bf568281933f 08:36:03 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:36:03 ---> Running in b81ad3258994 08:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:36:03 (1/1) Installing dumb-init (1.2.5-r2) 08:36:03 Executing busybox-1.36.1-r7.trigger 08:36:03 OK: 8 MiB in 16 packages 08:36:03 Removing intermediate container b81ad3258994 08:36:03 ---> d0b76adfdcb1 08:36:03 Step 16/26 : RUN apk --no-cache upgrade 08:36:03 ---> Running in f6ee54cda1ca 08:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:36:03 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 08:36:03 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 08:36:03 OK: 8 MiB in 16 packages 08:36:04 Removing intermediate container f6ee54cda1ca 08:36:04 ---> de5b6094a980 08:36:04 Step 17/26 : WORKDIR / 08:36:04 ---> Running in 460332e4b0b7 08:36:04 Removing intermediate container 460332e4b0b7 08:36:04 ---> abe777dc68b5 08:36:04 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:36:05 ---> cab537d44956 08:36:05 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:36:05 ---> ee1ad7b48bed 08:36:05 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:36:07 ---> 362a1383dc46 08:36:07 Step 21/26 : EXPOSE 59910 08:36:07 ---> Running in d19a22b3e60d 08:36:07 Removing intermediate container d19a22b3e60d 08:36:07 ---> d0b55e83a165 08:36:07 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:36:07 ---> Running in e51d7dca7707 08:36:08 Removing intermediate container e51d7dca7707 08:36:08 ---> 4f8398c187d6 08:36:08 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:36:08 ---> Running in 60e2de494a8f 08:36:08 Removing intermediate container 60e2de494a8f 08:36:08 ---> a7da8d7861ec 08:36:08 Step 24/26 : LABEL arch=arm64 08:36:08 ---> Running in 1f344f617a75 08:36:08 Removing intermediate container 1f344f617a75 08:36:08 ---> 4039ff457dd1 08:36:08 Step 25/26 : LABEL git_sha=8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:36:08 ---> Running in b6d58565dbc7 08:36:09 Removing intermediate container b6d58565dbc7 08:36:09 ---> fffa4733610a 08:36:09 Step 26/26 : LABEL version=3.2.0-dev.11 08:36:09 ---> Running in 42732f506d45 08:36:09 Removing intermediate container 42732f506d45 08:36:09 ---> c15d3169d071 08:36:09 [Warning] One or more build-args [ARCH] were not consumed 08:36:09 Successfully built c15d3169d071 08:36:09 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:36:09 provisioning config files... 08:36:09 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/124@tmp/config11143453031749690502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:10 ---> ****-login.sh 08:36:10 nexus3.edgexfoundry.org:10001 08:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:10 Configure a credential helper to remove this warning. See 08:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:10 08:36:10 Login Succeeded 08:36:10 nexus3.edgexfoundry.org:10002 08:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:10 Configure a credential helper to remove this warning. See 08:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:10 08:36:10 Login Succeeded 08:36:10 nexus3.edgexfoundry.org:10003 08:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:11 Configure a credential helper to remove this warning. See 08:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:11 08:36:11 Login Succeeded 08:36:11 nexus3.edgexfoundry.org:10004 08:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:11 Configure a credential helper to remove this warning. See 08:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:11 08:36:11 Login Succeeded 08:36:11 ****.io 08:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:12 Configure a credential helper to remove this warning. See 08:36:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:12 08:36:12 Login Succeeded 08:36:12 ---> ****-login.sh ends [Pipeline] } 08:36:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:36:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:12 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 08:36:12 8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:36:12 latest 08:36:12 3.2.0-dev.11 08:36:12 8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:36:12 main 08:36:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:12 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:12 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:36:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:36:12 18748a410812: Preparing 08:36:12 9db1149c5cee: Preparing 08:36:12 04b19a2be786: Preparing 08:36:12 0e89aeac06bb: Preparing 08:36:12 ce67706074db: Preparing 08:36:12 da707bb00cb8: Preparing 08:36:27 9db1149c5cee: Pushed 08:36:27 ce67706074db: Pushed 08:36:27 04b19a2be786: Pushed 08:36:27 0e89aeac06bb: Pushed 08:36:27 da707bb00cb8: Layer already exists 08:36:28 18748a410812: Pushed 08:36:28 8c1eec1cce53e3d99f3878f2a839c8345b98407a: digest: sha256:3ef7ca4557d66963e685a5ab18dd30a1af9afdff29ea1fe0187958b0e4206965 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:28 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:29 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 08:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:36:29 18748a410812: Preparing 08:36:29 9db1149c5cee: Preparing 08:36:29 04b19a2be786: Preparing 08:36:29 0e89aeac06bb: Preparing 08:36:29 ce67706074db: Preparing 08:36:29 da707bb00cb8: Preparing 08:36:29 da707bb00cb8: Waiting 08:36:29 0e89aeac06bb: Layer already exists 08:36:29 9db1149c5cee: Layer already exists 08:36:29 18748a410812: Layer already exists 08:36:29 ce67706074db: Layer already exists 08:36:29 04b19a2be786: Layer already exists 08:36:29 da707bb00cb8: Layer already exists 08:36:29 latest: digest: sha256:3ef7ca4557d66963e685a5ab18dd30a1af9afdff29ea1fe0187958b0e4206965 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:29 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:30 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.11 08:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:36:30 18748a410812: Preparing 08:36:30 9db1149c5cee: Preparing 08:36:30 04b19a2be786: Preparing 08:36:30 0e89aeac06bb: Preparing 08:36:30 ce67706074db: Preparing 08:36:30 da707bb00cb8: Preparing 08:36:30 da707bb00cb8: Waiting 08:36:30 0e89aeac06bb: Layer already exists 08:36:30 ce67706074db: Layer already exists 08:36:30 04b19a2be786: Layer already exists 08:36:30 18748a410812: Layer already exists 08:36:30 9db1149c5cee: Layer already exists 08:36:30 da707bb00cb8: Layer already exists 08:36:30 3.2.0-dev.11: digest: sha256:3ef7ca4557d66963e685a5ab18dd30a1af9afdff29ea1fe0187958b0e4206965 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:30 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:31 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:36:31 18748a410812: Preparing 08:36:31 9db1149c5cee: Preparing 08:36:31 04b19a2be786: Preparing 08:36:31 0e89aeac06bb: Preparing 08:36:31 ce67706074db: Preparing 08:36:31 da707bb00cb8: Preparing 08:36:31 da707bb00cb8: Waiting 08:36:31 ce67706074db: Layer already exists 08:36:31 9db1149c5cee: Layer already exists 08:36:31 18748a410812: Layer already exists 08:36:31 04b19a2be786: Layer already exists 08:36:31 0e89aeac06bb: Layer already exists 08:36:31 da707bb00cb8: Layer already exists 08:36:31 8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11: digest: sha256:3ef7ca4557d66963e685a5ab18dd30a1af9afdff29ea1fe0187958b0e4206965 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:31 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 08:36:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:36:32 18748a410812: Preparing 08:36:32 9db1149c5cee: Preparing 08:36:32 04b19a2be786: Preparing 08:36:32 0e89aeac06bb: Preparing 08:36:32 ce67706074db: Preparing 08:36:32 da707bb00cb8: Preparing 08:36:32 da707bb00cb8: Waiting 08:36:32 ce67706074db: Layer already exists 08:36:32 0e89aeac06bb: Layer already exists 08:36:32 18748a410812: Layer already exists 08:36:32 04b19a2be786: Layer already exists 08:36:32 9db1149c5cee: Layer already exists 08:36:32 da707bb00cb8: Layer already exists 08:36:32 main: digest: sha256:3ef7ca4557d66963e685a5ab18dd30a1af9afdff29ea1fe0187958b0e4206965 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:36:32 ===================================================== [Pipeline] echo 08:36:32 taggedImages: 08:36:32 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a 08:36:32 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 08:36:32 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.11 08:36:32 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:8c1eec1cce53e3d99f3878f2a839c8345b98407a-3.2.0-dev.11 08:36:32 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:32 08:36:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:33 arm64: Pulling from edgex-lftools-log-publisher 08:36:33 8998bd30e6a1: Pulling fs layer 08:36:33 04944245beec: Pulling fs layer 08:36:33 699f458cf7ca: Pulling fs layer 08:36:33 765212b225bb: Pulling fs layer 08:36:33 f23df028b6ca: Pulling fs layer 08:36:33 d65c8cfc05b1: Pulling fs layer 08:36:33 2437ff75d9bd: Pulling fs layer 08:36:33 f23df028b6ca: Waiting 08:36:33 d65c8cfc05b1: Waiting 08:36:33 2437ff75d9bd: Waiting 08:36:33 765212b225bb: Waiting 08:36:33 04944245beec: Verifying Checksum 08:36:33 04944245beec: Download complete 08:36:33 765212b225bb: Download complete 08:36:33 f23df028b6ca: Verifying Checksum 08:36:33 f23df028b6ca: Download complete 08:36:33 d65c8cfc05b1: Verifying Checksum 08:36:33 d65c8cfc05b1: Download complete 08:36:33 699f458cf7ca: Verifying Checksum 08:36:33 699f458cf7ca: Download complete 08:36:33 8998bd30e6a1: Verifying Checksum 08:36:33 8998bd30e6a1: Download complete 08:36:36 2437ff75d9bd: Verifying Checksum 08:36:36 2437ff75d9bd: Download complete 08:36:39 8998bd30e6a1: Pull complete 08:36:39 04944245beec: Pull complete 08:36:41 699f458cf7ca: Pull complete 08:36:41 765212b225bb: Pull complete 08:36:41 f23df028b6ca: Pull complete 08:36:41 d65c8cfc05b1: Pull complete 08:37:00 2437ff75d9bd: Pull complete 08:37:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:00 prd-ubuntu20.04-docker-arm64-4c-16g-4909 does not seem to be running inside a container 08:37:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/124 -v /w/workspace/device-gpio/124:/w/workspace/device-gpio/124:rw,z -v /w/workspace/device-gpio/124@tmp:/w/workspace/device-gpio/124@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:37:03 $ docker top 45d0ed8d013ecb055ac698388f2f5cef853b7a015a71e9a28926f7684af9a66e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:03 ---> job-cost.sh 08:37:03 lf-activate-venv: SKIPPING 08:37:03 INFO: No Stack... 08:37:04 INFO: Retrieving Pricing Info for: v3-standard-4 08:37:05 INFO: Archiving Costs [Pipeline] sh 08:37:05 + cat /w/workspace/device-gpio/124/archives/cost.csv 08:37:05 + cut -d, -f6 [Pipeline] lock 08:37:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] 08:37:05 Resource [jenkins-edgexfoundry-device-gpio-main-124-stack-cost] did not exist. Created. 08:37:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:37:06 /w/workspace/device-gpio/124@tmp/durable-69ab0f45/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:37:07 + echo total: 0.10999999940395355 [Pipeline] stash 08:37:07 Warning: overwriting stash ‘stack-cost’ 08:37:07 Stashed 1 file(s) [Pipeline] } 08:37:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 08:37:07 $ docker stop --time=1 45d0ed8d013ecb055ac698388f2f5cef853b7a015a71e9a28926f7684af9a66e 08:37:08 $ docker rm -f --volumes 45d0ed8d013ecb055ac698388f2f5cef853b7a015a71e9a28926f7684af9a66e [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:37:09 provisioning config files... 08:37:09 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9200869155755825308tmp [Pipeline] { [Pipeline] sh 08:37:09 + set +x 08:37:09 + curl -s https://codecov.io/bash 08:37:09 + bash -s -- 08:37:09 08:37:09 _____ _ 08:37:09 / ____| | | 08:37:09 | | ___ __| | ___ ___ _____ __ 08:37:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:37:09 | |___| (_) | (_| | __/ (_| (_) \ V / 08:37:09 \_____\___/ \__,_|\___|\___\___/ \_/ 08:37:09 Bash-1.0.6 08:37:09 08:37:09 08:37:09 ==> git version 2.25.1 found 08:37:09 ==> 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:37:09 Release-Date: 2020-01-08 08:37:09 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:37:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:37:09 ==> Jenkins CI detected. 08:37:09 current dir:  /w/workspace/edgexfoundry_device-gpio_main 08:37:09 project root: . 08:37:09 --> token set from env 08:37:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:37:09 ==> Running gcov in . (disable via -X gcov) 08:37:09 ==> Python coveragepy not found 08:37:09 ==> Searching for coverage reports in: 08:37:09 + . 08:37:09 -> Found 1 reports 08:37:09 ==> Detecting git/mercurial file structure 08:37:09 ==> Reading reports 08:37:09 + ./coverage.out bytes=10 08:37:09 ==> Appending adjustments 08:37:09 https://docs.codecov.io/docs/fixing-reports 08:37:09 + Found adjustments 08:37:09 ==> Gzipping contents 08:37:09 4.0K /tmp/codecov.FtxZ2g.gz 08:37:09 ==> Uploading reports 08:37:09 url: https://codecov.io 08:37:09 query: branch=main&commit=8c1eec1cce53e3d99f3878f2a839c8345b98407a&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:37:09 -> Pinging Codecov 08:37:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8c1eec1cce53e3d99f3878f2a839c8345b98407a&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:37:09 -> Uploading to 08:37:09 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8c1eec1cce53e3d99f3878f2a839c8345b98407a/d9ca685f-7ac1-4f3d-b618-46d0d2dedf4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T083709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4ea26b334a84261e7ea46bc204b420fe43baf53540fc86c469dfe877688f8af 08:37:09 % Total % Received % Xferd Average Speed Time Time Time Current 08:37:09 Dload Upload Total Spent Left Speed 08:37:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2385 --:--:-- --:--:-- --:--:-- 2385 08:37:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] } 08:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:37:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:37:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:37:10 08:37:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:37:10 latest: Pulling from edgex-devops/edgex-snyk-go 08:37:10 619be1103602: Already exists 08:37:10 f8ea3408117e: Pulling fs layer 08:37:10 91320369b822: Pulling fs layer 08:37:10 0406650e8295: Pulling fs layer 08:37:10 4f4fb700ef54: Pulling fs layer 08:37:10 96d80e3f36e1: Pulling fs layer 08:37:10 bcf3aedb951c: Pulling fs layer 08:37:10 96d80e3f36e1: Waiting 08:37:10 bcf3aedb951c: Waiting 08:37:10 4f4fb700ef54: Waiting 08:37:10 0406650e8295: Verifying Checksum 08:37:10 0406650e8295: Download complete 08:37:10 f8ea3408117e: Download complete 08:37:10 4f4fb700ef54: Verifying Checksum 08:37:10 4f4fb700ef54: Download complete 08:37:10 f8ea3408117e: Pull complete 08:37:10 96d80e3f36e1: Verifying Checksum 08:37:10 96d80e3f36e1: Download complete 08:37:11 91320369b822: Verifying Checksum 08:37:11 91320369b822: Download complete 08:37:11 bcf3aedb951c: Verifying Checksum 08:37:11 bcf3aedb951c: Download complete 08:37:14 91320369b822: Pull complete 08:37:14 0406650e8295: Pull complete 08:37:14 4f4fb700ef54: Pull complete 08:37:15 96d80e3f36e1: Pull complete 08:37:17 bcf3aedb951c: Pull complete 08:37:17 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 08:37:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:37:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:17 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:37:17 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:37:21 $ docker top 61a0555079e7d72f48bdb4dcaf72c6ec1dd52df9de43caea80f2ff47e97a7203 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] echo 08:37:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 08:37:21 + set -o pipefail 08:37:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 08:37:27 08:37:27 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 08:37:27 08:37:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/934c5325-6bfa-42f0-9131-d7c3b7d1c836/history/0652474a-7c99-4244-b5a3-e68ef0b8b433 08:37:27 08:37:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:37:27 08:37:27 08:37:27 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 08:37:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:37:27 $ docker stop --time=1 61a0555079e7d72f48bdb4dcaf72c6ec1dd52df9de43caea80f2ff47e97a7203 08:37:37 $ docker rm -f --volumes 61a0555079e7d72f48bdb4dcaf72c6ec1dd52df9de43caea80f2ff47e97a7203 [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:37:38 + git log --format=format:%s -1 8c1eec1cce53e3d99f3878f2a839c8345b98407a [Pipeline] sh 08:37:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:37:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:38 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:37:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:37:39 $ docker top 0ac2569ffc54af6a60136fa733093172016f1ad4b4251d6175c80dbeb554be15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:39 [ssh-agent] Looking for ssh-agent implementation... 08:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:39 $ docker exec 0ac2569ffc54af6a60136fa733093172016f1ad4b4251d6175c80dbeb554be15 ssh-agent 08:37:39 SSH_AUTH_SOCK=/tmp/ssh-JvZIUFqfYwxP/agent.32 08:37:39 SSH_AGENT_PID=38 08:37:39 Running ssh-add (command line suppressed) 08:37:39 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4897120581480628783.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4897120581480628783.key) 08:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:40 + git semver tag 08:37:40 2024-07-03 08:37:40,305 [run_tag] DEBUG tag force:False 08:37:40 2024-07-03 08:37:40,306 [check_head_tag] DEBUG check head tag 08:37:40 2024-07-03 08:37:40,307 [execute] INFO git cat-file --batch-check 08:37:40 2024-07-03 08:37:40,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 08:37:40 2024-07-03 08:37:40,310 [execute] INFO git cat-file --batch 08:37:40 2024-07-03 08:37:40,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 08:37:40 2024-07-03 08:37:40,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:37:40 2024-07-03 08:37:40,329 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 08:37:40 2024-07-03 08:37:40,329 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 08:37:40 2024-07-03 08:37:40,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:37:40 3.2.0-dev.11 [Pipeline] } 08:37:40 $ docker exec --env ******** --env ******** 0ac2569ffc54af6a60136fa733093172016f1ad4b4251d6175c80dbeb554be15 ssh-agent -k 08:37:40 unset SSH_AUTH_SOCK; 08:37:40 unset SSH_AGENT_PID; 08:37:40 echo Agent pid 38 killed; 08:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:40 + git semver [Pipeline] } 08:37:41 $ docker stop --time=1 0ac2569ffc54af6a60136fa733093172016f1ad4b4251d6175c80dbeb554be15 08:37:42 $ docker rm -f --volumes 0ac2569ffc54af6a60136fa733093172016f1ad4b4251d6175c80dbeb554be15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:37:42 08:37:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:37:43 0.23.1-centos7: Pulling from edgex-lftools 08:37:43 ab5ef0e58194: Pulling fs layer 08:37:43 9712f1f96733: Pulling fs layer 08:37:43 63f879dbbcfc: Pulling fs layer 08:37:43 0d9ebad4ef96: Pulling fs layer 08:37:43 e9a5061849ea: Pulling fs layer 08:37:43 d747dcd14b5f: Pulling fs layer 08:37:43 2de7ff778b66: Pulling fs layer 08:37:43 e9a5061849ea: Waiting 08:37:43 d747dcd14b5f: Waiting 08:37:43 2de7ff778b66: Waiting 08:37:43 0d9ebad4ef96: Waiting 08:37:43 9712f1f96733: Verifying Checksum 08:37:43 9712f1f96733: Download complete 08:37:43 63f879dbbcfc: Verifying Checksum 08:37:43 63f879dbbcfc: Download complete 08:37:43 0d9ebad4ef96: Verifying Checksum 08:37:43 0d9ebad4ef96: Download complete 08:37:43 e9a5061849ea: Verifying Checksum 08:37:43 e9a5061849ea: Download complete 08:37:43 d747dcd14b5f: Verifying Checksum 08:37:43 d747dcd14b5f: Download complete 08:37:43 ab5ef0e58194: Verifying Checksum 08:37:43 ab5ef0e58194: Download complete 08:37:43 2de7ff778b66: Verifying Checksum 08:37:43 2de7ff778b66: Download complete 08:37:46 ab5ef0e58194: Pull complete 08:37:46 9712f1f96733: Pull complete 08:37:47 63f879dbbcfc: Pull complete 08:37:51 0d9ebad4ef96: Pull complete 08:37:51 e9a5061849ea: Pull complete 08:37:51 d747dcd14b5f: Pull complete 08:37:52 2de7ff778b66: Pull complete 08:37:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:37:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:37:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:52 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:37:58 $ docker top e3b5fc05572b1ed9828b828847447100a242a05206e38e5dd269cec9fa0a6908 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:37:58 provisioning config files... 08:37:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13318475156151151518tmp 08:37:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4225041715916550828tmp 08:37:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17118028386860694245tmp [Pipeline] { [Pipeline] echo 08:37:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:37:59 ---> sigul-configuration.sh 08:37:59 gpg: directory `/root/.gnupg' created 08:37:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:37:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:37:59 gpg: keyring `/root/.gnupg/secring.gpg' created 08:37:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:37:59 gpg: CAST5 encrypted data 08:37:59 gpg: encrypted with 1 passphrase 08:37:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:38:00 + mkdir /home/jenkins 08:38:00 + mkdir /home/jenkins/sigul [Pipeline] sh 08:38:00 + 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:38:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:38:00 ---> sigul-install.sh 08:38:00 Sigul already installed; skipping installation. [Pipeline] sh 08:38:01 + git tag --list 08:38:01 v1.0.0 08:38:01 v2.1.0 08:38:01 v2.1.1 08:38:01 v2.2.0 08:38:01 v2.3.0 08:38:01 v3.0 08:38:01 v3.0.0 08:38:01 v3.1 08:38:01 v3.1.0 08:38:01 v3.1.0-dev.1 08:38:01 v3.1.0-dev.10 08:38:01 v3.1.0-dev.11 08:38:01 v3.1.0-dev.12 08:38:01 v3.1.0-dev.13 08:38:01 v3.1.0-dev.14 08:38:01 v3.1.0-dev.15 08:38:01 v3.1.0-dev.16 08:38:01 v3.1.0-dev.17 08:38:01 v3.1.0-dev.18 08:38:01 v3.1.0-dev.19 08:38:01 v3.1.0-dev.2 08:38:01 v3.1.0-dev.20 08:38:01 v3.1.0-dev.21 08:38:01 v3.1.0-dev.22 08:38:01 v3.1.0-dev.23 08:38:01 v3.1.0-dev.24 08:38:01 v3.1.0-dev.25 08:38:01 v3.1.0-dev.26 08:38:01 v3.1.0-dev.3 08:38:01 v3.1.0-dev.4 08:38:01 v3.1.0-dev.5 08:38:01 v3.1.0-dev.6 08:38:01 v3.1.0-dev.7 08:38:01 v3.1.0-dev.8 08:38:01 v3.1.0-dev.9 08:38:01 v3.1.1 08:38:01 v3.1.1-dev.1 08:38:01 v3.2.0-dev.1 08:38:01 v3.2.0-dev.10 08:38:01 v3.2.0-dev.11 08:38:01 v3.2.0-dev.2 08:38:01 v3.2.0-dev.3 08:38:01 v3.2.0-dev.4 08:38:01 v3.2.0-dev.5 08:38:01 v3.2.0-dev.6 08:38:01 v3.2.0-dev.7 08:38:01 v3.2.0-dev.8 08:38:01 v3.2.0-dev.9 [Pipeline] sh 08:38:01 + lftools sign git-tag v3.2.0-dev.11 08:38:01 Signing Git tag with Sigul... 08:38:01 Signing v3.2.0-dev.11 [Pipeline] echo 08:38:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:38:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:38:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:38:03 $ docker stop --time=1 e3b5fc05572b1ed9828b828847447100a242a05206e38e5dd269cec9fa0a6908 08:38:05 $ docker rm -f --volumes e3b5fc05572b1ed9828b828847447100a242a05206e38e5dd269cec9fa0a6908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:38:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:38:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:38:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:06 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:38:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:38:06 $ docker top 12a51815b76a487698296b6d2a25e62b8b3acee20b4f10249130ab581d2034b4 -eo pid,comm 08:38: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). 08:38:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:38:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:38:06 [ssh-agent] Looking for ssh-agent implementation... 08:38:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:38:06 $ docker exec 12a51815b76a487698296b6d2a25e62b8b3acee20b4f10249130ab581d2034b4 ssh-agent 08:38:06 SSH_AUTH_SOCK=/tmp/ssh-B00CdO8HmN6r/agent.33 08:38:06 SSH_AGENT_PID=39 08:38:06 Running ssh-add (command line suppressed) 08:38:06 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2527163231016650668.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2527163231016650668.key) 08:38:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:38:07 + git semver bump pre 08:38:07 2024-07-03 08:38:07,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:38:07 2024-07-03 08:38:07,299 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev 08:38:07 2024-07-03 08:38:07,300 [bump_version] DEBUG bumped version:3.2.0-dev.12 08:38:07 2024-07-03 08:38:07,300 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 08:38:07 2024-07-03 08:38:07,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:38:07 2024-07-03 08:38:07,300 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:38:07 2024-07-03 08:38:07,301 [execute] INFO git cat-file --batch-check 08:38:07 2024-07-03 08:38:07,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 08:38:07 2024-07-03 08:38:07,306 [execute] INFO git cat-file --batch 08:38:07 2024-07-03 08:38:07,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 08:38:07 2024-07-03 08:38:07,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:38:07 3.2.0-dev.12 [Pipeline] } 08:38:07 $ docker exec --env ******** --env ******** 12a51815b76a487698296b6d2a25e62b8b3acee20b4f10249130ab581d2034b4 ssh-agent -k 08:38:07 unset SSH_AUTH_SOCK; 08:38:07 unset SSH_AGENT_PID; 08:38:07 echo Agent pid 39 killed; 08:38:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:38:07 + git semver [Pipeline] } 08:38:08 $ docker stop --time=1 12a51815b76a487698296b6d2a25e62b8b3acee20b4f10249130ab581d2034b4 08:38:09 $ docker rm -f --volumes 12a51815b76a487698296b6d2a25e62b8b3acee20b4f10249130ab581d2034b4 [Pipeline] // withDockerContainer [Pipeline] sh 08:38:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:38:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:38:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:10 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:38:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:38:10 $ docker top f8a15b4a12da96bbf30fcb82b85c4371111748a315877a742f5d1ea0f3b8ac38 -eo pid,comm 08:38: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:38:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:38:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:38:10 [ssh-agent] Looking for ssh-agent implementation... 08:38:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:38:10 $ docker exec f8a15b4a12da96bbf30fcb82b85c4371111748a315877a742f5d1ea0f3b8ac38 ssh-agent 08:38:11 SSH_AUTH_SOCK=/tmp/ssh-YULrnrdGSutz/agent.34 08:38:11 SSH_AGENT_PID=40 08:38:11 Running ssh-add (command line suppressed) 08:38:11 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16170139374899604100.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16170139374899604100.key) 08:38:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:38:11 + git semver push 08:38:11 2024-07-03 08:38:11,871 [run_push] DEBUG push 08:38:11 2024-07-03 08:38:11,871 [execute] INFO git cat-file --batch-check 08:38:11 2024-07-03 08:38:11,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 08:38:11 2024-07-03 08:38:11,874 [execute] INFO git rev-list ab2cff1686bc37673425c99960ca9a162f9a60aa -- 08:38:11 2024-07-03 08:38:11,874 [execute] DEBUG Popen(['git', 'rev-list', 'ab2cff1686bc37673425c99960ca9a162f9a60aa', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 08:38:11 2024-07-03 08:38:11,878 [execute] INFO git fetch -v origin 08:38:11 2024-07-03 08:38:11,878 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 08:38:12 2024-07-03 08:38:12,325 [run_push] DEBUG no remote changes detected 08:38:12 2024-07-03 08:38:12,325 [execute] INFO git push origin semver 08:38:12 2024-07-03 08:38:12,325 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 08:38:13 2024-07-03 08:38:13,196 [run_push] DEBUG push all version tags 08:38:13 2024-07-03 08:38:13,196 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:38:13 2024-07-03 08:38:13,197 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 08:38:14 2024-07-03 08:38:14,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:38:14 3.2.0-dev.12 [Pipeline] } 08:38:14 $ docker exec --env ******** --env ******** f8a15b4a12da96bbf30fcb82b85c4371111748a315877a742f5d1ea0f3b8ac38 ssh-agent -k 08:38:14 unset SSH_AUTH_SOCK; 08:38:14 unset SSH_AGENT_PID; 08:38:14 echo Agent pid 40 killed; 08:38:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:38:14 + git semver [Pipeline] } 08:38:15 $ docker stop --time=1 f8a15b4a12da96bbf30fcb82b85c4371111748a315877a742f5d1ea0f3b8ac38 08:38:16 $ docker rm -f --volumes f8a15b4a12da96bbf30fcb82b85c4371111748a315877a742f5d1ea0f3b8ac38 [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:38:16 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 08:38:16 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 08:38:16 total 16 08:38:16 drwxr-xr-x 3 root root 4096 Jul 3 08:25 . 08:38:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 08:38 .. 08:38:16 drwxr-xr-x 2 root root 4096 Jul 3 08:25 cost 08:38:16 -rw-r--r-- 1 root root 83 Jul 3 08:25 cost.csv 08:38:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 08:38:16 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 08:38:16 total 16 08:38:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 08:25 . 08:38:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 08:38 .. 08:38:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 08:25 cost 08:38:16 -rw-r--r-- 1 jenkins jenkins 83 Jul 3 08:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:38:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:18 ---> package-listing.sh 08:38:18 ++ facter osfamily 08:38:18 ++ tr '[:upper:]' '[:lower:]' 08:38:18 + OS_FAMILY=debian 08:38:18 + workspace=/w/workspace/edgexfoundry_device-gpio_main 08:38:18 + START_PACKAGES=/tmp/packages_start.txt 08:38:18 + END_PACKAGES=/tmp/packages_end.txt 08:38:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:18 + PACKAGES=/tmp/packages_start.txt 08:38:18 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 08:38:18 + PACKAGES=/tmp/packages_end.txt 08:38:18 + case "${OS_FAMILY}" in 08:38:18 + dpkg -l 08:38:18 + grep '^ii' 08:38:18 + '[' -f /tmp/packages_start.txt ']' 08:38:18 + '[' -f /tmp/packages_end.txt ']' 08:38:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:18 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 08:38:18 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 08:38:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 08:38:18 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:38:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:19 prd-ubuntu20.04-docker-8c-8g-4907 does not seem to be running inside a container 08:38:19 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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:38:19 $ docker top 1c7ed7ec1af3487333684a564b502b668db1a96cabafbc00e4e91ae3b10132d8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:19 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:20 + mkdir -p /var/log/sysstat [Pipeline] sh 08:38:20 + ls /var/log/sa-host 08:38:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:20 provisioning config files... 08:38:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5220681647237758146tmp [Pipeline] { [Pipeline] echo 08:38:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> create-netrc.sh [Pipeline] } 08:38:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:38:21 ---> python-tools-install.sh [Pipeline] echo 08:38:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:38:21 ---> sudo-logs.sh 08:38:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:38:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:38:21 ---> job-cost.sh 08:38:21 lf-activate-venv: SKIPPING 08:38:21 DEBUG: total: 0.2199999988079071 08:38:21 INFO: Retrieving Stack Cost... 08:38:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:22 INFO: Archiving Costs [Pipeline] echo 08:38:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:38:24 ---> logs-deploy.sh 08:38:24 lf-activate-venv: SKIPPING 08:38:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/124 08:38:24 INFO: archiving workspace using pattern(s): 08:38:25 Archives upload complete. 08:38:25 INFO: archiving logs to Nexus