Pull request #66 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f+69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 (d88687253036b0b2e3f579740a13cfd5bb6cc442) 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-ssh8716010537980189995.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8269807012603651142.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-66/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-66/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh428923939054163597.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10797594673579384503.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-66/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-66/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13218088208240250778.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 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118418’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118421 in /w/workspace/edgexfoundry_device-gpio_PR-66 [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-66 # 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 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 into PR head commit adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f Merge succeeded, producing adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f Checking out Revision adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f (PR-66) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > 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/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f # 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 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f # timeout=10 > git rev-list --no-walk 18c64a6a99b2c927c370f0fa7f41cdf6cc1b673f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T15:17:07.915Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T15:17:07.979Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T15:17:07.996Z] ========================================================= [2022-11-07T15:17:07.996Z] EdgeX Global Pipelines Version Info [2022-11-07T15:17:07.996Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:17:09.524Z] ------------------- [2022-11-07T15:17:09.524Z] stable info: [2022-11-07T15:17:09.524Z] ------------------- [2022-11-07T15:17:09.524Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T15:17:09.524Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T15:17:09.524Z] Message: update stable to v1.0.244 [2022-11-07T15:17:10.096Z] ------------------- [2022-11-07T15:17:10.096Z] experimental info: [2022-11-07T15:17:10.096Z] ------------------- [2022-11-07T15:17:10.096Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T15:17:10.096Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T15:17:10.096Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T15:17:10.274Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-11-07T15:17:10.286Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-11-07T15:17:10.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T15:17:10.308Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T15:17:10.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T15:17:10.335Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T15:17:10.345Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T15:17:10.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T15:17:10.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T15:17:10.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T15:17:10.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T15:17:10.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-11-07T15:17:10.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T15:17:10.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T15:17:10.441Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T15:17:10.460Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T15:17:10.475Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T15:17:10.499Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T15:17:10.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T15:17:10.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T15:17:10.548Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T15:17:10.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T15:17:10.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T15:17:10.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T15:17:10.611Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T15:17:10.628Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T15:17:10.647Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T15:17:10.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo [2022-11-07T15:17:10.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo [2022-11-07T15:17:10.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo [2022-11-07T15:17:10.718Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [Pipeline] echo [2022-11-07T15:17:10.733Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adb812e [Pipeline] echo [2022-11-07T15:17:10.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:17:10.809Z] provisioning config files... [2022-11-07T15:17:10.824Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/config6535670299201469843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:17:11.127Z] ---> docker-login.sh [2022-11-07T15:17:11.127Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:17:11.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:11.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:11.387Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:11.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:11.387Z] [2022-11-07T15:17:11.387Z] Login Succeeded [2022-11-07T15:17:11.387Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:17:11.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:11.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:11.387Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:11.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:11.387Z] [2022-11-07T15:17:11.387Z] Login Succeeded [2022-11-07T15:17:11.387Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:17:11.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:11.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:11.646Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:11.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:11.646Z] [2022-11-07T15:17:11.646Z] Login Succeeded [2022-11-07T15:17:11.646Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:17:11.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:11.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:11.646Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:11.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:11.646Z] [2022-11-07T15:17:11.646Z] Login Succeeded [2022-11-07T15:17:11.646Z] docker.io [2022-11-07T15:17:11.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:12.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:12.219Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:12.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:12.219Z] [2022-11-07T15:17:12.219Z] Login Succeeded [2022-11-07T15:17:12.219Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:17:12.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T15:17:12.603Z] + git rev-list -1 --merges adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f~1..adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [Pipeline] echo [2022-11-07T15:17:12.639Z] -----------> git rev-list -1 --merges adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f~1..adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [false] [Pipeline] sh [2022-11-07T15:17:12.931Z] + git log --format=format:%s -1 adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [Pipeline] echo [2022-11-07T15:17:12.945Z] ========================================================= [2022-11-07T15:17:12.945Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T15:17:12.945Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:17:13.282Z] + git log --format=format:%s -1 adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [Pipeline] echo [2022-11-07T15:17:13.291Z] [semverPrep] GIT_COMMIT: adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-11-07T15:17:13.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T15:17:13.648Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T15:17:13.648Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T15:17:13.648Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T15:17:13.648Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T15:17:13.648Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T15:17:13.648Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T15:17:13.648Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:13.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:13.998Z] [2022-11-07T15:17:13.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:14.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:14.299Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T15:17:14.299Z] b85a868b505f: Pulling fs layer [2022-11-07T15:17:14.299Z] e2be974225ed: Pulling fs layer [2022-11-07T15:17:14.299Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T15:17:14.299Z] 988bab9f4d93: Pulling fs layer [2022-11-07T15:17:14.299Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T15:17:14.299Z] eaf3925da568: Pulling fs layer [2022-11-07T15:17:14.299Z] bab4dde63d76: Pulling fs layer [2022-11-07T15:17:14.299Z] bde34c3a00c8: Pulling fs layer [2022-11-07T15:17:14.299Z] b352a97aabf1: Pulling fs layer [2022-11-07T15:17:14.299Z] 4872d77fe225: Pulling fs layer [2022-11-07T15:17:14.299Z] 5851b861e8e6: Pulling fs layer [2022-11-07T15:17:14.299Z] 988bab9f4d93: Waiting [2022-11-07T15:17:14.299Z] 1469e6f7b9e6: Waiting [2022-11-07T15:17:14.299Z] eaf3925da568: Waiting [2022-11-07T15:17:14.299Z] bab4dde63d76: Waiting [2022-11-07T15:17:14.299Z] bde34c3a00c8: Waiting [2022-11-07T15:17:14.299Z] b352a97aabf1: Waiting [2022-11-07T15:17:14.299Z] 4872d77fe225: Waiting [2022-11-07T15:17:14.299Z] e2be974225ed: Download complete [2022-11-07T15:17:14.563Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T15:17:14.563Z] 1469e6f7b9e6: Download complete [2022-11-07T15:17:14.563Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T15:17:14.563Z] 339a4e72a1f5: Download complete [2022-11-07T15:17:14.563Z] eaf3925da568: Verifying Checksum [2022-11-07T15:17:14.563Z] eaf3925da568: Download complete [2022-11-07T15:17:14.563Z] bde34c3a00c8: Verifying Checksum [2022-11-07T15:17:14.563Z] bde34c3a00c8: Download complete [2022-11-07T15:17:14.563Z] b352a97aabf1: Verifying Checksum [2022-11-07T15:17:14.563Z] b352a97aabf1: Download complete [2022-11-07T15:17:14.563Z] 4872d77fe225: Verifying Checksum [2022-11-07T15:17:14.563Z] 4872d77fe225: Download complete [2022-11-07T15:17:14.563Z] 5851b861e8e6: Verifying Checksum [2022-11-07T15:17:14.563Z] 5851b861e8e6: Download complete [2022-11-07T15:17:14.563Z] b85a868b505f: Verifying Checksum [2022-11-07T15:17:14.563Z] b85a868b505f: Download complete [2022-11-07T15:17:14.822Z] bab4dde63d76: Verifying Checksum [2022-11-07T15:17:14.822Z] bab4dde63d76: Download complete [2022-11-07T15:17:15.760Z] b85a868b505f: Pull complete [2022-11-07T15:17:16.020Z] e2be974225ed: Pull complete [2022-11-07T15:17:16.590Z] 339a4e72a1f5: Pull complete [2022-11-07T15:17:16.590Z] 988bab9f4d93: Pull complete [2022-11-07T15:17:16.849Z] 1469e6f7b9e6: Pull complete [2022-11-07T15:17:16.849Z] eaf3925da568: Pull complete [2022-11-07T15:17:18.753Z] bab4dde63d76: Pull complete [2022-11-07T15:17:18.753Z] bde34c3a00c8: Pull complete [2022-11-07T15:17:19.013Z] b352a97aabf1: Pull complete [2022-11-07T15:17:19.013Z] 4872d77fe225: Pull complete [2022-11-07T15:17:19.013Z] 5851b861e8e6: Pull complete [2022-11-07T15:17:19.013Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T15:17:19.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:19.013Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:17:19.117Z] prd-ubuntu20.04-docker-8c-8g-118421 does not seem to be running inside a container [2022-11-07T15:17:19.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-66 -v /w/workspace/edgexfoundry_device-gpio_PR-66:/w/workspace/edgexfoundry_device-gpio_PR-66:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-66@tmp:/w/workspace/edgexfoundry_device-gpio_PR-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T15:17:22.356Z] $ docker top 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 -eo pid,comm [2022-11-07T15:17:22.425Z] 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-11-07T15:17:22.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T15:17:22.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T15:17:22.466Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T15:17:22.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T15:17:22.577Z] $ docker exec 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 ssh-agent [2022-11-07T15:17:22.707Z] SSH_AUTH_SOCK=/tmp/ssh-JJ5PjrnFaF16/agent.33 [2022-11-07T15:17:22.707Z] SSH_AGENT_PID=39 [2022-11-07T15:17:22.713Z] Running ssh-add (command line suppressed) [2022-11-07T15:17:22.818Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-66@tmp/private_key_15867345992053083637.key (/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/private_key_15867345992053083637.key) [2022-11-07T15:17:22.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T15:17:23.129Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T15:17:23.135Z] $ docker exec --env ******** --env ******** 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 ssh-agent -k [2022-11-07T15:17:23.249Z] unset SSH_AUTH_SOCK; [2022-11-07T15:17:23.249Z] unset SSH_AGENT_PID; [2022-11-07T15:17:23.249Z] echo Agent pid 39 killed; [2022-11-07T15:17:23.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T15:17:23.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T15:17:23.289Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T15:17:23.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T15:17:23.412Z] $ docker exec 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 ssh-agent [2022-11-07T15:17:23.527Z] SSH_AUTH_SOCK=/tmp/ssh-2k7IiKssP3PE/agent.71 [2022-11-07T15:17:23.527Z] SSH_AGENT_PID=77 [2022-11-07T15:17:23.533Z] Running ssh-add (command line suppressed) [2022-11-07T15:17:23.631Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-66@tmp/private_key_15671763139599514378.key (/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/private_key_15671763139599514378.key) [2022-11-07T15:17:23.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T15:17:23.943Z] + git semver init [2022-11-07T15:17:24.203Z] 2022-11-07 15:17:24,139 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T15:17:24.203Z] 2022-11-07 15:17:24,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-66/.semver [2022-11-07T15:17:24.203Z] 2022-11-07 15:17:24,141 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-66/.semver [2022-11-07T15:17:24.203Z] 2022-11-07 15:17:24,141 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-66/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-66, universal_newlines=False, shell=None, istream=None) [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,218 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-66/.git/info/exclude [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,219 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-66/.semver/PR-66 with force:False [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,219 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-66/.semver/PR-66 [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,224 [execute] INFO git cat-file --batch-check [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-66/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,232 [execute] INFO git cat-file --batch [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-66/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T15:17:25.584Z] 2022-11-07 15:17:25,238 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-66/.semver/PR-66 [2022-11-07T15:17:25.584Z] 0.0.0 [Pipeline] } [2022-11-07T15:17:25.589Z] $ docker exec --env ******** --env ******** 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 ssh-agent -k [2022-11-07T15:17:25.689Z] unset SSH_AUTH_SOCK; [2022-11-07T15:17:25.689Z] unset SSH_AGENT_PID; [2022-11-07T15:17:25.690Z] echo Agent pid 77 killed; [2022-11-07T15:17:25.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T15:17:26.028Z] + git semver [Pipeline] } [2022-11-07T15:17:26.297Z] $ docker stop --time=1 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 [2022-11-07T15:17:27.599Z] $ docker rm -f 252d4a47e2c01f274fe7b5cdc2ec6f876be79ae58c5b157782ec9f89d1f96e61 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:17:27.940Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T15:17:28.121Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T15:17:28.124Z] [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-11-07T15:17:28.275Z] provisioning config files... [2022-11-07T15:17:28.285Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/config5771305692926791632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:17:28.578Z] ---> docker-login.sh [2022-11-07T15:17:28.579Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:17:28.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:28.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:28.579Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:28.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:28.579Z] [2022-11-07T15:17:28.579Z] Login Succeeded [2022-11-07T15:17:28.579Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:17:28.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:28.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:28.579Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:28.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:28.579Z] [2022-11-07T15:17:28.579Z] Login Succeeded [2022-11-07T15:17:28.579Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:17:28.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:28.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:28.838Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:28.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:28.838Z] [2022-11-07T15:17:28.838Z] Login Succeeded [2022-11-07T15:17:28.838Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:17:28.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:28.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:28.838Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:28.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:28.838Z] [2022-11-07T15:17:28.838Z] Login Succeeded [2022-11-07T15:17:28.838Z] docker.io [2022-11-07T15:17:29.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:29.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:29.360Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:29.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:29.360Z] [2022-11-07T15:17:29.360Z] Login Succeeded [2022-11-07T15:17:29.360Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:17:29.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T15:17:29.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:17:29.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:17:29.465Z] ========================================================= [2022-11-07T15:17:29.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T15:17:29.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:29.790Z] + 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-11-07T15:17:29.790Z] Sending build context to Docker daemon 15.92MB [2022-11-07T15:17:29.790Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:17:29.790Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T15:17:29.790Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T15:17:29.790Z] 213ec9aee27d: Pulling fs layer [2022-11-07T15:17:29.790Z] 4583459ba037: Pulling fs layer [2022-11-07T15:17:29.790Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T15:17:29.790Z] 53926ce57604: Pulling fs layer [2022-11-07T15:17:29.790Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T15:17:29.790Z] 22ff95d597cd: Pulling fs layer [2022-11-07T15:17:29.790Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T15:17:29.790Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T15:17:29.790Z] a7acece74701: Pulling fs layer [2022-11-07T15:17:29.790Z] 53926ce57604: Waiting [2022-11-07T15:17:29.790Z] 21b2b0c7a3f4: Waiting [2022-11-07T15:17:29.790Z] 22ff95d597cd: Waiting [2022-11-07T15:17:29.790Z] 12d6caf4c0d1: Waiting [2022-11-07T15:17:29.790Z] 96b7cbca73a9: Waiting [2022-11-07T15:17:29.790Z] a7acece74701: Waiting [2022-11-07T15:17:29.790Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T15:17:29.790Z] 93c1e223e6f2: Download complete [2022-11-07T15:17:29.790Z] 4583459ba037: Download complete [2022-11-07T15:17:30.056Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T15:17:30.056Z] 21b2b0c7a3f4: Download complete [2022-11-07T15:17:30.056Z] 22ff95d597cd: Verifying Checksum [2022-11-07T15:17:30.056Z] 22ff95d597cd: Download complete [2022-11-07T15:17:30.056Z] 213ec9aee27d: Verifying Checksum [2022-11-07T15:17:30.056Z] 213ec9aee27d: Download complete [2022-11-07T15:17:30.056Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T15:17:30.056Z] 12d6caf4c0d1: Download complete [2022-11-07T15:17:30.056Z] 213ec9aee27d: Pull complete [2022-11-07T15:17:30.325Z] 4583459ba037: Pull complete [2022-11-07T15:17:30.325Z] 93c1e223e6f2: Pull complete [2022-11-07T15:17:30.590Z] a7acece74701: Verifying Checksum [2022-11-07T15:17:30.590Z] a7acece74701: Download complete [2022-11-07T15:17:30.590Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T15:17:30.590Z] 96b7cbca73a9: Download complete [2022-11-07T15:17:30.849Z] 53926ce57604: Verifying Checksum [2022-11-07T15:17:30.849Z] 53926ce57604: Download complete [2022-11-07T15:17:34.134Z] 53926ce57604: Pull complete [2022-11-07T15:17:34.394Z] 21b2b0c7a3f4: Pull complete [2022-11-07T15:17:34.394Z] 22ff95d597cd: Pull complete [2022-11-07T15:17:34.394Z] 12d6caf4c0d1: Pull complete [2022-11-07T15:17:36.296Z] 96b7cbca73a9: Pull complete [2022-11-07T15:17:37.230Z] a7acece74701: Pull complete [2022-11-07T15:17:37.230Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T15:17:37.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T15:17:37.230Z] ---> db6d94c90886 [2022-11-07T15:17:37.230Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:17:42.511Z] ---> Running in fde96e5e28e8 [2022-11-07T15:17:42.511Z] Removing intermediate container fde96e5e28e8 [2022-11-07T15:17:42.511Z] ---> e1653008a73f [2022-11-07T15:17:42.511Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:17:42.511Z] ---> Running in a767202eeeb3 [2022-11-07T15:17:42.511Z] Removing intermediate container a767202eeeb3 [2022-11-07T15:17:42.511Z] ---> 46bcc8798d1c [2022-11-07T15:17:42.511Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:17:42.511Z] ---> Running in 25cd3a5c2baf [2022-11-07T15:17:42.511Z] Removing intermediate container 25cd3a5c2baf [2022-11-07T15:17:42.511Z] ---> 81f53668793c [2022-11-07T15:17:42.511Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:17:42.511Z] ---> Running in 8cb5a725aeef [2022-11-07T15:17:42.511Z] Removing intermediate container 8cb5a725aeef [2022-11-07T15:17:42.511Z] ---> 5dbff672fa13 [2022-11-07T15:17:42.511Z] Step 7/12 : WORKDIR /device-gpio [2022-11-07T15:17:42.511Z] ---> Running in 56b785f3c2dc [2022-11-07T15:17:42.511Z] Removing intermediate container 56b785f3c2dc [2022-11-07T15:17:42.511Z] ---> b7837dffc06c [2022-11-07T15:17:42.511Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:17:42.511Z] ---> Running in 6a2c9bfbc0aa [2022-11-07T15:17:42.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:17:42.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:17:43.029Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T15:17:43.029Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T15:17:43.029Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T15:17:43.029Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T15:17:43.029Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:17:43.029Z] OK: 216 MiB in 55 packages [2022-11-07T15:17:43.221Z] Still waiting to schedule task [2022-11-07T15:17:43.221Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118420’ [2022-11-07T15:17:43.597Z] Removing intermediate container 6a2c9bfbc0aa [2022-11-07T15:17:43.597Z] ---> 67ea8a6d58ec [2022-11-07T15:17:43.597Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T15:17:43.597Z] ---> de772b63a307 [2022-11-07T15:17:43.597Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:17:43.597Z] ---> Running in c60e357849c9 [2022-11-07T15:18:10.184Z] Removing intermediate container c60e357849c9 [2022-11-07T15:18:10.184Z] ---> 912c60c20d7d [2022-11-07T15:18:10.184Z] Step 11/12 : COPY . . [2022-11-07T15:18:10.184Z] ---> d8d08caebdd1 [2022-11-07T15:18:10.184Z] Step 12/12 : RUN ${MAKE} [2022-11-07T15:18:10.184Z] ---> Running in b721a5f18c8b [2022-11-07T15:18:10.184Z] noop [2022-11-07T15:18:10.184Z] Removing intermediate container b721a5f18c8b [2022-11-07T15:18:10.184Z] ---> 9ea6a1b555e7 [2022-11-07T15:18:10.184Z] Successfully built 9ea6a1b555e7 [2022-11-07T15:18:10.184Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:10.489Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T15:18:10.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:18:10.553Z] prd-ubuntu20.04-docker-8c-8g-118421 does not seem to be running inside a container [2022-11-07T15:18:10.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-66 -v /w/workspace/edgexfoundry_device-gpio_PR-66:/w/workspace/edgexfoundry_device-gpio_PR-66:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-66@tmp:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T15:18:10.923Z] $ docker top 6f2c18c58dd1265e40eed7ecebd9410b4399af2d4da9fe4b7433a415df0a49cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:18:11.257Z] + go version [2022-11-07T15:18:11.257Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T15:18:11.271Z] $ docker stop --time=1 6f2c18c58dd1265e40eed7ecebd9410b4399af2d4da9fe4b7433a415df0a49cd [2022-11-07T15:18:12.549Z] $ docker rm -f 6f2c18c58dd1265e40eed7ecebd9410b4399af2d4da9fe4b7433a415df0a49cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:12.965Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T15:18:12.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:18:13.032Z] prd-ubuntu20.04-docker-8c-8g-118421 does not seem to be running inside a container [2022-11-07T15:18:13.070Z] $ 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-66 -v /w/workspace/edgexfoundry_device-gpio_PR-66:/w/workspace/edgexfoundry_device-gpio_PR-66:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-66@tmp:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T15:18:13.390Z] $ docker top e48cd442cfd0a98f1f8f2b769a11c22bd351118c9351e7779a63b0c424b9bea4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:18:13.743Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-66 [Pipeline] fileExists [Pipeline] sh [2022-11-07T15:18:14.046Z] + make test [2022-11-07T15:18:14.046Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T15:18:14.304Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-07T15:18:24.268Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-07T15:18:24.268Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-07T15:18:29.527Z] 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-11-07T15:18:29.527Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T15:18:32.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T15:18:32.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T15:18:32.806Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T15:18:33.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T15:18:33.095Z] $ docker stop --time=1 e48cd442cfd0a98f1f8f2b769a11c22bd351118c9351e7779a63b0c424b9bea4 [2022-11-07T15:18:35.750Z] $ docker rm -f e48cd442cfd0a98f1f8f2b769a11c22bd351118c9351e7779a63b0c424b9bea4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:18:36.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T15:18:36.263Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T15:18:36.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T15:18:37.000Z] + ls -al . [2022-11-07T15:18:37.000Z] total 168 [2022-11-07T15:18:37.000Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 15:18 . [2022-11-07T15:18:37.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:17 .. [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 7 15:17 .dockerignore [2022-11-07T15:18:37.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:18 .git [2022-11-07T15:18:37.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:17 .github [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 15:17 .gitignore [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 15:17 .golangci.yml [2022-11-07T15:18:37.000Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:17 .semver [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 7 15:17 Attribution.txt [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 7 15:17 CHANGELOG.md [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 7 15:17 Dockerfile [2022-11-07T15:18:37.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:17 GOVERNANCE.md [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 15:17 Jenkinsfile [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 15:17 LICENSE [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 7 15:17 Makefile [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 15:17 OWNERS.md [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 7 15:17 README.md [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:17 VERSION [2022-11-07T15:18:37.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:17 bin [2022-11-07T15:18:37.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:17 cmd [2022-11-07T15:18:37.001Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 7 15:18 coverage.out [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 3406 Nov 7 15:17 go.mod [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 44991 Nov 7 15:17 go.sum [2022-11-07T15:18:37.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:17 internal [2022-11-07T15:18:37.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:17 snap [2022-11-07T15:18:37.001Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:37.311Z] + 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=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f --label arch=amd64 --label version=0.0.0 . [2022-11-07T15:18:37.311Z] Sending build context to Docker daemon 15.92MB [2022-11-07T15:18:37.311Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:18:37.311Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T15:18:37.311Z] ---> 9ea6a1b555e7 [2022-11-07T15:18:37.311Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:18:37.576Z] ---> Running in 676d17773688 [2022-11-07T15:18:37.576Z] Removing intermediate container 676d17773688 [2022-11-07T15:18:37.576Z] ---> f0fee8cc965a [2022-11-07T15:18:37.576Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:18:37.834Z] ---> Running in 0c2f932fe390 [2022-11-07T15:18:37.834Z] Removing intermediate container 0c2f932fe390 [2022-11-07T15:18:37.834Z] ---> 4e84bdb74556 [2022-11-07T15:18:37.834Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:18:37.834Z] ---> Running in 08ebeeae535f [2022-11-07T15:18:37.834Z] Removing intermediate container 08ebeeae535f [2022-11-07T15:18:37.834Z] ---> 8de04f082002 [2022-11-07T15:18:37.834Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:18:37.834Z] ---> Running in 4350e7fe06ed [2022-11-07T15:18:38.092Z] Removing intermediate container 4350e7fe06ed [2022-11-07T15:18:38.093Z] ---> d2761b5ce881 [2022-11-07T15:18:38.093Z] Step 7/25 : WORKDIR /device-gpio [2022-11-07T15:18:38.093Z] ---> Running in 7ff97a3d640c [2022-11-07T15:18:38.093Z] Removing intermediate container 7ff97a3d640c [2022-11-07T15:18:38.093Z] ---> 6e50354a4ecb [2022-11-07T15:18:38.093Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:18:38.093Z] ---> Running in 2f4f9c54dd44 [2022-11-07T15:18:38.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:18:38.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:18:38.610Z] OK: 216 MiB in 55 packages [2022-11-07T15:18:38.897Z] Removing intermediate container 2f4f9c54dd44 [2022-11-07T15:18:38.897Z] ---> ae5f0e75eddb [2022-11-07T15:18:38.897Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T15:18:39.155Z] ---> c7c9c759a7cb [2022-11-07T15:18:39.155Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:18:39.155Z] ---> Running in 3bb82e8f2dfb [2022-11-07T15:18:39.723Z] Removing intermediate container 3bb82e8f2dfb [2022-11-07T15:18:39.723Z] ---> 82197c32e6d0 [2022-11-07T15:18:39.723Z] Step 11/25 : COPY . . [2022-11-07T15:18:40.388Z] ---> 457ba2c17366 [2022-11-07T15:18:40.388Z] Step 12/25 : RUN ${MAKE} [2022-11-07T15:18:40.388Z] ---> Running in 1f79833a5267 [2022-11-07T15:18:40.388Z] 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-11-07T15:19:02.321Z] Removing intermediate container 1f79833a5267 [2022-11-07T15:19:02.321Z] ---> 00d7b8ad714f [2022-11-07T15:19:02.321Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T15:19:02.321Z] 3.16: Pulling from library/alpine [2022-11-07T15:19:02.580Z] 213ec9aee27d: Already exists [2022-11-07T15:19:02.853Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T15:19:02.853Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T15:19:02.853Z] ---> 9c6f07244728 [2022-11-07T15:19:02.853Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-07T15:19:02.853Z] ---> Running in 667f3df91fab [2022-11-07T15:19:03.113Z] Removing intermediate container 667f3df91fab [2022-11-07T15:19:03.113Z] ---> d913db848b71 [2022-11-07T15:19:03.113Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-07T15:19:03.113Z] ---> Running in 66cdd8c0a435 [2022-11-07T15:19:03.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:19:03.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:19:03.633Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T15:19:03.633Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T15:19:03.633Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T15:19:03.633Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T15:19:03.633Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T15:19:03.633Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:19:03.633Z] OK: 8 MiB in 19 packages [2022-11-07T15:19:04.199Z] Removing intermediate container 66cdd8c0a435 [2022-11-07T15:19:04.199Z] ---> 7deacc4653ee [2022-11-07T15:19:04.199Z] Step 16/25 : WORKDIR / [2022-11-07T15:19:04.199Z] ---> Running in 4ab79ea6ea42 [2022-11-07T15:19:04.199Z] Removing intermediate container 4ab79ea6ea42 [2022-11-07T15:19:04.199Z] ---> afc7c500c970 [2022-11-07T15:19:04.199Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-07T15:19:04.460Z] ---> 7e31892c11de [2022-11-07T15:19:04.460Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-07T15:19:04.460Z] ---> 894b94c304df [2022-11-07T15:19:04.460Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-07T15:19:05.416Z] ---> 3b9a1d02faf0 [2022-11-07T15:19:05.416Z] Step 20/25 : EXPOSE 59910 [2022-11-07T15:19:05.416Z] ---> Running in 61a4d7db4176 [2022-11-07T15:19:05.676Z] Removing intermediate container 61a4d7db4176 [2022-11-07T15:19:05.676Z] ---> 69b2f776a655 [2022-11-07T15:19:05.676Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-07T15:19:05.676Z] ---> Running in ea23fd6c19fd [2022-11-07T15:19:05.676Z] Removing intermediate container ea23fd6c19fd [2022-11-07T15:19:05.676Z] ---> 488c77d52946 [2022-11-07T15:19:05.676Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T15:19:05.676Z] ---> Running in 387c46b3ab10 [2022-11-07T15:19:05.676Z] Removing intermediate container 387c46b3ab10 [2022-11-07T15:19:05.676Z] ---> a8e6b30d0407 [2022-11-07T15:19:05.676Z] Step 23/25 : LABEL arch=amd64 [2022-11-07T15:19:05.676Z] ---> Running in be7271d23892 [2022-11-07T15:19:05.936Z] Removing intermediate container be7271d23892 [2022-11-07T15:19:05.936Z] ---> b889b2c4446b [2022-11-07T15:19:05.936Z] Step 24/25 : LABEL git_sha=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [2022-11-07T15:19:05.936Z] ---> Running in 1ef11641a340 [2022-11-07T15:19:05.936Z] Removing intermediate container 1ef11641a340 [2022-11-07T15:19:05.936Z] ---> 99b681c28e33 [2022-11-07T15:19:05.936Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T15:19:05.936Z] ---> Running in 5a35cddbdb4c [2022-11-07T15:19:05.936Z] Removing intermediate container 5a35cddbdb4c [2022-11-07T15:19:05.936Z] ---> 86122848e4d7 [2022-11-07T15:19:05.936Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T15:19:05.936Z] Successfully built 86122848e4d7 [2022-11-07T15:19:05.936Z] 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-11-07T15:19:06.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:06.360Z] [2022-11-07T15:19:06.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:19:06.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:06.656Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T15:19:06.656Z] 5eb5b503b376: Pulling fs layer [2022-11-07T15:19:06.656Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T15:19:06.656Z] ec43610c2a17: Pulling fs layer [2022-11-07T15:19:06.656Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T15:19:06.656Z] 33b1e0a273af: Pulling fs layer [2022-11-07T15:19:06.656Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T15:19:06.656Z] 2f39f015ded8: Pulling fs layer [2022-11-07T15:19:06.656Z] 33b1e0a273af: Waiting [2022-11-07T15:19:06.656Z] 5d3b04190fa2: Waiting [2022-11-07T15:19:06.656Z] 2f39f015ded8: Waiting [2022-11-07T15:19:06.656Z] 3a2ae6a8a46f: Waiting [2022-11-07T15:19:06.656Z] 5c69ac0246d0: Download complete [2022-11-07T15:19:06.656Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T15:19:06.656Z] 3a2ae6a8a46f: Download complete [2022-11-07T15:19:06.656Z] 33b1e0a273af: Verifying Checksum [2022-11-07T15:19:06.656Z] 33b1e0a273af: Download complete [2022-11-07T15:19:06.917Z] 5d3b04190fa2: Download complete [2022-11-07T15:19:06.917Z] ec43610c2a17: Verifying Checksum [2022-11-07T15:19:06.917Z] ec43610c2a17: Download complete [2022-11-07T15:19:06.917Z] 5eb5b503b376: Download complete [2022-11-07T15:19:07.492Z] 2f39f015ded8: Verifying Checksum [2022-11-07T15:19:07.492Z] 2f39f015ded8: Download complete [2022-11-07T15:19:08.062Z] 5eb5b503b376: Pull complete [2022-11-07T15:19:08.321Z] 5c69ac0246d0: Pull complete [2022-11-07T15:19:08.886Z] ec43610c2a17: Pull complete [2022-11-07T15:19:08.886Z] 3a2ae6a8a46f: Pull complete [2022-11-07T15:19:09.146Z] 33b1e0a273af: Pull complete [2022-11-07T15:19:09.146Z] 5d3b04190fa2: Pull complete [2022-11-07T15:19:14.411Z] 2f39f015ded8: Pull complete [2022-11-07T15:19:14.411Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T15:19:14.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:14.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:19:14.485Z] prd-ubuntu20.04-docker-8c-8g-118421 does not seem to be running inside a container [2022-11-07T15:19:14.521Z] $ 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-66 -v /w/workspace/edgexfoundry_device-gpio_PR-66:/w/workspace/edgexfoundry_device-gpio_PR-66:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-66@tmp:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T15:19:18.202Z] $ docker top b563be8098af846f6344dac61ad7728ac7d8a348b0a6a8f444723688b334192b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:19:18.574Z] ---> job-cost.sh [2022-11-07T15:19:18.575Z] lf-activate-venv: SKIPPING [2022-11-07T15:19:18.575Z] INFO: No Stack... [2022-11-07T15:19:18.835Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T15:19:19.403Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T15:19:19.700Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-66/archives/cost.csv [2022-11-07T15:19:19.700Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T15:19:19.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [2022-11-07T15:19:19.757Z] Resource [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] did not exist. Created. [2022-11-07T15:19:19.757Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T15:19:20.066Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T15:19:20.097Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T15:19:20.103Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T15:19:20.126Z] $ docker stop --time=1 b563be8098af846f6344dac61ad7728ac7d8a348b0a6a8f444723688b334192b [2022-11-07T15:19:21.290Z] $ docker rm -f b563be8098af846f6344dac61ad7728ac7d8a348b0a6a8f444723688b334192b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T15:19:53.594Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118426 in /w/workspace/edgexfoundry_device-gpio_PR-66 [Pipeline] { [Pipeline] ws [2022-11-07T15:19:53.607Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-11-07T15:19:53.648Z] The recommended git tool is: git [2022-11-07T15:20:01.869Z] using credential edgex-jenkins-ssh [2022-11-07T15:20:01.894Z] Cloning the remote Git repository [2022-11-07T15:20:01.959Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-11-07T15:20:02.063Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-11-07T15:20:02.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-07T15:20:02.249Z] > git --version # timeout=10 [2022-11-07T15:20:02.274Z] > git --version # 'git version 2.25.1' [2022-11-07T15:20:02.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:02.335Z] Verifying host key using known hosts file [2022-11-07T15:20:02.591Z] 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-11-07T15:20:02.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T15:20:04.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-07T15:20:04.637Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T15:20:06.484Z] Merging remotes/origin/main commit 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 into PR head commit adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [2022-11-07T15:20:06.776Z] Merge succeeded, producing adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [2022-11-07T15:20:06.777Z] Checking out Revision adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f (PR-66) [2022-11-07T15:20:05.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-07T15:20:05.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-07T15:20:05.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:05.872Z] Verifying host key using known hosts file [2022-11-07T15:20:05.884Z] 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-11-07T15:20:05.904Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T15:20:06.512Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T15:20:06.539Z] > git checkout -f adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f # timeout=10 [2022-11-07T15:20:06.654Z] > git remote # timeout=10 [2022-11-07T15:20:06.676Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T15:20:06.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:06.710Z] Verifying host key using known hosts file [2022-11-07T15:20:06.715Z] 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-11-07T15:20:06.725Z] > git merge 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 # timeout=10 [2022-11-07T15:20:06.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T15:20:06.787Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T15:20:06.808Z] > git checkout -f adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f # timeout=10 [2022-11-07T15:20:07.411Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:20:08.292Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T15:20:08.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T15:20:08.292Z] Dload Upload Total Spent Left Speed [2022-11-07T15:20:08.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 148k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2022-11-07T15:20:08.979Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T15:20:09.338Z] + sudo tee /etc/docker/daemon.new [2022-11-07T15:20:09.338Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T15:20:09.338Z] { [2022-11-07T15:20:09.338Z] "registry-mirrors": [ [2022-11-07T15:20:09.338Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T15:20:09.338Z] ], [2022-11-07T15:20:09.338Z] "bip": "10.250.0.254/24", [2022-11-07T15:20:09.338Z] "hosts": [ [2022-11-07T15:20:09.338Z] "tcp://0.0.0.0:5555", [2022-11-07T15:20:09.338Z] "unix:///var/run/docker.sock" [2022-11-07T15:20:09.338Z] ], [2022-11-07T15:20:09.338Z] "mtu": 1458, [2022-11-07T15:20:09.338Z] "selinux-enabled": true, [2022-11-07T15:20:09.338Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T15:20:09.338Z] } [Pipeline] sh [2022-11-07T15:20:09.700Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T15:20:10.056Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:20:28.405Z] provisioning config files... [2022-11-07T15:20:28.439Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8011672062237857044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:20:28.840Z] ---> docker-login.sh [2022-11-07T15:20:28.840Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:20:29.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:20:29.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:20:29.713Z] Configure a credential helper to remove this warning. See [2022-11-07T15:20:29.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:20:29.713Z] [2022-11-07T15:20:29.713Z] Login Succeeded [2022-11-07T15:20:29.713Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:20:29.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:20:29.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:20:29.991Z] Configure a credential helper to remove this warning. See [2022-11-07T15:20:29.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:20:29.991Z] [2022-11-07T15:20:29.991Z] Login Succeeded [2022-11-07T15:20:29.991Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:20:30.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:20:30.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:20:30.542Z] Configure a credential helper to remove this warning. See [2022-11-07T15:20:30.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:20:30.542Z] [2022-11-07T15:20:30.542Z] Login Succeeded [2022-11-07T15:20:30.542Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:20:30.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:20:30.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:20:30.825Z] Configure a credential helper to remove this warning. See [2022-11-07T15:20:30.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:20:30.825Z] [2022-11-07T15:20:30.825Z] Login Succeeded [2022-11-07T15:20:30.825Z] docker.io [2022-11-07T15:20:31.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:20:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:20:31.704Z] Configure a credential helper to remove this warning. See [2022-11-07T15:20:31.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:20:31.704Z] [2022-11-07T15:20:31.704Z] Login Succeeded [2022-11-07T15:20:31.704Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:20:31.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T15:20:32.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:20:32.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:20:32.164Z] ========================================================= [2022-11-07T15:20:32.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T15:20:32.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:20:32.535Z] + 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-11-07T15:20:33.147Z] Sending build context to Docker daemon 8.029MB [2022-11-07T15:20:33.147Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:20:33.147Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T15:20:33.147Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T15:20:33.147Z] 9b18e9b68314: Pulling fs layer [2022-11-07T15:20:33.147Z] 35d82f9e3411: Pulling fs layer [2022-11-07T15:20:33.147Z] e16973657156: Pulling fs layer [2022-11-07T15:20:33.147Z] fc693d55d65f: Pulling fs layer [2022-11-07T15:20:33.147Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T15:20:33.147Z] dda99020689f: Pulling fs layer [2022-11-07T15:20:33.147Z] db1c61fa0a46: Pulling fs layer [2022-11-07T15:20:33.147Z] 891c053d2c06: Pulling fs layer [2022-11-07T15:20:33.147Z] fc693d55d65f: Waiting [2022-11-07T15:20:33.147Z] dda99020689f: Waiting [2022-11-07T15:20:33.147Z] 891c053d2c06: Waiting [2022-11-07T15:20:33.147Z] 7e9fc2657dce: Waiting [2022-11-07T15:20:33.147Z] db1c61fa0a46: Waiting [2022-11-07T15:20:33.147Z] e16973657156: Verifying Checksum [2022-11-07T15:20:33.147Z] e16973657156: Download complete [2022-11-07T15:20:33.147Z] 35d82f9e3411: Download complete [2022-11-07T15:20:33.147Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T15:20:33.147Z] 7e9fc2657dce: Download complete [2022-11-07T15:20:33.437Z] dda99020689f: Verifying Checksum [2022-11-07T15:20:33.437Z] dda99020689f: Download complete [2022-11-07T15:20:33.437Z] 9b18e9b68314: Verifying Checksum [2022-11-07T15:20:33.437Z] 9b18e9b68314: Download complete [2022-11-07T15:20:34.418Z] 9b18e9b68314: Pull complete [2022-11-07T15:20:34.692Z] 891c053d2c06: Verifying Checksum [2022-11-07T15:20:34.692Z] 891c053d2c06: Download complete [2022-11-07T15:20:34.971Z] 35d82f9e3411: Pull complete [2022-11-07T15:20:35.249Z] e16973657156: Pull complete [2022-11-07T15:20:36.232Z] db1c61fa0a46: Verifying Checksum [2022-11-07T15:20:36.232Z] db1c61fa0a46: Download complete [2022-11-07T15:20:36.506Z] fc693d55d65f: Verifying Checksum [2022-11-07T15:20:36.506Z] fc693d55d65f: Download complete [2022-11-07T15:20:51.715Z] fc693d55d65f: Pull complete [2022-11-07T15:20:51.715Z] 7e9fc2657dce: Pull complete [2022-11-07T15:20:51.715Z] dda99020689f: Pull complete [2022-11-07T15:20:58.412Z] db1c61fa0a46: Pull complete [2022-11-07T15:20:59.837Z] 891c053d2c06: Pull complete [2022-11-07T15:20:59.837Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T15:20:59.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T15:20:59.837Z] ---> f96f9c87975a [2022-11-07T15:20:59.837Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:21:00.820Z] ---> Running in 76658229c378 [2022-11-07T15:21:01.090Z] Removing intermediate container 76658229c378 [2022-11-07T15:21:01.090Z] ---> fe9d4ab7f92c [2022-11-07T15:21:01.090Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:21:01.090Z] ---> Running in 054c32c58a5a [2022-11-07T15:21:01.681Z] Removing intermediate container 054c32c58a5a [2022-11-07T15:21:01.681Z] ---> 4a8372201c73 [2022-11-07T15:21:01.681Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:21:01.681Z] ---> Running in 525e49728138 [2022-11-07T15:21:02.275Z] Removing intermediate container 525e49728138 [2022-11-07T15:21:02.275Z] ---> a7b506be41e4 [2022-11-07T15:21:02.275Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:21:02.275Z] ---> Running in 3d6806ab948b [2022-11-07T15:21:02.552Z] Removing intermediate container 3d6806ab948b [2022-11-07T15:21:02.552Z] ---> 7b6e08612e88 [2022-11-07T15:21:02.552Z] Step 7/12 : WORKDIR /device-gpio [2022-11-07T15:21:02.825Z] ---> Running in 3dc8e727b399 [2022-11-07T15:21:03.094Z] Removing intermediate container 3dc8e727b399 [2022-11-07T15:21:03.094Z] ---> 12e427a890d0 [2022-11-07T15:21:03.094Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:21:03.094Z] ---> Running in efd151f2283c [2022-11-07T15:21:04.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:21:04.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:21:06.233Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T15:21:06.233Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T15:21:06.233Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T15:21:06.504Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T15:21:06.504Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:21:06.504Z] OK: 226 MiB in 55 packages [2022-11-07T15:21:07.940Z] Removing intermediate container efd151f2283c [2022-11-07T15:21:07.940Z] ---> 8966dbb99c6f [2022-11-07T15:21:07.940Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T15:21:08.233Z] ---> d23a7240f24b [2022-11-07T15:21:08.233Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:21:08.233Z] ---> Running in 97c46ec0c109 [2022-11-07T15:22:16.218Z] Removing intermediate container 97c46ec0c109 [2022-11-07T15:22:16.218Z] ---> 0ee1c84f0797 [2022-11-07T15:22:16.218Z] Step 11/12 : COPY . . [2022-11-07T15:22:16.218Z] ---> ae5793eef213 [2022-11-07T15:22:16.218Z] Step 12/12 : RUN ${MAKE} [2022-11-07T15:22:16.218Z] ---> Running in dc31cb5a0a89 [2022-11-07T15:22:16.218Z] noop [2022-11-07T15:22:16.218Z] Removing intermediate container dc31cb5a0a89 [2022-11-07T15:22:16.218Z] ---> 26637160ed90 [2022-11-07T15:22:16.218Z] Successfully built 26637160ed90 [2022-11-07T15:22:16.218Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:22:16.579Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T15:22:16.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:22:16.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-118426 does not seem to be running inside a container [2022-11-07T15:22:16.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T15:22:18.388Z] $ docker top 825bc9c0b616d97ef3248c39e257a6f4bc31fb05156d5029a87c64922980f719 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:22:19.304Z] + go version [2022-11-07T15:22:19.304Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T15:22:19.327Z] $ docker stop --time=1 825bc9c0b616d97ef3248c39e257a6f4bc31fb05156d5029a87c64922980f719 [2022-11-07T15:22:21.067Z] $ docker rm -f 825bc9c0b616d97ef3248c39e257a6f4bc31fb05156d5029a87c64922980f719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:22:21.664Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T15:22:21.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:22:21.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-118426 does not seem to be running inside a container [2022-11-07T15:22:21.976Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T15:22:23.444Z] $ docker top fb7b92a4a566b99c45a5d4abfd5331faa0af0f910ef78c67df2146056c67627d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:22:24.332Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2022-11-07T15:22:24.996Z] + make test [2022-11-07T15:22:24.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T15:22:26.956Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-07T15:24:18.746Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-07T15:24:18.746Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-07T15:24:18.746Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T15:24:18.746Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T15:24:45.494Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T15:24:45.494Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T15:24:45.494Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T15:24:45.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T15:24:45.531Z] $ docker stop --time=1 fb7b92a4a566b99c45a5d4abfd5331faa0af0f910ef78c67df2146056c67627d [2022-11-07T15:24:47.573Z] $ docker rm -f fb7b92a4a566b99c45a5d4abfd5331faa0af0f910ef78c67df2146056c67627d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:24:48.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T15:24:48.618Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T15:24:49.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:24:49.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T15:24:49.836Z] + ls -al . [2022-11-07T15:24:49.836Z] total 164 [2022-11-07T15:24:49.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:22 . [2022-11-07T15:24:49.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:20 .. [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 7 15:20 .dockerignore [2022-11-07T15:24:49.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:20 .git [2022-11-07T15:24:49.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:20 .github [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 15:20 .gitignore [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 15:20 .golangci.yml [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 7 15:20 Attribution.txt [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 7 15:20 CHANGELOG.md [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 7 15:20 Dockerfile [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:20 GOVERNANCE.md [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 15:20 Jenkinsfile [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 15:20 LICENSE [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 7 15:20 Makefile [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 15:20 OWNERS.md [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 7 15:20 README.md [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:17 VERSION [2022-11-07T15:24:49.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:20 bin [2022-11-07T15:24:49.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:20 cmd [2022-11-07T15:24:49.836Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 7 15:22 coverage.out [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 3406 Nov 7 15:20 go.mod [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 44991 Nov 7 15:20 go.sum [2022-11-07T15:24:49.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:20 internal [2022-11-07T15:24:49.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:20 snap [2022-11-07T15:24:49.836Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 15:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:24:50.200Z] + 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=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f --label arch=arm64 --label version=0.0.0 . [2022-11-07T15:24:50.791Z] Sending build context to Docker daemon 8.03MB [2022-11-07T15:24:50.791Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:24:50.791Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T15:24:50.791Z] ---> 26637160ed90 [2022-11-07T15:24:50.791Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:24:51.062Z] ---> Running in 2d765eea3dfc [2022-11-07T15:24:51.329Z] Removing intermediate container 2d765eea3dfc [2022-11-07T15:24:51.329Z] ---> 8fdd1cc8026d [2022-11-07T15:24:51.329Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:24:51.603Z] ---> Running in 7306f386aeeb [2022-11-07T15:24:51.870Z] Removing intermediate container 7306f386aeeb [2022-11-07T15:24:51.870Z] ---> 6bc8b768ca6e [2022-11-07T15:24:51.870Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:24:52.139Z] ---> Running in dd81c6d75408 [2022-11-07T15:24:52.408Z] Removing intermediate container dd81c6d75408 [2022-11-07T15:24:52.408Z] ---> a4a88c48a44a [2022-11-07T15:24:52.408Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:24:52.408Z] ---> Running in 2511859c9270 [2022-11-07T15:24:52.995Z] Removing intermediate container 2511859c9270 [2022-11-07T15:24:52.995Z] ---> 0d3cfb70acbe [2022-11-07T15:24:52.995Z] Step 7/25 : WORKDIR /device-gpio [2022-11-07T15:24:52.995Z] ---> Running in e254fe1037f9 [2022-11-07T15:24:53.584Z] Removing intermediate container e254fe1037f9 [2022-11-07T15:24:53.584Z] ---> e4a4a70dc5b3 [2022-11-07T15:24:53.584Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:24:53.584Z] ---> Running in 6522dad7b03b [2022-11-07T15:24:56.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:24:56.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:24:58.377Z] OK: 226 MiB in 55 packages [2022-11-07T15:24:59.797Z] Removing intermediate container 6522dad7b03b [2022-11-07T15:24:59.797Z] ---> f89fefe81b0c [2022-11-07T15:24:59.797Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T15:25:00.384Z] ---> b78c4da9e183 [2022-11-07T15:25:00.384Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:25:00.660Z] ---> Running in e29d3db68e4e [2022-11-07T15:25:06.021Z] Removing intermediate container e29d3db68e4e [2022-11-07T15:25:06.021Z] ---> 2ac788382c72 [2022-11-07T15:25:06.021Z] Step 11/25 : COPY . . [2022-11-07T15:25:08.624Z] ---> 05a754f1021d [2022-11-07T15:25:08.624Z] Step 12/25 : RUN ${MAKE} [2022-11-07T15:25:08.624Z] ---> Running in 79f349019a8c [2022-11-07T15:25:10.078Z] 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-11-07T15:27:46.826Z] Removing intermediate container 79f349019a8c [2022-11-07T15:27:46.826Z] ---> b8b80bba7f34 [2022-11-07T15:27:46.826Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T15:27:46.826Z] 3.16: Pulling from library/alpine [2022-11-07T15:27:46.826Z] 9b18e9b68314: Already exists [2022-11-07T15:27:46.826Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T15:27:46.826Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T15:27:46.826Z] ---> a6215f271958 [2022-11-07T15:27:46.826Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-07T15:27:46.826Z] ---> Running in 151dc3723647 [2022-11-07T15:27:46.826Z] Removing intermediate container 151dc3723647 [2022-11-07T15:27:46.826Z] ---> 9c3dacd58f84 [2022-11-07T15:27:46.826Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-07T15:27:46.826Z] ---> Running in 2a95c392991e [2022-11-07T15:27:46.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:27:46.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:27:46.826Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T15:27:46.826Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T15:27:46.826Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T15:27:46.826Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T15:27:46.826Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T15:27:46.826Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:27:46.826Z] OK: 8 MiB in 19 packages [2022-11-07T15:27:46.826Z] Removing intermediate container 2a95c392991e [2022-11-07T15:27:46.826Z] ---> 092e9a66483c [2022-11-07T15:27:46.826Z] Step 16/25 : WORKDIR / [2022-11-07T15:27:46.826Z] ---> Running in 452d1d6e6c4c [2022-11-07T15:27:47.096Z] Removing intermediate container 452d1d6e6c4c [2022-11-07T15:27:47.096Z] ---> f64ab673daa7 [2022-11-07T15:27:47.096Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-07T15:27:47.687Z] ---> 3c3321130da3 [2022-11-07T15:27:47.687Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-07T15:27:48.271Z] ---> 5db5d3dc94de [2022-11-07T15:27:48.271Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-07T15:27:49.681Z] ---> 021d890a6054 [2022-11-07T15:27:49.681Z] Step 20/25 : EXPOSE 59910 [2022-11-07T15:27:49.681Z] ---> Running in 4c5b271891cc [2022-11-07T15:27:49.950Z] Removing intermediate container 4c5b271891cc [2022-11-07T15:27:49.950Z] ---> 0f307d609830 [2022-11-07T15:27:49.950Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-07T15:27:50.223Z] ---> Running in 907b32aaafce [2022-11-07T15:27:50.491Z] Removing intermediate container 907b32aaafce [2022-11-07T15:27:50.491Z] ---> 35ecee96f1b2 [2022-11-07T15:27:50.491Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T15:27:50.491Z] ---> Running in e6dfb0ada3c8 [2022-11-07T15:27:51.077Z] Removing intermediate container e6dfb0ada3c8 [2022-11-07T15:27:51.077Z] ---> 569fadf1efe6 [2022-11-07T15:27:51.077Z] Step 23/25 : LABEL arch=arm64 [2022-11-07T15:27:51.077Z] ---> Running in 70203a4b3253 [2022-11-07T15:27:51.346Z] Removing intermediate container 70203a4b3253 [2022-11-07T15:27:51.346Z] ---> 349e1fc1305a [2022-11-07T15:27:51.346Z] Step 24/25 : LABEL git_sha=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [2022-11-07T15:27:51.346Z] ---> Running in 89fe2d0993e7 [2022-11-07T15:27:51.625Z] Removing intermediate container 89fe2d0993e7 [2022-11-07T15:27:51.625Z] ---> 234c91fcd716 [2022-11-07T15:27:51.625Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T15:27:51.900Z] ---> Running in 84e7d872b754 [2022-11-07T15:27:52.170Z] Removing intermediate container 84e7d872b754 [2022-11-07T15:27:52.170Z] ---> ece61f5c0d72 [2022-11-07T15:27:52.170Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T15:27:52.170Z] Successfully built ece61f5c0d72 [2022-11-07T15:27:52.170Z] 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-11-07T15:27:52.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:27:52.621Z] [2022-11-07T15:27:52.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:27:52.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:27:53.232Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T15:27:53.232Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T15:27:53.232Z] 04944245beec: Pulling fs layer [2022-11-07T15:27:53.232Z] 699f458cf7ca: Pulling fs layer [2022-11-07T15:27:53.232Z] 765212b225bb: Pulling fs layer [2022-11-07T15:27:53.232Z] f23df028b6ca: Pulling fs layer [2022-11-07T15:27:53.232Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T15:27:53.232Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T15:27:53.232Z] f23df028b6ca: Waiting [2022-11-07T15:27:53.232Z] d65c8cfc05b1: Waiting [2022-11-07T15:27:53.232Z] 2437ff75d9bd: Waiting [2022-11-07T15:27:53.232Z] 765212b225bb: Waiting [2022-11-07T15:27:53.232Z] 04944245beec: Verifying Checksum [2022-11-07T15:27:53.232Z] 04944245beec: Download complete [2022-11-07T15:27:53.232Z] 765212b225bb: Verifying Checksum [2022-11-07T15:27:53.232Z] f23df028b6ca: Download complete [2022-11-07T15:27:53.507Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T15:27:53.507Z] d65c8cfc05b1: Download complete [2022-11-07T15:27:53.507Z] 699f458cf7ca: Verifying Checksum [2022-11-07T15:27:53.507Z] 699f458cf7ca: Download complete [2022-11-07T15:27:54.101Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T15:27:54.101Z] 8998bd30e6a1: Download complete [2022-11-07T15:27:56.693Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T15:27:56.693Z] 2437ff75d9bd: Download complete [2022-11-07T15:27:58.106Z] 8998bd30e6a1: Pull complete [2022-11-07T15:27:58.373Z] 04944245beec: Pull complete [2022-11-07T15:27:59.856Z] 699f458cf7ca: Pull complete [2022-11-07T15:28:00.158Z] 765212b225bb: Pull complete [2022-11-07T15:28:00.753Z] f23df028b6ca: Pull complete [2022-11-07T15:28:01.361Z] d65c8cfc05b1: Pull complete [2022-11-07T15:28:16.445Z] 2437ff75d9bd: Pull complete [2022-11-07T15:28:16.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T15:28:16.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:28:16.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:28:16.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-118426 does not seem to be running inside a container [2022-11-07T15:28:16.734Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T15:28:19.737Z] $ docker top a9b39d55e7755b0c213606e57ae97577513e32ff85301e4a8c72abb854c4d9cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:20.614Z] ---> job-cost.sh [2022-11-07T15:28:20.614Z] lf-activate-venv: SKIPPING [2022-11-07T15:28:20.614Z] INFO: No Stack... [2022-11-07T15:28:21.198Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T15:28:21.784Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T15:28:22.747Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2022-11-07T15:28:22.747Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T15:28:22.827Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [2022-11-07T15:28:22.837Z] Resource [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] did not exist. Created. [2022-11-07T15:28:22.838Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T15:28:23.499Z] /w/workspace/device-gpio/2@tmp/durable-a88f7408/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T15:28:24.151Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T15:28:24.173Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T15:28:24.220Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T15:28:24.226Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-66-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T15:28:24.240Z] $ docker stop --time=1 a9b39d55e7755b0c213606e57ae97577513e32ff85301e4a8c72abb854c4d9cf [2022-11-07T15:28:25.787Z] $ docker rm -f a9b39d55e7755b0c213606e57ae97577513e32ff85301e4a8c72abb854c4d9cf [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-11-07T15:28:26.136Z] provisioning config files... [2022-11-07T15:28:26.143Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/config15764853060832592813tmp [Pipeline] { [Pipeline] sh [2022-11-07T15:28:26.429Z] + set +x [2022-11-07T15:28:26.429Z] + curl -s https://codecov.io/bash [2022-11-07T15:28:26.429Z] + bash -s -- [2022-11-07T15:28:26.429Z] [2022-11-07T15:28:26.429Z] _____ _ [2022-11-07T15:28:26.429Z] / ____| | | [2022-11-07T15:28:26.429Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T15:28:26.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T15:28:26.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T15:28:26.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T15:28:26.429Z] Bash-1.0.6 [2022-11-07T15:28:26.429Z] [2022-11-07T15:28:26.429Z] [2022-11-07T15:28:26.429Z] ==> git version 2.25.1 found [2022-11-07T15:28:26.429Z] ==> 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-11-07T15:28:26.429Z] Release-Date: 2020-01-08 [2022-11-07T15:28:26.429Z] 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-11-07T15:28:26.429Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T15:28:26.429Z] ==> Jenkins CI detected. [2022-11-07T15:28:26.429Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-66 [2022-11-07T15:28:26.429Z] project root: . [2022-11-07T15:28:26.429Z] --> token set from env [2022-11-07T15:28:26.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T15:28:26.429Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T15:28:26.429Z] ==> Python coveragepy not found [2022-11-07T15:28:26.429Z] ==> Searching for coverage reports in: [2022-11-07T15:28:26.429Z] + . [2022-11-07T15:28:26.429Z] -> Found 1 reports [2022-11-07T15:28:26.429Z] ==> Detecting git/mercurial file structure [2022-11-07T15:28:26.429Z] ==> Reading reports [2022-11-07T15:28:26.429Z] + ./coverage.out bytes=10 [2022-11-07T15:28:26.429Z] ==> Appending adjustments [2022-11-07T15:28:26.429Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T15:28:26.688Z] + Found adjustments [2022-11-07T15:28:26.688Z] ==> Gzipping contents [2022-11-07T15:28:26.688Z] 4.0K /tmp/codecov.wQr2wo.gz [2022-11-07T15:28:26.688Z] ==> Uploading reports [2022-11-07T15:28:26.688Z] url: https://codecov.io [2022-11-07T15:28:26.688Z] query: branch=PR-66&commit=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=66&job=&cmd_args= [2022-11-07T15:28:26.688Z] -> Pinging Codecov [2022-11-07T15:28:26.688Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-66&commit=adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=66&job=&cmd_args= [2022-11-07T15:28:26.947Z] -> Uploading to [2022-11-07T15:28:26.947Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f/43cd976c-760c-4dff-9446-0fecb9d3dd4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T152826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2576e7bf5fa2c7f2197c096a07b401e4bd7d400b9e2b5c4472e2cc947331a1b6 [2022-11-07T15:28:26.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T15:28:26.947Z] Dload Upload Total Spent Left Speed [2022-11-07T15:28:27.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3866 --:--:-- --:--:-- --:--:-- 3866 [2022-11-07T15:28:27.207Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/adb812ec3ceda5e7ed47946ee3fb2a1a65c6455f [Pipeline] } [2022-11-07T15:28:27.215Z] 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-11-07T15:28:27.882Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-66/archives ] [2022-11-07T15:28:27.882Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-66/archives [2022-11-07T15:28:27.882Z] total 16 [2022-11-07T15:28:27.882Z] drwxr-xr-x 3 root root 4096 Nov 7 15:19 . [2022-11-07T15:28:27.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:19 .. [2022-11-07T15:28:27.882Z] drwxr-xr-x 2 root root 4096 Nov 7 15:19 cost [2022-11-07T15:28:27.882Z] -rw-r--r-- 1 root root 82 Nov 7 15:19 cost.csv [2022-11-07T15:28:27.882Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-66/archives [2022-11-07T15:28:27.882Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-66/archives [2022-11-07T15:28:27.882Z] total 16 [2022-11-07T15:28:27.882Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:19 . [2022-11-07T15:28:27.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:19 .. [2022-11-07T15:28:27.882Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 15:19 cost [2022-11-07T15:28:27.882Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 7 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:28.171Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:29.033Z] ---> package-listing.sh [2022-11-07T15:28:29.033Z] ++ facter osfamily [2022-11-07T15:28:29.033Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T15:28:29.292Z] + OS_FAMILY=debian [2022-11-07T15:28:29.292Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-66 [2022-11-07T15:28:29.292Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T15:28:29.292Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T15:28:29.292Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T15:28:29.292Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T15:28:29.292Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-66 ']' [2022-11-07T15:28:29.292Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T15:28:29.292Z] + case "${OS_FAMILY}" in [2022-11-07T15:28:29.292Z] + dpkg -l [2022-11-07T15:28:29.292Z] + grep '^ii' [2022-11-07T15:28:29.292Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T15:28:29.292Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T15:28:29.292Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T15:28:29.292Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-66 ']' [2022-11-07T15:28:29.292Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-66/archives/ [2022-11-07T15:28:29.292Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-66/archives/ [Pipeline] echo [2022-11-07T15:28:29.303Z] 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-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T15:28:29.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:28:30.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:28:30.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:28:30.210Z] prd-ubuntu20.04-docker-8c-8g-118421 does not seem to be running inside a container [2022-11-07T15:28:30.249Z] $ 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-66/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-66 -v /w/workspace/edgexfoundry_device-gpio_PR-66:/w/workspace/edgexfoundry_device-gpio_PR-66:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-66@tmp:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T15:28:30.486Z] $ docker top f64300ad8f9bacc3cb98c8301a9f62e9f7721714356f6704611ce0026c630abd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:28:30.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T15:28:31.107Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T15:28:31.390Z] + ls /var/log/sa-host [2022-11-07T15:28:31.391Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:28:31.463Z] provisioning config files... [2022-11-07T15:28:31.471Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-66@tmp/config2813312083065304804tmp [Pipeline] { [Pipeline] echo [2022-11-07T15:28:31.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:31.764Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T15:28:31.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:32.088Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T15:28:32.096Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:32.382Z] ---> sudo-logs.sh [2022-11-07T15:28:32.382Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T15:28:32.413Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:32.699Z] ---> job-cost.sh [2022-11-07T15:28:32.699Z] lf-activate-venv: SKIPPING [2022-11-07T15:28:32.699Z] DEBUG: total: 0.2199999988079071 [2022-11-07T15:28:32.699Z] INFO: Retrieving Stack Cost... [2022-11-07T15:28:33.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T15:28:33.897Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T15:28:33.907Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:28:34.192Z] ---> logs-deploy.sh [2022-11-07T15:28:34.192Z] lf-activate-venv: SKIPPING [2022-11-07T15:28:34.192Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-66/2 [2022-11-07T15:28:34.192Z] INFO: archiving workspace using pattern(s): [2022-11-07T15:28:35.132Z] Archives upload complete. [2022-11-07T15:28:35.132Z] INFO: archiving logs to Nexus