Pull request #64 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-gpio Loading trusted files from base branch main at b99ee17479275846ebb326ecdfd2e35febb27ada rather than ac8fd53f425014fb181e3c5b50d1e6e50784dc7d Obtained Jenkinsfile from b99ee17479275846ebb326ecdfd2e35febb27ada 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-ssh11093851148856756815.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5876092333652464265.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-64/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-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2032990597904669154.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh7454903033312900184.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/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-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8312591860180060105.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117261 in /w/workspace/edgexfoundry_device-gpio_PR-64 [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-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit ac8fd53f425014fb181e3c5b50d1e6e50784dc7d Merge succeeded, producing ac8fd53f425014fb181e3c5b50d1e6e50784dc7d Checking out Revision ac8fd53f425014fb181e3c5b50d1e6e50784dc7d (PR-64) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac8fd53f425014fb181e3c5b50d1e6e50784dc7d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac8fd53f425014fb181e3c5b50d1e6e50784dc7d # timeout=10 Commit message: "fix comments, order" > git rev-list --no-walk ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:36:23.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:36:23.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:36:23.276Z] ========================================================= [2022-10-26T19:36:23.276Z] EdgeX Global Pipelines Version Info [2022-10-26T19:36:23.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:24.009Z] ------------------- [2022-10-26T19:36:24.009Z] stable info: [2022-10-26T19:36:24.009Z] ------------------- [2022-10-26T19:36:24.009Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:36:24.009Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:24.009Z] Message: update stable to v1.0.243 [2022-10-26T19:36:24.597Z] ------------------- [2022-10-26T19:36:24.597Z] experimental info: [2022-10-26T19:36:24.597Z] ------------------- [2022-10-26T19:36:24.597Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:36:24.597Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:24.597Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:36:24.976Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-26T19:36:24.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-26T19:36:25.000Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:36:25.019Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:36:25.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:36:25.049Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:36:25.066Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:36:25.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:36:25.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:36:25.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:36:25.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:36:25.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-26T19:36:25.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:36:25.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:36:25.176Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:25.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:25.207Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:25.221Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:25.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:36:25.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:36:25.308Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:36:25.321Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:36:25.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:36:25.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:36:25.364Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:36:25.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:36:25.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:36:25.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-10-26T19:36:25.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-10-26T19:36:25.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-10-26T19:36:25.459Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [Pipeline] echo [2022-10-26T19:36:25.473Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac8fd53 [Pipeline] echo [2022-10-26T19:36:25.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:36:25.525Z] provisioning config files... [2022-10-26T19:36:25.566Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config16108825376485983522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:25.933Z] ---> docker-login.sh [2022-10-26T19:36:25.933Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:26.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:26.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:26.197Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:26.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:26.197Z] [2022-10-26T19:36:26.197Z] Login Succeeded [2022-10-26T19:36:26.197Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:26.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:26.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:26.197Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:26.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:26.197Z] [2022-10-26T19:36:26.197Z] Login Succeeded [2022-10-26T19:36:26.197Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:26.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:26.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:26.456Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:26.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:26.456Z] [2022-10-26T19:36:26.456Z] Login Succeeded [2022-10-26T19:36:26.456Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:26.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:26.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:26.456Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:26.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:26.456Z] [2022-10-26T19:36:26.456Z] Login Succeeded [2022-10-26T19:36:26.456Z] docker.io [2022-10-26T19:36:26.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:26.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:26.976Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:26.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:26.976Z] [2022-10-26T19:36:26.976Z] Login Succeeded [2022-10-26T19:36:26.976Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:26.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:36:27.335Z] + git rev-list -1 --merges ac8fd53f425014fb181e3c5b50d1e6e50784dc7d~1..ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [Pipeline] echo [2022-10-26T19:36:27.368Z] -----------> git rev-list -1 --merges ac8fd53f425014fb181e3c5b50d1e6e50784dc7d~1..ac8fd53f425014fb181e3c5b50d1e6e50784dc7d ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [false] [Pipeline] sh [2022-10-26T19:36:27.656Z] + git log --format=format:%s -1 ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [Pipeline] echo [2022-10-26T19:36:27.670Z] ========================================================= [2022-10-26T19:36:27.670Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:36:27.670Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:36:28.007Z] + git log --format=format:%s -1 ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [Pipeline] echo [2022-10-26T19:36:28.018Z] [semverPrep] GIT_COMMIT: ac8fd53f425014fb181e3c5b50d1e6e50784dc7d, Commit Message: fix comments, order [Pipeline] echo [2022-10-26T19:36:28.027Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:36:28.373Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:36:28.374Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:36:28.374Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:36:28.374Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:36:28.374Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:36:28.374Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:36:28.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:28.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:28.745Z] [2022-10-26T19:36:28.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:29.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:29.055Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:36:29.055Z] b85a868b505f: Pulling fs layer [2022-10-26T19:36:29.055Z] e2be974225ed: Pulling fs layer [2022-10-26T19:36:29.055Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:36:29.055Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:36:29.055Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:36:29.055Z] eaf3925da568: Pulling fs layer [2022-10-26T19:36:29.055Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:36:29.055Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:36:29.055Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:36:29.055Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:36:29.055Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:36:29.055Z] 988bab9f4d93: Waiting [2022-10-26T19:36:29.055Z] 1469e6f7b9e6: Waiting [2022-10-26T19:36:29.055Z] bab4dde63d76: Waiting [2022-10-26T19:36:29.055Z] b352a97aabf1: Waiting [2022-10-26T19:36:29.055Z] 4872d77fe225: Waiting [2022-10-26T19:36:29.055Z] 5851b861e8e6: Waiting [2022-10-26T19:36:29.055Z] eaf3925da568: Waiting [2022-10-26T19:36:29.055Z] bde34c3a00c8: Waiting [2022-10-26T19:36:29.055Z] e2be974225ed: Verifying Checksum [2022-10-26T19:36:29.055Z] e2be974225ed: Download complete [2022-10-26T19:36:29.055Z] 988bab9f4d93: Download complete [2022-10-26T19:36:29.315Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:36:29.315Z] 1469e6f7b9e6: Download complete [2022-10-26T19:36:29.315Z] eaf3925da568: Verifying Checksum [2022-10-26T19:36:29.315Z] eaf3925da568: Download complete [2022-10-26T19:36:29.315Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:36:29.315Z] 339a4e72a1f5: Download complete [2022-10-26T19:36:29.315Z] bde34c3a00c8: Verifying Checksum [2022-10-26T19:36:29.315Z] bde34c3a00c8: Download complete [2022-10-26T19:36:29.315Z] b352a97aabf1: Verifying Checksum [2022-10-26T19:36:29.315Z] b352a97aabf1: Download complete [2022-10-26T19:36:29.315Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:36:29.315Z] 4872d77fe225: Download complete [2022-10-26T19:36:29.315Z] b85a868b505f: Verifying Checksum [2022-10-26T19:36:29.315Z] b85a868b505f: Download complete [2022-10-26T19:36:29.315Z] 5851b861e8e6: Verifying Checksum [2022-10-26T19:36:29.315Z] 5851b861e8e6: Download complete [2022-10-26T19:36:29.885Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:36:29.885Z] bab4dde63d76: Download complete [2022-10-26T19:36:30.823Z] b85a868b505f: Pull complete [2022-10-26T19:36:31.084Z] e2be974225ed: Pull complete [2022-10-26T19:36:31.656Z] 339a4e72a1f5: Pull complete [2022-10-26T19:36:31.656Z] 988bab9f4d93: Pull complete [2022-10-26T19:36:32.000Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:36:32.258Z] eaf3925da568: Pull complete [2022-10-26T19:36:34.180Z] bab4dde63d76: Pull complete [2022-10-26T19:36:34.180Z] bde34c3a00c8: Pull complete [2022-10-26T19:36:34.180Z] b352a97aabf1: Pull complete [2022-10-26T19:36:34.457Z] 4872d77fe225: Pull complete [2022-10-26T19:36:34.457Z] 5851b861e8e6: Pull complete [2022-10-26T19:36:34.457Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:36:34.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:34.457Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:36:34.743Z] prd-ubuntu20.04-docker-8c-8g-117261 does not seem to be running inside a container [2022-10-26T19:36:34.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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-devops/py-git-semver:0.1.4 cat [2022-10-26T19:36:36.240Z] $ docker top d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 -eo pid,comm [2022-10-26T19:36:36.294Z] 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). [2022-10-26T19:36:36.294Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:36:36.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:36.324Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:36.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:36.448Z] $ docker exec d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 ssh-agent [2022-10-26T19:36:36.558Z] SSH_AUTH_SOCK=/tmp/ssh-QH9guWLnng9l/agent.31 [2022-10-26T19:36:36.558Z] SSH_AGENT_PID=37 [2022-10-26T19:36:36.564Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:36.684Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_7889287896416574683.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_7889287896416574683.key) [2022-10-26T19:36:36.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:36.981Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:36:36.994Z] $ docker exec --env ******** --env ******** d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 ssh-agent -k [2022-10-26T19:36:37.082Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:37.083Z] unset SSH_AGENT_PID; [2022-10-26T19:36:37.083Z] echo Agent pid 37 killed; [2022-10-26T19:36:37.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:36:37.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:37.113Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:37.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:37.231Z] $ docker exec d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 ssh-agent [2022-10-26T19:36:37.355Z] SSH_AUTH_SOCK=/tmp/ssh-ACSAirqIo3FG/agent.69 [2022-10-26T19:36:37.355Z] SSH_AGENT_PID=75 [2022-10-26T19:36:37.360Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:37.475Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_4409742833319852841.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_4409742833319852841.key) [2022-10-26T19:36:37.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:37.767Z] + git semver init [2022-10-26T19:36:38.025Z] 2022-10-26 19:36:37,986 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:36:38.025Z] 2022-10-26 19:36:37,986 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver [2022-10-26T19:36:38.025Z] 2022-10-26 19:36:37,987 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-64/.semver [2022-10-26T19:36:38.025Z] 2022-10-26 19:36:37,987 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-64/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,092 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.git/info/exclude [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 with force:False [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,093 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,097 [execute] INFO git cat-file --batch-check [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,103 [execute] INFO git cat-file --batch [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:39.410Z] 2022-10-26 19:36:39,108 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 [2022-10-26T19:36:39.410Z] 0.0.0 [Pipeline] } [2022-10-26T19:36:39.426Z] $ docker exec --env ******** --env ******** d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 ssh-agent -k [2022-10-26T19:36:39.539Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:39.541Z] unset SSH_AGENT_PID; [2022-10-26T19:36:39.544Z] echo Agent pid 75 killed; [2022-10-26T19:36:39.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:36:39.877Z] + git semver [Pipeline] } [2022-10-26T19:36:40.214Z] $ docker stop --time=1 d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 [2022-10-26T19:36:41.558Z] $ docker rm -f d50ed37a9f8302ce498029b6a5458325f0a2eb6efda69ad7b7b01574a0b7f7e8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:36:41.916Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:36:42.121Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:36:42.122Z] [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 [2022-10-26T19:36:42.260Z] provisioning config files... [2022-10-26T19:36:42.272Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config16507509748044167790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:42.571Z] ---> docker-login.sh [2022-10-26T19:36:42.571Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:42.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:42.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:42.571Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:42.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:42.571Z] [2022-10-26T19:36:42.571Z] Login Succeeded [2022-10-26T19:36:42.571Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:42.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:42.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:42.571Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:42.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:42.571Z] [2022-10-26T19:36:42.571Z] Login Succeeded [2022-10-26T19:36:42.571Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:42.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:42.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:42.829Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:42.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:42.829Z] [2022-10-26T19:36:42.829Z] Login Succeeded [2022-10-26T19:36:42.829Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:42.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:42.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:42.829Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:42.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:42.829Z] [2022-10-26T19:36:42.829Z] Login Succeeded [2022-10-26T19:36:42.829Z] docker.io [2022-10-26T19:36:43.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:43.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:43.348Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:43.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:43.348Z] [2022-10-26T19:36:43.348Z] Login Succeeded [2022-10-26T19:36:43.348Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:43.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:36:43.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:43.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:43.440Z] ========================================================= [2022-10-26T19:36:43.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:36:43.440Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:43.767Z] + 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 . [2022-10-26T19:36:43.767Z] Sending build context to Docker daemon 15.95MB [2022-10-26T19:36:43.767Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:36:43.767Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:36:44.028Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:36:44.029Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:36:44.029Z] 4583459ba037: Pulling fs layer [2022-10-26T19:36:44.029Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:36:44.029Z] 53926ce57604: Pulling fs layer [2022-10-26T19:36:44.029Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:36:44.029Z] 30f14e443154: Pulling fs layer [2022-10-26T19:36:44.029Z] 801331c1e519: Pulling fs layer [2022-10-26T19:36:44.029Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:36:44.029Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:36:44.029Z] 53926ce57604: Waiting [2022-10-26T19:36:44.029Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:36:44.029Z] 30f14e443154: Waiting [2022-10-26T19:36:44.029Z] 801331c1e519: Waiting [2022-10-26T19:36:44.029Z] 99cc6dd402b0: Waiting [2022-10-26T19:36:44.029Z] 7d9ed39f4882: Waiting [2022-10-26T19:36:44.029Z] 93c1e223e6f2: Download complete [2022-10-26T19:36:44.029Z] 4583459ba037: Verifying Checksum [2022-10-26T19:36:44.029Z] 4583459ba037: Download complete [2022-10-26T19:36:44.029Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T19:36:44.029Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:36:44.029Z] 30f14e443154: Verifying Checksum [2022-10-26T19:36:44.029Z] 30f14e443154: Download complete [2022-10-26T19:36:44.029Z] 213ec9aee27d: Download complete [2022-10-26T19:36:44.029Z] 801331c1e519: Verifying Checksum [2022-10-26T19:36:44.029Z] 801331c1e519: Download complete [2022-10-26T19:36:44.029Z] 213ec9aee27d: Pull complete [2022-10-26T19:36:44.302Z] 4583459ba037: Pull complete [2022-10-26T19:36:44.302Z] 93c1e223e6f2: Pull complete [2022-10-26T19:36:44.583Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:36:44.583Z] 7d9ed39f4882: Download complete [2022-10-26T19:36:44.848Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:36:44.848Z] 99cc6dd402b0: Download complete [2022-10-26T19:36:45.107Z] 53926ce57604: Verifying Checksum [2022-10-26T19:36:45.107Z] 53926ce57604: Download complete [2022-10-26T19:36:49.334Z] 53926ce57604: Pull complete [2022-10-26T19:36:49.334Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:36:49.334Z] 30f14e443154: Pull complete [2022-10-26T19:36:49.334Z] 801331c1e519: Pull complete [2022-10-26T19:36:51.273Z] 99cc6dd402b0: Pull complete [2022-10-26T19:36:51.855Z] 7d9ed39f4882: Pull complete [2022-10-26T19:36:51.855Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:36:52.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:36:52.113Z] ---> 1dedd983c030 [2022-10-26T19:36:52.113Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:36:54.032Z] ---> Running in 6fed787792df [2022-10-26T19:36:54.295Z] Removing intermediate container 6fed787792df [2022-10-26T19:36:54.295Z] ---> 07a251053377 [2022-10-26T19:36:54.295Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:36:54.295Z] ---> Running in fd9c57467ffd [2022-10-26T19:36:54.295Z] Removing intermediate container fd9c57467ffd [2022-10-26T19:36:54.295Z] ---> e576f23d0e13 [2022-10-26T19:36:54.295Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:36:54.555Z] ---> Running in 40aa2d074e9d [2022-10-26T19:36:54.555Z] Removing intermediate container 40aa2d074e9d [2022-10-26T19:36:54.555Z] ---> 6ebccac3246d [2022-10-26T19:36:54.555Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:36:54.555Z] ---> Running in 6231229607fa [2022-10-26T19:36:54.555Z] Removing intermediate container 6231229607fa [2022-10-26T19:36:54.555Z] ---> f3c7eef01b9c [2022-10-26T19:36:54.555Z] Step 7/12 : WORKDIR /device-gpio [2022-10-26T19:36:54.815Z] ---> Running in 4a0e41379616 [2022-10-26T19:36:54.815Z] Removing intermediate container 4a0e41379616 [2022-10-26T19:36:54.815Z] ---> 829aca9d3534 [2022-10-26T19:36:54.815Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:36:54.815Z] ---> Running in 11525345e96e [2022-10-26T19:36:55.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:55.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:55.906Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:36:55.906Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:36:55.906Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:36:55.906Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:36:55.906Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:36:55.906Z] OK: 216 MiB in 55 packages [2022-10-26T19:36:56.476Z] Removing intermediate container 11525345e96e [2022-10-26T19:36:56.476Z] ---> 96ea005acc88 [2022-10-26T19:36:56.476Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:36:56.736Z] ---> 9147d0360959 [2022-10-26T19:36:56.736Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:36:56.736Z] ---> Running in 88849e85ac31 [2022-10-26T19:36:57.215Z] Still waiting to schedule task [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-8c-8g-117268’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-8c-8g-117269’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-8c-8g-117270’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-8c-8g-117272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117262’ is offline [2022-10-26T19:36:57.215Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117263’ is offline [2022-10-26T19:36:57.216Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117264’ is offline [2022-10-26T19:36:57.216Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117265’ is offline [2022-10-26T19:36:57.216Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117266’ is offline [2022-10-26T19:36:57.216Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117267’ is offline [2022-10-26T19:37:18.765Z] Removing intermediate container 88849e85ac31 [2022-10-26T19:37:18.765Z] ---> 0b6ad4bd8de2 [2022-10-26T19:37:18.765Z] Step 11/12 : COPY . . [2022-10-26T19:37:18.765Z] ---> 7e63ea990eb0 [2022-10-26T19:37:18.765Z] Step 12/12 : RUN ${MAKE} [2022-10-26T19:37:18.765Z] ---> Running in dd5beeaec2fd [2022-10-26T19:37:18.765Z] noop [2022-10-26T19:37:18.765Z] Removing intermediate container dd5beeaec2fd [2022-10-26T19:37:18.765Z] ---> 7d8ced8922f2 [2022-10-26T19:37:18.765Z] Successfully built 7d8ced8922f2 [2022-10-26T19:37:18.765Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:19.070Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:19.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:19.138Z] prd-ubuntu20.04-docker-8c-8g-117261 does not seem to be running inside a container [2022-10-26T19:37:19.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:19.823Z] $ docker top a33b5d9b4b3653ea388459c67599973b31c7759453f7a0ab7da546c12bc90552 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:20.163Z] + go version [2022-10-26T19:37:20.163Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:37:20.176Z] $ docker stop --time=1 a33b5d9b4b3653ea388459c67599973b31c7759453f7a0ab7da546c12bc90552 [2022-10-26T19:37:21.518Z] $ docker rm -f a33b5d9b4b3653ea388459c67599973b31c7759453f7a0ab7da546c12bc90552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:21.917Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:21.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:21.980Z] prd-ubuntu20.04-docker-8c-8g-117261 does not seem to be running inside a container [2022-10-26T19:37:22.013Z] $ 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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:22.336Z] $ docker top 5d93ca1165403caa8c5bbdd4cad69afb6267f14e67b3e4476f5254b19a0a2597 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:22.679Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:37:22.973Z] + make test [2022-10-26T19:37:22.973Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:37:23.230Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-26T19:37:33.196Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-26T19:37:33.196Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-26T19:37:38.460Z] 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." [2022-10-26T19:37:38.460Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:37:41.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:37:41.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:37:41.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:37:41.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:37:41.769Z] $ docker stop --time=1 5d93ca1165403caa8c5bbdd4cad69afb6267f14e67b3e4476f5254b19a0a2597 [2022-10-26T19:37:43.676Z] $ docker rm -f 5d93ca1165403caa8c5bbdd4cad69afb6267f14e67b3e4476f5254b19a0a2597 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:37:44.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:37:44.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:37:44.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:37:44.904Z] + ls -al . [2022-10-26T19:37:44.904Z] total 172 [2022-10-26T19:37:44.904Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:37 . [2022-10-26T19:37:44.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 .. [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 19:36 .dockerignore [2022-10-26T19:37:44.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git [2022-10-26T19:37:44.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 .github [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 19:36 .gitignore [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:36 .golangci.yml [2022-10-26T19:37:44.904Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:36 .semver [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 19:36 Attribution.txt [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 19:36 CHANGELOG.md [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 26 19:36 Dockerfile [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:36 GOVERNANCE.md [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 19:36 Jenkinsfile [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:36 LICENSE [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 19:36 Makefile [2022-10-26T19:37:44.904Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 19:36 OWNERS.md [2022-10-26T19:37:44.905Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 19:36 README.md [2022-10-26T19:37:44.905Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:37:44.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 bin [2022-10-26T19:37:44.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 cmd [2022-10-26T19:37:44.905Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 19:37 coverage.out [2022-10-26T19:37:44.905Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 19:36 go.mod [2022-10-26T19:37:44.905Z] -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 19:36 go.sum [2022-10-26T19:37:44.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 internal [2022-10-26T19:37:44.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 snap [2022-10-26T19:37:44.905Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 19:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:45.217Z] + 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=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:37:45.217Z] Sending build context to Docker daemon 15.95MB [2022-10-26T19:37:45.217Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:37:45.217Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:37:45.217Z] ---> 7d8ced8922f2 [2022-10-26T19:37:45.217Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:37:45.217Z] ---> Running in 88843e283981 [2022-10-26T19:37:45.477Z] Removing intermediate container 88843e283981 [2022-10-26T19:37:45.477Z] ---> 819071a783e6 [2022-10-26T19:37:45.477Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:37:45.477Z] ---> Running in 433a98713bad [2022-10-26T19:37:45.477Z] Removing intermediate container 433a98713bad [2022-10-26T19:37:45.477Z] ---> 20456054f297 [2022-10-26T19:37:45.477Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:37:45.477Z] ---> Running in 4e6957d213d8 [2022-10-26T19:37:45.737Z] Removing intermediate container 4e6957d213d8 [2022-10-26T19:37:45.737Z] ---> 383f9fbf68e5 [2022-10-26T19:37:45.737Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:37:45.737Z] ---> Running in df3ac4bb66ba [2022-10-26T19:37:45.737Z] Removing intermediate container df3ac4bb66ba [2022-10-26T19:37:45.737Z] ---> e62f52eb6d0d [2022-10-26T19:37:45.737Z] Step 7/26 : WORKDIR /device-gpio [2022-10-26T19:37:45.998Z] ---> Running in ad510d0fe6d2 [2022-10-26T19:37:45.998Z] Removing intermediate container ad510d0fe6d2 [2022-10-26T19:37:45.998Z] ---> ce8269538aa8 [2022-10-26T19:37:45.998Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:37:45.998Z] ---> Running in d230a546e1fe [2022-10-26T19:37:46.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:46.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:46.516Z] OK: 216 MiB in 55 packages [2022-10-26T19:37:47.084Z] Removing intermediate container d230a546e1fe [2022-10-26T19:37:47.084Z] ---> 79a790ddae02 [2022-10-26T19:37:47.084Z] Step 9/26 : COPY go.mod vendor* ./ [2022-10-26T19:37:47.084Z] ---> 657f56750a1f [2022-10-26T19:37:47.084Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:37:47.084Z] ---> Running in 7ba6582dd329 [2022-10-26T19:37:48.024Z] Removing intermediate container 7ba6582dd329 [2022-10-26T19:37:48.024Z] ---> 7c00bf460a56 [2022-10-26T19:37:48.024Z] Step 11/26 : COPY . . [2022-10-26T19:37:48.593Z] ---> 5a92f3aae7ca [2022-10-26T19:37:48.593Z] Step 12/26 : RUN ${MAKE} [2022-10-26T19:37:48.593Z] ---> Running in cd26fb88076c [2022-10-26T19:37:48.851Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-26T19:38:10.795Z] Removing intermediate container cd26fb88076c [2022-10-26T19:38:10.795Z] ---> edf4ce0db67a [2022-10-26T19:38:10.795Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T19:38:10.795Z] 3.16: Pulling from library/alpine [2022-10-26T19:38:10.795Z] 213ec9aee27d: Already exists [2022-10-26T19:38:10.795Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:38:10.795Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:38:10.795Z] ---> 9c6f07244728 [2022-10-26T19:38:10.795Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-26T19:38:10.795Z] ---> Running in 6845481780f9 [2022-10-26T19:38:10.795Z] Removing intermediate container 6845481780f9 [2022-10-26T19:38:10.795Z] ---> 9a1330deff57 [2022-10-26T19:38:10.795Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:38:10.795Z] ---> Running in 3040be04fb9d [2022-10-26T19:38:10.795Z] Removing intermediate container 3040be04fb9d [2022-10-26T19:38:10.795Z] ---> 965426836566 [2022-10-26T19:38:10.795Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-10-26T19:38:10.795Z] ---> Running in 28d956059363 [2022-10-26T19:38:10.795Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:10.795Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:11.362Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:38:11.622Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T19:38:12.189Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:38:12.449Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T19:38:13.016Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T19:38:13.275Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:13.275Z] OK: 8 MiB in 19 packages [2022-10-26T19:38:13.849Z] Removing intermediate container 28d956059363 [2022-10-26T19:38:13.849Z] ---> 830c41b971f2 [2022-10-26T19:38:13.849Z] Step 17/26 : WORKDIR / [2022-10-26T19:38:13.849Z] ---> Running in 22a2ef956b42 [2022-10-26T19:38:13.849Z] Removing intermediate container 22a2ef956b42 [2022-10-26T19:38:13.849Z] ---> 5af52d64ad94 [2022-10-26T19:38:13.849Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-26T19:38:14.110Z] ---> deb37ef81bd6 [2022-10-26T19:38:14.110Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-10-26T19:38:14.110Z] ---> f5dd68aef15d [2022-10-26T19:38:14.110Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-10-26T19:38:15.053Z] ---> a9729296d71b [2022-10-26T19:38:15.053Z] Step 21/26 : EXPOSE 59910 [2022-10-26T19:38:15.053Z] ---> Running in 4a869f811ba2 [2022-10-26T19:38:15.053Z] Removing intermediate container 4a869f811ba2 [2022-10-26T19:38:15.053Z] ---> 3db4b762d3f9 [2022-10-26T19:38:15.053Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-10-26T19:38:15.053Z] ---> Running in 0cb32b751d6b [2022-10-26T19:38:15.053Z] Removing intermediate container 0cb32b751d6b [2022-10-26T19:38:15.053Z] ---> 4d6b987b246e [2022-10-26T19:38:15.053Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:38:15.053Z] ---> Running in 839228393b85 [2022-10-26T19:38:15.313Z] Removing intermediate container 839228393b85 [2022-10-26T19:38:15.313Z] ---> 9294fd34cda9 [2022-10-26T19:38:15.313Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T19:38:15.313Z] ---> Running in 45ffe67a3d13 [2022-10-26T19:38:15.313Z] Removing intermediate container 45ffe67a3d13 [2022-10-26T19:38:15.313Z] ---> 521112e7fa19 [2022-10-26T19:38:15.313Z] Step 25/26 : LABEL git_sha=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [2022-10-26T19:38:15.313Z] ---> Running in 82f21318f31f [2022-10-26T19:38:15.313Z] Removing intermediate container 82f21318f31f [2022-10-26T19:38:15.313Z] ---> 558578a3133e [2022-10-26T19:38:15.313Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:38:15.574Z] ---> Running in e9f9ab41b7c2 [2022-10-26T19:38:15.574Z] Removing intermediate container e9f9ab41b7c2 [2022-10-26T19:38:15.574Z] ---> 67f90b42b4c7 [2022-10-26T19:38:15.574Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:38:15.574Z] Successfully built 67f90b42b4c7 [2022-10-26T19:38:15.574Z] 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 [2022-10-26T19:38:16.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:16.024Z] [2022-10-26T19:38:16.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:16.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:16.336Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:38:16.336Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:38:16.336Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:38:16.336Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:38:16.336Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:38:16.336Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:38:16.336Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:38:16.336Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:38:16.336Z] 33b1e0a273af: Waiting [2022-10-26T19:38:16.336Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:38:16.336Z] 5d3b04190fa2: Waiting [2022-10-26T19:38:16.336Z] 2f39f015ded8: Waiting [2022-10-26T19:38:16.622Z] 5c69ac0246d0: Download complete [2022-10-26T19:38:16.622Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:38:16.919Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:38:16.919Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T19:38:16.919Z] 5d3b04190fa2: Download complete [2022-10-26T19:38:16.919Z] 5eb5b503b376: Verifying Checksum [2022-10-26T19:38:16.919Z] 5eb5b503b376: Download complete [2022-10-26T19:38:17.191Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:38:17.191Z] ec43610c2a17: Download complete [2022-10-26T19:38:18.161Z] 5eb5b503b376: Pull complete [2022-10-26T19:38:18.161Z] 2f39f015ded8: Download complete [2022-10-26T19:38:18.420Z] 5c69ac0246d0: Pull complete [2022-10-26T19:38:18.679Z] ec43610c2a17: Pull complete [2022-10-26T19:38:18.679Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:38:18.939Z] 33b1e0a273af: Pull complete [2022-10-26T19:38:19.203Z] 5d3b04190fa2: Pull complete [2022-10-26T19:38:23.390Z] 2f39f015ded8: Pull complete [2022-10-26T19:38:23.390Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:38:23.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:23.390Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:38:23.456Z] prd-ubuntu20.04-docker-8c-8g-117261 does not seem to be running inside a container [2022-10-26T19:38:23.486Z] $ 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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:38:26.122Z] $ docker top 3d96ae82417717ce063294dcb7b33de882963e5a8d7f02ceff5dccdbd8496a90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:26.503Z] ---> job-cost.sh [2022-10-26T19:38:26.503Z] lf-activate-venv: SKIPPING [2022-10-26T19:38:26.503Z] INFO: No Stack... [2022-10-26T19:38:26.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:38:27.025Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:38:27.316Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-64/archives/cost.csv [2022-10-26T19:38:27.317Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:38:27.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [2022-10-26T19:38:27.336Z] Resource [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] did not exist. Created. [2022-10-26T19:38:27.336Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:38:27.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:38:27.663Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:38:27.672Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:38:27.699Z] $ docker stop --time=1 3d96ae82417717ce063294dcb7b33de882963e5a8d7f02ceff5dccdbd8496a90 [2022-10-26T19:38:28.884Z] $ docker rm -f 3d96ae82417717ce063294dcb7b33de882963e5a8d7f02ceff5dccdbd8496a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:51:01.008Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117278 in /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] { [Pipeline] ws [2022-10-26T19:51:01.022Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2022-10-26T19:51:01.060Z] The recommended git tool is: git [2022-10-26T19:51:08.677Z] using credential edgex-jenkins-ssh [2022-10-26T19:51:08.696Z] Cloning the remote Git repository [2022-10-26T19:51:08.771Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:51:08.882Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2022-10-26T19:51:09.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:51:09.111Z] > git --version # timeout=10 [2022-10-26T19:51:09.139Z] > git --version # 'git version 2.25.1' [2022-10-26T19:51:09.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:09.212Z] Verifying host key using known hosts file [2022-10-26T19:51:09.503Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:51:09.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:11.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-26T19:51:11.343Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:12.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-26T19:51:12.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:51:12.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:12.566Z] Verifying host key using known hosts file [2022-10-26T19:51:12.574Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:51:12.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:51:13.217Z] Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [2022-10-26T19:51:13.578Z] Merge succeeded, producing ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [2022-10-26T19:51:13.579Z] Checking out Revision ac8fd53f425014fb181e3c5b50d1e6e50784dc7d (PR-64) [2022-10-26T19:51:13.244Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:13.290Z] > git checkout -f ac8fd53f425014fb181e3c5b50d1e6e50784dc7d # timeout=10 [2022-10-26T19:51:13.414Z] > git remote # timeout=10 [2022-10-26T19:51:13.444Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:51:13.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:13.479Z] Verifying host key using known hosts file [2022-10-26T19:51:13.487Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:51:13.505Z] > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 [2022-10-26T19:51:13.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:51:13.591Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:13.615Z] > git checkout -f ac8fd53f425014fb181e3c5b50d1e6e50784dc7d # timeout=10 [2022-10-26T19:51:17.383Z] Commit message: "fix comments, order" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:51:18.287Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:51:18.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:51:18.288Z] Dload Upload Total Spent Left Speed [2022-10-26T19:51:18.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-10-26T19:51:19.090Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:51:19.444Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:51:19.444Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:51:19.444Z] { [2022-10-26T19:51:19.444Z] "registry-mirrors": [ [2022-10-26T19:51:19.444Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:51:19.444Z] ], [2022-10-26T19:51:19.444Z] "bip": "10.250.0.254/24", [2022-10-26T19:51:19.444Z] "hosts": [ [2022-10-26T19:51:19.444Z] "tcp://0.0.0.0:5555", [2022-10-26T19:51:19.444Z] "unix:///var/run/docker.sock" [2022-10-26T19:51:19.444Z] ], [2022-10-26T19:51:19.444Z] "mtu": 1458, [2022-10-26T19:51:19.444Z] "selinux-enabled": true, [2022-10-26T19:51:19.444Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:51:19.444Z] } [Pipeline] sh [2022-10-26T19:51:19.795Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:51:20.152Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:51:38.482Z] provisioning config files... [2022-10-26T19:51:38.520Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config7165593188501658839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:51:38.906Z] ---> docker-login.sh [2022-10-26T19:51:38.906Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:51:39.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:39.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:39.782Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:39.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:39.782Z] [2022-10-26T19:51:39.782Z] Login Succeeded [2022-10-26T19:51:39.782Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:51:40.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:40.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:40.057Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:40.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:40.057Z] [2022-10-26T19:51:40.057Z] Login Succeeded [2022-10-26T19:51:40.057Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:51:40.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:40.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:40.608Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:40.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:40.608Z] [2022-10-26T19:51:40.608Z] Login Succeeded [2022-10-26T19:51:40.608Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:51:40.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:40.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:40.886Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:40.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:40.886Z] [2022-10-26T19:51:40.886Z] Login Succeeded [2022-10-26T19:51:40.886Z] docker.io [2022-10-26T19:51:41.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:41.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:41.765Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:41.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:41.765Z] [2022-10-26T19:51:41.765Z] Login Succeeded [2022-10-26T19:51:41.765Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:51:41.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:51:41.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:41.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:41.989Z] ========================================================= [2022-10-26T19:51:41.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:51:41.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:51:42.346Z] + 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 . [2022-10-26T19:51:42.621Z] Sending build context to Docker daemon 8.079MB [2022-10-26T19:51:42.621Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:51:42.621Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:51:43.216Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:51:43.216Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:51:43.216Z] d32db5db7311: Pulling fs layer [2022-10-26T19:51:43.216Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:51:43.216Z] 5831b945b038: Pulling fs layer [2022-10-26T19:51:43.216Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:51:43.216Z] e10730c5d714: Pulling fs layer [2022-10-26T19:51:43.216Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:51:43.216Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:51:43.216Z] e10730c5d714: Waiting [2022-10-26T19:51:43.216Z] 5dd5c2283517: Waiting [2022-10-26T19:51:43.216Z] d5ac0230b979: Waiting [2022-10-26T19:51:43.216Z] 86bbec2aaacd: Waiting [2022-10-26T19:51:43.216Z] 5831b945b038: Waiting [2022-10-26T19:51:43.217Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:51:43.217Z] d0c4b47475fc: Download complete [2022-10-26T19:51:43.217Z] d32db5db7311: Verifying Checksum [2022-10-26T19:51:43.217Z] d32db5db7311: Download complete [2022-10-26T19:51:43.217Z] 86bbec2aaacd: Download complete [2022-10-26T19:51:43.217Z] e10730c5d714: Verifying Checksum [2022-10-26T19:51:43.217Z] e10730c5d714: Download complete [2022-10-26T19:51:43.217Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:51:43.217Z] 9b18e9b68314: Download complete [2022-10-26T19:51:44.222Z] 9b18e9b68314: Pull complete [2022-10-26T19:51:44.499Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:51:44.499Z] d5ac0230b979: Download complete [2022-10-26T19:51:45.109Z] d32db5db7311: Pull complete [2022-10-26T19:51:45.388Z] d0c4b47475fc: Pull complete [2022-10-26T19:51:46.410Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:51:46.410Z] 5dd5c2283517: Download complete [2022-10-26T19:51:47.007Z] 5831b945b038: Download complete [2022-10-26T19:52:02.114Z] 5831b945b038: Pull complete [2022-10-26T19:52:02.114Z] 86bbec2aaacd: Pull complete [2022-10-26T19:52:02.114Z] e10730c5d714: Pull complete [2022-10-26T19:52:08.839Z] 5dd5c2283517: Pull complete [2022-10-26T19:52:11.461Z] d5ac0230b979: Pull complete [2022-10-26T19:52:11.461Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:52:11.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:52:11.461Z] ---> 59b3b1a385d4 [2022-10-26T19:52:11.461Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:52:12.903Z] ---> Running in 82ad08091c0d [2022-10-26T19:52:13.174Z] Removing intermediate container 82ad08091c0d [2022-10-26T19:52:13.174Z] ---> a5a53414e1b5 [2022-10-26T19:52:13.174Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:52:13.174Z] ---> Running in bb18671df77b [2022-10-26T19:52:13.767Z] Removing intermediate container bb18671df77b [2022-10-26T19:52:13.767Z] ---> e906e10f34ed [2022-10-26T19:52:13.767Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:52:13.767Z] ---> Running in 6e10530df46c [2022-10-26T19:52:14.371Z] Removing intermediate container 6e10530df46c [2022-10-26T19:52:14.371Z] ---> 7968b235886c [2022-10-26T19:52:14.371Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:52:14.371Z] ---> Running in a76f22e97aa5 [2022-10-26T19:52:14.647Z] Removing intermediate container a76f22e97aa5 [2022-10-26T19:52:14.647Z] ---> d7233ec99650 [2022-10-26T19:52:14.647Z] Step 7/12 : WORKDIR /device-gpio [2022-10-26T19:52:14.930Z] ---> Running in 208730279dcf [2022-10-26T19:52:15.217Z] Removing intermediate container 208730279dcf [2022-10-26T19:52:15.217Z] ---> 87ddd93594de [2022-10-26T19:52:15.217Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:52:15.493Z] ---> Running in 6befdd2cf328 [2022-10-26T19:52:16.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:17.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:18.661Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:52:18.661Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:52:18.661Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:52:18.661Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:52:18.661Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:52:18.661Z] OK: 226 MiB in 55 packages [2022-10-26T19:52:20.085Z] Removing intermediate container 6befdd2cf328 [2022-10-26T19:52:20.085Z] ---> dd4a63490d8e [2022-10-26T19:52:20.085Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:52:20.686Z] ---> c5f81c0ee5ff [2022-10-26T19:52:20.686Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:52:20.686Z] ---> Running in fab67395b141 [2022-10-26T19:53:28.645Z] Removing intermediate container fab67395b141 [2022-10-26T19:53:28.645Z] ---> a03f0bf8f05e [2022-10-26T19:53:28.645Z] Step 11/12 : COPY . . [2022-10-26T19:53:28.645Z] ---> 95359e6d6092 [2022-10-26T19:53:28.645Z] Step 12/12 : RUN ${MAKE} [2022-10-26T19:53:28.645Z] ---> Running in 0aaa75f8912a [2022-10-26T19:53:28.645Z] noop [2022-10-26T19:53:28.645Z] Removing intermediate container 0aaa75f8912a [2022-10-26T19:53:28.645Z] ---> e792e474b98c [2022-10-26T19:53:28.645Z] Successfully built e792e474b98c [2022-10-26T19:53:28.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:29.018Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:29.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:29.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-117278 does not seem to be running inside a container [2022-10-26T19:53:29.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:53:30.785Z] $ docker top aa4dff124f4e9d6cfe5a317d2ec542c13d7494c4fb6d8423cb532b0001f3f951 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:31.655Z] + go version [2022-10-26T19:53:31.655Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:53:31.676Z] $ docker stop --time=1 aa4dff124f4e9d6cfe5a317d2ec542c13d7494c4fb6d8423cb532b0001f3f951 [2022-10-26T19:53:33.452Z] $ docker rm -f aa4dff124f4e9d6cfe5a317d2ec542c13d7494c4fb6d8423cb532b0001f3f951 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:34.039Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:34.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:34.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-117278 does not seem to be running inside a container [2022-10-26T19:53:34.320Z] $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:53:35.678Z] $ docker top 1a057500eeaaa3dc332ca96b6ba2988de6c21887c6fc2bf4ff972eb9eadd9eef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:36.548Z] + git config --global --add safe.directory /w/workspace/device-gpio/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:53:37.217Z] + make test [2022-10-26T19:53:37.217Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:53:39.180Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-26T19:55:30.891Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-26T19:55:30.891Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-26T19:55:30.891Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:55:30.891Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:55:57.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:55:57.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:55:57.617Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:55:57.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:55:57.652Z] $ docker stop --time=1 1a057500eeaaa3dc332ca96b6ba2988de6c21887c6fc2bf4ff972eb9eadd9eef [2022-10-26T19:55:59.486Z] $ docker rm -f 1a057500eeaaa3dc332ca96b6ba2988de6c21887c6fc2bf4ff972eb9eadd9eef [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:56:00.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:56:00.573Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:56:01.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:56:01.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:56:01.805Z] + ls -al . [2022-10-26T19:56:01.805Z] total 168 [2022-10-26T19:56:01.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:53 . [2022-10-26T19:56:01.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 .. [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 19:51 .dockerignore [2022-10-26T19:56:01.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:51 .git [2022-10-26T19:56:01.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 .github [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 19:51 .gitignore [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:51 .golangci.yml [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 19:51 Attribution.txt [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 19:51 CHANGELOG.md [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 26 19:51 Dockerfile [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:51 GOVERNANCE.md [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 19:51 Jenkinsfile [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:51 LICENSE [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 19:51 Makefile [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 19:51 OWNERS.md [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 19:51 README.md [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:56:01.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:51 bin [2022-10-26T19:56:01.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 cmd [2022-10-26T19:56:01.805Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 19:53 coverage.out [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 19:51 go.mod [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 19:51 go.sum [2022-10-26T19:56:01.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 internal [2022-10-26T19:56:01.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 snap [2022-10-26T19:56:01.805Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:56:02.172Z] + 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=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:56:02.764Z] Sending build context to Docker daemon 8.08MB [2022-10-26T19:56:02.764Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:56:02.764Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:56:02.764Z] ---> e792e474b98c [2022-10-26T19:56:02.764Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:56:03.033Z] ---> Running in a64ca390b108 [2022-10-26T19:56:03.620Z] Removing intermediate container a64ca390b108 [2022-10-26T19:56:03.620Z] ---> 7e4bb4d66fcd [2022-10-26T19:56:03.620Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:56:03.620Z] ---> Running in c4be0237e742 [2022-10-26T19:56:04.213Z] Removing intermediate container c4be0237e742 [2022-10-26T19:56:04.213Z] ---> eb2ca560b581 [2022-10-26T19:56:04.213Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:56:04.213Z] ---> Running in be9cce7d29a5 [2022-10-26T19:56:04.812Z] Removing intermediate container be9cce7d29a5 [2022-10-26T19:56:04.812Z] ---> 29fce9188e71 [2022-10-26T19:56:04.812Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:56:04.812Z] ---> Running in eac70f2a0aca [2022-10-26T19:56:05.412Z] Removing intermediate container eac70f2a0aca [2022-10-26T19:56:05.412Z] ---> 72f7e92a1717 [2022-10-26T19:56:05.412Z] Step 7/26 : WORKDIR /device-gpio [2022-10-26T19:56:05.412Z] ---> Running in b32675333873 [2022-10-26T19:56:05.682Z] Removing intermediate container b32675333873 [2022-10-26T19:56:05.682Z] ---> 894a94d7523c [2022-10-26T19:56:05.682Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:56:05.682Z] ---> Running in e7ac8ff33429 [2022-10-26T19:56:07.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:07.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:08.560Z] OK: 226 MiB in 55 packages [2022-10-26T19:56:09.531Z] Removing intermediate container e7ac8ff33429 [2022-10-26T19:56:09.531Z] ---> 756f0d89052c [2022-10-26T19:56:09.531Z] Step 9/26 : COPY go.mod vendor* ./ [2022-10-26T19:56:12.138Z] ---> 0de55c2370fa [2022-10-26T19:56:12.138Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:56:12.138Z] ---> Running in 87c87036f8bc [2022-10-26T19:56:16.701Z] Removing intermediate container 87c87036f8bc [2022-10-26T19:56:16.701Z] ---> 4dd9d0e3320f [2022-10-26T19:56:16.701Z] Step 11/26 : COPY . . [2022-10-26T19:56:18.791Z] ---> ea342f2c9b3d [2022-10-26T19:56:18.791Z] Step 12/26 : RUN ${MAKE} [2022-10-26T19:56:18.791Z] ---> Running in fe0907facfde [2022-10-26T19:56:21.436Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-26T19:58:58.304Z] Removing intermediate container fe0907facfde [2022-10-26T19:58:58.304Z] ---> cc56d25d14b5 [2022-10-26T19:58:58.304Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T19:58:58.890Z] 3.16: Pulling from library/alpine [2022-10-26T19:58:59.158Z] 9b18e9b68314: Already exists [2022-10-26T19:58:59.158Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:58:59.158Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:58:59.158Z] ---> a6215f271958 [2022-10-26T19:58:59.158Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-26T19:58:59.426Z] ---> Running in 4d4608a14e2b [2022-10-26T19:58:59.709Z] Removing intermediate container 4d4608a14e2b [2022-10-26T19:58:59.709Z] ---> 272a6f09198a [2022-10-26T19:58:59.709Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:58:59.709Z] ---> Running in 380f563f2302 [2022-10-26T19:59:01.663Z] Removing intermediate container 380f563f2302 [2022-10-26T19:59:01.663Z] ---> 00886afa471c [2022-10-26T19:59:01.663Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-10-26T19:59:01.663Z] ---> Running in 6d3f5d266853 [2022-10-26T19:59:02.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:03.223Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:05.178Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:59:05.178Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T19:59:05.762Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:59:06.344Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T19:59:06.610Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T19:59:06.881Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:59:06.881Z] OK: 8 MiB in 19 packages [2022-10-26T19:59:07.858Z] Removing intermediate container 6d3f5d266853 [2022-10-26T19:59:07.858Z] ---> 29f94d16a646 [2022-10-26T19:59:07.858Z] Step 17/26 : WORKDIR / [2022-10-26T19:59:08.127Z] ---> Running in 389fd7a3b33a [2022-10-26T19:59:08.395Z] Removing intermediate container 389fd7a3b33a [2022-10-26T19:59:08.395Z] ---> e45d3c7f9f58 [2022-10-26T19:59:08.395Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-26T19:59:08.981Z] ---> a76139b3875b [2022-10-26T19:59:08.981Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-10-26T19:59:09.563Z] ---> 22712575401e [2022-10-26T19:59:09.563Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-10-26T19:59:10.978Z] ---> 2f4efbd2d65c [2022-10-26T19:59:10.978Z] Step 21/26 : EXPOSE 59910 [2022-10-26T19:59:10.978Z] ---> Running in 62e1691192d2 [2022-10-26T19:59:11.248Z] Removing intermediate container 62e1691192d2 [2022-10-26T19:59:11.248Z] ---> a3c92b360e43 [2022-10-26T19:59:11.248Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-10-26T19:59:12.661Z] ---> Running in 7fe3c3310964 [2022-10-26T19:59:12.931Z] Removing intermediate container 7fe3c3310964 [2022-10-26T19:59:12.931Z] ---> 49eef1ac085f [2022-10-26T19:59:12.931Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:59:13.202Z] ---> Running in a2b63404e266 [2022-10-26T19:59:13.471Z] Removing intermediate container a2b63404e266 [2022-10-26T19:59:13.471Z] ---> 329d1461e4e4 [2022-10-26T19:59:13.471Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T19:59:13.471Z] ---> Running in 4b9b56f47d76 [2022-10-26T19:59:13.740Z] Removing intermediate container 4b9b56f47d76 [2022-10-26T19:59:13.740Z] ---> 6c845fe9b626 [2022-10-26T19:59:13.740Z] Step 25/26 : LABEL git_sha=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [2022-10-26T19:59:14.009Z] ---> Running in 8970ea01d89b [2022-10-26T19:59:14.279Z] Removing intermediate container 8970ea01d89b [2022-10-26T19:59:14.279Z] ---> b5e63e33e1dd [2022-10-26T19:59:14.279Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:59:14.279Z] ---> Running in 2f43e9ca7835 [2022-10-26T19:59:14.548Z] Removing intermediate container 2f43e9ca7835 [2022-10-26T19:59:14.548Z] ---> f8c27796a514 [2022-10-26T19:59:14.548Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:59:14.548Z] Successfully built f8c27796a514 [2022-10-26T19:59:14.548Z] 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 [2022-10-26T19:59:14.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:14.964Z] [2022-10-26T19:59:14.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:15.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:15.300Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:59:15.300Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:59:15.300Z] 04944245beec: Pulling fs layer [2022-10-26T19:59:15.300Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:59:15.300Z] 765212b225bb: Pulling fs layer [2022-10-26T19:59:15.300Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:59:15.300Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:59:15.300Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:59:15.300Z] f23df028b6ca: Waiting [2022-10-26T19:59:15.300Z] d65c8cfc05b1: Waiting [2022-10-26T19:59:15.567Z] 2437ff75d9bd: Waiting [2022-10-26T19:59:15.567Z] 765212b225bb: Waiting [2022-10-26T19:59:15.567Z] 04944245beec: Verifying Checksum [2022-10-26T19:59:15.567Z] 04944245beec: Download complete [2022-10-26T19:59:15.567Z] 765212b225bb: Download complete [2022-10-26T19:59:15.567Z] f23df028b6ca: Download complete [2022-10-26T19:59:15.840Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:59:15.840Z] d65c8cfc05b1: Download complete [2022-10-26T19:59:15.840Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:59:15.840Z] 699f458cf7ca: Download complete [2022-10-26T19:59:16.430Z] 8998bd30e6a1: Download complete [2022-10-26T19:59:19.020Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:59:19.020Z] 2437ff75d9bd: Download complete [2022-10-26T19:59:20.430Z] 8998bd30e6a1: Pull complete [2022-10-26T19:59:21.017Z] 04944245beec: Pull complete [2022-10-26T19:59:22.430Z] 699f458cf7ca: Pull complete [2022-10-26T19:59:22.701Z] 765212b225bb: Pull complete [2022-10-26T19:59:25.291Z] f23df028b6ca: Pull complete [2022-10-26T19:59:25.563Z] d65c8cfc05b1: Pull complete [2022-10-26T19:59:40.563Z] 2437ff75d9bd: Pull complete [2022-10-26T19:59:40.563Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:59:40.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:40.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:40.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-117278 does not seem to be running inside a container [2022-10-26T19:59:40.823Z] $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:59:43.559Z] $ docker top 4b5aa47efd33c13ee2274fefeb31257ddebafaa1e92529cf14f60000c8194649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:44.415Z] ---> job-cost.sh [2022-10-26T19:59:44.415Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:44.415Z] INFO: No Stack... [2022-10-26T19:59:44.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:59:45.647Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:59:46.293Z] + cat /w/workspace/device-gpio/3/archives/cost.csv [2022-10-26T19:59:46.293Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:59:46.361Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [2022-10-26T19:59:46.366Z] Resource [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] did not exist. Created. [2022-10-26T19:59:46.366Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:59:47.028Z] /w/workspace/device-gpio/3@tmp/durable-efb16bd8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:59:47.681Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:59:47.696Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:59:47.745Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:59:47.758Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:59:47.776Z] $ docker stop --time=1 4b5aa47efd33c13ee2274fefeb31257ddebafaa1e92529cf14f60000c8194649 [2022-10-26T19:59:49.327Z] $ docker rm -f 4b5aa47efd33c13ee2274fefeb31257ddebafaa1e92529cf14f60000c8194649 [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 [2022-10-26T19:59:49.684Z] provisioning config files... [2022-10-26T19:59:49.692Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config8563861160401902558tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:59:49.983Z] + set +x [2022-10-26T19:59:49.983Z] + curl -s https://codecov.io/bash [2022-10-26T19:59:49.983Z] + bash -s -- [2022-10-26T19:59:49.983Z] [2022-10-26T19:59:49.983Z] _____ _ [2022-10-26T19:59:49.983Z] / ____| | | [2022-10-26T19:59:49.983Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:59:49.983Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:59:49.983Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:59:49.983Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:59:49.983Z] Bash-1.0.6 [2022-10-26T19:59:49.983Z] [2022-10-26T19:59:49.983Z] [2022-10-26T19:59:49.983Z] ==> git version 2.25.1 found [2022-10-26T19:59:49.983Z] ==> 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 [2022-10-26T19:59:49.983Z] Release-Date: 2020-01-08 [2022-10-26T19:59:49.983Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T19:59:49.983Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:59:49.983Z] ==> Jenkins CI detected. [2022-10-26T19:59:49.983Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-64 [2022-10-26T19:59:49.983Z] project root: . [2022-10-26T19:59:49.983Z] --> token set from env [2022-10-26T19:59:49.983Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:59:49.983Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:59:49.983Z] ==> Python coveragepy not found [2022-10-26T19:59:49.983Z] ==> Searching for coverage reports in: [2022-10-26T19:59:49.983Z] + . [2022-10-26T19:59:49.983Z] -> Found 1 reports [2022-10-26T19:59:49.983Z] ==> Detecting git/mercurial file structure [2022-10-26T19:59:49.983Z] ==> Reading reports [2022-10-26T19:59:49.983Z] + ./coverage.out bytes=10 [2022-10-26T19:59:49.983Z] ==> Appending adjustments [2022-10-26T19:59:49.983Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:59:50.243Z] + Found adjustments [2022-10-26T19:59:50.243Z] ==> Gzipping contents [2022-10-26T19:59:50.243Z] 4.0K /tmp/codecov.ovJlnf.gz [2022-10-26T19:59:50.243Z] ==> Uploading reports [2022-10-26T19:59:50.243Z] url: https://codecov.io [2022-10-26T19:59:50.243Z] query: branch=PR-64&commit=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-10-26T19:59:50.243Z] -> Pinging Codecov [2022-10-26T19:59:50.243Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-64&commit=ac8fd53f425014fb181e3c5b50d1e6e50784dc7d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-10-26T19:59:50.503Z] -> Uploading to [2022-10-26T19:59:50.503Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ac8fd53f425014fb181e3c5b50d1e6e50784dc7d/2ff9dc2c-d95a-4bf9-bd8b-ae1b6934679f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T195950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51fc4f71cb53e9169519beaab99a3fc5930dec4f2cf633cb6bb20047773d18ec [2022-10-26T19:59:50.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:59:50.503Z] Dload Upload Total Spent Left Speed [2022-10-26T19:59:50.762Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2683 --:--:-- --:--:-- --:--:-- 2683 [2022-10-26T19:59:50.762Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/ac8fd53f425014fb181e3c5b50d1e6e50784dc7d [Pipeline] } [2022-10-26T19:59:50.769Z] 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 [2022-10-26T19:59:51.439Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-64/archives ] [2022-10-26T19:59:51.439Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:59:51.439Z] total 16 [2022-10-26T19:59:51.439Z] drwxr-xr-x 3 root root 4096 Oct 26 19:38 . [2022-10-26T19:59:51.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:51.439Z] drwxr-xr-x 2 root root 4096 Oct 26 19:38 cost [2022-10-26T19:59:51.439Z] -rw-r--r-- 1 root root 82 Oct 26 19:38 cost.csv [2022-10-26T19:59:51.439Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:59:51.439Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:59:51.439Z] total 16 [2022-10-26T19:59:51.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:38 . [2022-10-26T19:59:51.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:51.439Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:38 cost [2022-10-26T19:59:51.439Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 26 19:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:51.732Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:52.591Z] ---> package-listing.sh [2022-10-26T19:59:52.591Z] ++ facter osfamily [2022-10-26T19:59:52.591Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:59:52.851Z] + OS_FAMILY=debian [2022-10-26T19:59:52.851Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-64 [2022-10-26T19:59:52.851Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:52.851Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:52.851Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:59:52.851Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:52.851Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' [2022-10-26T19:59:52.851Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:52.851Z] + case "${OS_FAMILY}" in [2022-10-26T19:59:52.851Z] + dpkg -l [2022-10-26T19:59:52.851Z] + grep '^ii' [2022-10-26T19:59:52.851Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:59:52.851Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:59:52.851Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:59:52.851Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' [2022-10-26T19:59:52.851Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [2022-10-26T19:59:52.851Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [Pipeline] echo [2022-10-26T19:59:52.862Z] 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:59:53.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:53.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:59:53.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:53.770Z] prd-ubuntu20.04-docker-8c-8g-117261 does not seem to be running inside a container [2022-10-26T19:59:53.800Z] $ 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-64/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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:59:54.001Z] $ docker top 8e284539b47f6881a07c97b14562d77d7796060b9712017d1a776158b132b76a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:59:54.355Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:59:54.644Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:59:54.929Z] + ls /var/log/sa-host [2022-10-26T19:59:54.929Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:59:54.991Z] provisioning config files... [2022-10-26T19:59:54.999Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config899983438162110822tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:59:55.014Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:55.299Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:59:55.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:55.626Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:59:55.635Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:55.920Z] ---> sudo-logs.sh [2022-10-26T19:59:55.920Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:59:55.941Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:56.224Z] ---> job-cost.sh [2022-10-26T19:59:56.224Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:56.224Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:59:56.224Z] INFO: Retrieving Stack Cost... [2022-10-26T19:59:56.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:59:57.053Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:59:57.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:57.348Z] ---> logs-deploy.sh [2022-10-26T19:59:57.348Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:57.348Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-64/3 [2022-10-26T19:59:57.348Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:59:58.288Z] Archives upload complete. [2022-10-26T19:59:58.548Z] INFO: archiving logs to Nexus [2022-10-26T19:59:59.116Z] ---> uname -a: [2022-10-26T19:59:59.116Z] Linux prd-ubuntu20-04-docker-8c-8g-117261 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T19:59:59.116Z] [2022-10-26T19:59:59.116Z] [2022-10-26T19:59:59.116Z] ---> lscpu: [2022-10-26T19:59:59.116Z] Architecture: x86_64 [2022-10-26T19:59:59.116Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T19:59:59.116Z] Byte Order: Little Endian [2022-10-26T19:59:59.116Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T19:59:59.116Z] CPU(s): 8 [2022-10-26T19:59:59.116Z] On-line CPU(s) list: 0-7 [2022-10-26T19:59:59.116Z] Thread(s) per core: 1 [2022-10-26T19:59:59.116Z] Core(s) per socket: 1 [2022-10-26T19:59:59.116Z] Socket(s): 8 [2022-10-26T19:59:59.116Z] NUMA node(s): 1 [2022-10-26T19:59:59.116Z] Vendor ID: AuthenticAMD [2022-10-26T19:59:59.116Z] CPU family: 23 [2022-10-26T19:59:59.116Z] Model: 49 [2022-10-26T19:59:59.116Z] Model name: AMD EPYC-Rome Processor [2022-10-26T19:59:59.116Z] Stepping: 0 [2022-10-26T19:59:59.116Z] CPU MHz: 2799.998 [2022-10-26T19:59:59.116Z] BogoMIPS: 5599.99 [2022-10-26T19:59:59.116Z] Virtualization: AMD-V [2022-10-26T19:59:59.116Z] Hypervisor vendor: KVM [2022-10-26T19:59:59.116Z] Virtualization type: full [2022-10-26T19:59:59.116Z] L1d cache: 256 KiB [2022-10-26T19:59:59.116Z] L1i cache: 256 KiB [2022-10-26T19:59:59.116Z] L2 cache: 4 MiB [2022-10-26T19:59:59.116Z] L3 cache: 128 MiB [2022-10-26T19:59:59.116Z] NUMA node0 CPU(s): 0-7 [2022-10-26T19:59:59.116Z] Vulnerability Itlb multihit: Not affected [2022-10-26T19:59:59.116Z] Vulnerability L1tf: Not affected [2022-10-26T19:59:59.116Z] Vulnerability Mds: Not affected [2022-10-26T19:59:59.116Z] Vulnerability Meltdown: Not affected [2022-10-26T19:59:59.116Z] Vulnerability Mmio stale data: Not affected [2022-10-26T19:59:59.116Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T19:59:59.116Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T19:59:59.117Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T19:59:59.117Z] Vulnerability Srbds: Not affected [2022-10-26T19:59:59.117Z] Vulnerability Tsx async abort: Not affected [2022-10-26T19:59:59.117Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-26T19:59:59.117Z] [2022-10-26T19:59:59.117Z] [2022-10-26T19:59:59.117Z] ---> nproc: [2022-10-26T19:59:59.117Z] 8 [2022-10-26T19:59:59.117Z] [2022-10-26T19:59:59.117Z] [2022-10-26T19:59:59.117Z] ---> df -h: [2022-10-26T19:59:59.117Z] Filesystem Size Used Avail Use% Mounted on [2022-10-26T19:59:59.117Z] overlay 155G 12G 144G 8% / [2022-10-26T19:59:59.117Z] tmpfs 64M 0 64M 0% /dev [2022-10-26T19:59:59.117Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-26T19:59:59.117Z] shm 64M 0 64M 0% /dev/shm [2022-10-26T19:59:59.117Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-26T19:59:59.117Z] [2022-10-26T19:59:59.117Z]