Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 89403c3d66cf45a4c65845d7eb210f5c9736c687 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-ssh4045438834637766624.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4912703806871197159.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16673691681668161759.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6701774605219563614.key Verifying host key using known hosts file > 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-ssh17683907210131307017.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8054’ Running on prd-ubuntu20.04-docker-8c-8g-8057 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 89403c3d66cf45a4c65845d7eb210f5c9736c687 (main) Commit message: "feat(snap): add config interface with unique identifier (#62)" > 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 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 > git rev-list --no-walk f866d0e3c83b2da4ac448cff2cc7b6a39f977461 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:11:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:11:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:11:19 ========================================================= 09:11:19 EdgeX Global Pipelines Version Info 09:11:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:11:19 ------------------- 09:11:19 stable info: 09:11:19 ------------------- 09:11:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:11:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:11:19 Message: update stable to v1.0.239 09:11:20 ------------------- 09:11:20 experimental info: 09:11:20 ------------------- 09:11:20 Commited By: **** collab-it+edgex@linuxfoundation.org 09:11:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:11:20 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:11:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89403c3 [Pipeline] echo 09:11:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:21 provisioning config files... 09:11:21 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6697738180376348734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:21 ---> docker-login.sh 09:11:21 nexus3.edgexfoundry.org:10001 09:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:21 Configure a credential helper to remove this warning. See 09:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:21 09:11:21 Login Succeeded 09:11:21 nexus3.edgexfoundry.org:10002 09:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:21 Configure a credential helper to remove this warning. See 09:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:21 09:11:21 Login Succeeded 09:11:21 nexus3.edgexfoundry.org:10003 09:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:21 Configure a credential helper to remove this warning. See 09:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:21 09:11:21 Login Succeeded 09:11:21 nexus3.edgexfoundry.org:10004 09:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:21 Configure a credential helper to remove this warning. See 09:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:21 09:11:21 Login Succeeded 09:11:21 docker.io 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:22 Configure a credential helper to remove this warning. See 09:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:22 09:11:22 Login Succeeded 09:11:22 ---> docker-login.sh ends [Pipeline] } 09:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:11:22 + git rev-list -1 --merges 89403c3d66cf45a4c65845d7eb210f5c9736c687~1..89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] echo 09:11:22 -----------> git rev-list -1 --merges 89403c3d66cf45a4c65845d7eb210f5c9736c687~1..89403c3d66cf45a4c65845d7eb210f5c9736c687 89403c3d66cf45a4c65845d7eb210f5c9736c687 [false] [Pipeline] sh 09:11:23 + git log --format=format:%s -1 89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] echo 09:11:23 ========================================================= 09:11:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:11:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:11:23 + git log --format=format:%s -1 89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] echo 09:11:23 [semverPrep] GIT_COMMIT: 89403c3d66cf45a4c65845d7eb210f5c9736c687, Commit Message: feat(snap): add config interface with unique identifier (#62) [Pipeline] echo 09:11:23 [semverPrep] This is not a build commit. [Pipeline] sh 09:11:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:11:23 + grep -v github /etc/ssh/ssh_known_hosts 09:11:23 + [ -e /tmp/ssh_known_hosts ] 09:11:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:11:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:11:23 + sudo tee -a /etc/ssh/ssh_known_hosts 09:11:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:24 09:11:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:24 0.1.4: Pulling from edgex-devops/py-git-semver 09:11:24 b85a868b505f: Pulling fs layer 09:11:24 e2be974225ed: Pulling fs layer 09:11:24 339a4e72a1f5: Pulling fs layer 09:11:24 988bab9f4d93: Pulling fs layer 09:11:24 1469e6f7b9e6: Pulling fs layer 09:11:24 eaf3925da568: Pulling fs layer 09:11:24 bab4dde63d76: Pulling fs layer 09:11:24 bde34c3a00c8: Pulling fs layer 09:11:24 b352a97aabf1: Pulling fs layer 09:11:24 4872d77fe225: Pulling fs layer 09:11:24 5851b861e8e6: Pulling fs layer 09:11:24 988bab9f4d93: Waiting 09:11:24 bde34c3a00c8: Waiting 09:11:24 b352a97aabf1: Waiting 09:11:24 4872d77fe225: Waiting 09:11:24 5851b861e8e6: Waiting 09:11:24 bab4dde63d76: Waiting 09:11:24 eaf3925da568: Waiting 09:11:24 e2be974225ed: Verifying Checksum 09:11:24 e2be974225ed: Download complete 09:11:24 988bab9f4d93: Verifying Checksum 09:11:24 988bab9f4d93: Download complete 09:11:24 b85a868b505f: Verifying Checksum 09:11:24 b85a868b505f: Download complete 09:11:24 eaf3925da568: Verifying Checksum 09:11:24 eaf3925da568: Download complete 09:11:25 1469e6f7b9e6: Verifying Checksum 09:11:25 1469e6f7b9e6: Download complete 09:11:25 bde34c3a00c8: Verifying Checksum 09:11:25 bde34c3a00c8: Download complete 09:11:25 b352a97aabf1: Verifying Checksum 09:11:25 b352a97aabf1: Download complete 09:11:25 4872d77fe225: Verifying Checksum 09:11:25 4872d77fe225: Download complete 09:11:25 5851b861e8e6: Verifying Checksum 09:11:25 5851b861e8e6: Download complete 09:11:25 339a4e72a1f5: Verifying Checksum 09:11:25 339a4e72a1f5: Download complete 09:11:25 bab4dde63d76: Verifying Checksum 09:11:25 bab4dde63d76: Download complete 09:11:25 b85a868b505f: Pull complete 09:11:26 e2be974225ed: Pull complete 09:11:26 339a4e72a1f5: Pull complete 09:11:26 988bab9f4d93: Pull complete 09:11:26 1469e6f7b9e6: Pull complete 09:11:26 eaf3925da568: Pull complete 09:11:28 bab4dde63d76: Pull complete 09:11:28 bde34c3a00c8: Pull complete 09:11:28 b352a97aabf1: Pull complete 09:11:28 4872d77fe225: Pull complete 09:11:29 5851b861e8e6: Pull complete 09:11:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:29 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:11:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:11:30 $ docker top 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 -eo pid,comm 09:11:30 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). 09:11:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:30 [ssh-agent] Looking for ssh-agent implementation... 09:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:30 $ docker exec 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 ssh-agent 09:11:31 SSH_AUTH_SOCK=/tmp/ssh-eLILMkudk0rB/agent.31 09:11:31 SSH_AGENT_PID=37 09:11:31 Running ssh-add (command line suppressed) 09:11:31 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16938583016286166382.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16938583016286166382.key) 09:11:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:31 + git tag --points-at HEAD [Pipeline] } 09:11:31 $ docker exec --env ******** --env ******** 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 ssh-agent -k 09:11:31 unset SSH_AUTH_SOCK; 09:11:31 unset SSH_AGENT_PID; 09:11:31 echo Agent pid 37 killed; 09:11:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:31 [ssh-agent] Looking for ssh-agent implementation... 09:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:31 $ docker exec 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 ssh-agent 09:11:31 SSH_AUTH_SOCK=/tmp/ssh-qEIbr6HV1wAh/agent.69 09:11:31 SSH_AGENT_PID=75 09:11:31 Running ssh-add (command line suppressed) 09:11:31 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7645898266560711661.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7645898266560711661.key) 09:11:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:32 + git semver init 09:11:32 2022-10-17 09:11:32,424 [run_init] DEBUG init version:0.0.0 force:False 09:11:32 2022-10-17 09:11:32,425 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 09:11:32 2022-10-17 09:11:32,425 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 09:11:32 2022-10-17 09:11:32,425 [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) 09:11:33 2022-10-17 09:11:33,410 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 09:11:33 2022-10-17 09:11:33,411 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 09:11:33 2022-10-17 09:11:33,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:11:33 2022-10-17 09:11:33,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:11:33 2.3.0-dev.15 [Pipeline] } 09:11:33 $ docker exec --env ******** --env ******** 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 ssh-agent -k 09:11:33 unset SSH_AUTH_SOCK; 09:11:33 unset SSH_AGENT_PID; 09:11:33 echo Agent pid 75 killed; 09:11:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:11:33 + git semver [Pipeline] } 09:11:34 $ docker stop --time=1 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 09:11:35 $ docker rm -f 344630f3878cbd9709b402e9b197f6f4c3233604815e60f39f296df232b17a45 [Pipeline] // withDockerContainer [Pipeline] sh 09:11:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:11:35 Stashed 1 file(s) [Pipeline] echo 09:11:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 09:11:36 provisioning config files... 09:11:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4605524245409462796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:36 ---> docker-login.sh 09:11:36 nexus3.edgexfoundry.org:10001 09:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:36 Configure a credential helper to remove this warning. See 09:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:36 09:11:36 Login Succeeded 09:11:36 nexus3.edgexfoundry.org:10002 09:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:36 Configure a credential helper to remove this warning. See 09:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:36 09:11:36 Login Succeeded 09:11:36 nexus3.edgexfoundry.org:10003 09:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:36 Configure a credential helper to remove this warning. See 09:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:36 09:11:36 Login Succeeded 09:11:36 nexus3.edgexfoundry.org:10004 09:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:36 Configure a credential helper to remove this warning. See 09:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:36 09:11:36 Login Succeeded 09:11:36 docker.io 09:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:37 Configure a credential helper to remove this warning. See 09:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:37 09:11:37 Login Succeeded 09:11:37 ---> docker-login.sh ends [Pipeline] } 09:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:37 ========================================================= 09:11:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:11:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:37 + 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 . 09:11:37 Sending build context to Docker daemon 15.86MB 09:11:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:11:37 Step 2/13 : FROM ${BASE} AS builder 09:11:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:11:37 213ec9aee27d: Pulling fs layer 09:11:37 4583459ba037: Pulling fs layer 09:11:37 93c1e223e6f2: Pulling fs layer 09:11:37 53926ce57604: Pulling fs layer 09:11:37 21b2b0c7a3f4: Pulling fs layer 09:11:37 30f14e443154: Pulling fs layer 09:11:37 801331c1e519: Pulling fs layer 09:11:37 99cc6dd402b0: Pulling fs layer 09:11:37 7d9ed39f4882: Pulling fs layer 09:11:37 30f14e443154: Waiting 09:11:37 99cc6dd402b0: Waiting 09:11:37 7d9ed39f4882: Waiting 09:11:37 801331c1e519: Waiting 09:11:37 21b2b0c7a3f4: Waiting 09:11:37 53926ce57604: Waiting 09:11:37 93c1e223e6f2: Verifying Checksum 09:11:37 93c1e223e6f2: Download complete 09:11:37 4583459ba037: Verifying Checksum 09:11:37 4583459ba037: Download complete 09:11:37 21b2b0c7a3f4: Verifying Checksum 09:11:37 21b2b0c7a3f4: Download complete 09:11:37 30f14e443154: Verifying Checksum 09:11:37 30f14e443154: Download complete 09:11:37 213ec9aee27d: Verifying Checksum 09:11:37 213ec9aee27d: Download complete 09:11:37 801331c1e519: Verifying Checksum 09:11:37 801331c1e519: Download complete 09:11:37 213ec9aee27d: Pull complete 09:11:38 4583459ba037: Pull complete 09:11:38 93c1e223e6f2: Pull complete 09:11:38 7d9ed39f4882: Verifying Checksum 09:11:38 7d9ed39f4882: Download complete 09:11:38 99cc6dd402b0: Verifying Checksum 09:11:38 99cc6dd402b0: Download complete 09:11:38 53926ce57604: Verifying Checksum 09:11:38 53926ce57604: Download complete 09:11:42 53926ce57604: Pull complete 09:11:42 21b2b0c7a3f4: Pull complete 09:11:42 30f14e443154: Pull complete 09:11:42 801331c1e519: Pull complete 09:11:44 99cc6dd402b0: Pull complete 09:11:45 7d9ed39f4882: Pull complete 09:11:45 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:11:45 ---> 1dedd983c030 09:11:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:11:47 ---> Running in c99457211a63 09:11:47 Removing intermediate container c99457211a63 09:11:47 ---> 13e991cbcff5 09:11:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:11:47 ---> Running in 507e47f64cbc 09:11:47 Removing intermediate container 507e47f64cbc 09:11:47 ---> d1829e72ab10 09:11:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:11:47 ---> Running in e7c458197ebd 09:11:47 Removing intermediate container e7c458197ebd 09:11:47 ---> 5ba063c7e70e 09:11:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:11:47 ---> Running in 04c574bbd1ab 09:11:47 Removing intermediate container 04c574bbd1ab 09:11:47 ---> 0f2be3ff9db7 09:11:47 Step 7/13 : WORKDIR /device-gpio 09:11:47 ---> Running in 91a7167edc7c 09:11:47 Removing intermediate container 91a7167edc7c 09:11:47 ---> f9d8b3e35e91 09:11:47 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:47 ---> Running in 33514ae5a685 09:11:48 Removing intermediate container 33514ae5a685 09:11:48 ---> 7b6cdd18b3d2 09:11:48 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:48 ---> Running in 8a38bad4b9a7 09:11:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:11:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:11:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:11:49 (2/4) Installing libedit (20210910.3.1-r0) 09:11:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:11:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:11:50 Executing busybox-1.35.0-r17.trigger 09:11:50 OK: 216 MiB in 55 packages 09:11:50 Removing intermediate container 8a38bad4b9a7 09:11:50 ---> 7389dbf4bc38 09:11:50 Step 10/13 : COPY go.mod vendor* ./ 09:11:50 ---> 945586b9b57e 09:11:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:50 ---> Running in 6faca2a4b255 09:11:51 Still waiting to schedule task 09:11:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8055’ 09:12:05 Removing intermediate container 6faca2a4b255 09:12:05 ---> 72294472f1a8 09:12:05 Step 12/13 : COPY . . 09:12:05 ---> 8279a0e5cecc 09:12:05 Step 13/13 : RUN ${MAKE} 09:12:05 ---> Running in cf43fc952547 09:12:06 noop 09:12:06 Removing intermediate container cf43fc952547 09:12:06 ---> 2111b40b3e2c 09:12:06 Successfully built 2111b40b3e2c 09:12:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:06 + docker inspect -f . ci-base-image-x86_64 09:12:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:06 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:12:06 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:12:07 $ docker top 4b35e9b4831c05958b2d2ffb9a808ca0dec179eb4bfdf53f7e46c5b1606199d1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:07 + go version 09:12:07 go version go1.18.7 linux/amd64 [Pipeline] } 09:12:07 $ docker stop --time=1 4b35e9b4831c05958b2d2ffb9a808ca0dec179eb4bfdf53f7e46c5b1606199d1 09:12:08 $ docker rm -f 4b35e9b4831c05958b2d2ffb9a808ca0dec179eb4bfdf53f7e46c5b1606199d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:09 + docker inspect -f . ci-base-image-x86_64 09:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:09 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:12:09 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:12:09 $ docker top 29270535f0a34ea633fa135bf22e026d64262be9f6e1cf3cb3a98ecfc6c71c91 -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 09:12:10 + make test 09:12:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:12:10 ? github.com/edgexfoundry/device-gpio [no test files] 09:12:20 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:12:20 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:12:25 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." 09:12:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:12:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:12:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:12:28 ./bin/test-attribution-txt.sh [Pipeline] echo 09:12:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:12:28 $ docker stop --time=1 29270535f0a34ea633fa135bf22e026d64262be9f6e1cf3cb3a98ecfc6c71c91 09:12:30 $ docker rm -f 29270535f0a34ea633fa135bf22e026d64262be9f6e1cf3cb3a98ecfc6c71c91 [Pipeline] // withDockerContainer [Pipeline] sh 09:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:12:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:12:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:31 + ls -al . 09:12:31 total 164 09:12:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:12 . 09:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:11 .. 09:12:31 -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 09:11 .dockerignore 09:12:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:12 .git 09:12:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:11 .github 09:12:31 -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 09:11 .gitignore 09:12:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:11 .golangci.yml 09:12:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:11 .semver 09:12:31 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 09:11 Attribution.txt 09:12:31 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 09:11 CHANGELOG.md 09:12:31 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 09:11 Dockerfile 09:12:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:11 GOVERNANCE.md 09:12:31 -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 09:11 Jenkinsfile 09:12:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:11 LICENSE 09:12:31 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 09:11 Makefile 09:12:31 -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 09:11 OWNERS.md 09:12:31 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 09:11 README.md 09:12:31 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:11 VERSION 09:12:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:11 bin 09:12:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:11 cmd 09:12:31 -rw-r--r-- 1 jenkins jenkins 10 Oct 17 09:12 coverage.out 09:12:31 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 09:11 go.mod 09:12:31 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 09:11 go.sum 09:12:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:11 internal 09:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:11 snap 09:12:31 -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 09:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:31 + 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=89403c3d66cf45a4c65845d7eb210f5c9736c687 --label arch=amd64 --label version=2.3.0-dev.15 . 09:12:31 Sending build context to Docker daemon 15.86MB 09:12:31 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:12:31 Step 2/27 : FROM ${BASE} AS builder 09:12:31 ---> 2111b40b3e2c 09:12:31 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:12:31 ---> Running in 11201011f027 09:12:31 Removing intermediate container 11201011f027 09:12:31 ---> eeb3061093df 09:12:31 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:12:31 ---> Running in 8e3d48af13ef 09:12:31 Removing intermediate container 8e3d48af13ef 09:12:31 ---> 862715745cc6 09:12:31 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:12:32 ---> Running in 97602f65ccd3 09:12:32 Removing intermediate container 97602f65ccd3 09:12:32 ---> f84145541f83 09:12:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:12:32 ---> Running in 2aad357c626c 09:12:32 Removing intermediate container 2aad357c626c 09:12:32 ---> 4281a4dbeee3 09:12:32 Step 7/27 : WORKDIR /device-gpio 09:12:32 ---> Running in 5930cccd6306 09:12:32 Removing intermediate container 5930cccd6306 09:12:32 ---> fb58b19bec7d 09:12:32 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:32 ---> Running in cd2713c28c04 09:12:32 Removing intermediate container cd2713c28c04 09:12:32 ---> 492f2ca878ae 09:12:32 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:32 ---> Running in 5c517d3658c7 09:12:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:12:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:12:34 OK: 216 MiB in 55 packages 09:12:34 Removing intermediate container 5c517d3658c7 09:12:34 ---> dec31b1b90e7 09:12:34 Step 10/27 : COPY go.mod vendor* ./ 09:12:34 ---> 2862a0c197af 09:12:34 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:35 ---> Running in 397c047b46a2 09:12:35 Removing intermediate container 397c047b46a2 09:12:35 ---> 9dc277497c0a 09:12:35 Step 12/27 : COPY . . 09:12:36 ---> 7517bc9497af 09:12:36 Step 13/27 : RUN ${MAKE} 09:12:36 ---> Running in 9fd8319f295e 09:12:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:12:54 Removing intermediate container 9fd8319f295e 09:12:54 ---> 2b7723758a5f 09:12:54 Step 14/27 : FROM alpine:3.16 09:12:55 3.16: Pulling from library/alpine 09:12:55 213ec9aee27d: Already exists 09:12:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:12:55 Status: Downloaded newer image for alpine:3.16 09:12:55 ---> 9c6f07244728 09:12:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:12:55 ---> Running in d5fe81194171 09:12:55 Removing intermediate container d5fe81194171 09:12:55 ---> 9609590e9593 09:12:55 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:55 ---> Running in c9f0ea714b3b 09:12:56 Removing intermediate container c9f0ea714b3b 09:12:56 ---> ae63056a9674 09:12:56 Step 17/27 : RUN apk add --update --no-cache zeromq 09:12:56 ---> Running in e7fe85d84cac 09:12:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:12:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:12:57 (1/5) Installing libgcc (11.2.1_git20220219-r2) 09:12:57 (2/5) Installing libsodium (1.0.18-r0) 09:12:58 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 09:12:58 (4/5) Installing libzmq (4.3.4-r0) 09:12:58 (5/5) Installing zeromq (4.3.4-r0) 09:12:58 Executing busybox-1.35.0-r17.trigger 09:12:58 OK: 8 MiB in 19 packages 09:12:58 Removing intermediate container e7fe85d84cac 09:12:58 ---> 09f8a8d2d869 09:12:58 Step 18/27 : WORKDIR / 09:12:58 ---> Running in 95a07d4e77f7 09:12:58 Removing intermediate container 95a07d4e77f7 09:12:58 ---> 42f92d043aad 09:12:58 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 09:12:58 ---> 034819764835 09:12:58 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 09:12:59 ---> 7bd1d9f80b6f 09:12:59 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 09:12:59 ---> 00738180b627 09:12:59 Step 22/27 : EXPOSE 59910 09:12:59 ---> Running in 6763bf458838 09:12:59 Removing intermediate container 6763bf458838 09:12:59 ---> 4c513e611627 09:12:59 Step 23/27 : ENTRYPOINT ["/device-gpio"] 09:12:59 ---> Running in 501b3ddd40c0 09:13:00 Removing intermediate container 501b3ddd40c0 09:13:00 ---> ac4e08160511 09:13:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:13:00 ---> Running in f339338cab01 09:13:00 Removing intermediate container f339338cab01 09:13:00 ---> 04b2b1e79ef3 09:13:00 Step 25/27 : LABEL arch=amd64 09:13:00 ---> Running in 404fc4218865 09:13:00 Removing intermediate container 404fc4218865 09:13:00 ---> 66752d50fb45 09:13:00 Step 26/27 : LABEL git_sha=89403c3d66cf45a4c65845d7eb210f5c9736c687 09:13:00 ---> Running in 8c8f3e05f030 09:13:00 Removing intermediate container 8c8f3e05f030 09:13:00 ---> a45dee6c41bc 09:13:00 Step 27/27 : LABEL version=2.3.0-dev.15 09:13:00 ---> Running in 3c5a71426b3e 09:13:00 Removing intermediate container 3c5a71426b3e 09:13:00 ---> 8fa3a35f92c9 09:13:00 [Warning] One or more build-args [ARCH] were not consumed 09:13:00 Successfully built 8fa3a35f92c9 09:13:00 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:00 provisioning config files... 09:13:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4666738511450648796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:00 ---> docker-login.sh 09:13:00 nexus3.edgexfoundry.org:10001 09:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:00 Configure a credential helper to remove this warning. See 09:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:00 09:13:00 Login Succeeded 09:13:00 nexus3.edgexfoundry.org:10002 09:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:00 Configure a credential helper to remove this warning. See 09:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:00 09:13:00 Login Succeeded 09:13:00 nexus3.edgexfoundry.org:10003 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 nexus3.edgexfoundry.org:10004 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 docker.io 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 ---> docker-login.sh ends [Pipeline] } 09:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:13:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:01 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 09:13:01 89403c3d66cf45a4c65845d7eb210f5c9736c687 09:13:01 latest 09:13:01 2.3.0-dev.15 09:13:01 89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:13:01 main 09:13:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:02 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:02 + docker push nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687 09:13:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 09:13:02 48c3b5e10b53: Preparing 09:13:02 356e0a76d273: Preparing 09:13:02 9ba0f1f1c6d4: Preparing 09:13:02 c1044ce3fd54: Preparing 09:13:02 7d48d43ac538: Preparing 09:13:02 994393dc58e7: Preparing 09:13:02 994393dc58e7: Waiting 09:13:02 356e0a76d273: Pushed 09:13:02 994393dc58e7: Layer already exists 09:13:02 7d48d43ac538: Pushed 09:13:02 9ba0f1f1c6d4: Pushed 09:13:02 c1044ce3fd54: Pushed 09:13:05 48c3b5e10b53: Pushed 09:13:05 89403c3d66cf45a4c65845d7eb210f5c9736c687: digest: sha256:f9feabfa1416ec8f1c5e07c683d4c5530baf6e415428743de4dda0c79b8376a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 09:13:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 09:13:05 48c3b5e10b53: Preparing 09:13:05 356e0a76d273: Preparing 09:13:05 9ba0f1f1c6d4: Preparing 09:13:05 c1044ce3fd54: Preparing 09:13:05 7d48d43ac538: Preparing 09:13:05 994393dc58e7: Preparing 09:13:05 994393dc58e7: Waiting 09:13:05 356e0a76d273: Layer already exists 09:13:05 7d48d43ac538: Layer already exists 09:13:05 9ba0f1f1c6d4: Layer already exists 09:13:05 c1044ce3fd54: Layer already exists 09:13:05 48c3b5e10b53: Layer already exists 09:13:05 994393dc58e7: Layer already exists 09:13:05 latest: digest: sha256:f9feabfa1416ec8f1c5e07c683d4c5530baf6e415428743de4dda0c79b8376a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:06 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.15 09:13:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 09:13:06 48c3b5e10b53: Preparing 09:13:06 356e0a76d273: Preparing 09:13:06 9ba0f1f1c6d4: Preparing 09:13:06 c1044ce3fd54: Preparing 09:13:06 7d48d43ac538: Preparing 09:13:06 994393dc58e7: Preparing 09:13:06 994393dc58e7: Waiting 09:13:06 7d48d43ac538: Layer already exists 09:13:06 48c3b5e10b53: Layer already exists 09:13:06 9ba0f1f1c6d4: Layer already exists 09:13:06 c1044ce3fd54: Layer already exists 09:13:06 356e0a76d273: Layer already exists 09:13:06 994393dc58e7: Layer already exists 09:13:06 2.3.0-dev.15: digest: sha256:f9feabfa1416ec8f1c5e07c683d4c5530baf6e415428743de4dda0c79b8376a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:06 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:13:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 09:13:07 48c3b5e10b53: Preparing 09:13:07 356e0a76d273: Preparing 09:13:07 9ba0f1f1c6d4: Preparing 09:13:07 c1044ce3fd54: Preparing 09:13:07 7d48d43ac538: Preparing 09:13:07 994393dc58e7: Preparing 09:13:07 994393dc58e7: Waiting 09:13:07 356e0a76d273: Layer already exists 09:13:07 7d48d43ac538: Layer already exists 09:13:07 c1044ce3fd54: Layer already exists 09:13:07 9ba0f1f1c6d4: Layer already exists 09:13:07 48c3b5e10b53: Layer already exists 09:13:07 994393dc58e7: Layer already exists 09:13:07 89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15: digest: sha256:f9feabfa1416ec8f1c5e07c683d4c5530baf6e415428743de4dda0c79b8376a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:07 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 09:13:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 09:13:07 48c3b5e10b53: Preparing 09:13:07 356e0a76d273: Preparing 09:13:07 9ba0f1f1c6d4: Preparing 09:13:07 c1044ce3fd54: Preparing 09:13:07 7d48d43ac538: Preparing 09:13:07 994393dc58e7: Preparing 09:13:07 994393dc58e7: Waiting 09:13:07 c1044ce3fd54: Layer already exists 09:13:07 9ba0f1f1c6d4: Layer already exists 09:13:07 356e0a76d273: Layer already exists 09:13:07 7d48d43ac538: Layer already exists 09:13:07 48c3b5e10b53: Layer already exists 09:13:07 994393dc58e7: Layer already exists 09:13:07 main: digest: sha256:f9feabfa1416ec8f1c5e07c683d4c5530baf6e415428743de4dda0c79b8376a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:13:07 ===================================================== [Pipeline] echo 09:13:07 taggedImages: 09:13:07 - nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687 09:13:07 - nexus3.edgexfoundry.org:10004/device-gpio:latest 09:13:07 - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.15 09:13:07 - nexus3.edgexfoundry.org:10004/device-gpio:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:13:07 - 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 09:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:08 09:13:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:08 latest: Pulling from edgex-lftools-log-publisher 09:13:08 5eb5b503b376: Pulling fs layer 09:13:08 5c69ac0246d0: Pulling fs layer 09:13:08 ec43610c2a17: Pulling fs layer 09:13:08 3a2ae6a8a46f: Pulling fs layer 09:13:08 33b1e0a273af: Pulling fs layer 09:13:08 5d3b04190fa2: Pulling fs layer 09:13:08 2f39f015ded8: Pulling fs layer 09:13:08 3a2ae6a8a46f: Waiting 09:13:08 5d3b04190fa2: Waiting 09:13:08 33b1e0a273af: Waiting 09:13:08 5c69ac0246d0: Verifying Checksum 09:13:08 5c69ac0246d0: Download complete 09:13:08 3a2ae6a8a46f: Verifying Checksum 09:13:08 3a2ae6a8a46f: Download complete 09:13:08 33b1e0a273af: Verifying Checksum 09:13:08 33b1e0a273af: Download complete 09:13:08 ec43610c2a17: Verifying Checksum 09:13:08 ec43610c2a17: Download complete 09:13:08 5d3b04190fa2: Download complete 09:13:08 5eb5b503b376: Verifying Checksum 09:13:08 5eb5b503b376: Download complete 09:13:09 2f39f015ded8: Download complete 09:13:10 5eb5b503b376: Pull complete 09:13:10 5c69ac0246d0: Pull complete 09:13:10 ec43610c2a17: Pull complete 09:13:10 3a2ae6a8a46f: Pull complete 09:13:10 33b1e0a273af: Pull complete 09:13:10 5d3b04190fa2: Pull complete 09:13:14 2f39f015ded8: Pull complete 09:13:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:13:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:15 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:13:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:13:16 $ docker top e0d6d4ca3361235c93ae1c62e9e82a68c451aeb0d6e03e98884a64349e3458ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:17 ---> job-cost.sh 09:13:17 lf-activate-venv: SKIPPING 09:13:17 INFO: No Stack... 09:13:17 INFO: Retrieving Pricing Info for: v3-standard-8 09:13:18 INFO: Archiving Costs [Pipeline] sh 09:13:18 + + cut -d, -f6 09:13:18 cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [Pipeline] lock 09:13:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] 09:13:18 Resource [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] did not exist. Created. 09:13:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:13:18 + echo total: 0.2199999988079071 [Pipeline] stash 09:13:18 Stashed 1 file(s) [Pipeline] } 09:13:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 09:13:18 $ docker stop --time=1 e0d6d4ca3361235c93ae1c62e9e82a68c451aeb0d6e03e98884a64349e3458ab 09:13:19 $ docker rm -f e0d6d4ca3361235c93ae1c62e9e82a68c451aeb0d6e03e98884a64349e3458ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:14:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8062 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 09:14:57 Running in /w/workspace/device-gpio/45 [Pipeline] { [Pipeline] checkout 09:14:57 The recommended git tool is: git 09:15:03 using credential edgex-jenkins-ssh 09:15:03 Cloning the remote Git repository 09:15:04 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:15:04 > git init /w/workspace/device-gpio/45 # timeout=10 09:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:15:04 > git --version # timeout=10 09:15:04 > git --version # 'git version 2.25.1' 09:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:04 Verifying host key using known hosts file 09:15:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:15:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:07 Avoid second fetch 09:15:07 Checking out Revision 89403c3d66cf45a4c65845d7eb210f5c9736c687 (main) 09:15:06 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:15:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:07 > git config core.sparsecheckout # timeout=10 09:15:07 > git checkout -f 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 09:15:08 Commit message: "feat(snap): add config interface with unique identifier (#62)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:09 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:09 Dload Upload Total Spent Left Speed 09:15:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh 09:15:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:15:10 + sudo tee /etc/docker/daemon.new 09:15:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:15:10 { 09:15:10 "registry-mirrors": [ 09:15:10 "https://nexus3.edgexfoundry.org:10001" 09:15:10 ], 09:15:10 "bip": "10.250.0.254/24", 09:15:10 "hosts": [ 09:15:10 "tcp://0.0.0.0:5555", 09:15:10 "unix:///var/run/docker.sock" 09:15:10 ], 09:15:10 "mtu": 1458, 09:15:10 "selinux-enabled": true, 09:15:10 "seccomp-profile": "/etc/docker/seccomp.json" 09:15:10 } [Pipeline] sh 09:15:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:15:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:29 provisioning config files... 09:15:29 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/45@tmp/config2175695227871573225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:29 ---> docker-login.sh 09:15:29 nexus3.edgexfoundry.org:10001 09:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:30 Configure a credential helper to remove this warning. See 09:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:30 09:15:30 Login Succeeded 09:15:30 nexus3.edgexfoundry.org:10002 09:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:30 Configure a credential helper to remove this warning. See 09:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:30 09:15:30 Login Succeeded 09:15:30 nexus3.edgexfoundry.org:10003 09:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:31 Configure a credential helper to remove this warning. See 09:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:31 09:15:31 Login Succeeded 09:15:31 nexus3.edgexfoundry.org:10004 09:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:31 Configure a credential helper to remove this warning. See 09:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:31 09:15:31 Login Succeeded 09:15:31 docker.io 09:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:32 Configure a credential helper to remove this warning. See 09:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:32 09:15:32 Login Succeeded 09:15:32 ---> docker-login.sh ends [Pipeline] } 09:15:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:15:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:32 ========================================================= 09:15:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:15:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:33 + 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 . 09:15:35 Sending build context to Docker daemon 7.993MB 09:15:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:15:35 Step 2/13 : FROM ${BASE} AS builder 09:15:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:15:35 9b18e9b68314: Pulling fs layer 09:15:35 d32db5db7311: Pulling fs layer 09:15:35 d0c4b47475fc: Pulling fs layer 09:15:35 5831b945b038: Pulling fs layer 09:15:35 86bbec2aaacd: Pulling fs layer 09:15:35 e10730c5d714: Pulling fs layer 09:15:35 5dd5c2283517: Pulling fs layer 09:15:35 d5ac0230b979: Pulling fs layer 09:15:35 e10730c5d714: Waiting 09:15:35 5831b945b038: Waiting 09:15:35 5dd5c2283517: Waiting 09:15:35 86bbec2aaacd: Waiting 09:15:35 d5ac0230b979: Waiting 09:15:35 d0c4b47475fc: Verifying Checksum 09:15:35 d0c4b47475fc: Download complete 09:15:35 d32db5db7311: Download complete 09:15:35 86bbec2aaacd: Verifying Checksum 09:15:35 86bbec2aaacd: Download complete 09:15:35 e10730c5d714: Verifying Checksum 09:15:35 e10730c5d714: Download complete 09:15:35 9b18e9b68314: Verifying Checksum 09:15:35 9b18e9b68314: Download complete 09:15:36 9b18e9b68314: Pull complete 09:15:36 d5ac0230b979: Verifying Checksum 09:15:36 d5ac0230b979: Download complete 09:15:37 d32db5db7311: Pull complete 09:15:37 d0c4b47475fc: Pull complete 09:15:37 5dd5c2283517: Verifying Checksum 09:15:37 5dd5c2283517: Download complete 09:15:38 5831b945b038: Verifying Checksum 09:15:38 5831b945b038: Download complete 09:15:50 5831b945b038: Pull complete 09:15:50 86bbec2aaacd: Pull complete 09:15:50 e10730c5d714: Pull complete 09:15:57 5dd5c2283517: Pull complete 09:15:58 d5ac0230b979: Pull complete 09:15:58 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:15:58 ---> 59b3b1a385d4 09:15:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:15:59 ---> Running in a6449d04f613 09:15:59 Removing intermediate container a6449d04f613 09:15:59 ---> af31ffd0d027 09:15:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:15:59 ---> Running in 7926f554e3c1 09:16:00 Removing intermediate container 7926f554e3c1 09:16:00 ---> 3b58ffee2e97 09:16:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:16:00 ---> Running in b4a4df8503cf 09:16:00 Removing intermediate container b4a4df8503cf 09:16:00 ---> a0aa19a83b51 09:16:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:16:00 ---> Running in f655356e89c9 09:16:00 Removing intermediate container f655356e89c9 09:16:00 ---> 946642baaf7d 09:16:00 Step 7/13 : WORKDIR /device-gpio 09:16:01 ---> Running in b00f77abae2b 09:16:01 Removing intermediate container b00f77abae2b 09:16:01 ---> 9993e34f2f3e 09:16:01 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:01 ---> Running in c138a4ab242a 09:16:03 Removing intermediate container c138a4ab242a 09:16:03 ---> edb7787b371a 09:16:03 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:03 ---> Running in 7f72d0ba66e8 09:16:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:16:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:16:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:16:06 (2/4) Installing libedit (20210910.3.1-r0) 09:16:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:16:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:16:07 Executing busybox-1.35.0-r17.trigger 09:16:07 OK: 226 MiB in 55 packages 09:16:08 Removing intermediate container 7f72d0ba66e8 09:16:08 ---> c7b39237e45e 09:16:08 Step 10/13 : COPY go.mod vendor* ./ 09:16:08 ---> 25bb7c386661 09:16:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:08 ---> Running in fbc2a8f632b4 09:17:05 Removing intermediate container fbc2a8f632b4 09:17:05 ---> cab3a8dbd5e0 09:17:05 Step 12/13 : COPY . . 09:17:05 ---> b70a7cc57c9a 09:17:05 Step 13/13 : RUN ${MAKE} 09:17:05 ---> Running in ff6af8d0b4df 09:17:05 noop 09:17:05 Removing intermediate container ff6af8d0b4df 09:17:05 ---> 5bd5ba449e4e 09:17:05 Successfully built 5bd5ba449e4e 09:17:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:05 + docker inspect -f . ci-base-image-arm64 09:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:05 prd-ubuntu20.04-docker-arm64-4c-16g-8062 does not seem to be running inside a container 09:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/45 -v /w/workspace/device-gpio/45:/w/workspace/device-gpio/45:rw,z -v /w/workspace/device-gpio/45@tmp:/w/workspace/device-gpio/45@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 09:17:07 $ docker top 5fd229d370f49b6c2fc61d5d40c3b0dccd94619af450567ba4b8dd5712f89610 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:08 + go version 09:17:08 go version go1.18.7 linux/arm64 [Pipeline] } 09:17:08 $ docker stop --time=1 5fd229d370f49b6c2fc61d5d40c3b0dccd94619af450567ba4b8dd5712f89610 09:17:09 $ docker rm -f 5fd229d370f49b6c2fc61d5d40c3b0dccd94619af450567ba4b8dd5712f89610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:10 + docker inspect -f . ci-base-image-arm64 09:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:10 prd-ubuntu20.04-docker-arm64-4c-16g-8062 does not seem to be running inside a container 09:17:10 $ 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/45 -v /w/workspace/device-gpio/45:/w/workspace/device-gpio/45:rw,z -v /w/workspace/device-gpio/45@tmp:/w/workspace/device-gpio/45@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 09:17:11 $ docker top 2073851e00591dc0e29146a23a79b46cf60e5c3ee62d1af1c029384b38e0a6b6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:12 + git config --global --add safe.directory /w/workspace/device-gpio/45 [Pipeline] fileExists [Pipeline] sh 09:17:13 + make test 09:17:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:17:15 ? github.com/edgexfoundry/device-gpio [no test files] 09:18:52 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:18:52 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:18:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:18:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:19:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:19:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:19:04 ./bin/test-attribution-txt.sh [Pipeline] echo 09:19:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:19:04 $ docker stop --time=1 2073851e00591dc0e29146a23a79b46cf60e5c3ee62d1af1c029384b38e0a6b6 09:19:06 $ docker rm -f 2073851e00591dc0e29146a23a79b46cf60e5c3ee62d1af1c029384b38e0a6b6 [Pipeline] // withDockerContainer [Pipeline] sh 09:19:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:19:07 Warning: overwriting stash ‘coverage-report’ 09:19:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:19:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:08 + ls -al . 09:19:08 total 160 09:19:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:17 . 09:19:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:15 .. 09:19:08 -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 09:15 .dockerignore 09:19:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:15 .git 09:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 .github 09:19:08 -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 09:15 .gitignore 09:19:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:15 .golangci.yml 09:19:08 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 09:15 Attribution.txt 09:19:08 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 09:15 CHANGELOG.md 09:19:08 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 09:15 Dockerfile 09:19:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:15 GOVERNANCE.md 09:19:08 -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 09:15 Jenkinsfile 09:19:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:15 LICENSE 09:19:08 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 09:15 Makefile 09:19:08 -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 09:15 OWNERS.md 09:19:08 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 09:15 README.md 09:19:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:11 VERSION 09:19:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:15 bin 09:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 cmd 09:19:08 -rw-r--r-- 1 jenkins jenkins 10 Oct 17 09:17 coverage.out 09:19:08 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 09:15 go.mod 09:19:08 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 09:15 go.sum 09:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 internal 09:19:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:15 snap 09:19:08 -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 09:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:08 + 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=89403c3d66cf45a4c65845d7eb210f5c9736c687 --label arch=arm64 --label version=2.3.0-dev.15 . 09:19:09 Sending build context to Docker daemon 7.994MB 09:19:09 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:19:09 Step 2/27 : FROM ${BASE} AS builder 09:19:09 ---> 5bd5ba449e4e 09:19:09 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:19:09 ---> Running in b8f7117f1721 09:19:10 Removing intermediate container b8f7117f1721 09:19:10 ---> 827b8c95b4b5 09:19:10 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:19:10 ---> Running in d1d6264c93a5 09:19:10 Removing intermediate container d1d6264c93a5 09:19:10 ---> 2d2694a5d8af 09:19:10 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:19:10 ---> Running in a2cf8415252e 09:19:11 Removing intermediate container a2cf8415252e 09:19:11 ---> fb01cdcf8ba5 09:19:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:19:11 ---> Running in b411915b9ed6 09:19:11 Removing intermediate container b411915b9ed6 09:19:11 ---> 2ca0e88a282f 09:19:11 Step 7/27 : WORKDIR /device-gpio 09:19:11 ---> Running in 1e3e539dc8be 09:19:11 Removing intermediate container 1e3e539dc8be 09:19:11 ---> 2524285bf4df 09:19:11 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:12 ---> Running in 924c189eeec2 09:19:15 Removing intermediate container 924c189eeec2 09:19:15 ---> a10b1b08ed69 09:19:15 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:19:15 ---> Running in 592b0bd9b706 09:19:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:19:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:19:18 OK: 226 MiB in 55 packages 09:19:19 Removing intermediate container 592b0bd9b706 09:19:19 ---> f59e13849990 09:19:19 Step 10/27 : COPY go.mod vendor* ./ 09:19:20 ---> 54160b582916 09:19:20 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:19:20 ---> Running in 4ea2c8e859bb 09:19:23 Removing intermediate container 4ea2c8e859bb 09:19:23 ---> 9ccc0dfef446 09:19:23 Step 12/27 : COPY . . 09:19:23 ---> 2f0ab9d45b11 09:19:23 Step 13/27 : RUN ${MAKE} 09:19:24 ---> Running in 25df35a0ddaf 09:19:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:22:32 Removing intermediate container 25df35a0ddaf 09:22:32 ---> a7720275984c 09:22:32 Step 14/27 : FROM alpine:3.16 09:22:32 3.16: Pulling from library/alpine 09:22:32 9b18e9b68314: Already exists 09:22:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:22:32 Status: Downloaded newer image for alpine:3.16 09:22:32 ---> a6215f271958 09:22:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:32 ---> Running in 40cf44351590 09:22:32 Removing intermediate container 40cf44351590 09:22:32 ---> b49fd0034619 09:22:32 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:32 ---> Running in e1d7fc0b2592 09:22:32 Removing intermediate container e1d7fc0b2592 09:22:32 ---> 56685ec9dbb0 09:22:32 Step 17/27 : RUN apk add --update --no-cache zeromq 09:22:32 ---> Running in de14306cfbc3 09:22:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:22:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:22:32 (1/5) Installing libgcc (11.2.1_git20220219-r2) 09:22:32 (2/5) Installing libsodium (1.0.18-r0) 09:22:32 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 09:22:32 (4/5) Installing libzmq (4.3.4-r0) 09:22:32 (5/5) Installing zeromq (4.3.4-r0) 09:22:32 Executing busybox-1.35.0-r17.trigger 09:22:32 OK: 8 MiB in 19 packages 09:22:32 Removing intermediate container de14306cfbc3 09:22:32 ---> 2edfc1020653 09:22:32 Step 18/27 : WORKDIR / 09:22:32 ---> Running in ec7c70db2bbd 09:22:32 Removing intermediate container ec7c70db2bbd 09:22:32 ---> 73966ba119c7 09:22:32 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:32 ---> 8feba43ea980 09:22:32 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 09:22:32 ---> 13865d84637e 09:22:32 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 09:22:32 ---> cbfb680e1d88 09:22:32 Step 22/27 : EXPOSE 59910 09:22:32 ---> Running in 4d28ed17efaf 09:22:32 Removing intermediate container 4d28ed17efaf 09:22:32 ---> 2910a5d1789c 09:22:32 Step 23/27 : ENTRYPOINT ["/device-gpio"] 09:22:32 ---> Running in 8b888e9d534a 09:22:32 Removing intermediate container 8b888e9d534a 09:22:32 ---> 0b27036e30b6 09:22:32 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:32 ---> Running in 20ddf64515f3 09:22:32 Removing intermediate container 20ddf64515f3 09:22:32 ---> 6db7d57e119d 09:22:32 Step 25/27 : LABEL arch=arm64 09:22:32 ---> Running in 5e7d1f1d0760 09:22:32 Removing intermediate container 5e7d1f1d0760 09:22:32 ---> 56aa355b6852 09:22:32 Step 26/27 : LABEL git_sha=89403c3d66cf45a4c65845d7eb210f5c9736c687 09:22:32 ---> Running in 302968d617eb 09:22:32 Removing intermediate container 302968d617eb 09:22:32 ---> df6032ca5f11 09:22:32 Step 27/27 : LABEL version=2.3.0-dev.15 09:22:32 ---> Running in c0fd4d4c1c84 09:22:32 Removing intermediate container c0fd4d4c1c84 09:22:32 ---> d215b8f9bdfe 09:22:32 [Warning] One or more build-args [ARCH] were not consumed 09:22:32 Successfully built d215b8f9bdfe 09:22:32 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 09:22:32 provisioning config files... 09:22:32 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/45@tmp/config6980669777297221724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:33 ---> docker-login.sh 09:22:33 nexus3.edgexfoundry.org:10001 09:22:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:33 Configure a credential helper to remove this warning. See 09:22:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:33 09:22:33 Login Succeeded 09:22:33 nexus3.edgexfoundry.org:10002 09:22:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:33 Configure a credential helper to remove this warning. See 09:22:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:33 09:22:33 Login Succeeded 09:22:33 nexus3.edgexfoundry.org:10003 09:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:34 Configure a credential helper to remove this warning. See 09:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:34 09:22:34 Login Succeeded 09:22:34 nexus3.edgexfoundry.org:10004 09:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:34 Configure a credential helper to remove this warning. See 09:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:34 09:22:34 Login Succeeded 09:22:34 docker.io 09:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:35 Configure a credential helper to remove this warning. See 09:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:35 09:22:35 Login Succeeded 09:22:35 ---> docker-login.sh ends [Pipeline] } 09:22:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:22:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:22:35 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 09:22:35 89403c3d66cf45a4c65845d7eb210f5c9736c687 09:22:35 latest 09:22:35 2.3.0-dev.15 09:22:35 89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:22:35 main 09:22:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:35 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:36 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687 09:22:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:22:36 d9d6da5986c7: Preparing 09:22:36 004a57921bc8: Preparing 09:22:36 103a77660a1f: Preparing 09:22:36 dc1e8552964f: Preparing 09:22:36 bc7933443da2: Preparing 09:22:36 5d3e392a13a0: Preparing 09:22:36 5d3e392a13a0: Waiting 09:22:36 103a77660a1f: Pushed 09:22:36 bc7933443da2: Pushed 09:22:36 004a57921bc8: Pushed 09:22:36 5d3e392a13a0: Layer already exists 09:22:37 dc1e8552964f: Pushed 09:22:41 d9d6da5986c7: Pushed 09:22:41 89403c3d66cf45a4c65845d7eb210f5c9736c687: digest: sha256:6b96e5da6ed6e425a065e6742d49856747b2373398bc305e1ce1a1d06cc696f1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:42 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 09:22:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:22:42 d9d6da5986c7: Preparing 09:22:42 004a57921bc8: Preparing 09:22:42 103a77660a1f: Preparing 09:22:42 dc1e8552964f: Preparing 09:22:42 bc7933443da2: Preparing 09:22:42 5d3e392a13a0: Preparing 09:22:42 5d3e392a13a0: Waiting 09:22:42 bc7933443da2: Layer already exists 09:22:42 004a57921bc8: Layer already exists 09:22:42 dc1e8552964f: Layer already exists 09:22:42 103a77660a1f: Layer already exists 09:22:42 d9d6da5986c7: Layer already exists 09:22:42 5d3e392a13a0: Layer already exists 09:22:42 latest: digest: sha256:6b96e5da6ed6e425a065e6742d49856747b2373398bc305e1ce1a1d06cc696f1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:42 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.15 09:22:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:22:43 d9d6da5986c7: Preparing 09:22:43 004a57921bc8: Preparing 09:22:43 103a77660a1f: Preparing 09:22:43 dc1e8552964f: Preparing 09:22:43 bc7933443da2: Preparing 09:22:43 5d3e392a13a0: Preparing 09:22:43 5d3e392a13a0: Waiting 09:22:43 d9d6da5986c7: Layer already exists 09:22:43 103a77660a1f: Layer already exists 09:22:43 004a57921bc8: Layer already exists 09:22:43 dc1e8552964f: Layer already exists 09:22:43 bc7933443da2: Layer already exists 09:22:43 5d3e392a13a0: Layer already exists 09:22:43 2.3.0-dev.15: digest: sha256:6b96e5da6ed6e425a065e6742d49856747b2373398bc305e1ce1a1d06cc696f1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:44 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:22:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:22:44 d9d6da5986c7: Preparing 09:22:44 004a57921bc8: Preparing 09:22:44 103a77660a1f: Preparing 09:22:44 dc1e8552964f: Preparing 09:22:44 bc7933443da2: Preparing 09:22:44 5d3e392a13a0: Preparing 09:22:44 5d3e392a13a0: Waiting 09:22:44 d9d6da5986c7: Layer already exists 09:22:44 dc1e8552964f: Layer already exists 09:22:44 bc7933443da2: Layer already exists 09:22:44 103a77660a1f: Layer already exists 09:22:44 004a57921bc8: Layer already exists 09:22:44 5d3e392a13a0: Layer already exists 09:22:44 89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15: digest: sha256:6b96e5da6ed6e425a065e6742d49856747b2373398bc305e1ce1a1d06cc696f1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:45 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:45 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 09:22:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:22:45 d9d6da5986c7: Preparing 09:22:45 004a57921bc8: Preparing 09:22:45 103a77660a1f: Preparing 09:22:45 dc1e8552964f: Preparing 09:22:45 bc7933443da2: Preparing 09:22:45 5d3e392a13a0: Preparing 09:22:45 5d3e392a13a0: Waiting 09:22:45 bc7933443da2: Layer already exists 09:22:45 d9d6da5986c7: Layer already exists 09:22:45 004a57921bc8: Layer already exists 09:22:45 dc1e8552964f: Layer already exists 09:22:45 103a77660a1f: Layer already exists 09:22:45 5d3e392a13a0: Layer already exists 09:22:45 main: digest: sha256:6b96e5da6ed6e425a065e6742d49856747b2373398bc305e1ce1a1d06cc696f1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:22:45 ===================================================== [Pipeline] echo 09:22:45 taggedImages: 09:22:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687 09:22:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 09:22:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.15 09:22:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:89403c3d66cf45a4c65845d7eb210f5c9736c687-2.3.0-dev.15 09:22:45 - 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 09:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:46 09:22:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:46 arm64: Pulling from edgex-lftools-log-publisher 09:22:46 8998bd30e6a1: Pulling fs layer 09:22:46 04944245beec: Pulling fs layer 09:22:46 699f458cf7ca: Pulling fs layer 09:22:46 765212b225bb: Pulling fs layer 09:22:46 f23df028b6ca: Pulling fs layer 09:22:46 d65c8cfc05b1: Pulling fs layer 09:22:46 2437ff75d9bd: Pulling fs layer 09:22:46 f23df028b6ca: Waiting 09:22:46 d65c8cfc05b1: Waiting 09:22:46 2437ff75d9bd: Waiting 09:22:46 765212b225bb: Waiting 09:22:46 04944245beec: Verifying Checksum 09:22:46 04944245beec: Download complete 09:22:46 765212b225bb: Download complete 09:22:46 f23df028b6ca: Verifying Checksum 09:22:46 f23df028b6ca: Download complete 09:22:46 d65c8cfc05b1: Verifying Checksum 09:22:46 d65c8cfc05b1: Download complete 09:22:46 699f458cf7ca: Verifying Checksum 09:22:46 699f458cf7ca: Download complete 09:22:47 8998bd30e6a1: Verifying Checksum 09:22:47 8998bd30e6a1: Download complete 09:22:49 2437ff75d9bd: Verifying Checksum 09:22:49 2437ff75d9bd: Download complete 09:22:51 8998bd30e6a1: Pull complete 09:22:51 04944245beec: Pull complete 09:22:53 699f458cf7ca: Pull complete 09:22:53 765212b225bb: Pull complete 09:22:54 f23df028b6ca: Pull complete 09:22:54 d65c8cfc05b1: Pull complete 09:23:09 2437ff75d9bd: Pull complete 09:23:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:09 prd-ubuntu20.04-docker-arm64-4c-16g-8062 does not seem to be running inside a container 09:23:09 $ 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/45 -v /w/workspace/device-gpio/45:/w/workspace/device-gpio/45:rw,z -v /w/workspace/device-gpio/45@tmp:/w/workspace/device-gpio/45@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 09:23:12 $ docker top bd878e89741ad51936e9b4af3cc0c570c3c6b9132edbda2525702471acd16c04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:13 ---> job-cost.sh 09:23:13 lf-activate-venv: SKIPPING 09:23:13 INFO: No Stack... 09:23:13 INFO: Retrieving Pricing Info for: v3-standard-4 09:23:14 INFO: Archiving Costs [Pipeline] sh 09:23:15 + cat /w/workspace/device-gpio/45/archives/cost.csv 09:23:15 + cut -d, -f6 [Pipeline] lock 09:23:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] 09:23:15 Resource [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] did not exist. Created. 09:23:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:23:16 /w/workspace/device-gpio/45@tmp/durable-14a56fa7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:23:17 + echo total: 0.10999999940395355 [Pipeline] stash 09:23:17 Warning: overwriting stash ‘stack-cost’ 09:23:17 Stashed 1 file(s) [Pipeline] } 09:23:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 09:23:17 $ docker stop --time=1 bd878e89741ad51936e9b4af3cc0c570c3c6b9132edbda2525702471acd16c04 09:23:18 $ docker rm -f bd878e89741ad51936e9b4af3cc0c570c3c6b9132edbda2525702471acd16c04 [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 09:23:19 provisioning config files... 09:23:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18398974596297402149tmp [Pipeline] { [Pipeline] sh 09:23:19 + set +x 09:23:19 + bash -s -- 09:23:19 + curl -s https://codecov.io/bash 09:23:19 09:23:19 _____ _ 09:23:19 / ____| | | 09:23:19 | | ___ __| | ___ ___ _____ __ 09:23:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:23:19 | |___| (_) | (_| | __/ (_| (_) \ V / 09:23:19 \_____\___/ \__,_|\___|\___\___/ \_/ 09:23:19 Bash-1.0.6 09:23:19 09:23:19 09:23:19 ==> git version 2.25.1 found 09:23:19 ==> 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 09:23:19 Release-Date: 2020-01-08 09:23:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:23:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:23:19 ==> Jenkins CI detected. 09:23:19 current dir:  /w/workspace/edgexfoundry_device-gpio_main 09:23:19 project root: . 09:23:19 --> token set from env 09:23:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:23:19 ==> Running gcov in . (disable via -X gcov) 09:23:19 ==> Python coveragepy not found 09:23:19 ==> Searching for coverage reports in: 09:23:19 + . 09:23:19 -> Found 1 reports 09:23:19 ==> Detecting git/mercurial file structure 09:23:19 ==> Reading reports 09:23:19 + ./coverage.out bytes=10 09:23:19 ==> Appending adjustments 09:23:19 https://docs.codecov.io/docs/fixing-reports 09:23:19 + Found adjustments 09:23:19 ==> Gzipping contents 09:23:19 4.0K /tmp/codecov.OCQSOK.gz 09:23:19 ==> Uploading reports 09:23:19 url: https://codecov.io 09:23:19 query: branch=main&commit=89403c3d66cf45a4c65845d7eb210f5c9736c687&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 09:23:19 -> Pinging Codecov 09:23:19 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=89403c3d66cf45a4c65845d7eb210f5c9736c687&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 09:23:19 -> Uploading to 09:23:19 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/89403c3d66cf45a4c65845d7eb210f5c9736c687/8b1e945c-6623-4778-82ba-38b60245bdb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02148afa6c8b1655e4ff0faab3da1458756e43836ad052e87c2d97e24bc1292a 09:23:19 % Total % Received % Xferd Average Speed Time Time Time Current 09:23:19 Dload Upload Total Spent Left Speed 09:23:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3240 --:--:-- --:--:-- --:--:-- 3240 09:23:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] } 09:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:23:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:23:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:23:20 09:23:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:23:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:23:20 df9b9388f04a: Pulling fs layer 09:23:20 52dc419b0ee2: Pulling fs layer 09:23:20 25bc292e5bac: Pulling fs layer 09:23:20 114826534d7a: Pulling fs layer 09:23:20 4657fd5d0bcf: Pulling fs layer 09:23:20 114826534d7a: Waiting 09:23:20 4657fd5d0bcf: Waiting 09:23:20 6ad1cebc031e: Pulling fs layer 09:23:20 8a3aa393b2d8: Pulling fs layer 09:23:20 8a3aa393b2d8: Waiting 09:23:20 6ad1cebc031e: Waiting 09:23:20 25bc292e5bac: Verifying Checksum 09:23:20 25bc292e5bac: Download complete 09:23:20 52dc419b0ee2: Verifying Checksum 09:23:20 52dc419b0ee2: Download complete 09:23:20 4657fd5d0bcf: Download complete 09:23:20 df9b9388f04a: Download complete 09:23:21 df9b9388f04a: Pull complete 09:23:21 6ad1cebc031e: Verifying Checksum 09:23:21 6ad1cebc031e: Download complete 09:23:21 52dc419b0ee2: Pull complete 09:23:21 25bc292e5bac: Pull complete 09:23:21 114826534d7a: Verifying Checksum 09:23:21 114826534d7a: Download complete 09:23:21 8a3aa393b2d8: Verifying Checksum 09:23:21 8a3aa393b2d8: Download complete 09:23:25 114826534d7a: Pull complete 09:23:25 4657fd5d0bcf: Pull complete 09:23:25 6ad1cebc031e: Pull complete 09:23:27 8a3aa393b2d8: Pull complete 09:23:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:23:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:27 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:23:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:23:29 $ docker top 798b52e6dd081e6cbc5479dfc648f42f1b6681e943da0520c6a4a8923fd18249 -eo pid,comm [Pipeline] { [Pipeline] echo 09:23:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 09:23:29 + set -o pipefail 09:23:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 09:23:35 09:23:35 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 09:23:35 09:23:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/099b3ecd-38a8-4912-8654-c8fe2ca731a2 09:23:35 09:23:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:23:35 09:23:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:23:35 09:23:35 09:23:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:23:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:23:35 More details here: https://snyk.co/ue1NS [Pipeline] } 09:23:35 $ docker stop --time=1 798b52e6dd081e6cbc5479dfc648f42f1b6681e943da0520c6a4a8923fd18249 09:23:37 $ docker rm -f 798b52e6dd081e6cbc5479dfc648f42f1b6681e943da0520c6a4a8923fd18249 [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 09:23:38 + git log --format=format:%s -1 89403c3d66cf45a4c65845d7eb210f5c9736c687 [Pipeline] sh 09:23:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:38 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:23:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:23:39 $ docker top 51352555d66e3114397d6d1c787986ebaf9d0903a6711b1a2afd1eaf899c39f6 -eo pid,comm 09:23:39 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). 09:23:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:39 [ssh-agent] Looking for ssh-agent implementation... 09:23:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:39 $ docker exec 51352555d66e3114397d6d1c787986ebaf9d0903a6711b1a2afd1eaf899c39f6 ssh-agent 09:23:39 SSH_AUTH_SOCK=/tmp/ssh-TwagLpiMTNUh/agent.32 09:23:39 SSH_AGENT_PID=38 09:23:39 Running ssh-add (command line suppressed) 09:23:39 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17374836208480397987.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17374836208480397987.key) 09:23:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:39 + git semver tag 09:23:40 2022-10-17 09:23:40,019 [run_tag] DEBUG tag force:False 09:23:40 2022-10-17 09:23:40,019 [check_head_tag] DEBUG check head tag 09:23:40 2022-10-17 09:23:40,019 [execute] INFO git cat-file --batch-check 09:23:40 2022-10-17 09:23:40,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 09:23:40 2022-10-17 09:23:40,023 [execute] INFO git cat-file --batch 09:23:40 2022-10-17 09:23:40,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 09:23:40 2022-10-17 09:23:40,033 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:40 2022-10-17 09:23:40,034 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 09:23:40 2022-10-17 09:23:40,034 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 09:23:40 2022-10-17 09:23:40,038 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:40 2.3.0-dev.15 [Pipeline] } 09:23:40 $ docker exec --env ******** --env ******** 51352555d66e3114397d6d1c787986ebaf9d0903a6711b1a2afd1eaf899c39f6 ssh-agent -k 09:23:40 unset SSH_AUTH_SOCK; 09:23:40 unset SSH_AGENT_PID; 09:23:40 echo Agent pid 38 killed; 09:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:40 + git semver [Pipeline] } 09:23:40 $ docker stop --time=1 51352555d66e3114397d6d1c787986ebaf9d0903a6711b1a2afd1eaf899c39f6 09:23:42 $ docker rm -f 51352555d66e3114397d6d1c787986ebaf9d0903a6711b1a2afd1eaf899c39f6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:23:42 09:23:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:23:42 0.23.1-centos7: Pulling from edgex-lftools 09:23:42 ab5ef0e58194: Pulling fs layer 09:23:42 9712f1f96733: Pulling fs layer 09:23:42 63f879dbbcfc: Pulling fs layer 09:23:42 0d9ebad4ef96: Pulling fs layer 09:23:42 e9a5061849ea: Pulling fs layer 09:23:42 d747dcd14b5f: Pulling fs layer 09:23:42 2de7ff778b66: Pulling fs layer 09:23:42 e9a5061849ea: Waiting 09:23:42 d747dcd14b5f: Waiting 09:23:42 2de7ff778b66: Waiting 09:23:42 0d9ebad4ef96: Waiting 09:23:42 9712f1f96733: Verifying Checksum 09:23:42 9712f1f96733: Download complete 09:23:43 63f879dbbcfc: Verifying Checksum 09:23:43 63f879dbbcfc: Download complete 09:23:43 0d9ebad4ef96: Verifying Checksum 09:23:43 0d9ebad4ef96: Download complete 09:23:43 e9a5061849ea: Verifying Checksum 09:23:43 e9a5061849ea: Download complete 09:23:43 d747dcd14b5f: Verifying Checksum 09:23:43 d747dcd14b5f: Download complete 09:23:43 ab5ef0e58194: Verifying Checksum 09:23:43 ab5ef0e58194: Download complete 09:23:43 2de7ff778b66: Verifying Checksum 09:23:43 2de7ff778b66: Download complete 09:23:46 ab5ef0e58194: Pull complete 09:23:46 9712f1f96733: Pull complete 09:23:46 63f879dbbcfc: Pull complete 09:23:49 0d9ebad4ef96: Pull complete 09:23:49 e9a5061849ea: Pull complete 09:23:49 d747dcd14b5f: Pull complete 09:23:50 2de7ff778b66: Pull complete 09:23:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:23:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:23:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:50 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:23:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:23:52 $ docker top 734634e2a72df585cc752b6e0be0ddb3a5272cb56804917c9dfce19d43cf0c95 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:23:52 provisioning config files... 09:23:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5744899888578688599tmp 09:23:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16505989944218350140tmp 09:23:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12588776692387697614tmp [Pipeline] { [Pipeline] echo 09:23:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:23:53 ---> sigul-configuration.sh 09:23:53 gpg: directory `/root/.gnupg' created 09:23:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:23:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:23:53 gpg: keyring `/root/.gnupg/secring.gpg' created 09:23:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:23:53 gpg: CAST5 encrypted data 09:23:53 gpg: encrypted with 1 passphrase 09:23:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:23:53 + mkdir /home/jenkins 09:23:53 + mkdir /home/jenkins/sigul [Pipeline] sh 09:23:53 + 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 09:23:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:23:54 ---> sigul-install.sh 09:23:54 Sigul already installed; skipping installation. [Pipeline] sh 09:23:54 + git tag --list 09:23:54 v1.0.0 09:23:54 v2.1.0 09:23:54 v2.1.1 09:23:54 v2.1.1-dev.1 09:23:54 v2.2.0 09:23:54 v2.2.1-dev.1 09:23:54 v2.2.1-dev.2 09:23:54 v2.2.1-dev.3 09:23:54 v2.2.1-dev.4 09:23:54 v2.3.0-dev.10 09:23:54 v2.3.0-dev.11 09:23:54 v2.3.0-dev.12 09:23:54 v2.3.0-dev.13 09:23:54 v2.3.0-dev.14 09:23:54 v2.3.0-dev.15 09:23:54 v2.3.0-dev.4 09:23:54 v2.3.0-dev.5 09:23:54 v2.3.0-dev.6 09:23:54 v2.3.0-dev.7 09:23:54 v2.3.0-dev.8 09:23:54 v2.3.0-dev.9 [Pipeline] sh 09:23:54 + lftools sign git-tag v2.3.0-dev.15 09:23:55 Signing Git tag with Sigul... 09:23:55 Signing v2.3.0-dev.15 [Pipeline] echo 09:23:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:23:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:23:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:23:55 $ docker stop --time=1 734634e2a72df585cc752b6e0be0ddb3a5272cb56804917c9dfce19d43cf0c95 09:23:57 $ docker rm -f 734634e2a72df585cc752b6e0be0ddb3a5272cb56804917c9dfce19d43cf0c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:23:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:57 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:23:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:23:58 $ docker top 2cf706eb21bbbe6e68516a52711e17ffdfcdba2008a898cca0742cd0971828c5 -eo pid,comm 09:23:58 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). 09:23:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:58 [ssh-agent] Looking for ssh-agent implementation... 09:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:58 $ docker exec 2cf706eb21bbbe6e68516a52711e17ffdfcdba2008a898cca0742cd0971828c5 ssh-agent 09:23:58 SSH_AUTH_SOCK=/tmp/ssh-YkBgn8N8C2ud/agent.32 09:23:58 SSH_AGENT_PID=38 09:23:58 Running ssh-add (command line suppressed) 09:23:58 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5327917998661998057.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5327917998661998057.key) 09:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:59 + git semver bump pre 09:23:59 2022-10-17 09:23:59,257 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:59 2022-10-17 09:23:59,257 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 09:23:59 2022-10-17 09:23:59,258 [bump_version] DEBUG bumped version:2.3.0-dev.16 09:23:59 2022-10-17 09:23:59,258 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 09:23:59 2022-10-17 09:23:59,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:59 2022-10-17 09:23:59,258 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:59 2022-10-17 09:23:59,260 [execute] INFO git cat-file --batch-check 09:23:59 2022-10-17 09:23:59,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:23:59 2022-10-17 09:23:59,265 [execute] INFO git cat-file --batch 09:23:59 2022-10-17 09:23:59,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:23:59 2022-10-17 09:23:59,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:23:59 2.3.0-dev.16 [Pipeline] } 09:23:59 $ docker exec --env ******** --env ******** 2cf706eb21bbbe6e68516a52711e17ffdfcdba2008a898cca0742cd0971828c5 ssh-agent -k 09:23:59 unset SSH_AUTH_SOCK; 09:23:59 unset SSH_AGENT_PID; 09:23:59 echo Agent pid 38 killed; 09:23:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:59 + git semver [Pipeline] } 09:24:00 $ docker stop --time=1 2cf706eb21bbbe6e68516a52711e17ffdfcdba2008a898cca0742cd0971828c5 09:24:01 $ docker rm -f 2cf706eb21bbbe6e68516a52711e17ffdfcdba2008a898cca0742cd0971828c5 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:02 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:24:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:24:02 $ docker top 0b0c2f28a40f2d9e1663365afb81c67d20ee96045598c4037d639318db25fb53 -eo pid,comm 09:24:02 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). 09:24:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:02 [ssh-agent] Looking for ssh-agent implementation... 09:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:02 $ docker exec 0b0c2f28a40f2d9e1663365afb81c67d20ee96045598c4037d639318db25fb53 ssh-agent 09:24:02 SSH_AUTH_SOCK=/tmp/ssh-NOhHGgQ3HfMQ/agent.33 09:24:02 SSH_AGENT_PID=39 09:24:02 Running ssh-add (command line suppressed) 09:24:02 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8755558983471639185.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8755558983471639185.key) 09:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:03 + git semver push 09:24:03 2022-10-17 09:24:03,242 [run_push] DEBUG push 09:24:03 2022-10-17 09:24:03,242 [execute] INFO git cat-file --batch-check 09:24:03 2022-10-17 09:24:03,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:24:03 2022-10-17 09:24:03,246 [execute] INFO git rev-list f3c81277acf4d44096c47fc6751544a904335d52 -- 09:24:03 2022-10-17 09:24:03,246 [execute] DEBUG Popen(['git', 'rev-list', 'f3c81277acf4d44096c47fc6751544a904335d52', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 09:24:03 2022-10-17 09:24:03,252 [execute] INFO git fetch -v origin 09:24:03 2022-10-17 09:24:03,252 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 09:24:03 2022-10-17 09:24:03,815 [run_push] DEBUG no remote changes detected 09:24:03 2022-10-17 09:24:03,815 [execute] INFO git push origin semver 09:24:03 2022-10-17 09:24:03,816 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 09:24:04 2022-10-17 09:24:04,687 [run_push] DEBUG push all version tags 09:24:04 2022-10-17 09:24:04,687 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:24:04 2022-10-17 09:24:04,688 [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) 09:24:05 2022-10-17 09:24:05,543 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:24:05 2.3.0-dev.16 [Pipeline] } 09:24:05 $ docker exec --env ******** --env ******** 0b0c2f28a40f2d9e1663365afb81c67d20ee96045598c4037d639318db25fb53 ssh-agent -k 09:24:05 unset SSH_AUTH_SOCK; 09:24:05 unset SSH_AGENT_PID; 09:24:05 echo Agent pid 39 killed; 09:24:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:06 + git semver [Pipeline] } 09:24:06 $ docker stop --time=1 0b0c2f28a40f2d9e1663365afb81c67d20ee96045598c4037d639318db25fb53 09:24:07 $ docker rm -f 0b0c2f28a40f2d9e1663365afb81c67d20ee96045598c4037d639318db25fb53 [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 09:24:08 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 09:24:08 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 09:24:08 total 16 09:24:08 drwxr-xr-x 3 root root 4096 Oct 17 09:13 . 09:24:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:23 .. 09:24:08 drwxr-xr-x 2 root root 4096 Oct 17 09:13 cost 09:24:08 -rw-r--r-- 1 root root 82 Oct 17 09:13 cost.csv 09:24:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 09:24:08 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 09:24:08 total 16 09:24:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:13 . 09:24:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:23 .. 09:24:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:13 cost 09:24:08 -rw-r--r-- 1 jenkins jenkins 82 Oct 17 09:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:24:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:24:09 ---> package-listing.sh 09:24:09 ++ facter osfamily 09:24:09 ++ tr '[:upper:]' '[:lower:]' 09:24:09 + OS_FAMILY=debian 09:24:09 + workspace=/w/workspace/edgexfoundry_device-gpio_main 09:24:09 + START_PACKAGES=/tmp/packages_start.txt 09:24:09 + END_PACKAGES=/tmp/packages_end.txt 09:24:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:24:09 + PACKAGES=/tmp/packages_start.txt 09:24:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 09:24:09 + PACKAGES=/tmp/packages_end.txt 09:24:09 + case "${OS_FAMILY}" in 09:24:09 + dpkg -l 09:24:09 + grep '^ii' 09:24:09 + '[' -f /tmp/packages_start.txt ']' 09:24:09 + '[' -f /tmp/packages_end.txt ']' 09:24:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:24:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 09:24:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 09:24:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 09:24:09 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 09:24:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:10 prd-ubuntu20.04-docker-8c-8g-8057 does not seem to be running inside a container 09:24:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:24:10 $ docker top 3606476d1509bd9730d18fe543d93a2e0db6ef5292af3ec095a516c2382320f6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:11 + touch /tmp/pre-build-complete [Pipeline] sh 09:24:11 + mkdir -p /var/log/sysstat [Pipeline] sh 09:24:11 + ls /var/log/sa-host 09:24:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:11 provisioning config files... 09:24:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9256812754101795310tmp [Pipeline] { [Pipeline] echo 09:24:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:24:12 ---> create-netrc.sh [Pipeline] } 09:24:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:24:12 ---> python-tools-install.sh [Pipeline] echo 09:24:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:24:12 ---> sudo-logs.sh 09:24:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:24:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:24:12 ---> job-cost.sh 09:24:12 lf-activate-venv: SKIPPING 09:24:12 DEBUG: total: 0.2199999988079071 09:24:12 INFO: Retrieving Stack Cost... 09:24:13 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:13 INFO: Archiving Costs [Pipeline] echo 09:24:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:24:14 ---> logs-deploy.sh 09:24:14 lf-activate-venv: SKIPPING 09:24:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/45 09:24:14 INFO: archiving workspace using pattern(s): 09:24:15 Archives upload complete. 09:24:15 INFO: archiving logs to Nexus