Pull request #71 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e8bd7db77c35eb38aec4d1e7db6b52b426840763+4a60b186efcb0f9e44d1b8490e20ed6b03eccbab (63ab4809ab3e6ebaf9b93b0dff8fc31c73fde538) 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-ssh9916649797306857933.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17287825853396861456.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-71/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/PR-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8413581943537574313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12936268395319422622.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-71/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/PR-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10686436162651531839.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9235 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-71 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit e8bd7db77c35eb38aec4d1e7db6b52b426840763 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8bd7db77c35eb38aec4d1e7db6b52b426840763 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 Merge succeeded, producing e8bd7db77c35eb38aec4d1e7db6b52b426840763 Checking out Revision e8bd7db77c35eb38aec4d1e7db6b52b426840763 (PR-71) Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:32:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:32:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:32:51 ========================================================= 02:32:51 EdgeX Global Pipelines Version Info 02:32:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8bd7db77c35eb38aec4d1e7db6b52b426840763 # timeout=10 > git rev-list --no-walk d587838d88767169d2a1a4f131ddc1c76d79c046 # timeout=10 02:32:52 ------------------- 02:32:52 stable info: 02:32:52 ------------------- 02:32:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:32:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:52 Message: update stable to v1.0.244 02:32:52 ------------------- 02:32:52 experimental info: 02:32:52 ------------------- 02:32:52 Commited By: **** collab-it+edgex@linuxfoundation.org 02:32:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8bd7db77c35eb38aec4d1e7db6b52b426840763 [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8bd7db [Pipeline] echo 02:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:53 provisioning config files... 02:32:53 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config17402782480325644340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:53 ---> docker-login.sh 02:32:53 nexus3.edgexfoundry.org:10001 02:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:54 Configure a credential helper to remove this warning. See 02:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:54 02:32:54 Login Succeeded 02:32:54 nexus3.edgexfoundry.org:10002 02:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:55 Configure a credential helper to remove this warning. See 02:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:55 02:32:55 Login Succeeded 02:32:55 nexus3.edgexfoundry.org:10003 02:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:55 Configure a credential helper to remove this warning. See 02:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:55 02:32:55 Login Succeeded 02:32:55 nexus3.edgexfoundry.org:10004 02:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:55 Configure a credential helper to remove this warning. See 02:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:55 02:32:55 Login Succeeded 02:32:55 docker.io 02:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:55 Configure a credential helper to remove this warning. See 02:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:55 02:32:55 Login Succeeded 02:32:55 ---> docker-login.sh ends [Pipeline] } 02:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:32:55 + git rev-list -1 --merges e8bd7db77c35eb38aec4d1e7db6b52b426840763~1..e8bd7db77c35eb38aec4d1e7db6b52b426840763 [Pipeline] echo 02:32:55 -----------> git rev-list -1 --merges e8bd7db77c35eb38aec4d1e7db6b52b426840763~1..e8bd7db77c35eb38aec4d1e7db6b52b426840763 e8bd7db77c35eb38aec4d1e7db6b52b426840763 [false] [Pipeline] sh 02:32:56 + git log --format=format:%s -1 e8bd7db77c35eb38aec4d1e7db6b52b426840763 [Pipeline] echo 02:32:56 ========================================================= 02:32:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:32:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:56 + git log --format=format:%s -1 e8bd7db77c35eb38aec4d1e7db6b52b426840763 [Pipeline] echo 02:32:56 [semverPrep] GIT_COMMIT: e8bd7db77c35eb38aec4d1e7db6b52b426840763, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1 [Pipeline] echo 02:32:56 [semverPrep] This is not a build commit. [Pipeline] sh 02:32:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:56 + grep -v github /etc/ssh/ssh_known_hosts 02:32:56 + [ -e /tmp/ssh_known_hosts ] 02:32:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:32:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:32:56 + sudo tee -a /etc/ssh/ssh_known_hosts 02:32:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:57 02:32:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:58 0.1.4: Pulling from edgex-devops/py-git-semver 02:32:58 b85a868b505f: Pulling fs layer 02:32:58 e2be974225ed: Pulling fs layer 02:32:58 339a4e72a1f5: Pulling fs layer 02:32:58 988bab9f4d93: Pulling fs layer 02:32:58 1469e6f7b9e6: Pulling fs layer 02:32:58 eaf3925da568: Pulling fs layer 02:32:58 1469e6f7b9e6: Waiting 02:32:58 eaf3925da568: Waiting 02:32:58 bab4dde63d76: Pulling fs layer 02:32:58 bde34c3a00c8: Pulling fs layer 02:32:58 b352a97aabf1: Pulling fs layer 02:32:58 bab4dde63d76: Waiting 02:32:58 bde34c3a00c8: Waiting 02:32:58 4872d77fe225: Pulling fs layer 02:32:58 b352a97aabf1: Waiting 02:32:58 5851b861e8e6: Pulling fs layer 02:32:58 5851b861e8e6: Waiting 02:32:58 e2be974225ed: Verifying Checksum 02:32:58 e2be974225ed: Download complete 02:32:58 988bab9f4d93: Verifying Checksum 02:32:58 988bab9f4d93: Download complete 02:32:58 1469e6f7b9e6: Verifying Checksum 02:32:58 1469e6f7b9e6: Download complete 02:32:58 eaf3925da568: Verifying Checksum 02:32:58 eaf3925da568: Download complete 02:32:58 339a4e72a1f5: Verifying Checksum 02:32:58 339a4e72a1f5: Download complete 02:32:58 bde34c3a00c8: Verifying Checksum 02:32:58 bde34c3a00c8: Download complete 02:32:58 b352a97aabf1: Download complete 02:32:58 4872d77fe225: Verifying Checksum 02:32:58 4872d77fe225: Download complete 02:32:58 5851b861e8e6: Download complete 02:32:58 b85a868b505f: Verifying Checksum 02:32:58 b85a868b505f: Download complete 02:32:59 bab4dde63d76: Verifying Checksum 02:32:59 bab4dde63d76: Download complete 02:33:00 b85a868b505f: Pull complete 02:33:01 e2be974225ed: Pull complete 02:33:03 339a4e72a1f5: Pull complete 02:33:03 988bab9f4d93: Pull complete 02:33:04 1469e6f7b9e6: Pull complete 02:33:05 eaf3925da568: Pull complete 02:33:08 bab4dde63d76: Pull complete 02:33:09 bde34c3a00c8: Pull complete 02:33:10 b352a97aabf1: Pull complete 02:33:11 4872d77fe225: Pull complete 02:33:13 5851b861e8e6: Pull complete 02:33:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:33:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:13 prd-ubuntu20.04-docker-8c-8g-9235 does not seem to be running inside a container 02:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:33:20 $ docker top 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 -eo pid,comm 02:33:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:33:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:20 [ssh-agent] Looking for ssh-agent implementation... 02:33:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:20 $ docker exec 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 ssh-agent 02:33:20 SSH_AUTH_SOCK=/tmp/ssh-jlJerozcXEj6/agent.26 02:33:20 SSH_AGENT_PID=38 02:33:20 Running ssh-add (command line suppressed) 02:33:20 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_1057934544997031611.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_1057934544997031611.key) 02:33:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:20 + git tag --points-at HEAD [Pipeline] } 02:33:20 $ docker exec --env ******** --env ******** 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 ssh-agent -k 02:33:21 unset SSH_AUTH_SOCK; 02:33:21 unset SSH_AGENT_PID; 02:33:21 echo Agent pid 38 killed; 02:33:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:33:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:21 [ssh-agent] Looking for ssh-agent implementation... 02:33:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:21 $ docker exec 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 ssh-agent 02:33:21 SSH_AUTH_SOCK=/tmp/ssh-2mX606YgStoq/agent.69 02:33:21 SSH_AGENT_PID=75 02:33:21 Running ssh-add (command line suppressed) 02:33:21 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_16288917078333938921.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_16288917078333938921.key) 02:33:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:21 + git semver init 02:33:22 2023-03-09 02:33:22,025 [run_init] DEBUG init version:0.0.0 force:False 02:33:22 2023-03-09 02:33:22,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 02:33:22 2023-03-09 02:33:22,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 02:33:22 2023-03-09 02:33:22,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 02:33:23 2023-03-09 02:33:23,170 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 02:33:23 2023-03-09 02:33:23,171 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 02:33:23 2023-03-09 02:33:23,171 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 02:33:23 2023-03-09 02:33:23,175 [execute] INFO git cat-file --batch-check 02:33:23 2023-03-09 02:33:23,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 02:33:23 2023-03-09 02:33:23,182 [execute] INFO git cat-file --batch 02:33:23 2023-03-09 02:33:23,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 02:33:23 2023-03-09 02:33:23,188 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 02:33:23 0.0.0 [Pipeline] } 02:33:23 $ docker exec --env ******** --env ******** 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 ssh-agent -k 02:33:23 unset SSH_AUTH_SOCK; 02:33:23 unset SSH_AGENT_PID; 02:33:23 echo Agent pid 75 killed; 02:33:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:23 + git semver [Pipeline] } 02:33:24 $ docker stop --time=1 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 02:33:25 $ docker rm -f --volumes 91d360888eadd074b7a9b08879bc4e8ded53fdbf5c8c12464984a0a6606124b9 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:33:26 Stashed 1 file(s) [Pipeline] echo 02:33:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:26 provisioning config files... 02:33:26 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config3332065378287911647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:26 ---> docker-login.sh 02:33:26 nexus3.edgexfoundry.org:10001 02:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:26 Configure a credential helper to remove this warning. See 02:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:26 02:33:26 Login Succeeded 02:33:26 nexus3.edgexfoundry.org:10002 02:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:26 Configure a credential helper to remove this warning. See 02:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:26 02:33:26 Login Succeeded 02:33:26 nexus3.edgexfoundry.org:10003 02:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:27 Configure a credential helper to remove this warning. See 02:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:27 02:33:27 Login Succeeded 02:33:27 nexus3.edgexfoundry.org:10004 02:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:27 Configure a credential helper to remove this warning. See 02:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:27 02:33:27 Login Succeeded 02:33:27 docker.io 02:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:27 Configure a credential helper to remove this warning. See 02:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:27 02:33:27 Login Succeeded 02:33:27 ---> docker-login.sh ends [Pipeline] } 02:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:27 ========================================================= 02:33:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:33:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + 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 . 02:33:27 Sending build context to Docker daemon 15.99MB 02:33:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:33:27 Step 2/12 : FROM ${BASE} AS builder 02:33:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:33:28 213ec9aee27d: Pulling fs layer 02:33:28 4583459ba037: Pulling fs layer 02:33:28 93c1e223e6f2: Pulling fs layer 02:33:28 53926ce57604: Pulling fs layer 02:33:28 21b2b0c7a3f4: Pulling fs layer 02:33:28 22ff95d597cd: Pulling fs layer 02:33:28 12d6caf4c0d1: Pulling fs layer 02:33:28 96b7cbca73a9: Pulling fs layer 02:33:28 a7acece74701: Pulling fs layer 02:33:28 53926ce57604: Waiting 02:33:28 21b2b0c7a3f4: Waiting 02:33:28 22ff95d597cd: Waiting 02:33:28 a7acece74701: Waiting 02:33:28 12d6caf4c0d1: Waiting 02:33:28 96b7cbca73a9: Waiting 02:33:28 93c1e223e6f2: Verifying Checksum 02:33:28 93c1e223e6f2: Download complete 02:33:28 4583459ba037: Verifying Checksum 02:33:28 4583459ba037: Download complete 02:33:28 21b2b0c7a3f4: Download complete 02:33:28 22ff95d597cd: Verifying Checksum 02:33:28 22ff95d597cd: Download complete 02:33:28 213ec9aee27d: Verifying Checksum 02:33:28 213ec9aee27d: Download complete 02:33:28 12d6caf4c0d1: Verifying Checksum 02:33:28 12d6caf4c0d1: Download complete 02:33:28 213ec9aee27d: Pull complete 02:33:29 a7acece74701: Verifying Checksum 02:33:29 a7acece74701: Download complete 02:33:29 96b7cbca73a9: Verifying Checksum 02:33:29 96b7cbca73a9: Download complete 02:33:29 53926ce57604: Verifying Checksum 02:33:29 53926ce57604: Download complete 02:33:29 4583459ba037: Pull complete 02:33:29 93c1e223e6f2: Pull complete 02:33:35 53926ce57604: Pull complete 02:33:35 21b2b0c7a3f4: Pull complete 02:33:35 22ff95d597cd: Pull complete 02:33:36 12d6caf4c0d1: Pull complete 02:33:39 96b7cbca73a9: Pull complete 02:33:40 a7acece74701: Pull complete 02:33:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:33:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:33:41 ---> db6d94c90886 02:33:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:33:41 Still waiting to schedule task 02:33:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:33:59 ---> Running in e3a09fe2edca 02:33:59 Removing intermediate container e3a09fe2edca 02:33:59 ---> 8bd20cce468e 02:33:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:59 ---> Running in 7cfa30386fb2 02:34:00 Removing intermediate container 7cfa30386fb2 02:34:00 ---> df33ae6a8a16 02:34:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:34:00 ---> Running in 1f5747b4acff 02:34:02 Removing intermediate container 1f5747b4acff 02:34:02 ---> 55070a8df813 02:34:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:34:02 ---> Running in 1b244dbb80b4 02:34:03 Removing intermediate container 1b244dbb80b4 02:34:03 ---> acfab898a60c 02:34:03 Step 7/12 : WORKDIR /device-gpio 02:34:04 ---> Running in b887a8468960 02:34:04 Removing intermediate container b887a8468960 02:34:04 ---> 151fc928f68c 02:34:04 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:04 ---> Running in 9bc5dd738711 02:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:34:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:34:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:34:06 (2/4) Installing libedit (20210910.3.1-r0) 02:34:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:34:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:34:06 Executing busybox-1.35.0-r17.trigger 02:34:06 OK: 216 MiB in 55 packages 02:34:08 Removing intermediate container 9bc5dd738711 02:34:08 ---> 178135368215 02:34:08 Step 9/12 : COPY go.mod vendor* ./ 02:34:08 ---> b2664ab4413e 02:34:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:09 ---> Running in 252a2a1eb550 02:35:05 Removing intermediate container 252a2a1eb550 02:35:05 ---> 44bad93f4c7c 02:35:05 Step 11/12 : COPY . . 02:35:05 ---> bafaa5517288 02:35:05 Step 12/12 : RUN ${MAKE} 02:35:05 ---> Running in 92569fdee7a2 02:35:05 noop 02:35:05 Removing intermediate container 92569fdee7a2 02:35:05 ---> cabb536f07a0 02:35:05 Successfully built cabb536f07a0 02:35:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:06 + docker inspect -f . ci-base-image-x86_64 02:35:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:06 prd-ubuntu20.04-docker-8c-8g-9235 does not seem to be running inside a container 02:35:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:35:06 $ docker top dc5fabeaee6db6556185738fb40c6a19276866fc8d71bc11c116b1c391800e7d -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:06 + go version 02:35:06 go version go1.18.7 linux/amd64 [Pipeline] } 02:35:07 $ docker stop --time=1 dc5fabeaee6db6556185738fb40c6a19276866fc8d71bc11c116b1c391800e7d 02:35:09 $ docker rm -f --volumes dc5fabeaee6db6556185738fb40c6a19276866fc8d71bc11c116b1c391800e7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:09 + docker inspect -f . ci-base-image-x86_64 02:35:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:09 prd-ubuntu20.04-docker-8c-8g-9235 does not seem to be running inside a container 02:35: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_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:35:11 $ docker top e7a710f10fceb423fa6ab72c098fd9e63106e9f9f17e662c494d50263a04c85f -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 02:35:11 + make test 02:35:11 go test ./... -coverprofile=coverage.out ./... 02:35:12 ? github.com/edgexfoundry/device-gpio [no test files] 02:35:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:35:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:35:28 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." 02:35:28 go vet ./... 02:35:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:32 ./bin/test-attribution-txt.sh 02:35:32 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:35:32 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:35:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:32 $ docker stop --time=1 e7a710f10fceb423fa6ab72c098fd9e63106e9f9f17e662c494d50263a04c85f 02:35:37 $ docker rm -f --volumes e7a710f10fceb423fa6ab72c098fd9e63106e9f9f17e662c494d50263a04c85f [Pipeline] // withDockerContainer [Pipeline] sh 02:35:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:35:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:38 + ls -al . 02:35:38 total 160 02:35:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:35 . 02:35:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 .. 02:35:38 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:32 .dockerignore 02:35:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:35 .git 02:35:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 .github 02:35:38 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:32 .gitignore 02:35:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:32 .golangci.yml 02:35:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:33 .semver 02:35:38 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:32 Attribution.txt 02:35:38 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:32 CHANGELOG.md 02:35:38 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:32 Dockerfile 02:35:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:32 GOVERNANCE.md 02:35:38 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:32 Jenkinsfile 02:35:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:32 LICENSE 02:35:38 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:32 Makefile 02:35:38 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:32 OWNERS.md 02:35:38 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:32 README.md 02:35:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:33 VERSION 02:35:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:32 bin 02:35:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 cmd 02:35:38 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:35 coverage.out 02:35:38 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 02:32 go.mod 02:35:38 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 9 02:32 go.sum 02:35:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 internal 02:35:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 snap 02:35:38 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:38 + 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=e8bd7db77c35eb38aec4d1e7db6b52b426840763 --label arch=amd64 --label version=0.0.0 . 02:35:38 Sending build context to Docker daemon 15.99MB 02:35:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:35:38 Step 2/25 : FROM ${BASE} AS builder 02:35:38 ---> cabb536f07a0 02:35:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:35:39 ---> Running in 0192fcae3d65 02:35:39 Removing intermediate container 0192fcae3d65 02:35:39 ---> 22a3537b58b1 02:35:39 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:39 ---> Running in fecf89e3d130 02:35:39 Removing intermediate container fecf89e3d130 02:35:39 ---> fe0ef3cc4567 02:35:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:35:39 ---> Running in 9cf82a717436 02:35:39 Removing intermediate container 9cf82a717436 02:35:39 ---> a5052bf9aa9b 02:35:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:35:39 ---> Running in f710e1574417 02:35:40 Removing intermediate container f710e1574417 02:35:40 ---> 14cfef4eda86 02:35:40 Step 7/25 : WORKDIR /device-gpio 02:35:40 ---> Running in d316d9ae84fa 02:35:40 Removing intermediate container d316d9ae84fa 02:35:40 ---> b838b9c6597c 02:35:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:40 ---> Running in d893ec6cc01c 02:35:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:35:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:35:41 OK: 216 MiB in 55 packages 02:35:41 Removing intermediate container d893ec6cc01c 02:35:41 ---> b22ba3f827ce 02:35:41 Step 9/25 : COPY go.mod vendor* ./ 02:35:41 ---> 47a47a4be5f8 02:35:41 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:41 ---> Running in 3bf026927cf7 02:35:43 Removing intermediate container 3bf026927cf7 02:35:43 ---> 1ef3faccd22b 02:35:43 Step 11/25 : COPY . . 02:35:43 ---> 4965f7c1d504 02:35:43 Step 12/25 : RUN ${MAKE} 02:35:43 ---> Running in 4f56421b4614 02:35:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:35:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9258 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 02:35:52 Running in /w/workspace/device-gpio/13 [Pipeline] { [Pipeline] checkout 02:35:52 The recommended git tool is: git 02:35:58 using credential edgex-jenkins-ssh 02:35:58 Cloning the remote Git repository 02:35:58 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:35:58 > git init /w/workspace/device-gpio/13 # timeout=10 02:35:58 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:35:58 > git --version # timeout=10 02:35:58 > git --version # 'git version 2.25.1' 02:35:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:36:00 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:36:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:36:02 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit e8bd7db77c35eb38aec4d1e7db6b52b426840763 02:36:01 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:36:01 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:36:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:36:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:36:02 > git config core.sparsecheckout # timeout=10 02:36:02 > git checkout -f e8bd7db77c35eb38aec4d1e7db6b52b426840763 # timeout=10 02:36:02 Merge succeeded, producing e8bd7db77c35eb38aec4d1e7db6b52b426840763 02:36:02 Checking out Revision e8bd7db77c35eb38aec4d1e7db6b52b426840763 (PR-71) 02:36:03 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:02 > git remote # timeout=10 02:36:02 > git config --get remote.origin.url # timeout=10 02:36:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:36:02 > git merge 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 02:36:02 > git rev-parse HEAD^{commit} # timeout=10 02:36:02 > git config core.sparsecheckout # timeout=10 02:36:02 > git checkout -f e8bd7db77c35eb38aec4d1e7db6b52b426840763 # timeout=10 02:36:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:36:04 % Total % Received % Xferd Average Speed Time Time Time Current 02:36:04 Dload Upload Total Spent Left Speed 02:36:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 02:36:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:36:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:36:05 + sudo tee /etc/docker/daemon.new 02:36:05 { 02:36:05 "registry-mirrors": [ 02:36:05 "https://nexus3.edgexfoundry.org:10001" 02:36:05 ], 02:36:05 "bip": "10.250.0.254/24", 02:36:05 "hosts": [ 02:36:05 "tcp://0.0.0.0:5555", 02:36:05 "unix:///var/run/docker.sock" 02:36:05 ], 02:36:05 "mtu": 1458, 02:36:05 "selinux-enabled": true, 02:36:05 "seccomp-profile": "/etc/docker/seccomp.json" 02:36:05 } [Pipeline] sh 02:36:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:36:05 + sudo service docker restart 02:36:11 Removing intermediate container 4f56421b4614 02:36:11 ---> b9dd4c713dba 02:36:11 Step 13/25 : FROM alpine:3.16 02:36:11 3.16: Pulling from library/alpine 02:36:11 ef5531b6e74e: Pulling fs layer 02:36:11 ef5531b6e74e: Download complete 02:36:11 ef5531b6e74e: Pull complete 02:36:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:36:11 Status: Downloaded newer image for alpine:3.16 02:36:11 ---> dfd21b5a31f5 02:36:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:36:11 ---> Running in 3b77c031fa5a 02:36:11 Removing intermediate container 3b77c031fa5a 02:36:11 ---> 1cbc400cdb13 02:36:11 Step 15/25 : RUN apk add --update --no-cache 02:36:11 ---> Running in 1cfc7d9516cd 02:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:36:11 OK: 6 MiB in 14 packages 02:36:11 Removing intermediate container 1cfc7d9516cd 02:36:11 ---> 2315a05bfb80 02:36:11 Step 16/25 : WORKDIR / 02:36:12 ---> Running in b4f049f30d94 02:36:13 Removing intermediate container b4f049f30d94 02:36:13 ---> 73b70c02f460 02:36:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:36:14 ---> 5a400e31d205 02:36:14 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:36:15 ---> 464b6cf199f0 02:36:15 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:36:17 ---> 32b496880c31 02:36:17 Step 20/25 : EXPOSE 59910 02:36:17 ---> Running in 207fa805d763 02:36:17 Removing intermediate container 207fa805d763 02:36:17 ---> 48804b005ac9 02:36:17 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:36:17 ---> Running in e171aec2fc15 02:36:17 Removing intermediate container e171aec2fc15 02:36:17 ---> 5f4f2e3da37b 02:36:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:36:17 ---> Running in 917def8adb0e 02:36:18 Removing intermediate container 917def8adb0e 02:36:18 ---> 3cb9fd76c205 02:36:18 Step 23/25 : LABEL arch=amd64 02:36:18 ---> Running in b02631fdcb42 02:36:18 Removing intermediate container b02631fdcb42 02:36:18 ---> 7a0ef857d6dc 02:36:18 Step 24/25 : LABEL git_sha=e8bd7db77c35eb38aec4d1e7db6b52b426840763 02:36:18 ---> Running in d73c7cd6648a 02:36:18 Removing intermediate container d73c7cd6648a 02:36:18 ---> c9369255dba5 02:36:18 Step 25/25 : LABEL version=0.0.0 02:36:18 ---> Running in 7fecb8678110 02:36:18 Removing intermediate container 7fecb8678110 02:36:18 ---> c8846978841b 02:36:18 [Warning] One or more build-args [ARCH] were not consumed 02:36:18 Successfully built c8846978841b 02:36:18 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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 02:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:19 02:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:19 latest: Pulling from edgex-lftools-log-publisher 02:36:19 5eb5b503b376: Pulling fs layer 02:36:19 5c69ac0246d0: Pulling fs layer 02:36:19 ec43610c2a17: Pulling fs layer 02:36:19 3a2ae6a8a46f: Pulling fs layer 02:36:19 33b1e0a273af: Pulling fs layer 02:36:19 5d3b04190fa2: Pulling fs layer 02:36:19 2f39f015ded8: Pulling fs layer 02:36:19 3a2ae6a8a46f: Waiting 02:36:19 33b1e0a273af: Waiting 02:36:19 5d3b04190fa2: Waiting 02:36:19 2f39f015ded8: Waiting 02:36:19 5c69ac0246d0: Verifying Checksum 02:36:19 5c69ac0246d0: Download complete 02:36:19 3a2ae6a8a46f: Verifying Checksum 02:36:19 3a2ae6a8a46f: Download complete 02:36:19 33b1e0a273af: Verifying Checksum 02:36:19 33b1e0a273af: Download complete 02:36:19 5d3b04190fa2: Verifying Checksum 02:36:19 5d3b04190fa2: Download complete 02:36:19 ec43610c2a17: Verifying Checksum 02:36:19 ec43610c2a17: Download complete 02:36:19 5eb5b503b376: Verifying Checksum 02:36:19 5eb5b503b376: Download complete 02:36:20 2f39f015ded8: Download complete 02:36:21 5eb5b503b376: Pull complete 02:36:21 5c69ac0246d0: Pull complete 02:36:21 ec43610c2a17: Pull complete 02:36:21 3a2ae6a8a46f: Pull complete 02:36:22 33b1e0a273af: Pull complete 02:36:22 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:36:24 provisioning config files... 02:36:24 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/13@tmp/config12743058954515944362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:24 ---> docker-login.sh 02:36:24 nexus3.edgexfoundry.org:10001 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10002 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10003 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10004 02:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:26 Configure a credential helper to remove this warning. See 02:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:26 02:36:26 Login Succeeded 02:36:26 docker.io 02:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:27 Configure a credential helper to remove this warning. See 02:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:27 02:36:27 Login Succeeded 02:36:27 ---> docker-login.sh ends [Pipeline] } 02:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:36:27 ========================================================= 02:36:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:36:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 02:36:27 2f39f015ded8: Pull complete 02:36:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:27 prd-ubuntu20.04-docker-8c-8g-9235 does not seem to be running inside a container 02:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:36:34 $ docker top 5325d2ceecb27441a59f8ce7b49eeb78d7b7f49d683af5c4ef1cfa39e49a866f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 02:36:35 + 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 . 02:36:35 ---> job-cost.sh 02:36:35 lf-activate-venv: SKIPPING 02:36:35 INFO: No Stack... 02:36:35 Sending build context to Docker daemon 8.072MB 02:36:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:36:35 Step 2/12 : FROM ${BASE} AS builder 02:36:35 INFO: Retrieving Pricing Info for: v3-standard-8 02:36:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:36:35 9b18e9b68314: Pulling fs layer 02:36:35 35d82f9e3411: Pulling fs layer 02:36:35 e16973657156: Pulling fs layer 02:36:35 fc693d55d65f: Pulling fs layer 02:36:35 7e9fc2657dce: Pulling fs layer 02:36:35 dda99020689f: Pulling fs layer 02:36:35 db1c61fa0a46: Pulling fs layer 02:36:35 891c053d2c06: Pulling fs layer 02:36:35 dda99020689f: Waiting 02:36:35 db1c61fa0a46: Waiting 02:36:35 891c053d2c06: Waiting 02:36:35 7e9fc2657dce: Waiting 02:36:35 e16973657156: Verifying Checksum 02:36:35 e16973657156: Download complete 02:36:35 35d82f9e3411: Verifying Checksum 02:36:35 35d82f9e3411: Download complete 02:36:35 7e9fc2657dce: Verifying Checksum 02:36:35 7e9fc2657dce: Download complete 02:36:35 dda99020689f: Verifying Checksum 02:36:35 dda99020689f: Download complete 02:36:35 9b18e9b68314: Download complete 02:36:36 INFO: Archiving Costs [Pipeline] sh 02:36:36 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 02:36:36 + cut -d, -f6 [Pipeline] lock 02:36:36 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] 02:36:36 Resource [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] did not exist. Created. 02:36:36 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:36 + echo total: 0.2199999988079071 [Pipeline] stash 02:36:36 Stashed 1 file(s) [Pipeline] } 02:36:36 9b18e9b68314: Pull complete 02:36:36 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:36 $ docker stop --time=1 5325d2ceecb27441a59f8ce7b49eeb78d7b7f49d683af5c4ef1cfa39e49a866f 02:36:37 891c053d2c06: Verifying Checksum 02:36:37 891c053d2c06: Download complete 02:36:37 35d82f9e3411: Pull complete 02:36:37 e16973657156: Pull complete 02:36:37 $ docker rm -f --volumes 5325d2ceecb27441a59f8ce7b49eeb78d7b7f49d683af5c4ef1cfa39e49a866f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:36:38 db1c61fa0a46: Verifying Checksum 02:36:38 db1c61fa0a46: Download complete 02:36:38 fc693d55d65f: Verifying Checksum 02:36:38 fc693d55d65f: Download complete 02:36:51 fc693d55d65f: Pull complete 02:36:51 7e9fc2657dce: Pull complete 02:36:51 dda99020689f: Pull complete 02:36:56 db1c61fa0a46: Pull complete 02:36:58 891c053d2c06: Pull complete 02:36:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:36:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:36:58 ---> f96f9c87975a 02:36:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:59 ---> Running in e0243d683105 02:37:00 Removing intermediate container e0243d683105 02:37:00 ---> f90aa51d7961 02:37:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:00 ---> Running in bc7efa51cc02 02:37:00 Removing intermediate container bc7efa51cc02 02:37:00 ---> 90ad46f7a388 02:37:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:37:00 ---> Running in 712bfbd2ddfd 02:37:01 Removing intermediate container 712bfbd2ddfd 02:37:01 ---> 67a7aca97882 02:37:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:37:01 ---> Running in b4a5a643a02b 02:37:01 Removing intermediate container b4a5a643a02b 02:37:01 ---> 76db8c9868b5 02:37:01 Step 7/12 : WORKDIR /device-gpio 02:37:01 ---> Running in 8a7888c0fd9b 02:37:01 Removing intermediate container 8a7888c0fd9b 02:37:01 ---> e499b605e1f8 02:37:01 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:01 ---> Running in 8c4e0f56923e 02:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:37:04 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:37:04 (2/4) Installing libedit (20210910.3.1-r0) 02:37:04 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:37:04 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:37:04 Executing busybox-1.35.0-r17.trigger 02:37:04 OK: 226 MiB in 55 packages 02:37:06 Removing intermediate container 8c4e0f56923e 02:37:06 ---> 46aa4bb60a6a 02:37:06 Step 9/12 : COPY go.mod vendor* ./ 02:37:06 ---> 17a80cb71a17 02:37:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:06 ---> Running in d8866cbb844d 02:38:28 Removing intermediate container d8866cbb844d 02:38:28 ---> e156bd553d10 02:38:28 Step 11/12 : COPY . . 02:38:28 ---> 52a618b5b826 02:38:28 Step 12/12 : RUN ${MAKE} 02:38:28 ---> Running in b75f455dee53 02:38:28 noop 02:38:28 Removing intermediate container b75f455dee53 02:38:28 ---> 551f3337c8d1 02:38:28 Successfully built 551f3337c8d1 02:38:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:28 + docker inspect -f . ci-base-image-arm64 02:38:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:28 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 02:38:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:30 $ docker top 4345dba18eee8ff6a64e7ca1644a3c589a8a741bb683156c604e78684d41252b -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:31 + go version 02:38:31 go version go1.18.7 linux/arm64 [Pipeline] } 02:38:31 $ docker stop --time=1 4345dba18eee8ff6a64e7ca1644a3c589a8a741bb683156c604e78684d41252b 02:38:32 $ docker rm -f --volumes 4345dba18eee8ff6a64e7ca1644a3c589a8a741bb683156c604e78684d41252b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:33 + docker inspect -f . ci-base-image-arm64 02:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:33 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 02:38:33 $ 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/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:35 $ docker top 176b10970257be5668311559527d1c64f76a43a3e3b5c14402e44792f8a128a7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:35 + git config --global --add safe.directory /w/workspace/device-gpio/13 [Pipeline] fileExists [Pipeline] sh 02:38:36 + make test 02:38:36 go test ./... -coverprofile=coverage.out ./... 02:38:40 ? github.com/edgexfoundry/device-gpio [no test files] 02:40:16 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:40:16 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:40:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:40:16 go vet ./... 02:40:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:40:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:40:38 ./bin/test-attribution-txt.sh 02:40:38 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:40:38 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:40:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:40:39 $ docker stop --time=1 176b10970257be5668311559527d1c64f76a43a3e3b5c14402e44792f8a128a7 02:40:41 $ docker rm -f --volumes 176b10970257be5668311559527d1c64f76a43a3e3b5c14402e44792f8a128a7 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:40:42 Warning: overwriting stash ‘coverage-report’ 02:40:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:43 + ls -al . 02:40:43 total 156 02:40:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:38 . 02:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:35 .. 02:40:43 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:36 .dockerignore 02:40:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:36 .git 02:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:36 .github 02:40:43 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:36 .gitignore 02:40:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:36 .golangci.yml 02:40:43 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:36 Attribution.txt 02:40:43 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:36 CHANGELOG.md 02:40:43 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:36 Dockerfile 02:40:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:36 GOVERNANCE.md 02:40:43 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:36 Jenkinsfile 02:40:43 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:36 LICENSE 02:40:43 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:36 Makefile 02:40:43 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:36 OWNERS.md 02:40:43 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:36 README.md 02:40:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:33 VERSION 02:40:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:36 bin 02:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:36 cmd 02:40:43 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:38 coverage.out 02:40:43 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 02:36 go.mod 02:40:43 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 9 02:36 go.sum 02:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:36 internal 02:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:36 snap 02:40:43 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:43 + 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=e8bd7db77c35eb38aec4d1e7db6b52b426840763 --label arch=arm64 --label version=0.0.0 . 02:40:44 Sending build context to Docker daemon 8.073MB 02:40:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:40:44 Step 2/25 : FROM ${BASE} AS builder 02:40:44 ---> 551f3337c8d1 02:40:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:40:44 ---> Running in 365e19a5a030 02:40:45 Removing intermediate container 365e19a5a030 02:40:45 ---> 8648bdb597db 02:40:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:45 ---> Running in 6e09317a72a1 02:40:45 Removing intermediate container 6e09317a72a1 02:40:45 ---> 527f7f526b6f 02:40:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:40:45 ---> Running in 779e15f98651 02:40:45 Removing intermediate container 779e15f98651 02:40:45 ---> ac3468ae4969 02:40:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:40:46 ---> Running in f7206536a4b9 02:40:46 Removing intermediate container f7206536a4b9 02:40:46 ---> 22f69d6917d8 02:40:46 Step 7/25 : WORKDIR /device-gpio 02:40:46 ---> Running in a2dbbe2c8070 02:40:47 Removing intermediate container a2dbbe2c8070 02:40:47 ---> 2f123146f454 02:40:47 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:47 ---> Running in c185ff1cd68c 02:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:40:49 OK: 226 MiB in 55 packages 02:40:53 Removing intermediate container c185ff1cd68c 02:40:53 ---> f2400a794a66 02:40:53 Step 9/25 : COPY go.mod vendor* ./ 02:40:53 ---> 06548095cd90 02:40:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:53 ---> Running in c5c428e2d7af 02:40:56 Removing intermediate container c5c428e2d7af 02:40:56 ---> 97b1e2d3f8bb 02:40:56 Step 11/25 : COPY . . 02:40:58 ---> 28b2c6f8c3f3 02:40:58 Step 12/25 : RUN ${MAKE} 02:40:58 ---> Running in 9c71003c6d0f 02:40:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:43:22 Removing intermediate container 9c71003c6d0f 02:43:22 ---> 1d9c5b5c7686 02:43:22 Step 13/25 : FROM alpine:3.16 02:43:22 3.16: Pulling from library/alpine 02:43:22 3760b48202b3: Pulling fs layer 02:43:22 3760b48202b3: Verifying Checksum 02:43:22 3760b48202b3: Download complete 02:43:22 3760b48202b3: Pull complete 02:43:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:43:22 Status: Downloaded newer image for alpine:3.16 02:43:22 ---> 4c81e5bf8899 02:43:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:43:22 ---> Running in 6bbe64a2ff8f 02:43:22 Removing intermediate container 6bbe64a2ff8f 02:43:22 ---> e4c28cc68d07 02:43:22 Step 15/25 : RUN apk add --update --no-cache 02:43:22 ---> Running in 05934ae1a88b 02:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:43:22 OK: 5 MiB in 14 packages 02:43:22 Removing intermediate container 05934ae1a88b 02:43:22 ---> 61b320d995e0 02:43:22 Step 16/25 : WORKDIR / 02:43:22 ---> Running in a306c7bfc5a5 02:43:23 Removing intermediate container a306c7bfc5a5 02:43:23 ---> 7d0a16713d85 02:43:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:43:23 ---> ac9897dce886 02:43:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:43:25 ---> faf2f85ef651 02:43:25 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:43:27 ---> 7f242b21ccd9 02:43:27 Step 20/25 : EXPOSE 59910 02:43:27 ---> Running in f80a9c100309 02:43:27 Removing intermediate container f80a9c100309 02:43:27 ---> eb842a65e708 02:43:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:43:27 ---> Running in 7087e075f95d 02:43:27 Removing intermediate container 7087e075f95d 02:43:27 ---> 746502be9341 02:43:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:43:27 ---> Running in 7c536fa36bf3 02:43:28 Removing intermediate container 7c536fa36bf3 02:43:28 ---> 058d7cf94b59 02:43:28 Step 23/25 : LABEL arch=arm64 02:43:28 ---> Running in 51afb2003450 02:43:28 Removing intermediate container 51afb2003450 02:43:28 ---> c15d1a1cf655 02:43:28 Step 24/25 : LABEL git_sha=e8bd7db77c35eb38aec4d1e7db6b52b426840763 02:43:28 ---> Running in cc3b22ef8c3b 02:43:29 Removing intermediate container cc3b22ef8c3b 02:43:29 ---> dc43c0a12955 02:43:29 Step 25/25 : LABEL version=0.0.0 02:43:29 ---> Running in 8bebeed1ef9b 02:43:29 Removing intermediate container 8bebeed1ef9b 02:43:29 ---> 3cc7cbd132ed 02:43:29 [Warning] One or more build-args [ARCH] were not consumed 02:43:29 Successfully built 3cc7cbd132ed 02:43:29 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:30 02:43:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:30 arm64: Pulling from edgex-lftools-log-publisher 02:43:30 8998bd30e6a1: Pulling fs layer 02:43:30 04944245beec: Pulling fs layer 02:43:30 699f458cf7ca: Pulling fs layer 02:43:30 765212b225bb: Pulling fs layer 02:43:30 f23df028b6ca: Pulling fs layer 02:43:30 d65c8cfc05b1: Pulling fs layer 02:43:30 2437ff75d9bd: Pulling fs layer 02:43:30 f23df028b6ca: Waiting 02:43:30 d65c8cfc05b1: Waiting 02:43:30 765212b225bb: Waiting 02:43:30 2437ff75d9bd: Waiting 02:43:30 04944245beec: Verifying Checksum 02:43:30 04944245beec: Download complete 02:43:30 765212b225bb: Verifying Checksum 02:43:30 765212b225bb: Download complete 02:43:30 f23df028b6ca: Verifying Checksum 02:43:30 f23df028b6ca: Download complete 02:43:30 d65c8cfc05b1: Verifying Checksum 02:43:30 d65c8cfc05b1: Download complete 02:43:30 699f458cf7ca: Download complete 02:43:31 8998bd30e6a1: Verifying Checksum 02:43:31 8998bd30e6a1: Download complete 02:43:33 2437ff75d9bd: Verifying Checksum 02:43:33 2437ff75d9bd: Download complete 02:43:35 8998bd30e6a1: Pull complete 02:43:36 04944245beec: Pull complete 02:43:37 699f458cf7ca: Pull complete 02:43:37 765212b225bb: Pull complete 02:43:38 f23df028b6ca: Pull complete 02:43:38 d65c8cfc05b1: Pull complete 02:43:53 2437ff75d9bd: Pull complete 02:43:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:53 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 02:43:53 $ 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/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:43:56 $ docker top 7b6908a83a64a3be0cda243c3cf0bb39e662277751f41dca5663d55b7cb35dd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:57 ---> job-cost.sh 02:43:57 lf-activate-venv: SKIPPING 02:43:57 INFO: No Stack... 02:43:57 INFO: Retrieving Pricing Info for: v3-standard-4 02:43:58 INFO: Archiving Costs [Pipeline] sh 02:43:59 + cat+ cut -d, -f6 02:43:59 /w/workspace/device-gpio/13/archives/cost.csv [Pipeline] lock 02:43:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] 02:43:59 Resource [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] did not exist. Created. 02:43:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:43:59 /w/workspace/device-gpio/13@tmp/durable-1466b7d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:44:00 + echo total: 0.10999999940395355 [Pipeline] stash 02:44:00 Warning: overwriting stash ‘stack-cost’ 02:44:00 Stashed 1 file(s) [Pipeline] } 02:44:00 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-13-stack-cost] [Pipeline] // lock [Pipeline] } 02:44:00 $ docker stop --time=1 7b6908a83a64a3be0cda243c3cf0bb39e662277751f41dca5663d55b7cb35dd4 02:44:02 $ docker rm -f --volumes 7b6908a83a64a3be0cda243c3cf0bb39e662277751f41dca5663d55b7cb35dd4 [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 02:44:02 provisioning config files... 02:44:02 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config3297379140871781327tmp [Pipeline] { [Pipeline] sh 02:44:02 + set +x 02:44:02 + curl -s https://codecov.io/bash 02:44:02 + bash -s -- 02:44:02 02:44:02 _____ _ 02:44:02 / ____| | | 02:44:02 | | ___ __| | ___ ___ _____ __ 02:44:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:44:02 | |___| (_) | (_| | __/ (_| (_) \ V / 02:44:02 \_____\___/ \__,_|\___|\___\___/ \_/ 02:44:02 Bash-1.0.6 02:44:02 02:44:02 02:44:02 ==> git version 2.25.1 found 02:44:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:44:02 Release-Date: 2020-01-08 02:44:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:44:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:44:02 ==> Jenkins CI detected. 02:44:02 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 02:44:02 project root: . 02:44:02 --> token set from env 02:44:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:44:02 ==> Running gcov in . (disable via -X gcov) 02:44:02 ==> Python coveragepy not found 02:44:02 ==> Searching for coverage reports in: 02:44:02 + . 02:44:02 -> Found 1 reports 02:44:02 ==> Detecting git/mercurial file structure 02:44:02 ==> Reading reports 02:44:02 + ./coverage.out bytes=10 02:44:02 ==> Appending adjustments 02:44:02 https://docs.codecov.io/docs/fixing-reports 02:44:02 + Found adjustments 02:44:02 ==> Gzipping contents 02:44:02 4.0K /tmp/codecov.k7Qk3Z.gz 02:44:02 ==> Uploading reports 02:44:02 url: https://codecov.io 02:44:02 query: branch=PR-71&commit=e8bd7db77c35eb38aec4d1e7db6b52b426840763&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 02:44:02 -> Pinging Codecov 02:44:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=e8bd7db77c35eb38aec4d1e7db6b52b426840763&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 02:44:02 -> Uploading to 02:44:02 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/e8bd7db77c35eb38aec4d1e7db6b52b426840763/2116ff9c-0ee5-4658-a1ec-8cfb8ea2ef39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T024402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7951f18577bdd647c56f930d47b05d7eb05eafb930ba477c85cbeea7040d1542 02:44:02 % Total % Received % Xferd Average Speed Time Time Time Current 02:44:02 Dload Upload Total Spent Left Speed 02:44:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 3655 --:--:-- --:--:-- --:--:-- 3637 100 742 0 0 100 742 0 2532 --:--:-- --:--:-- --:--:-- 2532 02:44:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/e8bd7db77c35eb38aec4d1e7db6b52b426840763 [Pipeline] } 02:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 02:44:04 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 02:44:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 02:44:04 total 16 02:44:04 drwxr-xr-x 3 root root 4096 Mar 9 02:36 . 02:44:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:36 .. 02:44:04 drwxr-xr-x 2 root root 4096 Mar 9 02:36 cost 02:44:04 -rw-r--r-- 1 root root 83 Mar 9 02:36 cost.csv 02:44:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 02:44:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 02:44:04 total 16 02:44:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:36 . 02:44:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:36 .. 02:44:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:36 cost 02:44:04 -rw-r--r-- 1 jenkins jenkins 83 Mar 9 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:44:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:44:05 ---> package-listing.sh 02:44:05 ++ facter osfamily 02:44:05 ++ tr '[:upper:]' '[:lower:]' 02:44:05 + OS_FAMILY=debian 02:44:05 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 02:44:05 + START_PACKAGES=/tmp/packages_start.txt 02:44:05 + END_PACKAGES=/tmp/packages_end.txt 02:44:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:44:05 + PACKAGES=/tmp/packages_start.txt 02:44:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 02:44:05 + PACKAGES=/tmp/packages_end.txt 02:44:05 + case "${OS_FAMILY}" in 02:44:05 + dpkg -l 02:44:05 + grep '^ii' 02:44:05 + '[' -f /tmp/packages_start.txt ']' 02:44:05 + '[' -f /tmp/packages_end.txt ']' 02:44:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:44:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 02:44:05 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 02:44:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 02:44:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:44:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:06 prd-ubuntu20.04-docker-8c-8g-9235 does not seem to be running inside a container 02:44:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:44:06 $ docker top 881a7012afd18865c38c55b181f82869d57f5e78a8686b4ecc4f4846b45d21d5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:07 + touch /tmp/pre-build-complete [Pipeline] sh 02:44:07 + mkdir -p /var/log/sysstat [Pipeline] sh 02:44:07 + ls /var/log/sa-host 02:44:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:07 provisioning config files... 02:44:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config7235701692235949241tmp [Pipeline] { [Pipeline] echo 02:44:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:44:08 ---> create-netrc.sh [Pipeline] } 02:44:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:44:08 ---> python-tools-install.sh [Pipeline] echo 02:44:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:44:08 ---> sudo-logs.sh 02:44:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:44:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:44:08 ---> job-cost.sh 02:44:08 lf-activate-venv: SKIPPING 02:44:08 DEBUG: total: 0.2199999988079071 02:44:08 INFO: Retrieving Stack Cost... 02:44:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:44:09 INFO: Archiving Costs [Pipeline] echo 02:44:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:44:10 ---> logs-deploy.sh 02:44:10 lf-activate-venv: SKIPPING 02:44:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/13 02:44:10 INFO: archiving workspace using pattern(s): 02:44:11 Archives upload complete. 02:44:11 INFO: archiving logs to Nexus