Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14c37c6919d6c1a44175d8fd941257ea70202ac9 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-ssh1053922023914790135.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3739426834568463425.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10328876433656163059.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh7798533235369197028.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-ssh1237823901260395511.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.18 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-121259 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 Avoid second fetch Checking out Revision 14c37c6919d6c1a44175d8fd941257ea70202ac9 (main) Commit message: "Merge pull request #70 from jim-wang-intel/upgrade_v3" > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 > git rev-list --no-walk 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:32 ========================================================= 21:28:32 EdgeX Global Pipelines Version Info 21:28:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:32 ------------------- 21:28:32 stable info: 21:28:32 ------------------- 21:28:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:28:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:28:32 Message: update stable to v1.0.244 21:28:33 ------------------- 21:28:33 experimental info: 21:28:33 ------------------- 21:28:33 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:28:33 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14c37c6 [Pipeline] echo 21:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:33 provisioning config files... 21:28:33 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5881270176778986510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:34 ---> docker-login.sh 21:28:34 nexus3.edgexfoundry.org:10001 21:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:34 Configure a credential helper to remove this warning. See 21:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:34 21:28:34 Login Succeeded 21:28:34 nexus3.edgexfoundry.org:10002 21:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:34 Configure a credential helper to remove this warning. See 21:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:34 21:28:34 Login Succeeded 21:28:34 nexus3.edgexfoundry.org:10003 21:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:35 Configure a credential helper to remove this warning. See 21:28:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:35 21:28:35 Login Succeeded 21:28:35 nexus3.edgexfoundry.org:10004 21:28:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:35 Configure a credential helper to remove this warning. See 21:28:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:35 21:28:35 Login Succeeded 21:28:35 docker.io 21:28:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:35 Configure a credential helper to remove this warning. See 21:28:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:35 21:28:35 Login Succeeded 21:28:35 ---> docker-login.sh ends [Pipeline] } 21:28:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:28:35 + git rev-list -1 --merges 14c37c6919d6c1a44175d8fd941257ea70202ac9~1..14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] echo 21:28:35 -----------> git rev-list -1 --merges 14c37c6919d6c1a44175d8fd941257ea70202ac9~1..14c37c6919d6c1a44175d8fd941257ea70202ac9 14c37c6919d6c1a44175d8fd941257ea70202ac9 21:28:35 14c37c6919d6c1a44175d8fd941257ea70202ac9 [false] [Pipeline] sh 21:28:36 + git log --format=format:%s -1 14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] echo 21:28:36 ========================================================= 21:28:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:28:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:36 + git log --format=format:%s -1 14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] echo 21:28:36 [semverPrep] GIT_COMMIT: 14c37c6919d6c1a44175d8fd941257ea70202ac9, Commit Message: Merge pull request #70 from jim-wang-intel/upgrade_v3 [Pipeline] echo 21:28:36 [semverPrep] This is not a build commit. [Pipeline] sh 21:28:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:36 + grep -v github /etc/ssh/ssh_known_hosts 21:28:36 + [ -e /tmp/ssh_known_hosts ] 21:28:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:28:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:28:36 + sudo tee -a /etc/ssh/ssh_known_hosts 21:28:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:37 21:28:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:37 0.1.4: Pulling from edgex-devops/py-git-semver 21:28:37 b85a868b505f: Pulling fs layer 21:28:37 e2be974225ed: Pulling fs layer 21:28:37 339a4e72a1f5: Pulling fs layer 21:28:37 988bab9f4d93: Pulling fs layer 21:28:37 1469e6f7b9e6: Pulling fs layer 21:28:37 eaf3925da568: Pulling fs layer 21:28:37 bab4dde63d76: Pulling fs layer 21:28:37 bde34c3a00c8: Pulling fs layer 21:28:37 b352a97aabf1: Pulling fs layer 21:28:37 4872d77fe225: Pulling fs layer 21:28:37 5851b861e8e6: Pulling fs layer 21:28:37 988bab9f4d93: Waiting 21:28:37 1469e6f7b9e6: Waiting 21:28:37 eaf3925da568: Waiting 21:28:37 bab4dde63d76: Waiting 21:28:37 bde34c3a00c8: Waiting 21:28:37 b352a97aabf1: Waiting 21:28:37 5851b861e8e6: Waiting 21:28:37 4872d77fe225: Waiting 21:28:37 e2be974225ed: Verifying Checksum 21:28:37 e2be974225ed: Download complete 21:28:37 988bab9f4d93: Download complete 21:28:37 1469e6f7b9e6: Verifying Checksum 21:28:37 1469e6f7b9e6: Download complete 21:28:37 eaf3925da568: Verifying Checksum 21:28:37 339a4e72a1f5: Verifying Checksum 21:28:37 339a4e72a1f5: Download complete 21:28:37 bde34c3a00c8: Download complete 21:28:37 b352a97aabf1: Download complete 21:28:37 4872d77fe225: Verifying Checksum 21:28:37 4872d77fe225: Download complete 21:28:37 5851b861e8e6: Verifying Checksum 21:28:37 5851b861e8e6: Download complete 21:28:37 b85a868b505f: Verifying Checksum 21:28:37 b85a868b505f: Download complete 21:28:37 bab4dde63d76: Verifying Checksum 21:28:37 bab4dde63d76: Download complete 21:28:38 b85a868b505f: Pull complete 21:28:39 e2be974225ed: Pull complete 21:28:39 339a4e72a1f5: Pull complete 21:28:39 988bab9f4d93: Pull complete 21:28:39 1469e6f7b9e6: Pull complete 21:28:39 eaf3925da568: Pull complete 21:28:41 bab4dde63d76: Pull complete 21:28:41 bde34c3a00c8: Pull complete 21:28:42 b352a97aabf1: Pull complete 21:28:42 4872d77fe225: Pull complete 21:28:42 5851b861e8e6: Pull complete 21:28:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:42 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:28:42 $ 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 21:28:43 $ docker top 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 -eo pid,comm 21:28:43 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). 21:28:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:43 [ssh-agent] Looking for ssh-agent implementation... 21:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:44 $ docker exec 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 ssh-agent 21:28:44 SSH_AUTH_SOCK=/tmp/ssh-mHVR3oASxCAq/agent.32 21:28:44 SSH_AGENT_PID=38 21:28:44 Running ssh-add (command line suppressed) 21:28:44 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9263512581424423719.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9263512581424423719.key) 21:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:44 + git tag --points-at HEAD [Pipeline] } 21:28:44 $ docker exec --env ******** --env ******** 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 ssh-agent -k 21:28:44 unset SSH_AUTH_SOCK; 21:28:44 unset SSH_AGENT_PID; 21:28:44 echo Agent pid 38 killed; 21:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:44 [ssh-agent] Looking for ssh-agent implementation... 21:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:44 $ docker exec 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 ssh-agent 21:28:44 SSH_AUTH_SOCK=/tmp/ssh-99FSHZXs8I9r/agent.70 21:28:44 SSH_AGENT_PID=76 21:28:44 Running ssh-add (command line suppressed) 21:28:45 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7527158490698015174.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7527158490698015174.key) 21:28:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:45 + git semver init 21:28:45 2022-12-14 21:28:45,565 [run_init] DEBUG init version:0.0.0 force:False 21:28:45 2022-12-14 21:28:45,565 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 21:28:45 2022-12-14 21:28:45,566 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 21:28:45 2022-12-14 21:28:45,566 [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) 21:28:46 2022-12-14 21:28:46,429 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 21:28:46 2022-12-14 21:28:46,430 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 21:28:46 2022-12-14 21:28:46,430 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:28:46 2022-12-14 21:28:46,430 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:28:46 3.0.0-dev.1 [Pipeline] } 21:28:46 $ docker exec --env ******** --env ******** 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 ssh-agent -k 21:28:46 unset SSH_AUTH_SOCK; 21:28:46 unset SSH_AGENT_PID; 21:28:46 echo Agent pid 76 killed; 21:28:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:47 + git semver [Pipeline] } 21:28:47 $ docker stop --time=1 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 21:28:48 $ docker rm -f 423457a2ee889099114a0c796d89f69e133b97c17d301a3fd82534d65d0be4a7 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:28:49 Stashed 1 file(s) [Pipeline] echo 21:28:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [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 21:28:49 provisioning config files... 21:28:49 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8891567860675945735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:49 ---> docker-login.sh 21:28:49 nexus3.edgexfoundry.org:10001 21:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:49 Configure a credential helper to remove this warning. See 21:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:49 21:28:49 Login Succeeded 21:28:49 nexus3.edgexfoundry.org:10002 21:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:49 Configure a credential helper to remove this warning. See 21:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:49 21:28:49 Login Succeeded 21:28:49 nexus3.edgexfoundry.org:10003 21:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:49 Configure a credential helper to remove this warning. See 21:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:49 21:28:49 Login Succeeded 21:28:49 nexus3.edgexfoundry.org:10004 21:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:49 Configure a credential helper to remove this warning. See 21:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:49 21:28:49 Login Succeeded 21:28:49 docker.io 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 ---> docker-login.sh ends [Pipeline] } 21:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:50 ========================================================= 21:28:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:28:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:28:50 Sending build context to Docker daemon 15.93MB 21:28:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:28:50 Step 2/12 : FROM ${BASE} AS builder 21:28:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:28:50 213ec9aee27d: Pulling fs layer 21:28:50 4583459ba037: Pulling fs layer 21:28:50 93c1e223e6f2: Pulling fs layer 21:28:50 53926ce57604: Pulling fs layer 21:28:50 21b2b0c7a3f4: Pulling fs layer 21:28:50 22ff95d597cd: Pulling fs layer 21:28:50 12d6caf4c0d1: Pulling fs layer 21:28:50 96b7cbca73a9: Pulling fs layer 21:28:50 a7acece74701: Pulling fs layer 21:28:50 53926ce57604: Waiting 21:28:50 21b2b0c7a3f4: Waiting 21:28:50 22ff95d597cd: Waiting 21:28:50 12d6caf4c0d1: Waiting 21:28:50 96b7cbca73a9: Waiting 21:28:50 a7acece74701: Waiting 21:28:50 93c1e223e6f2: Verifying Checksum 21:28:50 93c1e223e6f2: Download complete 21:28:50 4583459ba037: Download complete 21:28:50 21b2b0c7a3f4: Verifying Checksum 21:28:50 21b2b0c7a3f4: Download complete 21:28:50 22ff95d597cd: Download complete 21:28:50 213ec9aee27d: Verifying Checksum 21:28:50 213ec9aee27d: Download complete 21:28:50 12d6caf4c0d1: Verifying Checksum 21:28:50 12d6caf4c0d1: Download complete 21:28:50 213ec9aee27d: Pull complete 21:28:51 4583459ba037: Pull complete 21:28:51 93c1e223e6f2: Pull complete 21:28:51 a7acece74701: Verifying Checksum 21:28:51 53926ce57604: Verifying Checksum 21:28:51 53926ce57604: Download complete 21:28:51 96b7cbca73a9: Verifying Checksum 21:28:51 96b7cbca73a9: Download complete 21:28:56 53926ce57604: Pull complete 21:28:56 21b2b0c7a3f4: Pull complete 21:28:56 22ff95d597cd: Pull complete 21:28:56 12d6caf4c0d1: Pull complete 21:28:57 96b7cbca73a9: Pull complete 21:28:58 a7acece74701: Pull complete 21:28:58 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:28:58 ---> db6d94c90886 21:28:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:29:00 ---> Running in f97f0ee01a0b 21:29:00 Removing intermediate container f97f0ee01a0b 21:29:00 ---> 1b29ed46b6dd 21:29:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:00 ---> Running in 377eb60a81e0 21:29:00 Removing intermediate container 377eb60a81e0 21:29:00 ---> 9c45f48874b0 21:29:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:29:00 ---> Running in 293f6e6c23e9 21:29:00 Removing intermediate container 293f6e6c23e9 21:29:00 ---> 2121e87ca9ea 21:29:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:29:00 ---> Running in f0aabebbcf11 21:29:00 Removing intermediate container f0aabebbcf11 21:29:00 ---> 98a726b6a14d 21:29:00 Step 7/12 : WORKDIR /device-gpio 21:29:00 ---> Running in 7f266d8d0be3 21:29:00 Removing intermediate container 7f266d8d0be3 21:29:00 ---> 5c842a8d0bb5 21:29:00 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:00 ---> Running in 6ff912efe736 21:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:29:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:29:01 (2/4) Installing libedit (20210910.3.1-r0) 21:29:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:29:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:29:01 Executing busybox-1.35.0-r17.trigger 21:29:01 OK: 216 MiB in 55 packages 21:29:02 Removing intermediate container 6ff912efe736 21:29:02 ---> e64583cf824c 21:29:02 Step 9/12 : COPY go.mod vendor* ./ 21:29:02 ---> fa5ac5aed6ee 21:29:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:02 ---> Running in 8dc2aa74f554 21:29:04 Still waiting to schedule task 21:29:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:29:20 Removing intermediate container 8dc2aa74f554 21:29:20 ---> 83e89f06d05a 21:29:20 Step 11/12 : COPY . . 21:29:20 ---> 85a9e3d968c1 21:29:20 Step 12/12 : RUN ${MAKE} 21:29:20 ---> Running in 0d68586e2ade 21:29:20 noop 21:29:21 Removing intermediate container 0d68586e2ade 21:29:21 ---> ddb6c282c62f 21:29:21 Successfully built ddb6c282c62f 21:29:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:21 + docker inspect -f . ci-base-image-x86_64 21:29:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:21 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:29:21 $ 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 21:29:21 $ docker top 27e59c0472b6b0d0a8d78c5883857d41ee11d69970acdf1a3ac979d881c9d522 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:22 + go version 21:29:22 go version go1.18.7 linux/amd64 [Pipeline] } 21:29:22 $ docker stop --time=1 27e59c0472b6b0d0a8d78c5883857d41ee11d69970acdf1a3ac979d881c9d522 21:29:23 $ docker rm -f 27e59c0472b6b0d0a8d78c5883857d41ee11d69970acdf1a3ac979d881c9d522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:23 + docker inspect -f . ci-base-image-x86_64 21:29:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:23 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:29:23 $ 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 21:29:24 $ docker top 448e3dfb89e0554c7fefa0b5d0ff05eea24d0f7ec125cc0d6f9e148b4dd7d97c -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 21:29:24 + make test 21:29:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:29:25 ? github.com/edgexfoundry/device-gpio [no test files] 21:29:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:29:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:29:41 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:29:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:29:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:29:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:29:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:29:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:29:44 $ docker stop --time=1 448e3dfb89e0554c7fefa0b5d0ff05eea24d0f7ec125cc0d6f9e148b4dd7d97c 21:29:46 $ docker rm -f 448e3dfb89e0554c7fefa0b5d0ff05eea24d0f7ec125cc0d6f9e148b4dd7d97c [Pipeline] // withDockerContainer [Pipeline] sh 21:29:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:29:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:29:47 + ls -al . 21:29:47 total 168 21:29:47 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 21:29 . 21:29:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:28 .. 21:29:47 -rw-rw-r-- 1 jenkins jenkins 120 Dec 14 21:28 .dockerignore 21:29:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:29 .git 21:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:28 .github 21:29:47 -rw-rw-r-- 1 jenkins jenkins 343 Dec 14 21:28 .gitignore 21:29:47 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 21:28 .golangci.yml 21:29:47 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 21:28 .semver 21:29:47 -rw-rw-r-- 1 jenkins jenkins 9691 Dec 14 21:28 Attribution.txt 21:29:47 -rw-rw-r-- 1 jenkins jenkins 4069 Dec 14 21:28 CHANGELOG.md 21:29:47 -rw-rw-r-- 1 jenkins jenkins 1604 Dec 14 21:28 Dockerfile 21:29:47 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 21:28 GOVERNANCE.md 21:29:47 -rw-rw-r-- 1 jenkins jenkins 657 Dec 14 21:28 Jenkinsfile 21:29:47 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 21:28 LICENSE 21:29:47 -rw-rw-r-- 1 jenkins jenkins 2085 Dec 14 21:28 Makefile 21:29:47 -rw-rw-r-- 1 jenkins jenkins 617 Dec 14 21:28 OWNERS.md 21:29:47 -rw-rw-r-- 1 jenkins jenkins 11842 Dec 14 21:28 README.md 21:29:47 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 21:28 VERSION 21:29:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:28 bin 21:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:28 cmd 21:29:47 -rw-r--r-- 1 jenkins jenkins 10 Dec 14 21:29 coverage.out 21:29:47 -rw-rw-r-- 1 jenkins jenkins 3400 Dec 14 21:28 go.mod 21:29:47 -rw-rw-r-- 1 jenkins jenkins 44944 Dec 14 21:28 go.sum 21:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:28 internal 21:29:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:28 snap 21:29:47 -rw-rw-r-- 1 jenkins jenkins 209 Dec 14 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:47 + 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=14c37c6919d6c1a44175d8fd941257ea70202ac9 --label arch=amd64 --label version=3.0.0-dev.1 . 21:29:47 Sending build context to Docker daemon 15.93MB 21:29:47 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:29:47 Step 2/25 : FROM ${BASE} AS builder 21:29:47 ---> ddb6c282c62f 21:29:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:29:47 ---> Running in aa4a6009567e 21:29:48 Removing intermediate container aa4a6009567e 21:29:48 ---> 5254243b347e 21:29:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:48 ---> Running in 184f588e3c9a 21:29:48 Removing intermediate container 184f588e3c9a 21:29:48 ---> bb4f023e57d4 21:29:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:29:48 ---> Running in 88570781dddd 21:29:48 Removing intermediate container 88570781dddd 21:29:48 ---> b9e0e4e9b17d 21:29:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:29:48 ---> Running in 4673e1a245e5 21:29:48 Removing intermediate container 4673e1a245e5 21:29:48 ---> 8adfa8f11e91 21:29:48 Step 7/25 : WORKDIR /device-gpio 21:29:48 ---> Running in 80f3418b0754 21:29:48 Removing intermediate container 80f3418b0754 21:29:48 ---> 6cdc73bbcdf1 21:29:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:48 ---> Running in 9b2988cdd51f 21:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:29:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:29:49 OK: 216 MiB in 55 packages 21:29:49 Removing intermediate container 9b2988cdd51f 21:29:49 ---> c3c9eb5f808a 21:29:49 Step 9/25 : COPY go.mod vendor* ./ 21:29:49 ---> f0ebf0779924 21:29:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:49 ---> Running in eff4e707c610 21:29:50 Removing intermediate container eff4e707c610 21:29:50 ---> 7dd1a7659fbc 21:29:50 Step 11/25 : COPY . . 21:29:51 ---> 56ca632f4a8a 21:29:51 Step 12/25 : RUN ${MAKE} 21:29:51 ---> Running in 579973a2dec6 21:29:51 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 21:30:13 Removing intermediate container 579973a2dec6 21:30:13 ---> 0df9d9afd1f4 21:30:13 Step 13/25 : FROM alpine:3.16 21:30:13 3.16: Pulling from library/alpine 21:30:13 ca7dd9ec2225: Pulling fs layer 21:30:13 ca7dd9ec2225: Download complete 21:30:13 ca7dd9ec2225: Pull complete 21:30:13 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:30:13 Status: Downloaded newer image for alpine:3.16 21:30:13 ---> bfe296a52501 21:30:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:30:13 ---> Running in 51758d1a07f9 21:30:13 Removing intermediate container 51758d1a07f9 21:30:13 ---> e6740a15db81 21:30:13 Step 15/25 : RUN apk add --update --no-cache zeromq 21:30:13 ---> Running in eb2ff93616e8 21:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:30:13 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:30:13 (2/5) Installing libsodium (1.0.18-r0) 21:30:13 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:30:13 (4/5) Installing libzmq (4.3.4-r0) 21:30:13 (5/5) Installing zeromq (4.3.4-r0) 21:30:13 Executing busybox-1.35.0-r17.trigger 21:30:13 OK: 8 MiB in 19 packages 21:30:13 Removing intermediate container eb2ff93616e8 21:30:13 ---> 61687fc2abce 21:30:13 Step 16/25 : WORKDIR / 21:30:13 ---> Running in 56947ed7fc05 21:30:13 Removing intermediate container 56947ed7fc05 21:30:13 ---> 1266379ad4c7 21:30:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:30:13 ---> 67ce24f59788 21:30:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:30:13 ---> 53e2d55ea137 21:30:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:30:14 ---> 56b52d038181 21:30:14 Step 20/25 : EXPOSE 59910 21:30:14 ---> Running in 1880b5d51f3d 21:30:14 Removing intermediate container 1880b5d51f3d 21:30:14 ---> 469563464a4d 21:30:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:30:14 ---> Running in 96614c3ebc84 21:30:14 Removing intermediate container 96614c3ebc84 21:30:14 ---> aaa91e23f9ac 21:30:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:30:14 ---> Running in 8348b0ac51c2 21:30:14 Removing intermediate container 8348b0ac51c2 21:30:14 ---> b64560068d49 21:30:14 Step 23/25 : LABEL arch=amd64 21:30:14 ---> Running in 85ce6c0ead81 21:30:14 Removing intermediate container 85ce6c0ead81 21:30:14 ---> 58b4a8482e32 21:30:14 Step 24/25 : LABEL git_sha=14c37c6919d6c1a44175d8fd941257ea70202ac9 21:30:14 ---> Running in 525d4706bdb6 21:30:14 Removing intermediate container 525d4706bdb6 21:30:14 ---> 26dd340ea7e8 21:30:14 Step 25/25 : LABEL version=3.0.0-dev.1 21:30:14 ---> Running in 9d4d30d7a44c 21:30:14 Removing intermediate container 9d4d30d7a44c 21:30:14 ---> 627e7262eca0 21:30:14 [Warning] One or more build-args [ARCH] were not consumed 21:30:14 Successfully built 627e7262eca0 21:30:14 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:14 provisioning config files... 21:30:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14027651634523413645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:14 ---> docker-login.sh 21:30:14 nexus3.edgexfoundry.org:10001 21:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:14 Configure a credential helper to remove this warning. See 21:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:14 21:30:14 Login Succeeded 21:30:14 nexus3.edgexfoundry.org:10002 21:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:14 Configure a credential helper to remove this warning. See 21:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:14 21:30:14 Login Succeeded 21:30:14 nexus3.edgexfoundry.org:10003 21:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 nexus3.edgexfoundry.org:10004 21:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 docker.io 21:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 ---> docker-login.sh ends [Pipeline] } 21:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:15 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 21:30:15 14c37c6919d6c1a44175d8fd941257ea70202ac9 21:30:15 latest 21:30:15 3.0.0-dev.1 21:30:15 14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:30:15 main 21:30:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:15 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:16 + docker push nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9 21:30:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:30:16 d29562d47c27: Preparing 21:30:16 540c1e1e3e1f: Preparing 21:30:16 688326b9c17b: Preparing 21:30:16 5828d8671728: Preparing 21:30:16 e5e13b0c77cb: Preparing 21:30:16 e5e13b0c77cb: Layer already exists 21:30:16 688326b9c17b: Pushed 21:30:16 540c1e1e3e1f: Pushed 21:30:16 5828d8671728: Pushed 21:30:19 d29562d47c27: Pushed 21:30:19 14c37c6919d6c1a44175d8fd941257ea70202ac9: digest: sha256:ffc6ae78d7039dbaf01cde8794064e14e5ddcb453356572fe428f9de4830f17b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:19 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:19 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 21:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:30:19 d29562d47c27: Preparing 21:30:19 540c1e1e3e1f: Preparing 21:30:19 688326b9c17b: Preparing 21:30:19 5828d8671728: Preparing 21:30:19 e5e13b0c77cb: Preparing 21:30:19 d29562d47c27: Layer already exists 21:30:19 5828d8671728: Layer already exists 21:30:19 688326b9c17b: Layer already exists 21:30:19 e5e13b0c77cb: Layer already exists 21:30:19 540c1e1e3e1f: Layer already exists 21:30:19 latest: digest: sha256:ffc6ae78d7039dbaf01cde8794064e14e5ddcb453356572fe428f9de4830f17b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:20 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:20 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.1 21:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:30:20 d29562d47c27: Preparing 21:30:20 540c1e1e3e1f: Preparing 21:30:20 688326b9c17b: Preparing 21:30:20 5828d8671728: Preparing 21:30:20 e5e13b0c77cb: Preparing 21:30:20 540c1e1e3e1f: Layer already exists 21:30:20 5828d8671728: Layer already exists 21:30:20 688326b9c17b: Layer already exists 21:30:20 d29562d47c27: Layer already exists 21:30:20 e5e13b0c77cb: Layer already exists 21:30:20 3.0.0-dev.1: digest: sha256:ffc6ae78d7039dbaf01cde8794064e14e5ddcb453356572fe428f9de4830f17b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:20 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:20 + docker push nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:30:20 d29562d47c27: Preparing 21:30:20 540c1e1e3e1f: Preparing 21:30:20 688326b9c17b: Preparing 21:30:20 5828d8671728: Preparing 21:30:20 e5e13b0c77cb: Preparing 21:30:20 540c1e1e3e1f: Layer already exists 21:30:20 e5e13b0c77cb: Layer already exists 21:30:20 688326b9c17b: Layer already exists 21:30:20 d29562d47c27: Layer already exists 21:30:20 5828d8671728: Layer already exists 21:30:20 14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1: digest: sha256:ffc6ae78d7039dbaf01cde8794064e14e5ddcb453356572fe428f9de4830f17b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:21 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:21 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 21:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:30:21 d29562d47c27: Preparing 21:30:21 540c1e1e3e1f: Preparing 21:30:21 688326b9c17b: Preparing 21:30:21 5828d8671728: Preparing 21:30:21 e5e13b0c77cb: Preparing 21:30:21 e5e13b0c77cb: Layer already exists 21:30:21 5828d8671728: Layer already exists 21:30:21 d29562d47c27: Layer already exists 21:30:21 540c1e1e3e1f: Layer already exists 21:30:21 688326b9c17b: Layer already exists 21:30:21 main: digest: sha256:ffc6ae78d7039dbaf01cde8794064e14e5ddcb453356572fe428f9de4830f17b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:21 ===================================================== [Pipeline] echo 21:30:21 taggedImages: 21:30:21 - nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9 21:30:21 - nexus3.edgexfoundry.org:10004/device-gpio:latest 21:30:21 - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.1 21:30:21 - nexus3.edgexfoundry.org:10004/device-gpio:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:30:21 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:21 21:30:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:22 latest: Pulling from edgex-lftools-log-publisher 21:30:22 5eb5b503b376: Pulling fs layer 21:30:22 5c69ac0246d0: Pulling fs layer 21:30:22 ec43610c2a17: Pulling fs layer 21:30:22 3a2ae6a8a46f: Pulling fs layer 21:30:22 33b1e0a273af: Pulling fs layer 21:30:22 5d3b04190fa2: Pulling fs layer 21:30:22 2f39f015ded8: Pulling fs layer 21:30:22 33b1e0a273af: Waiting 21:30:22 5d3b04190fa2: Waiting 21:30:22 3a2ae6a8a46f: Waiting 21:30:22 2f39f015ded8: Waiting 21:30:22 5c69ac0246d0: Verifying Checksum 21:30:22 5c69ac0246d0: Download complete 21:30:22 3a2ae6a8a46f: Download complete 21:30:22 33b1e0a273af: Verifying Checksum 21:30:22 33b1e0a273af: Download complete 21:30:22 5d3b04190fa2: Verifying Checksum 21:30:22 5d3b04190fa2: Download complete 21:30:22 ec43610c2a17: Verifying Checksum 21:30:22 ec43610c2a17: Download complete 21:30:22 5eb5b503b376: Download complete 21:30:23 2f39f015ded8: Download complete 21:30:23 5eb5b503b376: Pull complete 21:30:23 5c69ac0246d0: Pull complete 21:30:24 ec43610c2a17: Pull complete 21:30:24 3a2ae6a8a46f: Pull complete 21:30:24 33b1e0a273af: Pull complete 21:30:24 5d3b04190fa2: Pull complete 21:30:28 2f39f015ded8: Pull complete 21:30:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:28 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:30:28 $ 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 21:30:30 $ docker top fbde982b8b8a242aee6f80e26ee0e71773f87a1a4caacb4825b8b3133320ee9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:30 ---> job-cost.sh 21:30:30 lf-activate-venv: SKIPPING 21:30:30 INFO: No Stack... 21:30:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:31 INFO: Archiving Costs [Pipeline] sh 21:30:31 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 21:30:31 + cut -d, -f6 [Pipeline] lock 21:30:31 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] 21:30:31 Resource [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] did not exist. Created. 21:30:31 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:31 + echo total: 0.2199999988079071 [Pipeline] stash 21:30:31 Stashed 1 file(s) [Pipeline] } 21:30:31 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:31 $ docker stop --time=1 fbde982b8b8a242aee6f80e26ee0e71773f87a1a4caacb4825b8b3133320ee9f 21:30:33 $ docker rm -f fbde982b8b8a242aee6f80e26ee0e71773f87a1a4caacb4825b8b3133320ee9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:30:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121260 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 21:30:35 Running in /w/workspace/device-gpio/53 [Pipeline] { [Pipeline] checkout 21:30:35 The recommended git tool is: git 21:30:40 using credential edgex-jenkins-ssh 21:30:40 Cloning the remote Git repository 21:30:40 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:30:40 > git init /w/workspace/device-gpio/53 # timeout=10 21:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:30:40 > git --version # timeout=10 21:30:40 > git --version # 'git version 2.25.1' 21:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:42 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:30:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:42 Avoid second fetch 21:30:42 Checking out Revision 14c37c6919d6c1a44175d8fd941257ea70202ac9 (main) 21:30:43 Commit message: "Merge pull request #70 from jim-wang-intel/upgrade_v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:42 > git config core.sparsecheckout # timeout=10 21:30:42 > git checkout -f 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 21:30:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:30:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:44 Dload Upload Total Spent Left Speed 21:30:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:30:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:30:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:30:45 + sudo tee /etc/docker/daemon.new 21:30:45 { 21:30:45 "registry-mirrors": [ 21:30:45 "https://nexus3.edgexfoundry.org:10001" 21:30:45 ], 21:30:45 "bip": "10.250.0.254/24", 21:30:45 "hosts": [ 21:30:45 "tcp://0.0.0.0:5555", 21:30:45 "unix:///var/run/docker.sock" 21:30:45 ], 21:30:45 "mtu": 1458, 21:30:45 "selinux-enabled": true, 21:30:45 "seccomp-profile": "/etc/docker/seccomp.json" 21:30:45 } [Pipeline] sh 21:30:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:30:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:03 provisioning config files... 21:31:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/53@tmp/config8096013036991638138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:04 ---> docker-login.sh 21:31:04 nexus3.edgexfoundry.org:10001 21:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:04 Configure a credential helper to remove this warning. See 21:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:04 21:31:04 Login Succeeded 21:31:04 nexus3.edgexfoundry.org:10002 21:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:05 Configure a credential helper to remove this warning. See 21:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:05 21:31:05 Login Succeeded 21:31:05 nexus3.edgexfoundry.org:10003 21:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:05 Configure a credential helper to remove this warning. See 21:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:05 21:31:05 Login Succeeded 21:31:05 nexus3.edgexfoundry.org:10004 21:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:05 Configure a credential helper to remove this warning. See 21:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:05 21:31:05 Login Succeeded 21:31:05 docker.io 21:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:06 Configure a credential helper to remove this warning. See 21:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:06 21:31:06 Login Succeeded 21:31:06 ---> docker-login.sh ends [Pipeline] } 21:31:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:06 ========================================================= 21:31:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:31:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:31:07 Sending build context to Docker daemon 8.034MB 21:31:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:31:07 Step 2/12 : FROM ${BASE} AS builder 21:31:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:07 9b18e9b68314: Pulling fs layer 21:31:07 35d82f9e3411: Pulling fs layer 21:31:07 e16973657156: Pulling fs layer 21:31:07 fc693d55d65f: Pulling fs layer 21:31:07 7e9fc2657dce: Pulling fs layer 21:31:07 dda99020689f: Pulling fs layer 21:31:07 db1c61fa0a46: Pulling fs layer 21:31:07 891c053d2c06: Pulling fs layer 21:31:07 fc693d55d65f: Waiting 21:31:07 7e9fc2657dce: Waiting 21:31:07 dda99020689f: Waiting 21:31:07 891c053d2c06: Waiting 21:31:07 db1c61fa0a46: Waiting 21:31:07 e16973657156: Verifying Checksum 21:31:07 e16973657156: Download complete 21:31:07 35d82f9e3411: Verifying Checksum 21:31:07 35d82f9e3411: Download complete 21:31:07 7e9fc2657dce: Verifying Checksum 21:31:07 7e9fc2657dce: Download complete 21:31:07 dda99020689f: Verifying Checksum 21:31:07 dda99020689f: Download complete 21:31:07 9b18e9b68314: Verifying Checksum 21:31:07 9b18e9b68314: Download complete 21:31:08 9b18e9b68314: Pull complete 21:31:08 891c053d2c06: Verifying Checksum 21:31:08 891c053d2c06: Download complete 21:31:09 35d82f9e3411: Pull complete 21:31:09 e16973657156: Pull complete 21:31:09 db1c61fa0a46: Verifying Checksum 21:31:09 db1c61fa0a46: Download complete 21:31:10 fc693d55d65f: Verifying Checksum 21:31:10 fc693d55d65f: Download complete 21:31:22 fc693d55d65f: Pull complete 21:31:22 7e9fc2657dce: Pull complete 21:31:22 dda99020689f: Pull complete 21:31:29 db1c61fa0a46: Pull complete 21:31:30 891c053d2c06: Pull complete 21:31:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:31:30 ---> f96f9c87975a 21:31:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:31:32 ---> Running in b7f10465cc9e 21:31:32 Removing intermediate container b7f10465cc9e 21:31:32 ---> ece880b67f2f 21:31:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:32 ---> Running in 0bc562943884 21:31:33 Removing intermediate container 0bc562943884 21:31:33 ---> cc9dfbb9d60f 21:31:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:31:33 ---> Running in 1bf33417f4ca 21:31:33 Removing intermediate container 1bf33417f4ca 21:31:33 ---> 723eef384c93 21:31:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:31:33 ---> Running in 4044fc836451 21:31:33 Removing intermediate container 4044fc836451 21:31:33 ---> 23bcf4b86799 21:31:33 Step 7/12 : WORKDIR /device-gpio 21:31:33 ---> Running in d9f93e8a2ce4 21:31:34 Removing intermediate container d9f93e8a2ce4 21:31:34 ---> 5b7837b94e9c 21:31:34 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:34 ---> Running in befcd56da8b7 21:31:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:31:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:31:37 (2/4) Installing libedit (20210910.3.1-r0) 21:31:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:31:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:31:37 Executing busybox-1.35.0-r17.trigger 21:31:37 OK: 226 MiB in 55 packages 21:31:37 Removing intermediate container befcd56da8b7 21:31:37 ---> 17e69682a9e9 21:31:37 Step 9/12 : COPY go.mod vendor* ./ 21:31:38 ---> 913bf818d80c 21:31:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:38 ---> Running in a35b31d07044 21:32:35 Removing intermediate container a35b31d07044 21:32:35 ---> 13ad0b311d6d 21:32:35 Step 11/12 : COPY . . 21:32:35 ---> fe3578ca4fa6 21:32:35 Step 12/12 : RUN ${MAKE} 21:32:35 ---> Running in 9b78d018cc52 21:32:35 noop 21:32:35 Removing intermediate container 9b78d018cc52 21:32:35 ---> 954e3e624d74 21:32:35 Successfully built 954e3e624d74 21:32:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:35 + docker inspect -f . ci-base-image-arm64 21:32:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:35 prd-ubuntu20.04-docker-arm64-4c-16g-121260 does not seem to be running inside a container 21:32:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/53 -v /w/workspace/device-gpio/53:/w/workspace/device-gpio/53:rw,z -v /w/workspace/device-gpio/53@tmp:/w/workspace/device-gpio/53@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 21:32:36 $ docker top f82baa0c45c4b0ecf728d386104627d8d1b53f4bc707e90f9e7f7e42cb089e99 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:37 + go version 21:32:37 go version go1.18.7 linux/arm64 [Pipeline] } 21:32:37 $ docker stop --time=1 f82baa0c45c4b0ecf728d386104627d8d1b53f4bc707e90f9e7f7e42cb089e99 21:32:39 $ docker rm -f f82baa0c45c4b0ecf728d386104627d8d1b53f4bc707e90f9e7f7e42cb089e99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:39 + docker inspect -f . ci-base-image-arm64 21:32:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:39 prd-ubuntu20.04-docker-arm64-4c-16g-121260 does not seem to be running inside a container 21:32:39 $ 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/53 -v /w/workspace/device-gpio/53:/w/workspace/device-gpio/53:rw,z -v /w/workspace/device-gpio/53@tmp:/w/workspace/device-gpio/53@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 21:32:40 $ docker top daa32b90ecceb466c0395a8f4d430e72344c771e8c53d470b2e5d31b4c9c293c -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:41 + git config --global --add safe.directory /w/workspace/device-gpio/53 [Pipeline] fileExists [Pipeline] sh 21:32:41 + make test 21:32:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:32:43 ? github.com/edgexfoundry/device-gpio [no test files] 21:34:04 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:34:04 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:34:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:34:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:34:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:15 ./bin/test-attribution-txt.sh [Pipeline] echo 21:34:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:15 $ docker stop --time=1 daa32b90ecceb466c0395a8f4d430e72344c771e8c53d470b2e5d31b4c9c293c 21:34:16 $ docker rm -f daa32b90ecceb466c0395a8f4d430e72344c771e8c53d470b2e5d31b4c9c293c [Pipeline] // withDockerContainer [Pipeline] sh 21:34:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:17 Warning: overwriting stash ‘coverage-report’ 21:34:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:18 + ls -al . 21:34:18 total 164 21:34:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:32 . 21:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:30 .. 21:34:18 -rw-rw-r-- 1 jenkins jenkins 120 Dec 14 21:30 .dockerignore 21:34:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:30 .git 21:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:30 .github 21:34:18 -rw-rw-r-- 1 jenkins jenkins 343 Dec 14 21:30 .gitignore 21:34:18 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 21:30 .golangci.yml 21:34:18 -rw-rw-r-- 1 jenkins jenkins 9691 Dec 14 21:30 Attribution.txt 21:34:18 -rw-rw-r-- 1 jenkins jenkins 4069 Dec 14 21:30 CHANGELOG.md 21:34:18 -rw-rw-r-- 1 jenkins jenkins 1604 Dec 14 21:30 Dockerfile 21:34:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 21:30 GOVERNANCE.md 21:34:18 -rw-rw-r-- 1 jenkins jenkins 657 Dec 14 21:30 Jenkinsfile 21:34:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 21:30 LICENSE 21:34:18 -rw-rw-r-- 1 jenkins jenkins 2085 Dec 14 21:30 Makefile 21:34:18 -rw-rw-r-- 1 jenkins jenkins 617 Dec 14 21:30 OWNERS.md 21:34:18 -rw-rw-r-- 1 jenkins jenkins 11842 Dec 14 21:30 README.md 21:34:18 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 21:28 VERSION 21:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:30 bin 21:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:30 cmd 21:34:18 -rw-r--r-- 1 jenkins jenkins 10 Dec 14 21:32 coverage.out 21:34:18 -rw-rw-r-- 1 jenkins jenkins 3400 Dec 14 21:30 go.mod 21:34:18 -rw-rw-r-- 1 jenkins jenkins 44944 Dec 14 21:30 go.sum 21:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:30 internal 21:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:30 snap 21:34:18 -rw-rw-r-- 1 jenkins jenkins 209 Dec 14 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:19 + 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=14c37c6919d6c1a44175d8fd941257ea70202ac9 --label arch=arm64 --label version=3.0.0-dev.1 . 21:34:19 Sending build context to Docker daemon 8.035MB 21:34:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:34:19 Step 2/25 : FROM ${BASE} AS builder 21:34:19 ---> 954e3e624d74 21:34:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:34:19 ---> Running in 661cd3045c32 21:34:20 Removing intermediate container 661cd3045c32 21:34:20 ---> 9c6a78ea1b39 21:34:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:20 ---> Running in 22b69acc1341 21:34:20 Removing intermediate container 22b69acc1341 21:34:20 ---> 7a0b4bea28d2 21:34:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:34:20 ---> Running in 3ed69a626d30 21:34:20 Removing intermediate container 3ed69a626d30 21:34:20 ---> 69562b45d341 21:34:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:34:20 ---> Running in 9cbb490dc5b5 21:34:20 Removing intermediate container 9cbb490dc5b5 21:34:20 ---> 37d04cc12c56 21:34:20 Step 7/25 : WORKDIR /device-gpio 21:34:20 ---> Running in a69ebbca518a 21:34:21 Removing intermediate container a69ebbca518a 21:34:21 ---> fa31c940c099 21:34:21 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:21 ---> Running in d4c94ff2cc15 21:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:34:23 OK: 226 MiB in 55 packages 21:34:25 Removing intermediate container d4c94ff2cc15 21:34:25 ---> 4ce8fdfec14e 21:34:25 Step 9/25 : COPY go.mod vendor* ./ 21:34:25 ---> 59180c2dd2a8 21:34:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:25 ---> Running in ae62a573557b 21:34:27 Removing intermediate container ae62a573557b 21:34:27 ---> 78e38324e479 21:34:27 Step 11/25 : COPY . . 21:34:28 ---> 3fda4b032721 21:34:28 Step 12/25 : RUN ${MAKE} 21:34:28 ---> Running in 187f35ca8057 21:34:29 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 21:37:05 Removing intermediate container 187f35ca8057 21:37:05 ---> d2aa59fac29d 21:37:05 Step 13/25 : FROM alpine:3.16 21:37:05 3.16: Pulling from library/alpine 21:37:05 6875df1f5354: Pulling fs layer 21:37:05 6875df1f5354: Download complete 21:37:05 6875df1f5354: Pull complete 21:37:05 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:37:05 Status: Downloaded newer image for alpine:3.16 21:37:05 ---> 2b4661558fb8 21:37:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:37:05 ---> Running in 96808eb11880 21:37:05 Removing intermediate container 96808eb11880 21:37:05 ---> 215b1f3cf9b2 21:37:05 Step 15/25 : RUN apk add --update --no-cache zeromq 21:37:05 ---> Running in 89a24c2da67b 21:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:37:05 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:37:05 (2/5) Installing libsodium (1.0.18-r0) 21:37:05 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:37:05 (4/5) Installing libzmq (4.3.4-r0) 21:37:05 (5/5) Installing zeromq (4.3.4-r0) 21:37:05 Executing busybox-1.35.0-r17.trigger 21:37:05 OK: 8 MiB in 19 packages 21:37:05 Removing intermediate container 89a24c2da67b 21:37:05 ---> bd1aeac58e14 21:37:05 Step 16/25 : WORKDIR / 21:37:05 ---> Running in 35a142fa2730 21:37:05 Removing intermediate container 35a142fa2730 21:37:05 ---> 2704b54a6c54 21:37:05 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:37:05 ---> aefa35085225 21:37:05 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:37:05 ---> 26a8da084655 21:37:05 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:37:05 ---> 63ccf82443ba 21:37:05 Step 20/25 : EXPOSE 59910 21:37:05 ---> Running in 83300f479985 21:37:05 Removing intermediate container 83300f479985 21:37:05 ---> 9bf6c2731f13 21:37:05 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:37:05 ---> Running in b6f79614c9e4 21:37:05 Removing intermediate container b6f79614c9e4 21:37:05 ---> eca2947341fe 21:37:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:37:05 ---> Running in a089a830c44f 21:37:05 Removing intermediate container a089a830c44f 21:37:05 ---> 4555fbaa13fa 21:37:05 Step 23/25 : LABEL arch=arm64 21:37:05 ---> Running in 1192c4289197 21:37:05 Removing intermediate container 1192c4289197 21:37:05 ---> 42701e263e4a 21:37:05 Step 24/25 : LABEL git_sha=14c37c6919d6c1a44175d8fd941257ea70202ac9 21:37:05 ---> Running in bf3aac6cf5ee 21:37:05 Removing intermediate container bf3aac6cf5ee 21:37:05 ---> 643e563a57b9 21:37:05 Step 25/25 : LABEL version=3.0.0-dev.1 21:37:05 ---> Running in c973da0a4a29 21:37:05 Removing intermediate container c973da0a4a29 21:37:05 ---> 6076d0c3372c 21:37:05 [Warning] One or more build-args [ARCH] were not consumed 21:37:05 Successfully built 6076d0c3372c 21:37:05 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 21:37:06 provisioning config files... 21:37:06 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/53@tmp/config3234874756437310456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:06 ---> docker-login.sh 21:37:06 nexus3.edgexfoundry.org:10001 21:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:06 Configure a credential helper to remove this warning. See 21:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:06 21:37:06 Login Succeeded 21:37:06 nexus3.edgexfoundry.org:10002 21:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:06 Configure a credential helper to remove this warning. See 21:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:06 21:37:06 Login Succeeded 21:37:06 nexus3.edgexfoundry.org:10003 21:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:07 Configure a credential helper to remove this warning. See 21:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:07 21:37:07 Login Succeeded 21:37:07 nexus3.edgexfoundry.org:10004 21:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:07 Configure a credential helper to remove this warning. See 21:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:07 21:37:07 Login Succeeded 21:37:07 docker.io 21:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:08 Configure a credential helper to remove this warning. See 21:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:08 21:37:08 Login Succeeded 21:37:08 ---> docker-login.sh ends [Pipeline] } 21:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:08 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 21:37:08 14c37c6919d6c1a44175d8fd941257ea70202ac9 21:37:08 latest 21:37:08 3.0.0-dev.1 21:37:08 14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:37:08 main 21:37:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:08 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9 21:37:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:37:08 27ff8fafce18: Preparing 21:37:08 d591bf16c368: Preparing 21:37:08 4e5938fbb5d1: Preparing 21:37:08 fc196a8d6970: Preparing 21:37:08 17bec77d7fdc: Preparing 21:37:08 17bec77d7fdc: Layer already exists 21:37:09 4e5938fbb5d1: Pushed 21:37:09 d591bf16c368: Pushed 21:37:09 fc196a8d6970: Pushed 21:37:15 27ff8fafce18: Pushed 21:37:15 14c37c6919d6c1a44175d8fd941257ea70202ac9: digest: sha256:b28239acfdf2b987e4d409e46da2a85ea958b2498b1967b3c369dc747f62b936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:15 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:15 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 21:37:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:37:15 27ff8fafce18: Preparing 21:37:15 d591bf16c368: Preparing 21:37:15 4e5938fbb5d1: Preparing 21:37:15 fc196a8d6970: Preparing 21:37:15 17bec77d7fdc: Preparing 21:37:15 17bec77d7fdc: Layer already exists 21:37:15 fc196a8d6970: Layer already exists 21:37:15 d591bf16c368: Layer already exists 21:37:15 4e5938fbb5d1: Layer already exists 21:37:15 27ff8fafce18: Layer already exists 21:37:16 latest: digest: sha256:b28239acfdf2b987e4d409e46da2a85ea958b2498b1967b3c369dc747f62b936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:16 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:16 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.1 21:37:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:37:16 27ff8fafce18: Preparing 21:37:16 d591bf16c368: Preparing 21:37:16 4e5938fbb5d1: Preparing 21:37:16 fc196a8d6970: Preparing 21:37:16 17bec77d7fdc: Preparing 21:37:16 17bec77d7fdc: Layer already exists 21:37:16 4e5938fbb5d1: Layer already exists 21:37:16 27ff8fafce18: Layer already exists 21:37:16 fc196a8d6970: Layer already exists 21:37:16 d591bf16c368: Layer already exists 21:37:16 3.0.0-dev.1: digest: sha256:b28239acfdf2b987e4d409e46da2a85ea958b2498b1967b3c369dc747f62b936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:17 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:17 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:37:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:37:17 27ff8fafce18: Preparing 21:37:17 d591bf16c368: Preparing 21:37:17 4e5938fbb5d1: Preparing 21:37:17 fc196a8d6970: Preparing 21:37:17 17bec77d7fdc: Preparing 21:37:17 27ff8fafce18: Layer already exists 21:37:17 17bec77d7fdc: Layer already exists 21:37:17 fc196a8d6970: Layer already exists 21:37:17 4e5938fbb5d1: Layer already exists 21:37:17 d591bf16c368: Layer already exists 21:37:17 14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1: digest: sha256:b28239acfdf2b987e4d409e46da2a85ea958b2498b1967b3c369dc747f62b936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:17 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:18 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 21:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:37:18 27ff8fafce18: Preparing 21:37:18 d591bf16c368: Preparing 21:37:18 4e5938fbb5d1: Preparing 21:37:18 fc196a8d6970: Preparing 21:37:18 17bec77d7fdc: Preparing 21:37:18 27ff8fafce18: Layer already exists 21:37:18 d591bf16c368: Layer already exists 21:37:18 fc196a8d6970: Layer already exists 21:37:18 4e5938fbb5d1: Layer already exists 21:37:18 17bec77d7fdc: Layer already exists 21:37:18 main: digest: sha256:b28239acfdf2b987e4d409e46da2a85ea958b2498b1967b3c369dc747f62b936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:18 ===================================================== [Pipeline] echo 21:37:18 taggedImages: 21:37:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9 21:37:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 21:37:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.1 21:37:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:14c37c6919d6c1a44175d8fd941257ea70202ac9-3.0.0-dev.1 21:37:18 - 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 21:37:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:18 21:37:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:19 arm64: Pulling from edgex-lftools-log-publisher 21:37:19 8998bd30e6a1: Pulling fs layer 21:37:19 04944245beec: Pulling fs layer 21:37:19 699f458cf7ca: Pulling fs layer 21:37:19 765212b225bb: Pulling fs layer 21:37:19 f23df028b6ca: Pulling fs layer 21:37:19 d65c8cfc05b1: Pulling fs layer 21:37:19 2437ff75d9bd: Pulling fs layer 21:37:19 765212b225bb: Waiting 21:37:19 f23df028b6ca: Waiting 21:37:19 d65c8cfc05b1: Waiting 21:37:19 2437ff75d9bd: Waiting 21:37:19 04944245beec: Verifying Checksum 21:37:19 04944245beec: Download complete 21:37:19 765212b225bb: Verifying Checksum 21:37:19 765212b225bb: Download complete 21:37:19 f23df028b6ca: Verifying Checksum 21:37:19 f23df028b6ca: Download complete 21:37:19 d65c8cfc05b1: Verifying Checksum 21:37:19 d65c8cfc05b1: Download complete 21:37:19 699f458cf7ca: Verifying Checksum 21:37:19 699f458cf7ca: Download complete 21:37:19 8998bd30e6a1: Download complete 21:37:22 2437ff75d9bd: Verifying Checksum 21:37:22 2437ff75d9bd: Download complete 21:37:23 8998bd30e6a1: Pull complete 21:37:24 04944245beec: Pull complete 21:37:25 699f458cf7ca: Pull complete 21:37:25 765212b225bb: Pull complete 21:37:26 f23df028b6ca: Pull complete 21:37:26 d65c8cfc05b1: Pull complete 21:37:41 2437ff75d9bd: Pull complete 21:37:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:42 prd-ubuntu20.04-docker-arm64-4c-16g-121260 does not seem to be running inside a container 21:37:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/53 -v /w/workspace/device-gpio/53:/w/workspace/device-gpio/53:rw,z -v /w/workspace/device-gpio/53@tmp:/w/workspace/device-gpio/53@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 21:37:44 $ docker top 9220d8609ad4db6ca67c8674901f8eb0400b7d94746df95c74da3f5557215965 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:45 ---> job-cost.sh 21:37:45 lf-activate-venv: SKIPPING 21:37:45 INFO: No Stack... 21:37:46 INFO: Retrieving Pricing Info for: v3-standard-4 21:37:46 INFO: Archiving Costs [Pipeline] sh 21:37:47 + cat /w/workspace/device-gpio/53/archives/cost.csv 21:37:47 + cut -d, -f6 [Pipeline] lock 21:37:47 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] 21:37:47 Resource [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] did not exist. Created. 21:37:47 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:37:47 /w/workspace/device-gpio/53@tmp/durable-c302cdde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:37:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:37:48 Warning: overwriting stash ‘stack-cost’ 21:37:48 Stashed 1 file(s) [Pipeline] } 21:37:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:37:48 $ docker stop --time=1 9220d8609ad4db6ca67c8674901f8eb0400b7d94746df95c74da3f5557215965 21:37:49 $ docker rm -f 9220d8609ad4db6ca67c8674901f8eb0400b7d94746df95c74da3f5557215965 [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 21:37:50 provisioning config files... 21:37:50 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12172263634474887132tmp [Pipeline] { [Pipeline] sh 21:37:50 + set +x 21:37:50 + curl -s https://codecov.io/bash 21:37:50 + bash -s -- 21:37:50 21:37:50 _____ _ 21:37:50 / ____| | | 21:37:50 | | ___ __| | ___ ___ _____ __ 21:37:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:37:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:37:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:37:50 Bash-1.0.6 21:37:50 21:37:50 21:37:50 ==> git version 2.25.1 found 21:37:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:37:50 Release-Date: 2020-01-08 21:37:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:37:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:37:50 ==> Jenkins CI detected. 21:37:50 current dir:  /w/workspace/edgexfoundry_device-gpio_main 21:37:50 project root: . 21:37:50 --> token set from env 21:37:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:37:50 ==> Running gcov in . (disable via -X gcov) 21:37:50 ==> Python coveragepy not found 21:37:50 ==> Searching for coverage reports in: 21:37:50 + . 21:37:50 -> Found 1 reports 21:37:50 ==> Detecting git/mercurial file structure 21:37:50 ==> Reading reports 21:37:50 + ./coverage.out bytes=10 21:37:50 ==> Appending adjustments 21:37:50 https://docs.codecov.io/docs/fixing-reports 21:37:50 + Found adjustments 21:37:50 ==> Gzipping contents 21:37:50 4.0K /tmp/codecov.ydfzD7.gz 21:37:50 ==> Uploading reports 21:37:50 url: https://codecov.io 21:37:50 query: branch=main&commit=14c37c6919d6c1a44175d8fd941257ea70202ac9&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 21:37:50 -> Pinging Codecov 21:37:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=14c37c6919d6c1a44175d8fd941257ea70202ac9&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 21:37:51 -> Uploading to 21:37:51 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/3EC07B1A8CA8AF9BCAA0BB9F0134797F/14c37c6919d6c1a44175d8fd941257ea70202ac9/6160ff92-9810-46af-887f-34558f4f6ffc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T213750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7ac5020b408fcc107456213c5f6a3dc21e31d15f94b6f5ce78400dc28b70126 21:37:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:37:51 Dload Upload Total Spent Left Speed 21:37:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3518 --:--:-- --:--:-- --:--:-- 3502 100 781 0 0 100 781 0 3351 --:--:-- --:--:-- --:--:-- 3337 21:37:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] } 21:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:37:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:37:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:37:51 21:37:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:37:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:37:52 df9b9388f04a: Pulling fs layer 21:37:52 52dc419b0ee2: Pulling fs layer 21:37:52 25bc292e5bac: Pulling fs layer 21:37:52 114826534d7a: Pulling fs layer 21:37:52 4657fd5d0bcf: Pulling fs layer 21:37:52 6ad1cebc031e: Pulling fs layer 21:37:52 8a3aa393b2d8: Pulling fs layer 21:37:52 114826534d7a: Waiting 21:37:52 4657fd5d0bcf: Waiting 21:37:52 6ad1cebc031e: Waiting 21:37:52 25bc292e5bac: Download complete 21:37:52 52dc419b0ee2: Verifying Checksum 21:37:52 52dc419b0ee2: Download complete 21:37:52 4657fd5d0bcf: Verifying Checksum 21:37:52 4657fd5d0bcf: Download complete 21:37:52 df9b9388f04a: Download complete 21:37:52 6ad1cebc031e: Verifying Checksum 21:37:52 6ad1cebc031e: Download complete 21:37:52 df9b9388f04a: Pull complete 21:37:52 52dc419b0ee2: Pull complete 21:37:52 25bc292e5bac: Pull complete 21:37:52 114826534d7a: Verifying Checksum 21:37:52 114826534d7a: Download complete 21:37:53 8a3aa393b2d8: Verifying Checksum 21:37:53 8a3aa393b2d8: Download complete 21:37:56 114826534d7a: Pull complete 21:37:56 4657fd5d0bcf: Pull complete 21:37:56 6ad1cebc031e: Pull complete 21:37:58 8a3aa393b2d8: Pull complete 21:37:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:37:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:58 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:37:59 $ 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:1.410.4 cat 21:38:00 $ docker top e2563fd5d7aaea8f79ccc3f4c39fd101132054ba6c02a53197246f3e8f871db0 -eo pid,comm [Pipeline] { [Pipeline] echo 21:38:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 21:38:01 + set -o pipefail 21:38:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 21:38:09 21:38:09 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 21:38:09 21:38:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/8f5b9283-fb08-4ed0-93ed-99a8ba05060e 21:38:09 21:38:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:38:09 21:38:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:38:09 21:38:09 21:38:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:38:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:38:09 More details here: https://snyk.co/ue1NS [Pipeline] } 21:38:09 $ docker stop --time=1 e2563fd5d7aaea8f79ccc3f4c39fd101132054ba6c02a53197246f3e8f871db0 21:38:11 $ docker rm -f e2563fd5d7aaea8f79ccc3f4c39fd101132054ba6c02a53197246f3e8f871db0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:12 + git log --format=format:%s -1 14c37c6919d6c1a44175d8fd941257ea70202ac9 [Pipeline] sh 21:38:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:12 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:38:13 $ 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 21:38:13 $ docker top aaa57108503dd8f777e26d196c6956c0a5ecc77cc473383aa6152d1e49e05e51 -eo pid,comm 21:38:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:38:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:13 [ssh-agent] Looking for ssh-agent implementation... 21:38:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:13 $ docker exec aaa57108503dd8f777e26d196c6956c0a5ecc77cc473383aa6152d1e49e05e51 ssh-agent 21:38:13 SSH_AUTH_SOCK=/tmp/ssh-7xGcv3IPFdtO/agent.31 21:38:13 SSH_AGENT_PID=37 21:38:13 Running ssh-add (command line suppressed) 21:38:13 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14942453863463111132.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14942453863463111132.key) 21:38:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:14 + git semver tag 21:38:14 2022-12-14 21:38:14,292 [run_tag] DEBUG tag force:False 21:38:14 2022-12-14 21:38:14,293 [check_head_tag] DEBUG check head tag 21:38:14 2022-12-14 21:38:14,293 [execute] INFO git cat-file --batch-check 21:38:14 2022-12-14 21:38:14,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 21:38:14 2022-12-14 21:38:14,298 [execute] INFO git cat-file --batch 21:38:14 2022-12-14 21:38:14,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 21:38:14 2022-12-14 21:38:14,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:14 2022-12-14 21:38:14,311 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 21:38:14 2022-12-14 21:38:14,311 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 21:38:14 2022-12-14 21:38:14,316 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:14 3.0.0-dev.1 [Pipeline] } 21:38:14 $ docker exec --env ******** --env ******** aaa57108503dd8f777e26d196c6956c0a5ecc77cc473383aa6152d1e49e05e51 ssh-agent -k 21:38:14 unset SSH_AUTH_SOCK; 21:38:14 unset SSH_AGENT_PID; 21:38:14 echo Agent pid 37 killed; 21:38:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:14 + git semver [Pipeline] } 21:38:15 $ docker stop --time=1 aaa57108503dd8f777e26d196c6956c0a5ecc77cc473383aa6152d1e49e05e51 21:38:16 $ docker rm -f aaa57108503dd8f777e26d196c6956c0a5ecc77cc473383aa6152d1e49e05e51 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:16 21:38:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:17 0.23.1-centos7: Pulling from edgex-lftools 21:38:17 ab5ef0e58194: Pulling fs layer 21:38:17 9712f1f96733: Pulling fs layer 21:38:17 63f879dbbcfc: Pulling fs layer 21:38:17 0d9ebad4ef96: Pulling fs layer 21:38:17 e9a5061849ea: Pulling fs layer 21:38:17 d747dcd14b5f: Pulling fs layer 21:38:17 2de7ff778b66: Pulling fs layer 21:38:17 e9a5061849ea: Waiting 21:38:17 0d9ebad4ef96: Waiting 21:38:17 d747dcd14b5f: Waiting 21:38:17 2de7ff778b66: Waiting 21:38:17 9712f1f96733: Verifying Checksum 21:38:17 9712f1f96733: Download complete 21:38:17 63f879dbbcfc: Verifying Checksum 21:38:17 63f879dbbcfc: Download complete 21:38:17 e9a5061849ea: Verifying Checksum 21:38:17 e9a5061849ea: Download complete 21:38:17 d747dcd14b5f: Verifying Checksum 21:38:17 d747dcd14b5f: Download complete 21:38:17 ab5ef0e58194: Download complete 21:38:17 0d9ebad4ef96: Verifying Checksum 21:38:17 0d9ebad4ef96: Download complete 21:38:17 2de7ff778b66: Verifying Checksum 21:38:17 2de7ff778b66: Download complete 21:38:20 ab5ef0e58194: Pull complete 21:38:20 9712f1f96733: Pull complete 21:38:20 63f879dbbcfc: Pull complete 21:38:24 0d9ebad4ef96: Pull complete 21:38:24 e9a5061849ea: Pull complete 21:38:24 d747dcd14b5f: Pull complete 21:38:25 2de7ff778b66: Pull complete 21:38:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:25 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:38:25 $ 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 21:38:27 $ docker top 87a2f73b38f08ce02f08135da051e0e347575aaaced6242e90a3524e8cc96848 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:38:27 provisioning config files... 21:38:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6190111890873916740tmp 21:38:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10629837459907308751tmp 21:38:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12884212996837111385tmp [Pipeline] { [Pipeline] echo 21:38:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:38:27 ---> sigul-configuration.sh 21:38:27 gpg: directory `/root/.gnupg' created 21:38:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:38:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:38:27 gpg: keyring `/root/.gnupg/secring.gpg' created 21:38:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:38:27 gpg: CAST5 encrypted data 21:38:27 gpg: encrypted with 1 passphrase 21:38:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:38:28 + mkdir /home/jenkins 21:38:28 + mkdir /home/jenkins/sigul [Pipeline] sh 21:38:28 + 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 21:38:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:38:28 ---> sigul-install.sh 21:38:28 Sigul already installed; skipping installation. [Pipeline] sh 21:38:28 + git tag --list 21:38:28 v1.0.0 21:38:28 v2.1.0 21:38:28 v2.1.1 21:38:28 v2.1.1-dev.1 21:38:28 v2.2.0 21:38:28 v2.2.1-dev.1 21:38:28 v2.2.1-dev.2 21:38:28 v2.2.1-dev.3 21:38:28 v2.2.1-dev.4 21:38:28 v2.3.0 21:38:28 v2.3.0-dev.10 21:38:28 v2.3.0-dev.11 21:38:28 v2.3.0-dev.12 21:38:28 v2.3.0-dev.13 21:38:28 v2.3.0-dev.14 21:38:28 v2.3.0-dev.15 21:38:28 v2.3.0-dev.16 21:38:28 v2.3.0-dev.17 21:38:28 v2.3.0-dev.18 21:38:28 v2.3.0-dev.19 21:38:28 v2.3.0-dev.20 21:38:28 v2.3.0-dev.4 21:38:28 v2.3.0-dev.5 21:38:28 v2.3.0-dev.6 21:38:28 v2.3.0-dev.7 21:38:28 v2.3.0-dev.8 21:38:28 v2.3.0-dev.9 21:38:28 v3.0.0-dev.1 [Pipeline] sh 21:38:29 + lftools sign git-tag v3.0.0-dev.1 21:38:29 Signing Git tag with Sigul... 21:38:29 Signing v3.0.0-dev.1 [Pipeline] echo 21:38:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:38:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:38:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:38:30 $ docker stop --time=1 87a2f73b38f08ce02f08135da051e0e347575aaaced6242e90a3524e8cc96848 21:38:31 $ docker rm -f 87a2f73b38f08ce02f08135da051e0e347575aaaced6242e90a3524e8cc96848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:38:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:32 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:38:32 $ 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 21:38:32 $ docker top a37f4626799886fc2934b2e344a14e2972d6b9995b80e20bace9062741159ac8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:32 [ssh-agent] Looking for ssh-agent implementation... 21:38:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:33 $ docker exec a37f4626799886fc2934b2e344a14e2972d6b9995b80e20bace9062741159ac8 ssh-agent 21:38:33 SSH_AUTH_SOCK=/tmp/ssh-sJsYQ0Qwcqkz/agent.32 21:38:33 SSH_AGENT_PID=38 21:38:33 Running ssh-add (command line suppressed) 21:38:33 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16551207987618298132.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16551207987618298132.key) 21:38:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:33 + git semver bump pre 21:38:33 2022-12-14 21:38:33,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:33 2022-12-14 21:38:33,744 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 21:38:33 2022-12-14 21:38:33,744 [bump_version] DEBUG bumped version:3.0.0-dev.2 21:38:33 2022-12-14 21:38:33,744 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 21:38:33 2022-12-14 21:38:33,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:33 2022-12-14 21:38:33,744 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:33 2022-12-14 21:38:33,748 [execute] INFO git cat-file --batch-check 21:38:33 2022-12-14 21:38:33,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:33 2022-12-14 21:38:33,754 [execute] INFO git cat-file --batch 21:38:33 2022-12-14 21:38:33,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:33 2022-12-14 21:38:33,760 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:33 3.0.0-dev.2 [Pipeline] } 21:38:33 $ docker exec --env ******** --env ******** a37f4626799886fc2934b2e344a14e2972d6b9995b80e20bace9062741159ac8 ssh-agent -k 21:38:33 unset SSH_AUTH_SOCK; 21:38:33 unset SSH_AGENT_PID; 21:38:33 echo Agent pid 38 killed; 21:38:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:34 + git semver [Pipeline] } 21:38:34 $ docker stop --time=1 a37f4626799886fc2934b2e344a14e2972d6b9995b80e20bace9062741159ac8 21:38:35 $ docker rm -f a37f4626799886fc2934b2e344a14e2972d6b9995b80e20bace9062741159ac8 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:36 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:38:36 $ 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 21:38:36 $ docker top f0c333f34c2aa42de3480535fdc63e62e58faf391a22ae071cd4563ad13d1801 -eo pid,comm 21:38:36 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). 21:38:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:36 [ssh-agent] Looking for ssh-agent implementation... 21:38:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:37 $ docker exec f0c333f34c2aa42de3480535fdc63e62e58faf391a22ae071cd4563ad13d1801 ssh-agent 21:38:37 SSH_AUTH_SOCK=/tmp/ssh-ZNX5TtLn3qxD/agent.33 21:38:37 SSH_AGENT_PID=38 21:38:37 Running ssh-add (command line suppressed) 21:38:37 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3152966601359794924.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3152966601359794924.key) 21:38:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:37 + git semver push 21:38:37 2022-12-14 21:38:37,760 [run_push] DEBUG push 21:38:37 2022-12-14 21:38:37,761 [execute] INFO git cat-file --batch-check 21:38:37 2022-12-14 21:38:37,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:37 2022-12-14 21:38:37,764 [execute] INFO git rev-list 8e8694771e1bf15f3ba686448ec0f88b3f7eb786 -- 21:38:37 2022-12-14 21:38:37,765 [execute] DEBUG Popen(['git', 'rev-list', '8e8694771e1bf15f3ba686448ec0f88b3f7eb786', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 21:38:37 2022-12-14 21:38:37,771 [execute] INFO git fetch -v origin 21:38:37 2022-12-14 21:38:37,771 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 21:38:38 2022-12-14 21:38:38,255 [run_push] DEBUG no remote changes detected 21:38:38 2022-12-14 21:38:38,256 [execute] INFO git push origin semver 21:38:38 2022-12-14 21:38:38,256 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 21:38:39 2022-12-14 21:38:39,044 [run_push] DEBUG push all version tags 21:38:39 2022-12-14 21:38:39,044 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:38:39 2022-12-14 21:38:39,045 [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) 21:38:39 2022-12-14 21:38:39,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 21:38:39 3.0.0-dev.2 [Pipeline] } 21:38:39 $ docker exec --env ******** --env ******** f0c333f34c2aa42de3480535fdc63e62e58faf391a22ae071cd4563ad13d1801 ssh-agent -k 21:38:40 unset SSH_AUTH_SOCK; 21:38:40 unset SSH_AGENT_PID; 21:38:40 echo Agent pid 38 killed; 21:38:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:40 + git semver [Pipeline] } 21:38:40 $ docker stop --time=1 f0c333f34c2aa42de3480535fdc63e62e58faf391a22ae071cd4563ad13d1801 21:38:41 $ docker rm -f f0c333f34c2aa42de3480535fdc63e62e58faf391a22ae071cd4563ad13d1801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:38:42 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 21:38:42 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 21:38:42 total 16 21:38:42 drwxr-xr-x 3 root root 4096 Dec 14 21:30 . 21:38:42 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 21:38 .. 21:38:42 drwxr-xr-x 2 root root 4096 Dec 14 21:30 cost 21:38:42 -rw-r--r-- 1 root root 82 Dec 14 21:30 cost.csv 21:38:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 21:38:42 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 21:38:42 total 16 21:38:42 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 21:30 . 21:38:42 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 21:38 .. 21:38:42 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 21:30 cost 21:38:42 -rw-r--r-- 1 jenkins jenkins 82 Dec 14 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:38:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:38:43 ---> package-listing.sh 21:38:43 ++ facter osfamily 21:38:43 ++ tr '[:upper:]' '[:lower:]' 21:38:43 + OS_FAMILY=debian 21:38:43 + workspace=/w/workspace/edgexfoundry_device-gpio_main 21:38:43 + START_PACKAGES=/tmp/packages_start.txt 21:38:43 + END_PACKAGES=/tmp/packages_end.txt 21:38:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:38:43 + PACKAGES=/tmp/packages_start.txt 21:38:43 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 21:38:43 + PACKAGES=/tmp/packages_end.txt 21:38:43 + case "${OS_FAMILY}" in 21:38:43 + dpkg -l 21:38:43 + grep '^ii' 21:38:43 + '[' -f /tmp/packages_start.txt ']' 21:38:43 + '[' -f /tmp/packages_end.txt ']' 21:38:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:38:43 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 21:38:43 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 21:38:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 21:38:43 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 21:38:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:44 prd-ubuntu20.04-docker-8c-8g-121259 does not seem to be running inside a container 21:38:44 $ 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 21:38:45 $ docker top e5d9d4b19a0370b42249acbabe96c8d86859632c29ff08275fdd48ace6d37937 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:38:45 + mkdir -p /var/log/sysstat [Pipeline] sh 21:38:46 + ls /var/log/sa-host 21:38:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:46 provisioning config files... 21:38:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12877823707051780941tmp [Pipeline] { [Pipeline] echo 21:38:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:38:46 ---> create-netrc.sh [Pipeline] } 21:38:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:38:47 ---> python-tools-install.sh [Pipeline] echo 21:38:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:38:47 ---> sudo-logs.sh 21:38:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:38:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:38:47 ---> job-cost.sh 21:38:47 lf-activate-venv: SKIPPING 21:38:47 DEBUG: total: 0.2199999988079071 21:38:47 INFO: Retrieving Stack Cost... 21:38:47 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:48 INFO: Archiving Costs [Pipeline] echo 21:38:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:38:48 ---> logs-deploy.sh 21:38:48 lf-activate-venv: SKIPPING 21:38:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/53 21:38:48 INFO: archiving workspace using pattern(s): 21:38:49 Archives upload complete. 21:38:49 INFO: archiving logs to Nexus 21:38:50 ---> uname -a: 21:38:50 Linux prd-ubuntu20-04-docker-8c-8g-121259 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:38:50 21:38:50 21:38:50 ---> lscpu: 21:38:50 Architecture: x86_64 21:38:50 CPU op-mode(s): 32-bit, 64-bit 21:38:50 Byte Order: Little Endian 21:38:50 Address sizes: 40 bits physical, 48 bits virtual 21:38:50 CPU(s): 8 21:38:50 On-line CPU(s) list: 0-7 21:38:50 Thread(s) per core: 1 21:38:50 Core(s) per socket: 1 21:38:50 Socket(s): 8 21:38:50 NUMA node(s): 1 21:38:50 Vendor ID: AuthenticAMD 21:38:50 CPU family: 23 21:38:50 Model: 49 21:38:50 Model name: AMD EPYC-Rome Processor 21:38:50 Stepping: 0 21:38:50 CPU MHz: 2799.998 21:38:50 BogoMIPS: 5599.99 21:38:50 Virtualization: AMD-V 21:38:50 Hypervisor vendor: KVM 21:38:50 Virtualization type: full 21:38:50 L1d cache: 256 KiB 21:38:50 L1i cache: 256 KiB 21:38:50 L2 cache: 4 MiB 21:38:50 L3 cache: 128 MiB 21:38:50 NUMA node0 CPU(s): 0-7 21:38:50 Vulnerability Itlb multihit: Not affected 21:38:50 Vulnerability L1tf: Not affected 21:38:50 Vulnerability Mds: Not affected 21:38:50 Vulnerability Meltdown: Not affected 21:38:50 Vulnerability Mmio stale data: Not affected 21:38:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:38:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:38:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:38:50 Vulnerability Srbds: Not affected 21:38:50 Vulnerability Tsx async abort: Not affected 21:38:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:38:50 21:38:50 21:38:50 ---> nproc: 21:38:50 8 21:38:50 21:38:50 21:38:50 ---> df -h: 21:38:50 Filesystem Size Used Avail Use% Mounted on 21:38:50 overlay 155G 13G 143G 9% / 21:38:50 tmpfs 64M 0 64M 0% /dev 21:38:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:38:50 shm 64M 0 64M 0% /dev/shm 21:38:50 /dev/vda1 155G 13G 143G 9% /facter-os 21:38:50 21:38:50 21:38:50 ---> sar -b -r -n DEV: 21:38:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121259) 12/14/22 _x86_64_ (8 CPU) 21:38:50 21:38:50 21:27:56 LINUX RESTART (8 CPU) 21:38:50 21:38:50 21:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:38:50 21:29:02 194.10 47.98 146.13 0.00 5418.03 209399.63 0.00 21:38:50 21:30:01 171.84 1.29 170.55 0.00 15.99 48910.34 0.00 21:38:50 21:31:01 112.63 0.12 112.51 0.00 16.40 33301.52 0.00 21:38:50 21:32:01 1.48 0.00 1.48 0.00 0.00 19.08 0.00 21:38:50 21:33:01 3.33 0.97 2.37 0.00 67.44 54.25 0.00 21:38:50 21:34:01 54.21 9.60 44.61 0.00 5087.29 8755.07 0.00 21:38:50 21:35:01 5.60 1.03 4.57 0.00 22.00 108.38 0.00 21:38:50 21:36:01 1.33 0.00 1.33 0.00 0.00 14.26 0.00 21:38:50 21:37:01 1.62 0.00 1.62 0.00 0.00 19.73 0.00 21:38:50 21:38:01 31.48 0.13 31.34 0.00 13.20 24697.62 0.00 21:38:50 Average: 57.57 6.12 51.45 0.00 1065.75 32500.38 0.00 21:38:50 21:38:50 21:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:38:50 21:29:02 29141536 31573184 745820 2.27 73812 2632708 2009992 5.92 1010660 2374236 688 21:38:50 21:30:01 27863092 31186340 1113320 3.39 141496 3376376 2453316 7.23 1661164 2902920 215552 21:38:50 21:31:01 27732060 31559796 740372 2.25 152308 3829164 1756272 5.18 1235784 3415656 460 21:38:50 21:32:01 27732388 31560188 739852 2.25 152332 3829164 1756272 5.18 1235036 3415656 16 21:38:50 21:33:01 27729012 31563992 735260 2.24 153812 3834336 1772736 5.22 1237664 3420800 304 21:38:50 21:34:01 27216352 31545360 736304 2.24 185704 4283096 1833736 5.40 1550304 3580544 280 21:38:50 21:35:01 27225948 31551364 730604 2.22 184308 4280460 1846684 5.44 1544140 3577900 8 21:38:50 21:36:01 27226372 31551840 730012 2.22 184384 4280460 1846684 5.44 1544180 3577904 8 21:38:50 21:37:01 27225700 31551324 730440 2.22 184472 4280468 1846684 5.44 1544328 3577912 12 21:38:50 21:38:01 26361212 31446976 831780 2.53 190616 4984664 1894788 5.58 1661144 4271268 616 21:38:50 Average: 27545367 31509036 783376 2.38 160324 3961090 1901716 5.60 1422440 3411480 21794 21:38:50 21:38:50 21:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:38:50 21:29:02 docker0 24.43 28.48 1.99 202.66 0.00 0.00 0.00 0.00 21:38:50 21:29:02 ens3 589.32 411.86 6725.84 87.95 0.00 0.00 0.00 0.00 21:38:50 21:29:02 lo 6.93 6.93 0.67 0.67 0.00 0.00 0.00 0.00 21:38:50 21:29:02 veth147dd43 9.22 10.75 0.86 10.16 0.00 0.00 0.00 0.00 21:38:50 21:30:01 docker0 150.63 194.39 12.35 1784.99 0.00 0.00 0.00 0.00 21:38:50 21:30:01 ens3 239.19 177.52 1825.88 31.76 0.00 0.00 0.00 0.00 21:38:50 21:30:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 21:38:50 21:30:01 veth9d66b1d 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 21:38:50 21:31:01 docker0 2.22 5.03 0.15 57.53 0.00 0.00 0.00 0.00 21:38:50 21:31:01 ens3 170.97 144.26 2654.75 320.14 0.00 0.00 0.00 0.00 21:38:50 21:31:01 lo 7.13 7.13 0.70 0.70 0.00 0.00 0.00 0.00 21:38:50 21:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:32:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 21:38:50 21:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:38:50 21:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:33:01 ens3 0.62 0.67 0.44 0.23 0.00 0.00 0.00 0.00 21:38:50 21:33:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:38:50 21:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:34:01 ens3 198.00 122.31 2750.99 8.28 0.00 0.00 0.00 0.00 21:38:50 21:34:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 21:38:50 21:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:35:01 ens3 0.08 0.07 0.01 0.00 0.00 0.00 0.00 0.00 21:38:50 21:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:36:01 ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:38:50 21:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:38:50 21:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:37:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:38:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 21:38:01 ens3 131.89 79.57 3972.10 10.89 0.00 0.00 0.00 0.00 21:38:50 21:38:01 veth61d3872 0.00 0.05 0.00 0.01 0.00 0.00 0.00 0.00 21:38:50 21:38:01 lo 1.33 1.33 0.12 0.12 0.00 0.00 0.00 0.00 21:38:50 Average: docker0 17.51 22.51 1.43 201.90 0.00 0.00 0.00 0.00 21:38:50 Average: ens3 132.85 93.51 1792.92 45.95 0.00 0.00 0.00 0.00 21:38:50 Average: veth61d3872 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 21:38:50 Average: lo 1.71 1.71 0.16 0.16 0.00 0.00 0.00 0.00 21:38:50 21:38:50 21:38:50 ---> sar -P ALL: 21:38:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121259) 12/14/22 _x86_64_ (8 CPU) 21:38:50 21:38:50 21:27:56 LINUX RESTART (8 CPU) 21:38:50 21:38:50 21:28:01 CPU %user %nice %system %iowait %steal %idle 21:38:50 21:29:02 all 9.74 0.00 3.80 1.30 0.05 85.12 21:38:50 21:29:02 0 8.76 0.00 4.03 0.44 0.03 86.74 21:38:50 21:29:02 1 8.26 0.00 3.99 2.20 0.05 85.50 21:38:50 21:29:02 2 12.18 0.00 4.71 0.62 0.05 82.43 21:38:50 21:29:02 3 10.07 0.00 3.50 1.70 0.05 84.68 21:38:50 21:29:02 4 10.71 0.00 3.32 2.28 0.07 83.62 21:38:50 21:29:02 5 10.51 0.00 3.05 1.03 0.05 85.36 21:38:50 21:29:02 6 8.69 0.00 3.29 0.20 0.05 87.77 21:38:50 21:29:02 7 8.72 0.00 4.49 1.92 0.05 84.83 21:38:50 21:30:01 all 37.10 0.00 7.31 0.94 0.09 54.55 21:38:50 21:30:01 0 36.57 0.00 7.26 0.17 0.09 55.91 21:38:50 21:30:01 1 37.52 0.00 8.96 4.05 0.12 49.35 21:38:50 21:30:01 2 36.34 0.00 6.70 1.84 0.09 55.03 21:38:50 21:30:01 3 37.59 0.00 7.74 0.88 0.10 53.69 21:38:50 21:30:01 4 36.78 0.00 6.85 0.15 0.09 56.13 21:38:50 21:30:01 5 38.60 0.00 6.16 0.09 0.09 55.07 21:38:50 21:30:01 6 36.49 0.00 7.51 0.24 0.09 55.67 21:38:50 21:30:01 7 36.92 0.00 7.27 0.14 0.10 55.57 21:38:50 21:31:01 all 8.55 0.00 2.46 0.72 0.03 88.25 21:38:50 21:31:01 0 9.57 0.00 2.20 0.24 0.03 87.96 21:38:50 21:31:01 1 7.50 0.00 2.23 1.18 0.03 89.05 21:38:50 21:31:01 2 8.07 0.00 2.69 0.15 0.03 89.05 21:38:50 21:31:01 3 7.73 0.00 3.13 3.76 0.03 85.35 21:38:50 21:31:01 4 9.31 0.00 2.82 0.18 0.03 87.66 21:38:50 21:31:01 5 7.77 0.00 2.33 0.17 0.02 89.71 21:38:50 21:31:01 6 10.18 0.00 2.12 0.02 0.03 87.65 21:38:50 21:31:01 7 8.22 0.00 2.13 0.03 0.03 89.58 21:38:50 21:32:01 all 0.11 0.00 0.02 0.01 0.01 99.86 21:38:50 21:32:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:38:50 21:32:01 1 0.07 0.00 0.03 0.00 0.00 99.90 21:38:50 21:32:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:38:50 21:32:01 3 0.00 0.00 0.00 0.02 0.00 99.98 21:38:50 21:32:01 4 0.07 0.00 0.05 0.00 0.02 99.87 21:38:50 21:32:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:38:50 21:32:01 6 0.00 0.00 0.02 0.03 0.02 99.93 21:38:50 21:32:01 7 0.70 0.00 0.03 0.00 0.02 99.25 21:38:50 21:33:01 all 0.31 0.00 0.06 0.02 0.01 99.60 21:38:50 21:33:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:38:50 21:33:01 1 2.02 0.00 0.07 0.00 0.02 97.90 21:38:50 21:33:01 2 0.03 0.00 0.03 0.00 0.02 99.92 21:38:50 21:33:01 3 0.03 0.00 0.00 0.08 0.00 99.88 21:38:50 21:33:01 4 0.15 0.00 0.25 0.02 0.02 99.57 21:38:50 21:33:01 5 0.07 0.00 0.05 0.02 0.00 99.87 21:38:50 21:33:01 6 0.10 0.00 0.03 0.02 0.00 99.85 21:38:50 21:33:01 7 0.03 0.00 0.02 0.00 0.00 99.95 21:38:50 21:34:01 all 2.15 0.00 1.37 0.32 0.02 96.14 21:38:50 21:34:01 0 1.72 0.00 1.35 0.18 0.02 96.73 21:38:50 21:34:01 1 1.22 0.00 2.97 0.07 0.02 95.72 21:38:50 21:34:01 2 1.49 0.00 0.55 0.10 0.02 97.85 21:38:50 21:34:01 3 1.74 0.00 1.09 1.19 0.03 95.96 21:38:50 21:34:01 4 3.19 0.00 1.07 0.27 0.02 95.46 21:38:50 21:34:01 5 3.14 0.00 1.12 0.15 0.03 95.55 21:38:50 21:34:01 6 1.92 0.00 1.59 0.52 0.00 95.98 21:38:50 21:34:01 7 2.78 0.00 1.26 0.05 0.02 95.90 21:38:50 21:35:01 all 0.13 0.00 0.07 0.03 0.01 99.77 21:38:50 21:35:01 0 0.35 0.00 0.08 0.02 0.00 99.55 21:38:50 21:35:01 1 0.03 0.00 0.05 0.10 0.00 99.82 21:38:50 21:35:01 2 0.13 0.00 0.10 0.05 0.02 99.70 21:38:50 21:35:01 3 0.12 0.00 0.05 0.02 0.00 99.82 21:38:50 21:35:01 4 0.17 0.00 0.07 0.02 0.00 99.75 21:38:50 21:35:01 5 0.07 0.00 0.05 0.00 0.00 99.88 21:38:50 21:35:01 6 0.07 0.00 0.12 0.00 0.02 99.80 21:38:50 21:35:01 7 0.13 0.00 0.03 0.00 0.02 99.82 21:38:50 21:36:01 all 0.02 0.00 0.01 0.01 0.00 99.96 21:38:50 21:36:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:38:50 21:36:01 1 0.02 0.00 0.00 0.03 0.00 99.95 21:38:50 21:36:01 2 0.08 0.00 0.03 0.02 0.02 99.85 21:38:50 21:36:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:38:50 21:36:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:38:50 21:36:01 5 0.00 0.00 0.00 0.00 0.02 99.98 21:38:50 21:36:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:38:50 21:36:01 7 0.03 0.00 0.00 0.00 0.00 99.97 21:38:50 21:37:01 all 0.07 0.00 0.01 0.01 0.00 99.91 21:38:50 21:37:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:38:50 21:37:01 1 0.02 0.00 0.02 0.07 0.02 99.88 21:38:50 21:37:01 2 0.08 0.00 0.03 0.02 0.02 99.85 21:38:50 21:37:01 3 0.03 0.00 0.02 0.00 0.00 99.95 21:38:50 21:37:01 4 0.05 0.00 0.00 0.00 0.00 99.95 21:38:50 21:37:01 5 0.03 0.00 0.03 0.00 0.00 99.93 21:38:50 21:37:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:38:50 21:37:01 7 0.30 0.00 0.00 0.00 0.00 99.70 21:38:50 21:38:01 all 2.83 0.00 1.29 0.40 0.01 95.47 21:38:50 21:38:01 0 1.90 0.00 1.28 0.02 0.02 96.78 21:38:50 21:38:01 1 2.78 0.00 1.11 0.87 0.02 95.22 21:38:50 21:38:01 2 3.77 0.00 1.40 2.12 0.02 92.70 21:38:50 21:38:01 3 2.14 0.00 1.59 0.00 0.02 96.25 21:38:50 21:38:01 4 3.56 0.00 0.87 0.02 0.02 95.53 21:38:50 21:38:01 5 3.06 0.00 1.74 0.05 0.02 95.14 21:38:50 21:38:01 6 2.39 0.00 1.12 0.10 0.00 96.39 21:38:50 21:38:01 7 3.02 0.00 1.19 0.03 0.02 95.74 21:38:50 Average: all 6.01 0.00 1.62 0.37 0.02 91.98 21:38:50 Average: 0 5.80 0.00 1.61 0.11 0.02 92.47 21:38:50 Average: 1 5.85 0.00 1.92 0.84 0.03 91.36 21:38:50 Average: 2 6.13 0.00 1.61 0.49 0.03 91.75 21:38:50 Average: 3 5.85 0.00 1.69 0.76 0.02 91.67 21:38:50 Average: 4 6.31 0.00 1.51 0.29 0.03 91.87 21:38:50 Average: 5 6.23 0.00 1.44 0.15 0.02 92.16 21:38:50 Average: 6 5.89 0.00 1.56 0.11 0.02 92.41 21:38:50 Average: 7 6.00 0.00 1.62 0.21 0.03 92.14 21:38:50 21:38:50 21:38:50