Pull request #67 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8596971a77d145980547e53c0dc987ce232b6ee5+6a3ce9ed1f526325ddb5567e419735729c86c620 (939b6e269f3a1f303a0562a1e498fc6d6716ee15) 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-ssh15940737136833267732.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-ssh11930741998379142531.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5606729557857968856.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15638340264904805252.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh2988755094940798409.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-67/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-67/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh594800102952694602.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118350 in /w/workspace/edgexfoundry_device-gpio_PR-67 [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-67 # 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 > 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/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a3ce9ed1f526325ddb5567e419735729c86c620 into PR head commit 8596971a77d145980547e53c0dc987ce232b6ee5 Merge succeeded, producing 8596971a77d145980547e53c0dc987ce232b6ee5 Checking out Revision 8596971a77d145980547e53c0dc987ce232b6ee5 (PR-67) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T00:25:43.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 8596971a77d145980547e53c0dc987ce232b6ee5 # 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 6a3ce9ed1f526325ddb5567e419735729c86c620 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8596971a77d145980547e53c0dc987ce232b6ee5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T00:25:43.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T00:25:43.534Z] ========================================================= [2022-11-07T00:25:43.534Z] EdgeX Global Pipelines Version Info [2022-11-07T00:25:43.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:25:44.260Z] ------------------- [2022-11-07T00:25:44.260Z] stable info: [2022-11-07T00:25:44.260Z] ------------------- [2022-11-07T00:25:44.260Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T00:25:44.261Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T00:25:44.261Z] Message: update stable to v1.0.244 [2022-11-07T00:25:44.829Z] ------------------- [2022-11-07T00:25:44.829Z] experimental info: [2022-11-07T00:25:44.829Z] ------------------- [2022-11-07T00:25:44.829Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T00:25:44.829Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T00:25:44.829Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T00:25:45.114Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-11-07T00:25:45.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-11-07T00:25:45.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T00:25:45.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T00:25:45.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T00:25:45.326Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T00:25:45.372Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T00:25:45.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T00:25:45.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T00:25:45.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T00:25:45.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T00:25:45.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-11-07T00:25:45.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T00:25:45.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T00:25:45.687Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T00:25:45.723Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T00:25:45.759Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T00:25:45.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T00:25:45.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T00:25:45.883Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T00:25:45.921Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T00:25:45.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T00:25:46.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T00:25:46.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T00:25:46.087Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T00:25:46.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T00:25:46.166Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T00:25:46.207Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-67 [Pipeline] echo [2022-11-07T00:25:46.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-67 [Pipeline] echo [2022-11-07T00:25:46.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-67 [Pipeline] echo [2022-11-07T00:25:46.317Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8596971a77d145980547e53c0dc987ce232b6ee5 [Pipeline] echo [2022-11-07T00:25:46.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8596971 [Pipeline] echo [2022-11-07T00:25:46.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T00:25:46.513Z] provisioning config files... [2022-11-07T00:25:46.528Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/config772062958668894960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:25:46.872Z] ---> docker-login.sh [2022-11-07T00:25:46.872Z] nexus3.edgexfoundry.org:10001 [2022-11-07T00:25:47.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:25:47.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:25:47.131Z] Configure a credential helper to remove this warning. See [2022-11-07T00:25:47.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:25:47.131Z] [2022-11-07T00:25:47.131Z] Login Succeeded [2022-11-07T00:25:47.131Z] nexus3.edgexfoundry.org:10002 [2022-11-07T00:25:47.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:25:47.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:25:47.131Z] Configure a credential helper to remove this warning. See [2022-11-07T00:25:47.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:25:47.131Z] [2022-11-07T00:25:47.131Z] Login Succeeded [2022-11-07T00:25:47.131Z] nexus3.edgexfoundry.org:10003 [2022-11-07T00:25:47.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:25:47.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:25:47.391Z] Configure a credential helper to remove this warning. See [2022-11-07T00:25:47.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:25:47.391Z] [2022-11-07T00:25:47.391Z] Login Succeeded [2022-11-07T00:25:47.391Z] nexus3.edgexfoundry.org:10004 [2022-11-07T00:25:47.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:25:47.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:25:47.391Z] Configure a credential helper to remove this warning. See [2022-11-07T00:25:47.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:25:47.391Z] [2022-11-07T00:25:47.391Z] Login Succeeded [2022-11-07T00:25:47.391Z] docker.io [2022-11-07T00:25:47.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:25:47.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:25:47.920Z] Configure a credential helper to remove this warning. See [2022-11-07T00:25:47.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:25:47.920Z] [2022-11-07T00:25:47.920Z] Login Succeeded [2022-11-07T00:25:47.920Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T00:25:47.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T00:25:48.568Z] + git rev-list -1 --merges 8596971a77d145980547e53c0dc987ce232b6ee5~1..8596971a77d145980547e53c0dc987ce232b6ee5 [Pipeline] echo [2022-11-07T00:25:48.611Z] -----------> git rev-list -1 --merges 8596971a77d145980547e53c0dc987ce232b6ee5~1..8596971a77d145980547e53c0dc987ce232b6ee5 8596971a77d145980547e53c0dc987ce232b6ee5 [false] [Pipeline] sh [2022-11-07T00:25:48.925Z] + git log --format=format:%s -1 8596971a77d145980547e53c0dc987ce232b6ee5 [Pipeline] echo [2022-11-07T00:25:48.961Z] ========================================================= [2022-11-07T00:25:48.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T00:25:48.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T00:25:49.410Z] + git log --format=format:%s -1 8596971a77d145980547e53c0dc987ce232b6ee5 [Pipeline] echo [2022-11-07T00:25:49.442Z] [semverPrep] GIT_COMMIT: 8596971a77d145980547e53c0dc987ce232b6ee5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-07T00:25:49.472Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T00:25:49.857Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T00:25:49.857Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T00:25:49.857Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T00:25:49.857Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T00:25:49.857Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T00:25:49.857Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T00:25:49.857Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:25:50.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T00:25:50.291Z] [2022-11-07T00:25:50.291Z] 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-07T00:25:50.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T00:25:50.679Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T00:25:50.679Z] b85a868b505f: Pulling fs layer [2022-11-07T00:25:50.680Z] e2be974225ed: Pulling fs layer [2022-11-07T00:25:50.680Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T00:25:50.680Z] 988bab9f4d93: Pulling fs layer [2022-11-07T00:25:50.680Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T00:25:50.680Z] eaf3925da568: Pulling fs layer [2022-11-07T00:25:50.680Z] 988bab9f4d93: Waiting [2022-11-07T00:25:50.680Z] 1469e6f7b9e6: Waiting [2022-11-07T00:25:50.680Z] eaf3925da568: Waiting [2022-11-07T00:25:50.680Z] bab4dde63d76: Pulling fs layer [2022-11-07T00:25:50.680Z] bde34c3a00c8: Pulling fs layer [2022-11-07T00:25:50.680Z] bab4dde63d76: Waiting [2022-11-07T00:25:50.680Z] b352a97aabf1: Pulling fs layer [2022-11-07T00:25:50.680Z] 4872d77fe225: Pulling fs layer [2022-11-07T00:25:50.680Z] bde34c3a00c8: Waiting [2022-11-07T00:25:50.680Z] 5851b861e8e6: Pulling fs layer [2022-11-07T00:25:50.680Z] b352a97aabf1: Waiting [2022-11-07T00:25:50.680Z] 5851b861e8e6: Waiting [2022-11-07T00:25:50.680Z] e2be974225ed: Verifying Checksum [2022-11-07T00:25:50.680Z] e2be974225ed: Download complete [2022-11-07T00:25:50.680Z] 988bab9f4d93: Download complete [2022-11-07T00:25:50.939Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T00:25:50.939Z] 1469e6f7b9e6: Download complete [2022-11-07T00:25:50.939Z] eaf3925da568: Download complete [2022-11-07T00:25:50.939Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T00:25:50.939Z] 339a4e72a1f5: Download complete [2022-11-07T00:25:50.939Z] bde34c3a00c8: Verifying Checksum [2022-11-07T00:25:50.939Z] bde34c3a00c8: Download complete [2022-11-07T00:25:50.939Z] b352a97aabf1: Verifying Checksum [2022-11-07T00:25:50.939Z] b352a97aabf1: Download complete [2022-11-07T00:25:50.939Z] 4872d77fe225: Verifying Checksum [2022-11-07T00:25:50.939Z] 4872d77fe225: Download complete [2022-11-07T00:25:50.939Z] 5851b861e8e6: Download complete [2022-11-07T00:25:50.939Z] b85a868b505f: Verifying Checksum [2022-11-07T00:25:50.939Z] b85a868b505f: Download complete [2022-11-07T00:25:51.200Z] bab4dde63d76: Verifying Checksum [2022-11-07T00:25:51.200Z] bab4dde63d76: Download complete [2022-11-07T00:25:52.579Z] b85a868b505f: Pull complete [2022-11-07T00:25:52.579Z] e2be974225ed: Pull complete [2022-11-07T00:25:53.147Z] 339a4e72a1f5: Pull complete [2022-11-07T00:25:53.147Z] 988bab9f4d93: Pull complete [2022-11-07T00:25:53.425Z] 1469e6f7b9e6: Pull complete [2022-11-07T00:25:53.425Z] eaf3925da568: Pull complete [2022-11-07T00:25:55.329Z] bab4dde63d76: Pull complete [2022-11-07T00:25:55.329Z] bde34c3a00c8: Pull complete [2022-11-07T00:25:55.589Z] b352a97aabf1: Pull complete [2022-11-07T00:25:55.589Z] 4872d77fe225: Pull complete [2022-11-07T00:25:55.589Z] 5851b861e8e6: Pull complete [2022-11-07T00:25:55.589Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T00:25:55.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T00:25:55.850Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:25:56.079Z] prd-ubuntu20.04-docker-8c-8g-118350 does not seem to be running inside a container [2022-11-07T00:25:56.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-67 -v /w/workspace/edgexfoundry_device-gpio_PR-67:/w/workspace/edgexfoundry_device-gpio_PR-67:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-67@tmp:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T00:25:59.443Z] $ docker top 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f -eo pid,comm [2022-11-07T00:25:59.504Z] 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-07T00:25:59.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T00:25:59.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T00:25:59.617Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T00:25:59.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T00:25:59.741Z] $ docker exec 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f ssh-agent [2022-11-07T00:25:59.850Z] SSH_AUTH_SOCK=/tmp/ssh-ysG7iourHd5A/agent.31 [2022-11-07T00:25:59.850Z] SSH_AGENT_PID=37 [2022-11-07T00:25:59.857Z] Running ssh-add (command line suppressed) [2022-11-07T00:25:59.961Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-67@tmp/private_key_7502548319135689529.key (/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/private_key_7502548319135689529.key) [2022-11-07T00:25:59.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T00:26:00.313Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T00:26:00.340Z] $ docker exec --env ******** --env ******** 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f ssh-agent -k [2022-11-07T00:26:00.434Z] unset SSH_AUTH_SOCK; [2022-11-07T00:26:00.435Z] unset SSH_AGENT_PID; [2022-11-07T00:26:00.435Z] echo Agent pid 37 killed; [2022-11-07T00:26:00.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T00:26:00.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T00:26:00.530Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T00:26:00.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T00:26:00.647Z] $ docker exec 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f ssh-agent [2022-11-07T00:26:00.764Z] SSH_AUTH_SOCK=/tmp/ssh-KKQEJVJb9jF4/agent.69 [2022-11-07T00:26:00.764Z] SSH_AGENT_PID=75 [2022-11-07T00:26:00.770Z] Running ssh-add (command line suppressed) [2022-11-07T00:26:00.869Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-67@tmp/private_key_931738540207487618.key (/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/private_key_931738540207487618.key) [2022-11-07T00:26:00.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T00:26:01.224Z] + git semver init [2022-11-07T00:26:01.484Z] 2022-11-07 00:26:01,418 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T00:26:01.484Z] 2022-11-07 00:26:01,419 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-67/.semver [2022-11-07T00:26:01.484Z] 2022-11-07 00:26:01,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-67/.semver [2022-11-07T00:26:01.484Z] 2022-11-07 00:26:01,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-67/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-67, universal_newlines=False, shell=None, istream=None) [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,471 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-67/.git/info/exclude [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,471 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-67/.semver/PR-67 with force:False [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,471 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-67/.semver/PR-67 [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,476 [execute] INFO git cat-file --batch-check [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-67/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,482 [execute] INFO git cat-file --batch [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-67/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T00:26:02.864Z] 2022-11-07 00:26:02,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-67/.semver/PR-67 [2022-11-07T00:26:02.864Z] 0.0.0 [Pipeline] } [2022-11-07T00:26:02.892Z] $ docker exec --env ******** --env ******** 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f ssh-agent -k [2022-11-07T00:26:02.990Z] unset SSH_AUTH_SOCK; [2022-11-07T00:26:02.992Z] unset SSH_AGENT_PID; [2022-11-07T00:26:02.992Z] echo Agent pid 75 killed; [2022-11-07T00:26:03.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T00:26:03.437Z] + git semver [Pipeline] } [2022-11-07T00:26:03.719Z] $ docker stop --time=1 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f [2022-11-07T00:26:04.988Z] $ docker rm -f 223eb64675052dbd50cc791c935212067cb5f1cc67fb80bfd8b400cc825c1f2f [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T00:26:05.397Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T00:26:05.654Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T00:26:05.672Z] [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-07T00:26:06.293Z] provisioning config files... [2022-11-07T00:26:06.304Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/config1532178001247393948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:26:06.658Z] ---> docker-login.sh [2022-11-07T00:26:06.658Z] nexus3.edgexfoundry.org:10001 [2022-11-07T00:26:06.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:26:06.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:26:06.658Z] Configure a credential helper to remove this warning. See [2022-11-07T00:26:06.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:26:06.658Z] [2022-11-07T00:26:06.658Z] Login Succeeded [2022-11-07T00:26:06.658Z] nexus3.edgexfoundry.org:10002 [2022-11-07T00:26:06.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:26:06.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:26:06.658Z] Configure a credential helper to remove this warning. See [2022-11-07T00:26:06.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:26:06.658Z] [2022-11-07T00:26:06.658Z] Login Succeeded [2022-11-07T00:26:06.919Z] nexus3.edgexfoundry.org:10003 [2022-11-07T00:26:06.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:26:06.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:26:06.919Z] Configure a credential helper to remove this warning. See [2022-11-07T00:26:06.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:26:06.919Z] [2022-11-07T00:26:06.919Z] Login Succeeded [2022-11-07T00:26:06.919Z] nexus3.edgexfoundry.org:10004 [2022-11-07T00:26:06.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:26:06.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:26:06.919Z] Configure a credential helper to remove this warning. See [2022-11-07T00:26:06.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:26:06.919Z] [2022-11-07T00:26:06.919Z] Login Succeeded [2022-11-07T00:26:06.919Z] docker.io [2022-11-07T00:26:07.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:26:07.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:26:07.440Z] Configure a credential helper to remove this warning. See [2022-11-07T00:26:07.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:26:07.440Z] [2022-11-07T00:26:07.440Z] Login Succeeded [2022-11-07T00:26:07.440Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T00:26:07.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T00:26:07.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T00:26:07.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T00:26:07.741Z] ========================================================= [2022-11-07T00:26:07.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T00:26:07.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:26:08.228Z] + 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-07T00:26:08.228Z] Sending build context to Docker daemon 15.92MB [2022-11-07T00:26:08.228Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T00:26:08.228Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T00:26:08.228Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T00:26:08.228Z] 213ec9aee27d: Pulling fs layer [2022-11-07T00:26:08.228Z] 4583459ba037: Pulling fs layer [2022-11-07T00:26:08.228Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T00:26:08.228Z] 53926ce57604: Pulling fs layer [2022-11-07T00:26:08.228Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T00:26:08.228Z] 22ff95d597cd: Pulling fs layer [2022-11-07T00:26:08.228Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T00:26:08.228Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T00:26:08.228Z] a7acece74701: Pulling fs layer [2022-11-07T00:26:08.228Z] 12d6caf4c0d1: Waiting [2022-11-07T00:26:08.228Z] 53926ce57604: Waiting [2022-11-07T00:26:08.228Z] a7acece74701: Waiting [2022-11-07T00:26:08.228Z] 96b7cbca73a9: Waiting [2022-11-07T00:26:08.228Z] 21b2b0c7a3f4: Waiting [2022-11-07T00:26:08.228Z] 22ff95d597cd: Waiting [2022-11-07T00:26:08.487Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T00:26:08.487Z] 93c1e223e6f2: Download complete [2022-11-07T00:26:08.487Z] 4583459ba037: Verifying Checksum [2022-11-07T00:26:08.487Z] 4583459ba037: Download complete [2022-11-07T00:26:08.487Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T00:26:08.487Z] 21b2b0c7a3f4: Download complete [2022-11-07T00:26:08.487Z] 22ff95d597cd: Verifying Checksum [2022-11-07T00:26:08.488Z] 22ff95d597cd: Download complete [2022-11-07T00:26:08.488Z] 213ec9aee27d: Verifying Checksum [2022-11-07T00:26:08.488Z] 213ec9aee27d: Download complete [2022-11-07T00:26:08.488Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T00:26:08.488Z] 12d6caf4c0d1: Download complete [2022-11-07T00:26:08.488Z] 213ec9aee27d: Pull complete [2022-11-07T00:26:08.748Z] 4583459ba037: Pull complete [2022-11-07T00:26:08.748Z] 93c1e223e6f2: Pull complete [2022-11-07T00:26:09.007Z] a7acece74701: Verifying Checksum [2022-11-07T00:26:09.007Z] a7acece74701: Download complete [2022-11-07T00:26:09.265Z] 53926ce57604: Verifying Checksum [2022-11-07T00:26:09.265Z] 53926ce57604: Download complete [2022-11-07T00:26:09.265Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T00:26:09.265Z] 96b7cbca73a9: Download complete [2022-11-07T00:26:13.448Z] 53926ce57604: Pull complete [2022-11-07T00:26:13.448Z] 21b2b0c7a3f4: Pull complete [2022-11-07T00:26:13.448Z] 22ff95d597cd: Pull complete [2022-11-07T00:26:13.448Z] 12d6caf4c0d1: Pull complete [2022-11-07T00:26:15.985Z] 96b7cbca73a9: Pull complete [2022-11-07T00:26:16.244Z] a7acece74701: Pull complete [2022-11-07T00:26:16.244Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T00:26:16.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T00:26:16.501Z] ---> db6d94c90886 [2022-11-07T00:26:16.501Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T00:26:21.114Z] Still waiting to schedule task [2022-11-07T00:26:21.114Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118347’ [2022-11-07T00:26:22.708Z] ---> Running in fa71cd306b75 [2022-11-07T00:26:22.708Z] Removing intermediate container fa71cd306b75 [2022-11-07T00:26:22.708Z] ---> 0d5b65c4a0f3 [2022-11-07T00:26:22.708Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T00:26:22.708Z] ---> Running in a0f5017f6168 [2022-11-07T00:26:22.708Z] Removing intermediate container a0f5017f6168 [2022-11-07T00:26:22.708Z] ---> aeb0d07b7983 [2022-11-07T00:26:22.708Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T00:26:22.708Z] ---> Running in 42cad0d09eec [2022-11-07T00:26:22.708Z] Removing intermediate container 42cad0d09eec [2022-11-07T00:26:22.708Z] ---> bb79a32f7aba [2022-11-07T00:26:22.708Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T00:26:22.708Z] ---> Running in cebf1537df4c [2022-11-07T00:26:22.708Z] Removing intermediate container cebf1537df4c [2022-11-07T00:26:22.708Z] ---> 769bb600c051 [2022-11-07T00:26:22.708Z] Step 7/12 : WORKDIR /device-gpio [2022-11-07T00:26:22.708Z] ---> Running in 902861489e52 [2022-11-07T00:26:22.708Z] Removing intermediate container 902861489e52 [2022-11-07T00:26:22.708Z] ---> 52550c47abad [2022-11-07T00:26:22.708Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T00:26:22.708Z] ---> Running in dff9ae66deb9 [2022-11-07T00:26:22.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T00:26:23.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T00:26:23.488Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T00:26:23.748Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T00:26:23.748Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T00:26:23.748Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T00:26:23.748Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T00:26:23.748Z] OK: 216 MiB in 55 packages [2022-11-07T00:26:24.314Z] Removing intermediate container dff9ae66deb9 [2022-11-07T00:26:24.314Z] ---> 4cc5ff9c8ba8 [2022-11-07T00:26:24.314Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T00:26:24.314Z] ---> f633e80b2cc8 [2022-11-07T00:26:24.314Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T00:26:24.314Z] ---> Running in 35a664fe7011 [2022-11-07T00:26:50.868Z] Removing intermediate container 35a664fe7011 [2022-11-07T00:26:50.868Z] ---> 58c5f5d0abfe [2022-11-07T00:26:50.868Z] Step 11/12 : COPY . . [2022-11-07T00:26:50.868Z] ---> 1cdad75c34eb [2022-11-07T00:26:50.868Z] Step 12/12 : RUN ${MAKE} [2022-11-07T00:26:50.868Z] ---> Running in 7c13d57d47e7 [2022-11-07T00:26:50.868Z] noop [2022-11-07T00:26:50.868Z] Removing intermediate container 7c13d57d47e7 [2022-11-07T00:26:50.868Z] ---> 3ea0652c4bef [2022-11-07T00:26:50.868Z] Successfully built 3ea0652c4bef [2022-11-07T00:26:50.868Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:26:51.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T00:26:51.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:26:51.468Z] prd-ubuntu20.04-docker-8c-8g-118350 does not seem to be running inside a container [2022-11-07T00:26:51.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-67 -v /w/workspace/edgexfoundry_device-gpio_PR-67:/w/workspace/edgexfoundry_device-gpio_PR-67:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-67@tmp:/w/workspace/edgexfoundry_device-gpio_PR-67@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 ******** ci-base-image-x86_64 cat [2022-11-07T00:26:51.833Z] $ docker top 1d060225d30c036503cc2b505ca3b142e2f8b5cb665948b5b2dba91f5a6e54d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T00:26:52.228Z] + go version [2022-11-07T00:26:52.228Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T00:26:52.259Z] $ docker stop --time=1 1d060225d30c036503cc2b505ca3b142e2f8b5cb665948b5b2dba91f5a6e54d3 [2022-11-07T00:26:53.478Z] $ docker rm -f 1d060225d30c036503cc2b505ca3b142e2f8b5cb665948b5b2dba91f5a6e54d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:26:54.184Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T00:26:54.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:26:54.348Z] prd-ubuntu20.04-docker-8c-8g-118350 does not seem to be running inside a container [2022-11-07T00:26:54.381Z] $ 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-67 -v /w/workspace/edgexfoundry_device-gpio_PR-67:/w/workspace/edgexfoundry_device-gpio_PR-67:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-67@tmp:/w/workspace/edgexfoundry_device-gpio_PR-67@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 ******** ci-base-image-x86_64 cat [2022-11-07T00:26:54.745Z] $ docker top e93fef42c676deed9071d5fed0eac7876b5de8f51b1250413d70c6538d26d090 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T00:26:55.211Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-67 [Pipeline] fileExists [Pipeline] sh [2022-11-07T00:26:55.603Z] + make test [2022-11-07T00:26:55.603Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T00:26:55.862Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-07T00:27:03.987Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-07T00:27:03.987Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-07T00:27:09.254Z] 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-07T00:27:09.254Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T00:27:12.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T00:27:12.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T00:27:12.543Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T00:27:12.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T00:27:12.623Z] $ docker stop --time=1 e93fef42c676deed9071d5fed0eac7876b5de8f51b1250413d70c6538d26d090 [2022-11-07T00:27:15.373Z] $ docker rm -f e93fef42c676deed9071d5fed0eac7876b5de8f51b1250413d70c6538d26d090 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T00:27:15.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T00:27:15.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T00:27:16.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T00:27:16.795Z] + ls -al . [2022-11-07T00:27:16.795Z] total 172 [2022-11-07T00:27:16.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 00:26 . [2022-11-07T00:27:16.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:25 .. [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 7 00:25 .dockerignore [2022-11-07T00:27:16.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:27 .git [2022-11-07T00:27:16.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:25 .github [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 00:25 .gitignore [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 00:25 .golangci.yml [2022-11-07T00:27:16.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:26 .semver [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 7 00:25 Attribution.txt [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 7 00:25 CHANGELOG.md [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 7 00:25 Dockerfile [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:25 GOVERNANCE.md [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 00:25 Jenkinsfile [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 00:25 LICENSE [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 7 00:25 Makefile [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 00:25 OWNERS.md [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 7 00:25 README.md [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:26 VERSION [2022-11-07T00:27:16.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:25 bin [2022-11-07T00:27:16.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:25 cmd [2022-11-07T00:27:16.795Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 7 00:26 coverage.out [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 3441 Nov 7 00:25 go.mod [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 45061 Nov 7 00:25 go.sum [2022-11-07T00:27:16.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:25 internal [2022-11-07T00:27:16.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:25 snap [2022-11-07T00:27:16.795Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:27:17.214Z] + 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=8596971a77d145980547e53c0dc987ce232b6ee5 --label arch=amd64 --label version=0.0.0 . [2022-11-07T00:27:17.214Z] Sending build context to Docker daemon 15.92MB [2022-11-07T00:27:17.214Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T00:27:17.214Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T00:27:17.214Z] ---> 3ea0652c4bef [2022-11-07T00:27:17.214Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T00:27:17.475Z] ---> Running in dd5cbaaaab8a [2022-11-07T00:27:17.475Z] Removing intermediate container dd5cbaaaab8a [2022-11-07T00:27:17.475Z] ---> 69e3aa917505 [2022-11-07T00:27:17.475Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T00:27:17.475Z] ---> Running in 571b68dc28ab [2022-11-07T00:27:17.475Z] Removing intermediate container 571b68dc28ab [2022-11-07T00:27:17.475Z] ---> a26052587b5e [2022-11-07T00:27:17.475Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T00:27:17.736Z] ---> Running in 27892988f9f5 [2022-11-07T00:27:17.736Z] Removing intermediate container 27892988f9f5 [2022-11-07T00:27:17.736Z] ---> 2c9d21a6c5ef [2022-11-07T00:27:17.736Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T00:27:17.736Z] ---> Running in dcbeb5df5e70 [2022-11-07T00:27:17.736Z] Removing intermediate container dcbeb5df5e70 [2022-11-07T00:27:17.736Z] ---> 15791f1a5292 [2022-11-07T00:27:17.736Z] Step 7/25 : WORKDIR /device-gpio [2022-11-07T00:27:17.736Z] ---> Running in b277ebb8426d [2022-11-07T00:27:17.996Z] Removing intermediate container b277ebb8426d [2022-11-07T00:27:17.996Z] ---> 11dbb4d671f2 [2022-11-07T00:27:17.996Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T00:27:17.996Z] ---> Running in 77590c807da6 [2022-11-07T00:27:18.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T00:27:18.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T00:27:18.515Z] OK: 216 MiB in 55 packages [2022-11-07T00:27:18.774Z] Removing intermediate container 77590c807da6 [2022-11-07T00:27:18.774Z] ---> f2fc8faadd03 [2022-11-07T00:27:18.774Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T00:27:19.032Z] ---> 8026498754cf [2022-11-07T00:27:19.032Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T00:27:19.032Z] ---> Running in 3665aa9921b1 [2022-11-07T00:27:19.598Z] Removing intermediate container 3665aa9921b1 [2022-11-07T00:27:19.598Z] ---> 8fd86b3fc599 [2022-11-07T00:27:19.598Z] Step 11/25 : COPY . . [2022-11-07T00:27:20.163Z] ---> f5e8e53da4e4 [2022-11-07T00:27:20.163Z] Step 12/25 : RUN ${MAKE} [2022-11-07T00:27:20.163Z] ---> Running in 0a3c001adb89 [2022-11-07T00:27:20.421Z] 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-07T00:27:42.337Z] Removing intermediate container 0a3c001adb89 [2022-11-07T00:27:42.337Z] ---> d1984e79c1c5 [2022-11-07T00:27:42.337Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T00:27:42.337Z] 3.16: Pulling from library/alpine [2022-11-07T00:27:42.337Z] 213ec9aee27d: Already exists [2022-11-07T00:27:42.596Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T00:27:42.596Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T00:27:42.596Z] ---> 9c6f07244728 [2022-11-07T00:27:42.596Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-07T00:27:42.596Z] ---> Running in dc9bf0b2ca65 [2022-11-07T00:27:42.596Z] Removing intermediate container dc9bf0b2ca65 [2022-11-07T00:27:42.596Z] ---> 258ed1aa372c [2022-11-07T00:27:42.596Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-07T00:27:42.596Z] ---> Running in acf6c63a94b9 [2022-11-07T00:27:42.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T00:27:43.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T00:27:43.376Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T00:27:43.376Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T00:27:43.376Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T00:27:43.376Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T00:27:43.376Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T00:27:43.376Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T00:27:43.376Z] OK: 8 MiB in 19 packages [2022-11-07T00:27:43.944Z] Removing intermediate container acf6c63a94b9 [2022-11-07T00:27:43.944Z] ---> 4e5c58c00785 [2022-11-07T00:27:43.944Z] Step 16/25 : WORKDIR / [2022-11-07T00:27:43.944Z] ---> Running in df4bd902757e [2022-11-07T00:27:43.944Z] Removing intermediate container df4bd902757e [2022-11-07T00:27:43.944Z] ---> d3e71cff71d1 [2022-11-07T00:27:43.944Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-07T00:27:44.203Z] ---> 08d2b17114e9 [2022-11-07T00:27:44.203Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-07T00:27:44.203Z] ---> 7e7ffbc5f899 [2022-11-07T00:27:44.203Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-07T00:27:45.139Z] ---> ba1d71edd5b0 [2022-11-07T00:27:45.139Z] Step 20/25 : EXPOSE 59910 [2022-11-07T00:27:45.139Z] ---> Running in ae573b1a872f [2022-11-07T00:27:45.139Z] Removing intermediate container ae573b1a872f [2022-11-07T00:27:45.139Z] ---> 9950693d7e36 [2022-11-07T00:27:45.139Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-07T00:27:45.139Z] ---> Running in 8cf73a4ca39d [2022-11-07T00:27:45.396Z] Removing intermediate container 8cf73a4ca39d [2022-11-07T00:27:45.397Z] ---> 76d678487b4d [2022-11-07T00:27:45.397Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T00:27:45.397Z] ---> Running in 23461069ca04 [2022-11-07T00:27:45.397Z] Removing intermediate container 23461069ca04 [2022-11-07T00:27:45.397Z] ---> 8d3067594170 [2022-11-07T00:27:45.397Z] Step 23/25 : LABEL arch=amd64 [2022-11-07T00:27:45.397Z] ---> Running in b0ae1b7f31cd [2022-11-07T00:27:45.397Z] Removing intermediate container b0ae1b7f31cd [2022-11-07T00:27:45.397Z] ---> c493829263b7 [2022-11-07T00:27:45.397Z] Step 24/25 : LABEL git_sha=8596971a77d145980547e53c0dc987ce232b6ee5 [2022-11-07T00:27:45.397Z] ---> Running in 177e926c5a2d [2022-11-07T00:27:45.661Z] Removing intermediate container 177e926c5a2d [2022-11-07T00:27:45.661Z] ---> 7d2d33b8e73e [2022-11-07T00:27:45.661Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T00:27:45.661Z] ---> Running in 0af6ddc375da [2022-11-07T00:27:45.661Z] Removing intermediate container 0af6ddc375da [2022-11-07T00:27:45.661Z] ---> e43a7a1403c4 [2022-11-07T00:27:45.661Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T00:27:45.661Z] Successfully built e43a7a1403c4 [2022-11-07T00:27:45.661Z] 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-07T00:27:46.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T00:27:46.535Z] [2022-11-07T00:27:46.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:27:46.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T00:27:46.908Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T00:27:46.908Z] 5eb5b503b376: Pulling fs layer [2022-11-07T00:27:46.908Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T00:27:46.908Z] ec43610c2a17: Pulling fs layer [2022-11-07T00:27:46.908Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T00:27:46.908Z] 33b1e0a273af: Pulling fs layer [2022-11-07T00:27:46.908Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T00:27:46.908Z] 2f39f015ded8: Pulling fs layer [2022-11-07T00:27:46.908Z] 33b1e0a273af: Waiting [2022-11-07T00:27:46.908Z] 5d3b04190fa2: Waiting [2022-11-07T00:27:46.908Z] 2f39f015ded8: Waiting [2022-11-07T00:27:46.908Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T00:27:46.908Z] 5c69ac0246d0: Download complete [2022-11-07T00:27:46.908Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T00:27:46.908Z] 3a2ae6a8a46f: Download complete [2022-11-07T00:27:46.908Z] 33b1e0a273af: Verifying Checksum [2022-11-07T00:27:46.908Z] 33b1e0a273af: Download complete [2022-11-07T00:27:46.908Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T00:27:46.908Z] 5d3b04190fa2: Download complete [2022-11-07T00:27:46.908Z] ec43610c2a17: Verifying Checksum [2022-11-07T00:27:46.908Z] ec43610c2a17: Download complete [2022-11-07T00:27:47.169Z] 5eb5b503b376: Verifying Checksum [2022-11-07T00:27:47.169Z] 5eb5b503b376: Download complete [2022-11-07T00:27:47.737Z] 2f39f015ded8: Verifying Checksum [2022-11-07T00:27:47.737Z] 2f39f015ded8: Download complete [2022-11-07T00:27:48.303Z] 5eb5b503b376: Pull complete [2022-11-07T00:27:48.303Z] 5c69ac0246d0: Pull complete [2022-11-07T00:27:48.870Z] ec43610c2a17: Pull complete [2022-11-07T00:27:48.870Z] 3a2ae6a8a46f: Pull complete [2022-11-07T00:27:48.870Z] 33b1e0a273af: Pull complete [2022-11-07T00:27:49.127Z] 5d3b04190fa2: Pull complete [2022-11-07T00:27:53.305Z] 2f39f015ded8: Pull complete [2022-11-07T00:27:53.305Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T00:27:53.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T00:27:53.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:27:53.529Z] prd-ubuntu20.04-docker-8c-8g-118350 does not seem to be running inside a container [2022-11-07T00:27:53.566Z] $ 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-67 -v /w/workspace/edgexfoundry_device-gpio_PR-67:/w/workspace/edgexfoundry_device-gpio_PR-67:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-67@tmp:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T00:27:57.301Z] $ docker top 12b605d6182946dc850261076ccb9ddc1316c74b24aaac5b89ce23390ed6e65b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:27:57.735Z] ---> job-cost.sh [2022-11-07T00:27:57.735Z] lf-activate-venv: SKIPPING [2022-11-07T00:27:57.735Z] INFO: No Stack... [2022-11-07T00:27:57.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T00:27:58.254Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T00:27:58.584Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-67/archives/cost.csv [2022-11-07T00:27:58.584Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T00:27:58.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [2022-11-07T00:27:58.630Z] Resource [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] did not exist. Created. [2022-11-07T00:27:58.630Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T00:27:59.028Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T00:27:59.078Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T00:27:59.106Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T00:27:59.177Z] $ docker stop --time=1 12b605d6182946dc850261076ccb9ddc1316c74b24aaac5b89ce23390ed6e65b [2022-11-07T00:28:00.311Z] $ docker rm -f 12b605d6182946dc850261076ccb9ddc1316c74b24aaac5b89ce23390ed6e65b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T00:29:21.645Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118352 in /w/workspace/edgexfoundry_device-gpio_PR-67 [Pipeline] { [Pipeline] ws [2022-11-07T00:29:21.688Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-11-07T00:29:21.770Z] The recommended git tool is: git [2022-11-07T00:29:27.121Z] using credential edgex-jenkins-ssh [2022-11-07T00:29:27.137Z] Cloning the remote Git repository [2022-11-07T00:29:27.184Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-11-07T00:29:27.262Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-11-07T00:29:27.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-07T00:29:27.407Z] > git --version # timeout=10 [2022-11-07T00:29:27.431Z] > git --version # 'git version 2.25.1' [2022-11-07T00:29:27.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T00:29:27.482Z] Verifying host key using known hosts file [2022-11-07T00:29:27.681Z] 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-07T00:29:27.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T00:29:29.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-07T00:29:29.339Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T00:29:30.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-07T00:29:30.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-07T00:29:30.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T00:29:30.265Z] Verifying host key using known hosts file [2022-11-07T00:29:30.272Z] 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-07T00:29:30.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T00:29:30.786Z] Merging remotes/origin/main commit 6a3ce9ed1f526325ddb5567e419735729c86c620 into PR head commit 8596971a77d145980547e53c0dc987ce232b6ee5 [2022-11-07T00:29:31.004Z] Merge succeeded, producing 8596971a77d145980547e53c0dc987ce232b6ee5 [2022-11-07T00:29:31.004Z] Checking out Revision 8596971a77d145980547e53c0dc987ce232b6ee5 (PR-67) [2022-11-07T00:29:31.494Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-07T00:29:31.547Z] > git --version # timeout=10 [2022-11-07T00:29:31.559Z] > git --version # 'git version 2.25.1' [2022-11-07T00:29:31.573Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T00:29:30.806Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T00:29:30.822Z] > git checkout -f 8596971a77d145980547e53c0dc987ce232b6ee5 # timeout=10 [2022-11-07T00:29:30.903Z] > git remote # timeout=10 [2022-11-07T00:29:30.923Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T00:29:30.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T00:29:30.946Z] Verifying host key using known hosts file [2022-11-07T00:29:30.952Z] 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-07T00:29:30.961Z] > git merge 6a3ce9ed1f526325ddb5567e419735729c86c620 # timeout=10 [2022-11-07T00:29:30.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T00:29:31.012Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T00:29:31.032Z] > git checkout -f 8596971a77d145980547e53c0dc987ce232b6ee5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T00:29:32.545Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T00:29:32.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T00:29:32.545Z] Dload Upload Total Spent Left Speed [2022-11-07T00:29:32.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-11-07T00:29:33.130Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T00:29:33.474Z] + sudo tee /etc/docker/daemon.new [2022-11-07T00:29:33.474Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T00:29:33.474Z] { [2022-11-07T00:29:33.474Z] "registry-mirrors": [ [2022-11-07T00:29:33.474Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T00:29:33.474Z] ], [2022-11-07T00:29:33.474Z] "bip": "10.250.0.254/24", [2022-11-07T00:29:33.474Z] "hosts": [ [2022-11-07T00:29:33.474Z] "tcp://0.0.0.0:5555", [2022-11-07T00:29:33.474Z] "unix:///var/run/docker.sock" [2022-11-07T00:29:33.474Z] ], [2022-11-07T00:29:33.474Z] "mtu": 1458, [2022-11-07T00:29:33.474Z] "selinux-enabled": true, [2022-11-07T00:29:33.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T00:29:33.474Z] } [Pipeline] sh [2022-11-07T00:29:33.813Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T00:29:34.155Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T00:29:52.498Z] provisioning config files... [2022-11-07T00:29:52.531Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config7123162401531613400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:29:52.935Z] ---> docker-login.sh [2022-11-07T00:29:52.935Z] nexus3.edgexfoundry.org:10001 [2022-11-07T00:29:53.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:29:53.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:29:53.528Z] Configure a credential helper to remove this warning. See [2022-11-07T00:29:53.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:29:53.528Z] [2022-11-07T00:29:53.528Z] Login Succeeded [2022-11-07T00:29:53.528Z] nexus3.edgexfoundry.org:10002 [2022-11-07T00:29:53.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:29:54.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:29:54.066Z] Configure a credential helper to remove this warning. See [2022-11-07T00:29:54.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:29:54.066Z] [2022-11-07T00:29:54.066Z] Login Succeeded [2022-11-07T00:29:54.066Z] nexus3.edgexfoundry.org:10003 [2022-11-07T00:29:54.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:29:54.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:29:54.336Z] Configure a credential helper to remove this warning. See [2022-11-07T00:29:54.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:29:54.336Z] [2022-11-07T00:29:54.336Z] Login Succeeded [2022-11-07T00:29:54.336Z] nexus3.edgexfoundry.org:10004 [2022-11-07T00:29:54.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:29:54.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:29:54.607Z] Configure a credential helper to remove this warning. See [2022-11-07T00:29:54.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:29:54.607Z] [2022-11-07T00:29:54.607Z] Login Succeeded [2022-11-07T00:29:54.607Z] docker.io [2022-11-07T00:29:54.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T00:29:55.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T00:29:55.145Z] Configure a credential helper to remove this warning. See [2022-11-07T00:29:55.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T00:29:55.145Z] [2022-11-07T00:29:55.413Z] Login Succeeded [2022-11-07T00:29:55.413Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T00:29:55.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T00:29:55.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T00:29:55.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T00:29:55.817Z] ========================================================= [2022-11-07T00:29:55.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T00:29:55.817Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:29:56.314Z] + 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-07T00:29:56.585Z] Sending build context to Docker daemon 8.031MB [2022-11-07T00:29:56.585Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T00:29:56.585Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T00:29:56.856Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T00:29:56.856Z] 9b18e9b68314: Pulling fs layer [2022-11-07T00:29:56.856Z] 35d82f9e3411: Pulling fs layer [2022-11-07T00:29:56.856Z] e16973657156: Pulling fs layer [2022-11-07T00:29:56.856Z] fc693d55d65f: Pulling fs layer [2022-11-07T00:29:56.856Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T00:29:56.856Z] dda99020689f: Pulling fs layer [2022-11-07T00:29:56.856Z] db1c61fa0a46: Pulling fs layer [2022-11-07T00:29:56.856Z] 891c053d2c06: Pulling fs layer [2022-11-07T00:29:56.856Z] fc693d55d65f: Waiting [2022-11-07T00:29:56.856Z] 7e9fc2657dce: Waiting [2022-11-07T00:29:56.856Z] dda99020689f: Waiting [2022-11-07T00:29:56.856Z] db1c61fa0a46: Waiting [2022-11-07T00:29:56.856Z] 891c053d2c06: Waiting [2022-11-07T00:29:56.856Z] e16973657156: Download complete [2022-11-07T00:29:56.856Z] 35d82f9e3411: Verifying Checksum [2022-11-07T00:29:56.856Z] 35d82f9e3411: Download complete [2022-11-07T00:29:56.856Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T00:29:56.856Z] 7e9fc2657dce: Download complete [2022-11-07T00:29:56.856Z] dda99020689f: Verifying Checksum [2022-11-07T00:29:56.856Z] dda99020689f: Download complete [2022-11-07T00:29:56.856Z] 9b18e9b68314: Download complete [2022-11-07T00:29:57.834Z] 9b18e9b68314: Pull complete [2022-11-07T00:29:57.834Z] 891c053d2c06: Verifying Checksum [2022-11-07T00:29:57.834Z] 891c053d2c06: Download complete [2022-11-07T00:29:58.424Z] 35d82f9e3411: Pull complete [2022-11-07T00:29:58.424Z] e16973657156: Pull complete [2022-11-07T00:29:59.024Z] db1c61fa0a46: Verifying Checksum [2022-11-07T00:29:59.024Z] db1c61fa0a46: Download complete [2022-11-07T00:29:59.614Z] fc693d55d65f: Verifying Checksum [2022-11-07T00:29:59.614Z] fc693d55d65f: Download complete [2022-11-07T00:30:12.089Z] fc693d55d65f: Pull complete [2022-11-07T00:30:12.089Z] 7e9fc2657dce: Pull complete [2022-11-07T00:30:12.089Z] dda99020689f: Pull complete [2022-11-07T00:30:17.459Z] db1c61fa0a46: Pull complete [2022-11-07T00:30:19.424Z] 891c053d2c06: Pull complete [2022-11-07T00:30:19.424Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T00:30:19.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T00:30:19.424Z] ---> f96f9c87975a [2022-11-07T00:30:19.424Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T00:30:21.388Z] ---> Running in b25135ba26aa [2022-11-07T00:30:21.388Z] Removing intermediate container b25135ba26aa [2022-11-07T00:30:21.388Z] ---> e10a8bd4c174 [2022-11-07T00:30:21.388Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T00:30:21.657Z] ---> Running in ff58e8949d80 [2022-11-07T00:30:21.925Z] Removing intermediate container ff58e8949d80 [2022-11-07T00:30:21.925Z] ---> bf0b91a18562 [2022-11-07T00:30:21.925Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T00:30:21.925Z] ---> Running in ae366edc340d [2022-11-07T00:30:22.193Z] Removing intermediate container ae366edc340d [2022-11-07T00:30:22.193Z] ---> 852044cc04ad [2022-11-07T00:30:22.193Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T00:30:22.193Z] ---> Running in 4234ea2ab849 [2022-11-07T00:30:22.461Z] Removing intermediate container 4234ea2ab849 [2022-11-07T00:30:22.461Z] ---> 24ba81ad9322 [2022-11-07T00:30:22.461Z] Step 7/12 : WORKDIR /device-gpio [2022-11-07T00:30:22.729Z] ---> Running in b431a172d8d9 [2022-11-07T00:30:22.998Z] Removing intermediate container b431a172d8d9 [2022-11-07T00:30:22.998Z] ---> 8aa2d7e05cd5 [2022-11-07T00:30:22.998Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T00:30:22.998Z] ---> Running in 567db8a34fc2 [2022-11-07T00:30:24.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T00:30:24.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T00:30:25.367Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T00:30:25.635Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T00:30:25.635Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T00:30:25.635Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T00:30:25.635Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T00:30:25.635Z] OK: 226 MiB in 55 packages [2022-11-07T00:30:26.596Z] Removing intermediate container 567db8a34fc2 [2022-11-07T00:30:26.596Z] ---> 1d1446ab423b [2022-11-07T00:30:26.596Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T00:30:27.183Z] ---> 7518d08644c2 [2022-11-07T00:30:27.183Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T00:30:27.183Z] ---> Running in 92dbaf413a0c [2022-11-07T00:31:23.602Z] Removing intermediate container 92dbaf413a0c [2022-11-07T00:31:23.602Z] ---> 94dd31941c78 [2022-11-07T00:31:23.602Z] Step 11/12 : COPY . . [2022-11-07T00:31:23.602Z] ---> bad3092782a7 [2022-11-07T00:31:23.602Z] Step 12/12 : RUN ${MAKE} [2022-11-07T00:31:23.602Z] ---> Running in d1ea21ea6ba0 [2022-11-07T00:31:23.602Z] noop [2022-11-07T00:31:23.871Z] Removing intermediate container d1ea21ea6ba0 [2022-11-07T00:31:23.871Z] ---> e3966f87981d [2022-11-07T00:31:24.142Z] Successfully built e3966f87981d [2022-11-07T00:31:24.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:31:24.665Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T00:31:24.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:31:24.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-118352 does not seem to be running inside a container [2022-11-07T00:31:24.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** ci-base-image-arm64 cat [2022-11-07T00:31:26.244Z] $ docker top 88c8e0b59951eb37b8b7166df475ccef37b38e031c569075305198c07cbdc53c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T00:31:27.152Z] + go version [2022-11-07T00:31:27.153Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T00:31:27.194Z] $ docker stop --time=1 88c8e0b59951eb37b8b7166df475ccef37b38e031c569075305198c07cbdc53c [2022-11-07T00:31:28.780Z] $ docker rm -f 88c8e0b59951eb37b8b7166df475ccef37b38e031c569075305198c07cbdc53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:31:29.630Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T00:31:29.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:31:29.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-118352 does not seem to be running inside a container [2022-11-07T00:31:29.951Z] $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** ci-base-image-arm64 cat [2022-11-07T00:31:31.039Z] $ docker top 20573f35ae38461c7e1429aa1b415145394571b2b76d32129b67ef2f0fd77079 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T00:31:31.612Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T00:31:32.015Z] + make test [2022-11-07T00:31:32.016Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T00:31:33.425Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-07T00:33:10.136Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-07T00:33:10.137Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-07T00:33:10.137Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T00:33:10.137Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T00:33:22.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T00:33:22.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T00:33:22.489Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T00:33:22.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T00:33:22.571Z] $ docker stop --time=1 20573f35ae38461c7e1429aa1b415145394571b2b76d32129b67ef2f0fd77079 [2022-11-07T00:33:24.378Z] $ docker rm -f 20573f35ae38461c7e1429aa1b415145394571b2b76d32129b67ef2f0fd77079 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T00:33:25.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T00:33:25.461Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T00:33:25.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T00:33:26.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T00:33:26.881Z] + ls -al . [2022-11-07T00:33:26.881Z] total 168 [2022-11-07T00:33:26.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:31 . [2022-11-07T00:33:26.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:29 .. [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 7 00:29 .dockerignore [2022-11-07T00:33:26.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:29 .git [2022-11-07T00:33:26.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:29 .github [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 00:29 .gitignore [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 00:29 .golangci.yml [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 7 00:29 Attribution.txt [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 7 00:29 CHANGELOG.md [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 7 00:29 Dockerfile [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:29 GOVERNANCE.md [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 00:29 Jenkinsfile [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 00:29 LICENSE [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 7 00:29 Makefile [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 00:29 OWNERS.md [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 7 00:29 README.md [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:26 VERSION [2022-11-07T00:33:26.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:29 bin [2022-11-07T00:33:26.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:29 cmd [2022-11-07T00:33:26.881Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 7 00:31 coverage.out [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 3441 Nov 7 00:29 go.mod [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 45061 Nov 7 00:29 go.sum [2022-11-07T00:33:26.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:29 internal [2022-11-07T00:33:26.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:29 snap [2022-11-07T00:33:26.881Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 00:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:33:27.305Z] + 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=8596971a77d145980547e53c0dc987ce232b6ee5 --label arch=arm64 --label version=0.0.0 . [2022-11-07T00:33:27.574Z] Sending build context to Docker daemon 8.032MB [2022-11-07T00:33:27.574Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T00:33:27.574Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T00:33:27.574Z] ---> e3966f87981d [2022-11-07T00:33:27.574Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T00:33:27.842Z] ---> Running in eec1b52df264 [2022-11-07T00:33:28.113Z] Removing intermediate container eec1b52df264 [2022-11-07T00:33:28.113Z] ---> b4616a9688e1 [2022-11-07T00:33:28.113Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T00:33:28.113Z] ---> Running in 5f0a1c85f63d [2022-11-07T00:33:28.381Z] Removing intermediate container 5f0a1c85f63d [2022-11-07T00:33:28.381Z] ---> 5227d376143d [2022-11-07T00:33:28.381Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T00:33:28.653Z] ---> Running in 79ba4e0374a3 [2022-11-07T00:33:28.922Z] Removing intermediate container 79ba4e0374a3 [2022-11-07T00:33:28.922Z] ---> 166ee57e34d3 [2022-11-07T00:33:28.922Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T00:33:28.922Z] ---> Running in b5e6fe331b9e [2022-11-07T00:33:29.190Z] Removing intermediate container b5e6fe331b9e [2022-11-07T00:33:29.190Z] ---> f39eb6634cb2 [2022-11-07T00:33:29.190Z] Step 7/25 : WORKDIR /device-gpio [2022-11-07T00:33:29.190Z] ---> Running in 74b76d5574d2 [2022-11-07T00:33:29.780Z] Removing intermediate container 74b76d5574d2 [2022-11-07T00:33:29.780Z] ---> 0bc151f1185f [2022-11-07T00:33:29.780Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T00:33:29.780Z] ---> Running in 26337fc2cd61 [2022-11-07T00:33:30.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T00:33:31.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T00:33:32.446Z] OK: 226 MiB in 55 packages [2022-11-07T00:33:33.867Z] Removing intermediate container 26337fc2cd61 [2022-11-07T00:33:33.867Z] ---> e11261328734 [2022-11-07T00:33:33.867Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T00:33:34.144Z] ---> 8b8ffdb564ca [2022-11-07T00:33:34.144Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T00:33:34.144Z] ---> Running in d409f9ac5478 [2022-11-07T00:33:36.738Z] Removing intermediate container d409f9ac5478 [2022-11-07T00:33:36.738Z] ---> 825adef20b03 [2022-11-07T00:33:36.738Z] Step 11/25 : COPY . . [2022-11-07T00:33:37.707Z] ---> b15d35d385a3 [2022-11-07T00:33:37.707Z] Step 12/25 : RUN ${MAKE} [2022-11-07T00:33:37.707Z] ---> Running in a96c40767e23 [2022-11-07T00:33:38.679Z] 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-07T00:36:30.457Z] Removing intermediate container a96c40767e23 [2022-11-07T00:36:30.457Z] ---> 69e2885c44f4 [2022-11-07T00:36:30.457Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T00:36:30.457Z] 3.16: Pulling from library/alpine [2022-11-07T00:36:30.457Z] 9b18e9b68314: Already exists [2022-11-07T00:36:30.457Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T00:36:30.457Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T00:36:30.457Z] ---> a6215f271958 [2022-11-07T00:36:30.457Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-07T00:36:30.457Z] ---> Running in ecf438e8b560 [2022-11-07T00:36:30.457Z] Removing intermediate container ecf438e8b560 [2022-11-07T00:36:30.457Z] ---> 09f6ecb3ae15 [2022-11-07T00:36:30.457Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-07T00:36:30.457Z] ---> Running in 872bcf202fe6 [2022-11-07T00:36:30.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T00:36:30.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T00:36:30.457Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T00:36:30.457Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T00:36:30.457Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T00:36:30.457Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T00:36:30.457Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T00:36:30.457Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T00:36:30.457Z] OK: 8 MiB in 19 packages [2022-11-07T00:36:30.457Z] Removing intermediate container 872bcf202fe6 [2022-11-07T00:36:30.457Z] ---> 4627d6b62107 [2022-11-07T00:36:30.457Z] Step 16/25 : WORKDIR / [2022-11-07T00:36:30.457Z] ---> Running in de733c3ed9ec [2022-11-07T00:36:30.457Z] Removing intermediate container de733c3ed9ec [2022-11-07T00:36:30.457Z] ---> 0eb170de491b [2022-11-07T00:36:30.457Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-07T00:36:30.457Z] ---> 90907f66e1fa [2022-11-07T00:36:30.457Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-07T00:36:30.457Z] ---> aae3f0908b81 [2022-11-07T00:36:30.457Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-07T00:36:30.457Z] ---> 941a3259541b [2022-11-07T00:36:30.457Z] Step 20/25 : EXPOSE 59910 [2022-11-07T00:36:30.457Z] ---> Running in 9a9456a83048 [2022-11-07T00:36:30.457Z] Removing intermediate container 9a9456a83048 [2022-11-07T00:36:30.457Z] ---> 9c320fabc442 [2022-11-07T00:36:30.457Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-07T00:36:30.723Z] ---> Running in e36801d56505 [2022-11-07T00:36:30.990Z] Removing intermediate container e36801d56505 [2022-11-07T00:36:30.990Z] ---> 9378125685f6 [2022-11-07T00:36:30.990Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T00:36:30.990Z] ---> Running in b5c4d95646da [2022-11-07T00:36:31.274Z] Removing intermediate container b5c4d95646da [2022-11-07T00:36:31.274Z] ---> 0e873122f8d7 [2022-11-07T00:36:31.274Z] Step 23/25 : LABEL arch=arm64 [2022-11-07T00:36:31.274Z] ---> Running in 1cffa16ac939 [2022-11-07T00:36:31.543Z] Removing intermediate container 1cffa16ac939 [2022-11-07T00:36:31.543Z] ---> d5cb5cb52386 [2022-11-07T00:36:31.543Z] Step 24/25 : LABEL git_sha=8596971a77d145980547e53c0dc987ce232b6ee5 [2022-11-07T00:36:31.810Z] ---> Running in 39f73a90678c [2022-11-07T00:36:32.079Z] Removing intermediate container 39f73a90678c [2022-11-07T00:36:32.079Z] ---> 9b74531b0e47 [2022-11-07T00:36:32.079Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T00:36:32.079Z] ---> Running in a0ba4ed1cb85 [2022-11-07T00:36:32.348Z] Removing intermediate container a0ba4ed1cb85 [2022-11-07T00:36:32.348Z] ---> 4b8e16579ba3 [2022-11-07T00:36:32.348Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T00:36:32.348Z] Successfully built 4b8e16579ba3 [2022-11-07T00:36:32.348Z] 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-07T00:36:33.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T00:36:33.240Z] [2022-11-07T00:36:33.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:36:33.658Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T00:36:33.658Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T00:36:33.658Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T00:36:33.658Z] 04944245beec: Pulling fs layer [2022-11-07T00:36:33.658Z] 699f458cf7ca: Pulling fs layer [2022-11-07T00:36:33.658Z] 765212b225bb: Pulling fs layer [2022-11-07T00:36:33.658Z] f23df028b6ca: Pulling fs layer [2022-11-07T00:36:33.658Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T00:36:33.658Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T00:36:33.658Z] 765212b225bb: Waiting [2022-11-07T00:36:33.658Z] f23df028b6ca: Waiting [2022-11-07T00:36:33.658Z] d65c8cfc05b1: Waiting [2022-11-07T00:36:33.658Z] 2437ff75d9bd: Waiting [2022-11-07T00:36:33.933Z] 04944245beec: Verifying Checksum [2022-11-07T00:36:33.933Z] 04944245beec: Download complete [2022-11-07T00:36:33.933Z] 765212b225bb: Verifying Checksum [2022-11-07T00:36:33.933Z] 765212b225bb: Download complete [2022-11-07T00:36:33.933Z] f23df028b6ca: Verifying Checksum [2022-11-07T00:36:33.933Z] f23df028b6ca: Download complete [2022-11-07T00:36:33.933Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T00:36:33.933Z] d65c8cfc05b1: Download complete [2022-11-07T00:36:34.202Z] 699f458cf7ca: Verifying Checksum [2022-11-07T00:36:34.202Z] 699f458cf7ca: Download complete [2022-11-07T00:36:34.472Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T00:36:34.472Z] 8998bd30e6a1: Download complete [2022-11-07T00:36:37.064Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T00:36:37.064Z] 2437ff75d9bd: Download complete [2022-11-07T00:36:38.478Z] 8998bd30e6a1: Pull complete [2022-11-07T00:36:38.749Z] 04944245beec: Pull complete [2022-11-07T00:36:40.167Z] 699f458cf7ca: Pull complete [2022-11-07T00:36:40.436Z] 765212b225bb: Pull complete [2022-11-07T00:36:41.399Z] f23df028b6ca: Pull complete [2022-11-07T00:36:41.399Z] d65c8cfc05b1: Pull complete [2022-11-07T00:36:56.409Z] 2437ff75d9bd: Pull complete [2022-11-07T00:36:56.409Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T00:36:56.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T00:36:56.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:36:56.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-118352 does not seem to be running inside a container [2022-11-07T00:36:56.918Z] $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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-lftools-log-publisher:arm64 cat [2022-11-07T00:36:59.578Z] $ docker top e5781d6687263610d3a28dedfd58bceaf6540a577e5416a6f4b9a30181b13cde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:00.508Z] ---> job-cost.sh [2022-11-07T00:37:00.509Z] lf-activate-venv: SKIPPING [2022-11-07T00:37:00.509Z] INFO: No Stack... [2022-11-07T00:37:01.100Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T00:37:01.686Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T00:37:02.355Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-11-07T00:37:02.355Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T00:37:02.444Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [2022-11-07T00:37:02.453Z] Resource [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] did not exist. Created. [2022-11-07T00:37:02.453Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T00:37:02.871Z] /w/workspace/device-gpio/1@tmp/durable-b5383797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T00:37:03.558Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T00:37:03.598Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T00:37:03.644Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T00:37:03.660Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-67-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T00:37:03.735Z] $ docker stop --time=1 e5781d6687263610d3a28dedfd58bceaf6540a577e5416a6f4b9a30181b13cde [2022-11-07T00:37:05.273Z] $ docker rm -f e5781d6687263610d3a28dedfd58bceaf6540a577e5416a6f4b9a30181b13cde [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-07T00:37:06.197Z] provisioning config files... [2022-11-07T00:37:06.208Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/config11044723249586798484tmp [Pipeline] { [Pipeline] sh [2022-11-07T00:37:06.545Z] + set +x [2022-11-07T00:37:06.545Z] + curl -s https://codecov.io/bash [2022-11-07T00:37:06.545Z] + bash -s -- [2022-11-07T00:37:06.545Z] [2022-11-07T00:37:06.545Z] _____ _ [2022-11-07T00:37:06.545Z] / ____| | | [2022-11-07T00:37:06.545Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T00:37:06.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T00:37:06.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T00:37:06.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T00:37:06.545Z] Bash-1.0.6 [2022-11-07T00:37:06.545Z] [2022-11-07T00:37:06.545Z] [2022-11-07T00:37:06.545Z] ==> git version 2.25.1 found [2022-11-07T00:37:06.545Z] ==> 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-07T00:37:06.545Z] Release-Date: 2020-01-08 [2022-11-07T00:37:06.545Z] 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-07T00:37:06.545Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T00:37:06.545Z] ==> Jenkins CI detected. [2022-11-07T00:37:06.545Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-67 [2022-11-07T00:37:06.545Z] project root: . [2022-11-07T00:37:06.545Z] --> token set from env [2022-11-07T00:37:06.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T00:37:06.545Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T00:37:06.545Z] ==> Python coveragepy not found [2022-11-07T00:37:06.545Z] ==> Searching for coverage reports in: [2022-11-07T00:37:06.545Z] + . [2022-11-07T00:37:06.546Z] -> Found 1 reports [2022-11-07T00:37:06.546Z] ==> Detecting git/mercurial file structure [2022-11-07T00:37:06.546Z] ==> Reading reports [2022-11-07T00:37:06.546Z] + ./coverage.out bytes=10 [2022-11-07T00:37:06.546Z] ==> Appending adjustments [2022-11-07T00:37:06.546Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T00:37:06.808Z] + Found adjustments [2022-11-07T00:37:06.808Z] ==> Gzipping contents [2022-11-07T00:37:06.808Z] 4.0K /tmp/codecov.k54bUX.gz [2022-11-07T00:37:06.808Z] ==> Uploading reports [2022-11-07T00:37:06.808Z] url: https://codecov.io [2022-11-07T00:37:06.808Z] query: branch=PR-67&commit=8596971a77d145980547e53c0dc987ce232b6ee5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=67&job=&cmd_args= [2022-11-07T00:37:06.808Z] -> Pinging Codecov [2022-11-07T00:37:06.808Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-67&commit=8596971a77d145980547e53c0dc987ce232b6ee5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=67&job=&cmd_args= [2022-11-07T00:37:07.069Z] -> Uploading to [2022-11-07T00:37:07.069Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8596971a77d145980547e53c0dc987ce232b6ee5/ac6c4284-7168-4e7c-b01a-90ba59c46b75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T003706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3dd9019157c1d7344b7723933124a8f0d4d2de7ef1301f9dd8006f96838a3fc [2022-11-07T00:37:07.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T00:37:07.069Z] Dload Upload Total Spent Left Speed [2022-11-07T00:37:07.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3380 --:--:-- --:--:-- --:--:-- 3380 [2022-11-07T00:37:07.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/8596971a77d145980547e53c0dc987ce232b6ee5 [Pipeline] } [2022-11-07T00:37:07.360Z] 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-07T00:37:09.195Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-67/archives ] [2022-11-07T00:37:09.195Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-67/archives [2022-11-07T00:37:09.195Z] total 16 [2022-11-07T00:37:09.195Z] drwxr-xr-x 3 root root 4096 Nov 7 00:27 . [2022-11-07T00:37:09.195Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:27 .. [2022-11-07T00:37:09.195Z] drwxr-xr-x 2 root root 4096 Nov 7 00:27 cost [2022-11-07T00:37:09.195Z] -rw-r--r-- 1 root root 82 Nov 7 00:27 cost.csv [2022-11-07T00:37:09.195Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-67/archives [2022-11-07T00:37:09.195Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-67/archives [2022-11-07T00:37:09.195Z] total 16 [2022-11-07T00:37:09.195Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:27 . [2022-11-07T00:37:09.195Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:27 .. [2022-11-07T00:37:09.195Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:27 cost [2022-11-07T00:37:09.195Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 7 00:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:09.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:10.420Z] ---> package-listing.sh [2022-11-07T00:37:10.420Z] ++ facter osfamily [2022-11-07T00:37:10.420Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T00:37:10.682Z] + OS_FAMILY=debian [2022-11-07T00:37:10.682Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-67 [2022-11-07T00:37:10.682Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T00:37:10.682Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T00:37:10.682Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T00:37:10.682Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T00:37:10.682Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-67 ']' [2022-11-07T00:37:10.682Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T00:37:10.682Z] + case "${OS_FAMILY}" in [2022-11-07T00:37:10.682Z] + dpkg -l [2022-11-07T00:37:10.682Z] + grep '^ii' [2022-11-07T00:37:10.682Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T00:37:10.682Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T00:37:10.682Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T00:37:10.682Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-67 ']' [2022-11-07T00:37:10.682Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-67/archives/ [2022-11-07T00:37:10.682Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-67/archives/ [Pipeline] echo [2022-11-07T00:37:10.717Z] 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-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T00:37:11.010Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T00:37:11.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T00:37:11.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T00:37:11.781Z] prd-ubuntu20.04-docker-8c-8g-118350 does not seem to be running inside a container [2022-11-07T00:37:11.815Z] $ 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-67/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-67 -v /w/workspace/edgexfoundry_device-gpio_PR-67:/w/workspace/edgexfoundry_device-gpio_PR-67:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-67@tmp:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T00:37:11.998Z] $ docker top e94e172f8ce2dfebe6a41041d44204123b60c74f8d5c5eb6696ea129d3e4b609 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T00:37:12.394Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T00:37:12.711Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T00:37:13.027Z] + ls /var/log/sa-host [2022-11-07T00:37:13.028Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T00:37:13.184Z] provisioning config files... [2022-11-07T00:37:13.194Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-67@tmp/config5716474043381375244tmp [Pipeline] { [Pipeline] echo [2022-11-07T00:37:13.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:13.564Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T00:37:13.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:14.018Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T00:37:14.054Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:14.370Z] ---> sudo-logs.sh [2022-11-07T00:37:14.370Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T00:37:14.454Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:14.766Z] ---> job-cost.sh [2022-11-07T00:37:14.766Z] lf-activate-venv: SKIPPING [2022-11-07T00:37:14.766Z] DEBUG: total: 0.2199999988079071 [2022-11-07T00:37:14.766Z] INFO: Retrieving Stack Cost... [2022-11-07T00:37:15.024Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T00:37:15.589Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T00:37:15.623Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T00:37:15.938Z] ---> logs-deploy.sh [2022-11-07T00:37:15.938Z] lf-activate-venv: SKIPPING [2022-11-07T00:37:15.938Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-67/1 [2022-11-07T00:37:15.938Z] INFO: archiving workspace using pattern(s): [2022-11-07T00:37:16.877Z] Archives upload complete. [2022-11-07T00:37:16.877Z] INFO: archiving logs to Nexus [2022-11-07T00:37:17.446Z] ---> uname -a: [2022-11-07T00:37:17.446Z] Linux prd-ubuntu20-04-docker-8c-8g-118350 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-11-07T00:37:17.446Z] [2022-11-07T00:37:17.446Z]