Pull request #51 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ade6ddea8bc03249205d62296d8625b01661326+e9c2a01dfe972ee330369f951ac2332b6543d925 (fad87b9fbed9ff44f98fb52d352c883bb652b157) 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-ssh8188783912022116608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13695261146466821788.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-51/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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13769942411046372438.key > 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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9567010698907025078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7486362376632820487.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-51/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-51/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9802253438652934969.key > 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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-21615 in /w/workspace/edgexfoundry_device-gpio_PR-51 [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-51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e9c2a01dfe972ee330369f951ac2332b6543d925 into PR head commit 5ade6ddea8bc03249205d62296d8625b01661326 Merge succeeded, producing 5ade6ddea8bc03249205d62296d8625b01661326 Checking out Revision 5ade6ddea8bc03249205d62296d8625b01661326 (PR-51) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e9c2a01dfe972ee330369f951ac2332b6543d925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-01T00:54:33.014Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-01T00:54:33.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-01T00:54:33.308Z] ========================================================= [2022-08-01T00:54:33.308Z] EdgeX Global Pipelines Version Info [2022-08-01T00:54:33.308Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-01T00:54:34.081Z] ------------------- [2022-08-01T00:54:34.081Z] stable info: [2022-08-01T00:54:34.081Z] ------------------- [2022-08-01T00:54:34.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T00:54:34.081Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T00:54:34.081Z] Message: update stable to v1.0.238 [2022-08-01T00:54:34.652Z] ------------------- [2022-08-01T00:54:34.652Z] experimental info: [2022-08-01T00:54:34.652Z] ------------------- [2022-08-01T00:54:34.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T00:54:34.652Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T00:54:34.652Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-01T00:54:35.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-08-01T00:54:35.143Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-08-01T00:54:35.186Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-01T00:54:35.233Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-01T00:54:35.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-01T00:54:35.320Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-01T00:54:35.358Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-01T00:54:35.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-01T00:54:35.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-01T00:54:35.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-01T00:54:35.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-01T00:54:35.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-08-01T00:54:35.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-01T00:54:35.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-01T00:54:35.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T00:54:35.731Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T00:54:35.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T00:54:35.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T00:54:35.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-01T00:54:35.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-01T00:54:35.964Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-01T00:54:36.013Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-01T00:54:36.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-01T00:54:36.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-01T00:54:36.149Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-01T00:54:36.190Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-01T00:54:36.236Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-01T00:54:36.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-51 [Pipeline] echo [2022-08-01T00:54:36.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-51 [Pipeline] echo [2022-08-01T00:54:36.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-51 [Pipeline] echo [2022-08-01T00:54:36.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo [2022-08-01T00:54:36.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ade6dd [Pipeline] echo [2022-08-01T00:54:36.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T00:54:36.620Z] provisioning config files... [2022-08-01T00:54:36.636Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config1331620619098887697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T00:54:37.011Z] ---> docker-login.sh [2022-08-01T00:54:37.011Z] nexus3.edgexfoundry.org:10001 [2022-08-01T00:54:37.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:37.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:37.536Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:37.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:37.536Z] [2022-08-01T00:54:37.536Z] Login Succeeded [2022-08-01T00:54:37.536Z] nexus3.edgexfoundry.org:10002 [2022-08-01T00:54:37.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:37.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:37.536Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:37.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:37.536Z] [2022-08-01T00:54:37.536Z] Login Succeeded [2022-08-01T00:54:37.536Z] nexus3.edgexfoundry.org:10003 [2022-08-01T00:54:37.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:37.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:37.797Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:37.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:37.797Z] [2022-08-01T00:54:37.797Z] Login Succeeded [2022-08-01T00:54:37.797Z] nexus3.edgexfoundry.org:10004 [2022-08-01T00:54:37.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:38.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:38.059Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:38.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:38.059Z] [2022-08-01T00:54:38.059Z] Login Succeeded [2022-08-01T00:54:38.059Z] docker.io [2022-08-01T00:54:38.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:38.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:38.320Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:38.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:38.320Z] [2022-08-01T00:54:38.320Z] Login Succeeded [2022-08-01T00:54:38.320Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T00:54:38.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-01T00:54:39.007Z] + git rev-list -1 --merges 5ade6ddea8bc03249205d62296d8625b01661326~1..5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo [2022-08-01T00:54:39.060Z] -----------> git rev-list -1 --merges 5ade6ddea8bc03249205d62296d8625b01661326~1..5ade6ddea8bc03249205d62296d8625b01661326 5ade6ddea8bc03249205d62296d8625b01661326 [false] [Pipeline] sh [2022-08-01T00:54:39.387Z] + git log --format=format:%s -1 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo [2022-08-01T00:54:39.436Z] ========================================================= [2022-08-01T00:54:39.436Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-01T00:54:39.436Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T00:54:39.899Z] + git log --format=format:%s -1 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo [2022-08-01T00:54:39.934Z] [semverPrep] GIT_COMMIT: 5ade6ddea8bc03249205d62296d8625b01661326, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-01T00:54:39.963Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-01T00:54:40.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T00:54:40.371Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-01T00:54:40.371Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-01T00:54:40.371Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-01T00:54:40.371Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-01T00:54:40.371Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-01T00:54:40.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:54:40.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T00:54:40.873Z] [2022-08-01T00:54:40.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:54:41.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T00:54:41.252Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-01T00:54:41.252Z] b85a868b505f: Pulling fs layer [2022-08-01T00:54:41.252Z] e2be974225ed: Pulling fs layer [2022-08-01T00:54:41.252Z] 339a4e72a1f5: Pulling fs layer [2022-08-01T00:54:41.252Z] 988bab9f4d93: Pulling fs layer [2022-08-01T00:54:41.252Z] 1469e6f7b9e6: Pulling fs layer [2022-08-01T00:54:41.252Z] eaf3925da568: Pulling fs layer [2022-08-01T00:54:41.252Z] bab4dde63d76: Pulling fs layer [2022-08-01T00:54:41.252Z] bde34c3a00c8: Pulling fs layer [2022-08-01T00:54:41.252Z] b352a97aabf1: Pulling fs layer [2022-08-01T00:54:41.252Z] 4872d77fe225: Pulling fs layer [2022-08-01T00:54:41.252Z] 5851b861e8e6: Pulling fs layer [2022-08-01T00:54:41.252Z] 1469e6f7b9e6: Waiting [2022-08-01T00:54:41.252Z] 4872d77fe225: Waiting [2022-08-01T00:54:41.252Z] 988bab9f4d93: Waiting [2022-08-01T00:54:41.252Z] eaf3925da568: Waiting [2022-08-01T00:54:41.252Z] b352a97aabf1: Waiting [2022-08-01T00:54:41.252Z] 5851b861e8e6: Waiting [2022-08-01T00:54:41.252Z] bab4dde63d76: Waiting [2022-08-01T00:54:41.252Z] bde34c3a00c8: Waiting [2022-08-01T00:54:41.252Z] e2be974225ed: Verifying Checksum [2022-08-01T00:54:41.252Z] e2be974225ed: Download complete [2022-08-01T00:54:41.252Z] 988bab9f4d93: Verifying Checksum [2022-08-01T00:54:41.252Z] 988bab9f4d93: Download complete [2022-08-01T00:54:41.511Z] 1469e6f7b9e6: Verifying Checksum [2022-08-01T00:54:41.512Z] 1469e6f7b9e6: Download complete [2022-08-01T00:54:41.512Z] 339a4e72a1f5: Verifying Checksum [2022-08-01T00:54:41.512Z] 339a4e72a1f5: Download complete [2022-08-01T00:54:41.512Z] eaf3925da568: Download complete [2022-08-01T00:54:41.512Z] bde34c3a00c8: Download complete [2022-08-01T00:54:41.512Z] b352a97aabf1: Verifying Checksum [2022-08-01T00:54:41.512Z] b352a97aabf1: Download complete [2022-08-01T00:54:41.512Z] 4872d77fe225: Verifying Checksum [2022-08-01T00:54:41.512Z] 4872d77fe225: Download complete [2022-08-01T00:54:41.512Z] 5851b861e8e6: Verifying Checksum [2022-08-01T00:54:41.512Z] 5851b861e8e6: Download complete [2022-08-01T00:54:41.512Z] b85a868b505f: Verifying Checksum [2022-08-01T00:54:41.512Z] b85a868b505f: Download complete [2022-08-01T00:54:41.772Z] bab4dde63d76: Verifying Checksum [2022-08-01T00:54:41.772Z] bab4dde63d76: Download complete [2022-08-01T00:54:43.156Z] b85a868b505f: Pull complete [2022-08-01T00:54:43.156Z] e2be974225ed: Pull complete [2022-08-01T00:54:43.728Z] 339a4e72a1f5: Pull complete [2022-08-01T00:54:43.728Z] 988bab9f4d93: Pull complete [2022-08-01T00:54:43.989Z] 1469e6f7b9e6: Pull complete [2022-08-01T00:54:43.989Z] eaf3925da568: Pull complete [2022-08-01T00:54:46.537Z] bab4dde63d76: Pull complete [2022-08-01T00:54:46.538Z] bde34c3a00c8: Pull complete [2022-08-01T00:54:46.538Z] b352a97aabf1: Pull complete [2022-08-01T00:54:46.538Z] 4872d77fe225: Pull complete [2022-08-01T00:54:46.538Z] 5851b861e8e6: Pull complete [2022-08-01T00:54:46.538Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-01T00:54:46.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T00:54:46.538Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T00:54:46.772Z] prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container [2022-08-01T00:54:46.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-01T00:54:48.899Z] $ docker top 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 -eo pid,comm [2022-08-01T00:54:48.962Z] 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-08-01T00:54:48.962Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T00:54:49.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T00:54:49.105Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T00:54:49.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T00:54:49.245Z] $ docker exec 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent [2022-08-01T00:54:49.359Z] SSH_AUTH_SOCK=/tmp/ssh-OS9WmATjdPX0/agent.34 [2022-08-01T00:54:49.359Z] SSH_AGENT_PID=40 [2022-08-01T00:54:49.367Z] Running ssh-add (command line suppressed) [2022-08-01T00:54:49.503Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_5962695017508571231.key (/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_5962695017508571231.key) [2022-08-01T00:54:49.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T00:54:49.847Z] + git tag --points-at HEAD [Pipeline] } [2022-08-01T00:54:49.881Z] $ docker exec --env ******** --env ******** 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent -k [2022-08-01T00:54:49.989Z] unset SSH_AUTH_SOCK; [2022-08-01T00:54:49.990Z] unset SSH_AGENT_PID; [2022-08-01T00:54:49.990Z] echo Agent pid 40 killed; [2022-08-01T00:54:50.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-01T00:54:50.091Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T00:54:50.091Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T00:54:50.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T00:54:50.237Z] $ docker exec 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent [2022-08-01T00:54:50.357Z] SSH_AUTH_SOCK=/tmp/ssh-yzwLIAdMXV6b/agent.73 [2022-08-01T00:54:50.357Z] SSH_AGENT_PID=80 [2022-08-01T00:54:50.363Z] Running ssh-add (command line suppressed) [2022-08-01T00:54:50.483Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_2040908304980372720.key (/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_2040908304980372720.key) [2022-08-01T00:54:50.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T00:54:50.831Z] + git semver init [2022-08-01T00:54:51.093Z] 2022-08-01 00:54:51,024 [run_init] DEBUG init version:0.0.0 force:False [2022-08-01T00:54:51.093Z] 2022-08-01 00:54:51,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver [2022-08-01T00:54:51.093Z] 2022-08-01 00:54:51,025 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-51/.semver [2022-08-01T00:54:51.093Z] 2022-08-01 00:54:51,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-51/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51, universal_newlines=False, shell=None, istream=None) [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,915 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-51/.git/info/exclude [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,915 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 with force:False [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,915 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,919 [execute] INFO git cat-file --batch-check [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,927 [execute] INFO git cat-file --batch [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T00:54:52.037Z] 2022-08-01 00:54:51,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 [2022-08-01T00:54:52.037Z] 0.0.0 [Pipeline] } [2022-08-01T00:54:52.069Z] $ docker exec --env ******** --env ******** 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent -k [2022-08-01T00:54:52.180Z] unset SSH_AUTH_SOCK; [2022-08-01T00:54:52.181Z] unset SSH_AGENT_PID; [2022-08-01T00:54:52.182Z] echo Agent pid 80 killed; [2022-08-01T00:54:52.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T00:54:52.617Z] + git semver [Pipeline] } [2022-08-01T00:54:52.908Z] $ docker stop --time=1 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 [2022-08-01T00:54:54.199Z] $ docker rm -f 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T00:54:54.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-01T00:54:54.952Z] Stashed 1 file(s) [Pipeline] echo [2022-08-01T00:54:54.968Z] [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-08-01T00:54:55.562Z] provisioning config files... [2022-08-01T00:54:55.574Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config6577671843011691126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T00:54:55.929Z] ---> docker-login.sh [2022-08-01T00:54:55.929Z] nexus3.edgexfoundry.org:10001 [2022-08-01T00:54:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:55.930Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:55.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:55.930Z] [2022-08-01T00:54:55.930Z] Login Succeeded [2022-08-01T00:54:55.930Z] nexus3.edgexfoundry.org:10002 [2022-08-01T00:54:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:56.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:56.193Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:56.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:56.193Z] [2022-08-01T00:54:56.193Z] Login Succeeded [2022-08-01T00:54:56.193Z] nexus3.edgexfoundry.org:10003 [2022-08-01T00:54:56.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:56.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:56.193Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:56.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:56.193Z] [2022-08-01T00:54:56.193Z] Login Succeeded [2022-08-01T00:54:56.193Z] nexus3.edgexfoundry.org:10004 [2022-08-01T00:54:56.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:56.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:56.467Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:56.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:56.467Z] [2022-08-01T00:54:56.467Z] Login Succeeded [2022-08-01T00:54:56.467Z] docker.io [2022-08-01T00:54:56.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:54:56.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:54:56.732Z] Configure a credential helper to remove this warning. See [2022-08-01T00:54:56.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:54:56.732Z] [2022-08-01T00:54:56.732Z] Login Succeeded [2022-08-01T00:54:56.732Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T00:54:56.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T00:54:56.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T00:54:57.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T00:54:57.035Z] ========================================================= [2022-08-01T00:54:57.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-01T00:54:57.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:54:57.519Z] + 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-08-01T00:54:57.519Z] Sending build context to Docker daemon 15.8MB [2022-08-01T00:54:57.519Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T00:54:57.519Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T00:54:57.519Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-01T00:54:57.519Z] 2408cc74d12b: Pulling fs layer [2022-08-01T00:54:57.519Z] ea60b727a1ce: Pulling fs layer [2022-08-01T00:54:57.519Z] 30c4a7721957: Pulling fs layer [2022-08-01T00:54:57.519Z] 370296b7ddb6: Pulling fs layer [2022-08-01T00:54:57.519Z] 7c6cee850709: Pulling fs layer [2022-08-01T00:54:57.519Z] 370296b7ddb6: Waiting [2022-08-01T00:54:57.519Z] 39a5fcdaea64: Pulling fs layer [2022-08-01T00:54:57.519Z] d94ebbe4e438: Pulling fs layer [2022-08-01T00:54:57.519Z] 7c6cee850709: Waiting [2022-08-01T00:54:57.519Z] bcfd1f05c69d: Pulling fs layer [2022-08-01T00:54:57.519Z] 59ccb84bbe0f: Pulling fs layer [2022-08-01T00:54:57.519Z] 59ccb84bbe0f: Waiting [2022-08-01T00:54:57.519Z] bcfd1f05c69d: Waiting [2022-08-01T00:54:57.519Z] 30c4a7721957: Verifying Checksum [2022-08-01T00:54:57.519Z] 30c4a7721957: Download complete [2022-08-01T00:54:57.519Z] ea60b727a1ce: Download complete [2022-08-01T00:54:57.784Z] 7c6cee850709: Verifying Checksum [2022-08-01T00:54:57.784Z] 7c6cee850709: Download complete [2022-08-01T00:54:57.784Z] 39a5fcdaea64: Download complete [2022-08-01T00:54:57.784Z] 2408cc74d12b: Verifying Checksum [2022-08-01T00:54:57.784Z] 2408cc74d12b: Download complete [2022-08-01T00:54:57.784Z] d94ebbe4e438: Verifying Checksum [2022-08-01T00:54:57.784Z] d94ebbe4e438: Download complete [2022-08-01T00:54:57.784Z] 2408cc74d12b: Pull complete [2022-08-01T00:54:58.059Z] ea60b727a1ce: Pull complete [2022-08-01T00:54:58.059Z] 30c4a7721957: Pull complete [2022-08-01T00:54:58.326Z] 59ccb84bbe0f: Verifying Checksum [2022-08-01T00:54:58.327Z] 59ccb84bbe0f: Download complete [2022-08-01T00:54:58.589Z] bcfd1f05c69d: Verifying Checksum [2022-08-01T00:54:58.589Z] bcfd1f05c69d: Download complete [2022-08-01T00:54:58.589Z] 370296b7ddb6: Verifying Checksum [2022-08-01T00:54:58.589Z] 370296b7ddb6: Download complete [2022-08-01T00:55:02.791Z] 370296b7ddb6: Pull complete [2022-08-01T00:55:02.791Z] 7c6cee850709: Pull complete [2022-08-01T00:55:02.791Z] 39a5fcdaea64: Pull complete [2022-08-01T00:55:02.791Z] d94ebbe4e438: Pull complete [2022-08-01T00:55:05.332Z] bcfd1f05c69d: Pull complete [2022-08-01T00:55:05.900Z] 59ccb84bbe0f: Pull complete [2022-08-01T00:55:05.900Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-01T00:55:05.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-01T00:55:05.900Z] ---> a4fb48ad2a94 [2022-08-01T00:55:05.900Z] Step 3/12 : ARG MAKE="make build" [2022-08-01T00:55:10.106Z] ---> Running in c44ff6a069d5 [2022-08-01T00:55:10.106Z] Removing intermediate container c44ff6a069d5 [2022-08-01T00:55:10.106Z] ---> 149e8faa6b3b [2022-08-01T00:55:10.106Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T00:55:10.106Z] ---> Running in 2962ea8d6992 [2022-08-01T00:55:10.106Z] Removing intermediate container 2962ea8d6992 [2022-08-01T00:55:10.106Z] ---> 132876422e86 [2022-08-01T00:55:10.106Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T00:55:10.367Z] ---> Running in 754854467de1 [2022-08-01T00:55:10.367Z] Removing intermediate container 754854467de1 [2022-08-01T00:55:10.367Z] ---> 830dd19210e8 [2022-08-01T00:55:10.367Z] Step 6/12 : WORKDIR /device-gpio [2022-08-01T00:55:10.367Z] ---> Running in 0eb7a4c272e9 [2022-08-01T00:55:10.367Z] Removing intermediate container 0eb7a4c272e9 [2022-08-01T00:55:10.367Z] ---> 26195e05827e [2022-08-01T00:55:10.367Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T00:55:10.367Z] ---> Running in 6376e37caf8c [2022-08-01T00:55:10.390Z] Still waiting to schedule task [2022-08-01T00:55:10.391Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21614’ [2022-08-01T00:55:11.308Z] Removing intermediate container 6376e37caf8c [2022-08-01T00:55:11.309Z] ---> 51b2293c5a9a [2022-08-01T00:55:11.309Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T00:55:11.309Z] ---> Running in f68c96ae432d [2022-08-01T00:55:11.569Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T00:55:12.509Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T00:55:13.082Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T00:55:13.082Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T00:55:13.341Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T00:55:13.341Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T00:55:13.341Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T00:55:13.341Z] OK: 216 MiB in 55 packages [2022-08-01T00:55:13.913Z] Removing intermediate container f68c96ae432d [2022-08-01T00:55:13.913Z] ---> f6cd7d55f2fc [2022-08-01T00:55:13.913Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-01T00:55:13.913Z] ---> 9430bb6676e2 [2022-08-01T00:55:13.913Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T00:55:14.174Z] ---> Running in 98f8272dd7cb [2022-08-01T00:55:40.754Z] Removing intermediate container 98f8272dd7cb [2022-08-01T00:55:40.754Z] ---> 9f7db7102bbe [2022-08-01T00:55:40.754Z] Step 11/12 : COPY . . [2022-08-01T00:55:40.754Z] ---> 2759e839937b [2022-08-01T00:55:40.754Z] Step 12/12 : RUN ${MAKE} [2022-08-01T00:55:40.754Z] ---> Running in 86557224a7af [2022-08-01T00:55:40.754Z] noop [2022-08-01T00:55:40.754Z] Removing intermediate container 86557224a7af [2022-08-01T00:55:40.754Z] ---> f83e96d07ef9 [2022-08-01T00:55:40.754Z] Successfully built f83e96d07ef9 [2022-08-01T00:55:40.754Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:55:41.195Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T00:55:41.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T00:55:41.359Z] prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container [2022-08-01T00:55:41.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@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-x86_64 cat [2022-08-01T00:55:41.755Z] $ docker top 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T00:55:42.148Z] + go version [2022-08-01T00:55:42.148Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-01T00:55:42.184Z] $ docker stop --time=1 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f [2022-08-01T00:55:43.450Z] $ docker rm -f 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:55:44.163Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T00:55:44.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T00:55:44.380Z] prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container [2022-08-01T00:55:44.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@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-x86_64 cat [2022-08-01T00:55:44.806Z] $ docker top 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T00:55:45.229Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-51 [Pipeline] fileExists [Pipeline] sh [2022-08-01T00:55:45.585Z] + make test [2022-08-01T00:55:45.585Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T00:55:45.843Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-08-01T00:55:55.821Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-08-01T00:55:55.821Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-08-01T00:56:01.100Z] 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-08-01T00:56:01.100Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T00:56:04.391Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T00:56:04.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T00:56:04.391Z] ./bin/test-attribution-txt.sh [2022-08-01T00:56:04.391Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T00:56:04.391Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T00:56:04.391Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T00:56:04.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T00:56:04.462Z] $ docker stop --time=1 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 [2022-08-01T00:56:06.547Z] $ docker rm -f 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T00:56:07.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T00:56:07.127Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-01T00:56:07.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T00:56:08.103Z] + ls -al . [2022-08-01T00:56:08.103Z] total 160 [2022-08-01T00:56:08.103Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 00:55 . [2022-08-01T00:56:08.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:54 .. [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 1 00:54 .dockerignore [2022-08-01T00:56:08.103Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 00:55 .git [2022-08-01T00:56:08.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 .github [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 1 00:54 .gitignore [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 00:54 .golangci.yml [2022-08-01T00:56:08.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 00:54 .semver [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 9182 Aug 1 00:54 Attribution.txt [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 3081 Aug 1 00:54 CHANGELOG.md [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 1 00:54 Dockerfile [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 00:54 GOVERNANCE.md [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 1 00:54 Jenkinsfile [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 00:54 LICENSE [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 1876 Aug 1 00:54 Makefile [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 00:54 OWNERS.md [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 11178 Aug 1 00:54 README.md [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 00:54 VERSION [2022-08-01T00:56:08.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 00:54 bin [2022-08-01T00:56:08.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 cmd [2022-08-01T00:56:08.103Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 1 00:55 coverage.out [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 3425 Aug 1 00:54 go.mod [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 36813 Aug 1 00:54 go.sum [2022-08-01T00:56:08.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 internal [2022-08-01T00:56:08.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:54 snap [2022-08-01T00:56:08.103Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 1 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:56:08.492Z] + 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=5ade6ddea8bc03249205d62296d8625b01661326 --label arch=amd64 --label version=0.0.0 . [2022-08-01T00:56:08.492Z] Sending build context to Docker daemon 15.8MB [2022-08-01T00:56:08.492Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T00:56:08.492Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-01T00:56:08.492Z] ---> f83e96d07ef9 [2022-08-01T00:56:08.492Z] Step 3/26 : ARG MAKE="make build" [2022-08-01T00:56:08.753Z] ---> Running in 630c7bf93f15 [2022-08-01T00:56:08.753Z] Removing intermediate container 630c7bf93f15 [2022-08-01T00:56:08.753Z] ---> 72823639bf87 [2022-08-01T00:56:08.753Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T00:56:08.753Z] ---> Running in 567a0b786a7a [2022-08-01T00:56:08.753Z] Removing intermediate container 567a0b786a7a [2022-08-01T00:56:08.753Z] ---> 8592ddf01bd6 [2022-08-01T00:56:08.753Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T00:56:08.753Z] ---> Running in 20be298b1d2b [2022-08-01T00:56:09.020Z] Removing intermediate container 20be298b1d2b [2022-08-01T00:56:09.020Z] ---> 0e9e210eae33 [2022-08-01T00:56:09.020Z] Step 6/26 : WORKDIR /device-gpio [2022-08-01T00:56:09.020Z] ---> Running in 0a0baf90d4a4 [2022-08-01T00:56:09.020Z] Removing intermediate container 0a0baf90d4a4 [2022-08-01T00:56:09.020Z] ---> f110465d653b [2022-08-01T00:56:09.020Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T00:56:09.020Z] ---> Running in c7452929d7ad [2022-08-01T00:56:09.590Z] Removing intermediate container c7452929d7ad [2022-08-01T00:56:09.590Z] ---> e3cdbe45f7e1 [2022-08-01T00:56:09.590Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T00:56:09.590Z] ---> Running in 1a1b24b6c6ae [2022-08-01T00:56:09.849Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T00:56:10.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T00:56:11.051Z] OK: 216 MiB in 55 packages [2022-08-01T00:56:11.312Z] Removing intermediate container 1a1b24b6c6ae [2022-08-01T00:56:11.312Z] ---> 7f0100456178 [2022-08-01T00:56:11.312Z] Step 9/26 : COPY go.mod vendor* ./ [2022-08-01T00:56:11.572Z] ---> f2ab7c1bab81 [2022-08-01T00:56:11.572Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T00:56:11.572Z] ---> Running in 3948826fb8fe [2022-08-01T00:56:12.143Z] Removing intermediate container 3948826fb8fe [2022-08-01T00:56:12.143Z] ---> edefd26c52e1 [2022-08-01T00:56:12.143Z] Step 11/26 : COPY . . [2022-08-01T00:56:12.713Z] ---> 5e0dbfa5a86e [2022-08-01T00:56:12.713Z] Step 12/26 : RUN ${MAKE} [2022-08-01T00:56:12.713Z] ---> Running in 046d039d8965 [2022-08-01T00:56:12.972Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-08-01T00:56:34.911Z] Removing intermediate container 046d039d8965 [2022-08-01T00:56:34.911Z] ---> 05f8bc7de0da [2022-08-01T00:56:34.911Z] Step 13/26 : FROM alpine:3.16 [2022-08-01T00:56:34.911Z] 3.16: Pulling from library/alpine [2022-08-01T00:56:34.911Z] 530afca65e2e: Pulling fs layer [2022-08-01T00:56:34.911Z] 530afca65e2e: Verifying Checksum [2022-08-01T00:56:34.911Z] 530afca65e2e: Download complete [2022-08-01T00:56:34.911Z] 530afca65e2e: Pull complete [2022-08-01T00:56:34.911Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T00:56:34.911Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T00:56:34.911Z] ---> d7d3d98c851f [2022-08-01T00:56:34.911Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-08-01T00:56:34.911Z] ---> Running in 6881649eb79b [2022-08-01T00:56:34.911Z] Removing intermediate container 6881649eb79b [2022-08-01T00:56:34.911Z] ---> e54213e3f71f [2022-08-01T00:56:34.911Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T00:56:34.911Z] ---> Running in a255a35b83c5 [2022-08-01T00:56:34.911Z] Removing intermediate container a255a35b83c5 [2022-08-01T00:56:34.911Z] ---> d7e4369ac194 [2022-08-01T00:56:34.911Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-08-01T00:56:34.911Z] ---> Running in 95b6b984ced8 [2022-08-01T00:56:34.911Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T00:56:35.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T00:56:35.742Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T00:56:35.742Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-01T00:56:35.742Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T00:56:35.742Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-01T00:56:36.001Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-01T00:56:36.001Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T00:56:36.001Z] OK: 8 MiB in 19 packages [2022-08-01T00:56:36.573Z] Removing intermediate container 95b6b984ced8 [2022-08-01T00:56:36.573Z] ---> 0456c9577763 [2022-08-01T00:56:36.573Z] Step 17/26 : WORKDIR / [2022-08-01T00:56:36.573Z] ---> Running in 9c49088e8212 [2022-08-01T00:56:36.573Z] Removing intermediate container 9c49088e8212 [2022-08-01T00:56:36.573Z] ---> d795f2bf4e1b [2022-08-01T00:56:36.573Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-08-01T00:56:36.573Z] ---> 95862d00eeb0 [2022-08-01T00:56:36.573Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-08-01T00:56:36.834Z] ---> 2e41f972262d [2022-08-01T00:56:36.834Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-08-01T00:56:37.773Z] ---> e9edd2c138c3 [2022-08-01T00:56:37.773Z] Step 21/26 : EXPOSE 59910 [2022-08-01T00:56:37.773Z] ---> Running in 4d18f46abca6 [2022-08-01T00:56:37.773Z] Removing intermediate container 4d18f46abca6 [2022-08-01T00:56:37.773Z] ---> 00fdb7266516 [2022-08-01T00:56:37.773Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-08-01T00:56:37.773Z] ---> Running in 19559ce64d72 [2022-08-01T00:56:37.773Z] Removing intermediate container 19559ce64d72 [2022-08-01T00:56:37.773Z] ---> 4486834e1732 [2022-08-01T00:56:37.773Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T00:56:37.773Z] ---> Running in e84cd02467a6 [2022-08-01T00:56:37.773Z] Removing intermediate container e84cd02467a6 [2022-08-01T00:56:37.773Z] ---> a3e4ff3486e5 [2022-08-01T00:56:37.773Z] Step 24/26 : LABEL arch=amd64 [2022-08-01T00:56:37.773Z] ---> Running in 1056c902af0f [2022-08-01T00:56:38.033Z] Removing intermediate container 1056c902af0f [2022-08-01T00:56:38.033Z] ---> 1264cc7a3c4b [2022-08-01T00:56:38.033Z] Step 25/26 : LABEL git_sha=5ade6ddea8bc03249205d62296d8625b01661326 [2022-08-01T00:56:38.033Z] ---> Running in 240b300bfff8 [2022-08-01T00:56:38.033Z] Removing intermediate container 240b300bfff8 [2022-08-01T00:56:38.033Z] ---> c9bbae89070c [2022-08-01T00:56:38.033Z] Step 26/26 : LABEL version=0.0.0 [2022-08-01T00:56:38.033Z] ---> Running in d2004c727ca1 [2022-08-01T00:56:38.033Z] Removing intermediate container d2004c727ca1 [2022-08-01T00:56:38.033Z] ---> 24f9ad824fc0 [2022-08-01T00:56:38.033Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T00:56:38.033Z] Successfully built 24f9ad824fc0 [2022-08-01T00:56:38.033Z] 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-08-01T00:56:38.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T00:56:38.918Z] [2022-08-01T00:56:38.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:56:39.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T00:56:39.295Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-01T00:56:39.295Z] 5eb5b503b376: Pulling fs layer [2022-08-01T00:56:39.295Z] 5c69ac0246d0: Pulling fs layer [2022-08-01T00:56:39.295Z] ec43610c2a17: Pulling fs layer [2022-08-01T00:56:39.295Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-01T00:56:39.295Z] 33b1e0a273af: Pulling fs layer [2022-08-01T00:56:39.295Z] 5d3b04190fa2: Pulling fs layer [2022-08-01T00:56:39.295Z] 2f39f015ded8: Pulling fs layer [2022-08-01T00:56:39.295Z] 33b1e0a273af: Waiting [2022-08-01T00:56:39.295Z] 2f39f015ded8: Waiting [2022-08-01T00:56:39.295Z] 3a2ae6a8a46f: Waiting [2022-08-01T00:56:39.295Z] 5d3b04190fa2: Waiting [2022-08-01T00:56:39.295Z] 5c69ac0246d0: Verifying Checksum [2022-08-01T00:56:39.295Z] 5c69ac0246d0: Download complete [2022-08-01T00:56:39.295Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-01T00:56:39.295Z] 3a2ae6a8a46f: Download complete [2022-08-01T00:56:39.295Z] 33b1e0a273af: Verifying Checksum [2022-08-01T00:56:39.295Z] 33b1e0a273af: Download complete [2022-08-01T00:56:39.554Z] 5d3b04190fa2: Verifying Checksum [2022-08-01T00:56:39.554Z] 5d3b04190fa2: Download complete [2022-08-01T00:56:39.554Z] ec43610c2a17: Verifying Checksum [2022-08-01T00:56:39.554Z] ec43610c2a17: Download complete [2022-08-01T00:56:39.554Z] 5eb5b503b376: Verifying Checksum [2022-08-01T00:56:39.554Z] 5eb5b503b376: Download complete [2022-08-01T00:56:40.123Z] 2f39f015ded8: Download complete [2022-08-01T00:56:40.693Z] 5eb5b503b376: Pull complete [2022-08-01T00:56:40.953Z] 5c69ac0246d0: Pull complete [2022-08-01T00:56:41.213Z] ec43610c2a17: Pull complete [2022-08-01T00:56:41.213Z] 3a2ae6a8a46f: Pull complete [2022-08-01T00:56:41.474Z] 33b1e0a273af: Pull complete [2022-08-01T00:56:41.733Z] 5d3b04190fa2: Pull complete [2022-08-01T00:56:45.929Z] 2f39f015ded8: Pull complete [2022-08-01T00:56:45.929Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-01T00:56:45.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T00:56:45.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T00:56:46.163Z] prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container [2022-08-01T00:56:46.205Z] $ 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-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@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:latest cat [2022-08-01T00:56:48.559Z] $ docker top eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T00:56:49.035Z] ---> job-cost.sh [2022-08-01T00:56:49.035Z] lf-activate-venv: SKIPPING [2022-08-01T00:56:49.035Z] INFO: No Stack... [2022-08-01T00:56:49.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T00:56:49.867Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T00:56:50.190Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-51/archives/cost.csv [2022-08-01T00:56:50.190Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T00:56:50.232Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [2022-08-01T00:56:50.237Z] Resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] did not exist. Created. [2022-08-01T00:56:50.237Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T00:56:50.651Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-01T00:56:50.701Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T00:56:50.737Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T00:56:50.823Z] $ docker stop --time=1 eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 [2022-08-01T00:56:51.980Z] $ docker rm -f eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-01T00:58:51.387Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21616 in /w/workspace/edgexfoundry_device-gpio_PR-51 [Pipeline] { [Pipeline] ws [2022-08-01T00:58:51.435Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-08-01T00:58:51.503Z] The recommended git tool is: git [2022-08-01T00:58:58.159Z] using credential edgex-jenkins-ssh [2022-08-01T00:58:58.180Z] Cloning the remote Git repository [2022-08-01T00:58:58.260Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-08-01T00:58:58.342Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-08-01T00:58:58.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-08-01T00:58:58.487Z] > git --version # timeout=10 [2022-08-01T00:58:58.517Z] > git --version # 'git version 2.25.1' [2022-08-01T00:58:58.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T00:58:58.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T00:59:00.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-08-01T00:59:00.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T00:59:00.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-08-01T00:59:00.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-08-01T00:59:00.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T00:59:00.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-01T00:59:00.652Z] Merging remotes/origin/main commit e9c2a01dfe972ee330369f951ac2332b6543d925 into PR head commit 5ade6ddea8bc03249205d62296d8625b01661326 [2022-08-01T00:59:00.856Z] Merge succeeded, producing 5ade6ddea8bc03249205d62296d8625b01661326 [2022-08-01T00:59:00.856Z] Checking out Revision 5ade6ddea8bc03249205d62296d8625b01661326 (PR-51) [2022-08-01T00:59:00.674Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T00:59:00.690Z] > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 [2022-08-01T00:59:00.775Z] > git remote # timeout=10 [2022-08-01T00:59:00.790Z] > git config --get remote.origin.url # timeout=10 [2022-08-01T00:59:00.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T00:59:00.819Z] > git merge e9c2a01dfe972ee330369f951ac2332b6543d925 # timeout=10 [2022-08-01T00:59:00.844Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-01T00:59:00.866Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T00:59:00.878Z] > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 [2022-08-01T00:59:05.058Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-01T00:59:05.123Z] > git --version # timeout=10 [2022-08-01T00:59:05.137Z] > git --version # 'git version 2.25.1' [2022-08-01T00:59:05.152Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T00:59:06.279Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-01T00:59:06.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T00:59:06.279Z] Dload Upload Total Spent Left Speed [2022-08-01T00:59:06.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 89362 [Pipeline] sh [2022-08-01T00:59:07.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-01T00:59:07.588Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-01T00:59:07.588Z] + sudo tee /etc/docker/daemon.new [2022-08-01T00:59:07.588Z] { [2022-08-01T00:59:07.588Z] "registry-mirrors": [ [2022-08-01T00:59:07.588Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-01T00:59:07.588Z] ], [2022-08-01T00:59:07.588Z] "bip": "10.250.0.254/24", [2022-08-01T00:59:07.588Z] "hosts": [ [2022-08-01T00:59:07.588Z] "tcp://0.0.0.0:5555", [2022-08-01T00:59:07.588Z] "unix:///var/run/docker.sock" [2022-08-01T00:59:07.588Z] ], [2022-08-01T00:59:07.588Z] "mtu": 1458, [2022-08-01T00:59:07.588Z] "selinux-enabled": true, [2022-08-01T00:59:07.588Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-01T00:59:07.588Z] } [Pipeline] sh [2022-08-01T00:59:07.949Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-01T00:59:08.309Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T00:59:26.719Z] provisioning config files... [2022-08-01T00:59:26.744Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1281302935134013479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T00:59:27.147Z] ---> docker-login.sh [2022-08-01T00:59:27.147Z] nexus3.edgexfoundry.org:10001 [2022-08-01T00:59:27.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:59:28.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:59:28.019Z] Configure a credential helper to remove this warning. See [2022-08-01T00:59:28.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:59:28.019Z] [2022-08-01T00:59:28.019Z] Login Succeeded [2022-08-01T00:59:28.019Z] nexus3.edgexfoundry.org:10002 [2022-08-01T00:59:28.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:59:28.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:59:28.565Z] Configure a credential helper to remove this warning. See [2022-08-01T00:59:28.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:59:28.565Z] [2022-08-01T00:59:28.565Z] Login Succeeded [2022-08-01T00:59:28.565Z] nexus3.edgexfoundry.org:10003 [2022-08-01T00:59:28.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:59:28.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:59:28.858Z] Configure a credential helper to remove this warning. See [2022-08-01T00:59:28.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:59:28.858Z] [2022-08-01T00:59:28.858Z] Login Succeeded [2022-08-01T00:59:28.858Z] nexus3.edgexfoundry.org:10004 [2022-08-01T00:59:29.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:59:29.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:59:29.411Z] Configure a credential helper to remove this warning. See [2022-08-01T00:59:29.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:59:29.411Z] [2022-08-01T00:59:29.411Z] Login Succeeded [2022-08-01T00:59:29.411Z] docker.io [2022-08-01T00:59:29.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T00:59:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T00:59:30.280Z] Configure a credential helper to remove this warning. See [2022-08-01T00:59:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T00:59:30.280Z] [2022-08-01T00:59:30.280Z] Login Succeeded [2022-08-01T00:59:30.280Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T00:59:30.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T00:59:30.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T00:59:30.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T00:59:30.793Z] ========================================================= [2022-08-01T00:59:30.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-01T00:59:30.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T00:59:31.312Z] + 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-08-01T00:59:31.587Z] Sending build context to Docker daemon 7.966MB [2022-08-01T00:59:31.587Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T00:59:31.587Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T00:59:31.862Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-01T00:59:31.862Z] b3c136eddcbf: Pulling fs layer [2022-08-01T00:59:31.862Z] c0a3192eca97: Pulling fs layer [2022-08-01T00:59:31.862Z] a050256f5b6f: Pulling fs layer [2022-08-01T00:59:31.862Z] 656be50a0ddc: Pulling fs layer [2022-08-01T00:59:31.862Z] 2bbca73fdf42: Pulling fs layer [2022-08-01T00:59:31.862Z] 46d945488cbd: Pulling fs layer [2022-08-01T00:59:31.862Z] 8a5474983e97: Pulling fs layer [2022-08-01T00:59:31.862Z] 329c88fbcd65: Pulling fs layer [2022-08-01T00:59:31.862Z] 46d945488cbd: Waiting [2022-08-01T00:59:31.862Z] 8a5474983e97: Waiting [2022-08-01T00:59:31.862Z] 329c88fbcd65: Waiting [2022-08-01T00:59:31.862Z] 656be50a0ddc: Waiting [2022-08-01T00:59:31.862Z] 2bbca73fdf42: Waiting [2022-08-01T00:59:31.862Z] a050256f5b6f: Verifying Checksum [2022-08-01T00:59:31.862Z] a050256f5b6f: Download complete [2022-08-01T00:59:31.862Z] c0a3192eca97: Verifying Checksum [2022-08-01T00:59:31.862Z] c0a3192eca97: Download complete [2022-08-01T00:59:31.862Z] 2bbca73fdf42: Verifying Checksum [2022-08-01T00:59:31.862Z] 2bbca73fdf42: Download complete [2022-08-01T00:59:31.862Z] 46d945488cbd: Verifying Checksum [2022-08-01T00:59:31.862Z] 46d945488cbd: Download complete [2022-08-01T00:59:31.862Z] b3c136eddcbf: Verifying Checksum [2022-08-01T00:59:31.862Z] b3c136eddcbf: Download complete [2022-08-01T00:59:32.867Z] b3c136eddcbf: Pull complete [2022-08-01T00:59:33.145Z] 329c88fbcd65: Verifying Checksum [2022-08-01T00:59:33.145Z] 329c88fbcd65: Download complete [2022-08-01T00:59:33.423Z] c0a3192eca97: Pull complete [2022-08-01T00:59:33.696Z] a050256f5b6f: Pull complete [2022-08-01T00:59:34.300Z] 8a5474983e97: Verifying Checksum [2022-08-01T00:59:34.300Z] 8a5474983e97: Download complete [2022-08-01T00:59:34.901Z] 656be50a0ddc: Verifying Checksum [2022-08-01T00:59:34.901Z] 656be50a0ddc: Download complete [2022-08-01T00:59:47.313Z] 656be50a0ddc: Pull complete [2022-08-01T00:59:47.591Z] 2bbca73fdf42: Pull complete [2022-08-01T00:59:47.866Z] 46d945488cbd: Pull complete [2022-08-01T00:59:54.592Z] 8a5474983e97: Pull complete [2022-08-01T00:59:56.031Z] 329c88fbcd65: Pull complete [2022-08-01T00:59:56.306Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-01T00:59:56.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-01T00:59:56.306Z] ---> ff4287adb874 [2022-08-01T00:59:56.306Z] Step 3/12 : ARG MAKE="make build" [2022-08-01T00:59:58.298Z] ---> Running in 5f162442745c [2022-08-01T00:59:59.743Z] Removing intermediate container 5f162442745c [2022-08-01T00:59:59.743Z] ---> 295861c0a8f7 [2022-08-01T00:59:59.743Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T00:59:59.743Z] ---> Running in c3ddd71b7e1c [2022-08-01T00:59:59.743Z] Removing intermediate container c3ddd71b7e1c [2022-08-01T00:59:59.743Z] ---> d26d765f0a16 [2022-08-01T00:59:59.743Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:00:00.017Z] ---> Running in ac5b1a37dca9 [2022-08-01T01:00:00.291Z] Removing intermediate container ac5b1a37dca9 [2022-08-01T01:00:00.292Z] ---> 5106a61ee4ba [2022-08-01T01:00:00.292Z] Step 6/12 : WORKDIR /device-gpio [2022-08-01T01:00:00.292Z] ---> Running in e7e8ed44978b [2022-08-01T01:00:00.568Z] Removing intermediate container e7e8ed44978b [2022-08-01T01:00:00.568Z] ---> c92b66753107 [2022-08-01T01:00:00.568Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:00:00.568Z] ---> Running in 008719303b9c [2022-08-01T01:00:02.552Z] Removing intermediate container 008719303b9c [2022-08-01T01:00:02.552Z] ---> a667da3af727 [2022-08-01T01:00:02.552Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:00:02.552Z] ---> Running in 1c29de06a370 [2022-08-01T01:00:03.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:00:04.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:00:05.521Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T01:00:05.521Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T01:00:05.521Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T01:00:05.801Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T01:00:05.801Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T01:00:05.801Z] OK: 226 MiB in 55 packages [2022-08-01T01:00:06.785Z] Removing intermediate container 1c29de06a370 [2022-08-01T01:00:06.785Z] ---> 50b7548c8002 [2022-08-01T01:00:06.785Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-01T01:00:07.383Z] ---> 7c595426f8e2 [2022-08-01T01:00:07.383Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:00:07.383Z] ---> Running in 6740c6286667 [2022-08-01T01:01:03.929Z] Removing intermediate container 6740c6286667 [2022-08-01T01:01:03.929Z] ---> 0fc595b1e933 [2022-08-01T01:01:03.929Z] Step 11/12 : COPY . . [2022-08-01T01:01:03.929Z] ---> 32f107e17367 [2022-08-01T01:01:03.930Z] Step 12/12 : RUN ${MAKE} [2022-08-01T01:01:03.930Z] ---> Running in d2da71238918 [2022-08-01T01:01:03.930Z] noop [2022-08-01T01:01:03.930Z] Removing intermediate container d2da71238918 [2022-08-01T01:01:03.930Z] ---> 542130192ca8 [2022-08-01T01:01:03.930Z] Successfully built 542130192ca8 [2022-08-01T01:01:03.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:01:04.422Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T01:01:04.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:01:04.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container [2022-08-01T01:01:04.834Z] $ 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-08-01T01:01:06.219Z] $ docker top b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:01:07.204Z] + go version [2022-08-01T01:01:07.204Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-01T01:01:07.242Z] $ docker stop --time=1 b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e [2022-08-01T01:01:08.937Z] $ docker rm -f b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:01:09.945Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T01:01:09.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:01:10.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container [2022-08-01T01:01:10.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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-08-01T01:01:11.969Z] $ docker top 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:01:12.959Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-08-01T01:01:13.688Z] + make test [2022-08-01T01:01:13.688Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T01:01:15.134Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-08-01T01:02:36.972Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-08-01T01:02:36.972Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-08-01T01:02:36.972Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-01T01:02:36.972Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T01:02:52.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T01:02:52.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T01:02:52.103Z] ./bin/test-attribution-txt.sh [2022-08-01T01:02:52.103Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T01:02:52.103Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T01:02:52.103Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T01:02:52.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T01:02:52.177Z] $ docker stop --time=1 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea [2022-08-01T01:02:53.950Z] $ docker rm -f 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T01:02:55.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T01:02:55.047Z] Warning: overwriting stash ‘coverage-report’ [2022-08-01T01:02:55.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T01:02:56.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T01:02:56.491Z] + ls -al . [2022-08-01T01:02:56.491Z] total 156 [2022-08-01T01:02:56.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:01 . [2022-08-01T01:02:56.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:58 .. [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 1 00:59 .dockerignore [2022-08-01T01:02:56.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 00:59 .git [2022-08-01T01:02:56.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 .github [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 1 00:59 .gitignore [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 00:59 .golangci.yml [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 9182 Aug 1 00:59 Attribution.txt [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 3081 Aug 1 00:59 CHANGELOG.md [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 1 00:59 Dockerfile [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 00:59 GOVERNANCE.md [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 1 00:59 Jenkinsfile [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 00:59 LICENSE [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 1876 Aug 1 00:59 Makefile [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 00:59 OWNERS.md [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 11178 Aug 1 00:59 README.md [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 00:54 VERSION [2022-08-01T01:02:56.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 00:59 bin [2022-08-01T01:02:56.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 cmd [2022-08-01T01:02:56.491Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 1 01:01 coverage.out [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 3425 Aug 1 00:59 go.mod [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 36813 Aug 1 00:59 go.sum [2022-08-01T01:02:56.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 internal [2022-08-01T01:02:56.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:59 snap [2022-08-01T01:02:56.491Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 1 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:02:56.941Z] + 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=5ade6ddea8bc03249205d62296d8625b01661326 --label arch=arm64 --label version=0.0.0 . [2022-08-01T01:02:57.216Z] Sending build context to Docker daemon 7.967MB [2022-08-01T01:02:57.491Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T01:02:57.491Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-01T01:02:57.491Z] ---> 542130192ca8 [2022-08-01T01:02:57.491Z] Step 3/26 : ARG MAKE="make build" [2022-08-01T01:02:57.491Z] ---> Running in 1292b3559211 [2022-08-01T01:02:57.768Z] Removing intermediate container 1292b3559211 [2022-08-01T01:02:57.768Z] ---> 36fea1c9be7b [2022-08-01T01:02:57.768Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T01:02:58.045Z] ---> Running in ea4dd44e9e55 [2022-08-01T01:02:58.319Z] Removing intermediate container ea4dd44e9e55 [2022-08-01T01:02:58.319Z] ---> 24f7ec27a874 [2022-08-01T01:02:58.319Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:02:58.319Z] ---> Running in 5df8b190187c [2022-08-01T01:02:58.597Z] Removing intermediate container 5df8b190187c [2022-08-01T01:02:58.597Z] ---> fdaa77b86908 [2022-08-01T01:02:58.597Z] Step 6/26 : WORKDIR /device-gpio [2022-08-01T01:02:58.597Z] ---> Running in 4238e8667fdb [2022-08-01T01:02:59.200Z] Removing intermediate container 4238e8667fdb [2022-08-01T01:02:59.200Z] ---> 7019b9fabcd3 [2022-08-01T01:02:59.200Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:02:59.200Z] ---> Running in e59f5922f211 [2022-08-01T01:03:00.666Z] Removing intermediate container e59f5922f211 [2022-08-01T01:03:00.666Z] ---> 3b2d43a0216b [2022-08-01T01:03:00.666Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:03:00.666Z] ---> Running in 12041ecca02b [2022-08-01T01:03:01.674Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:03:03.112Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:03:03.712Z] OK: 226 MiB in 55 packages [2022-08-01T01:03:04.704Z] Removing intermediate container 12041ecca02b [2022-08-01T01:03:04.704Z] ---> c722f1e5eadd [2022-08-01T01:03:04.704Z] Step 9/26 : COPY go.mod vendor* ./ [2022-08-01T01:03:05.303Z] ---> 8b86f697df16 [2022-08-01T01:03:05.303Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:03:05.303Z] ---> Running in 595d9ea2cd2c [2022-08-01T01:03:07.284Z] Removing intermediate container 595d9ea2cd2c [2022-08-01T01:03:07.284Z] ---> 67d50762556d [2022-08-01T01:03:07.284Z] Step 11/26 : COPY . . [2022-08-01T01:03:08.269Z] ---> c5450355f513 [2022-08-01T01:03:08.269Z] Step 12/26 : RUN ${MAKE} [2022-08-01T01:03:08.269Z] ---> Running in b2b1fd563a24 [2022-08-01T01:03:09.720Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-08-01T01:05:31.625Z] Removing intermediate container b2b1fd563a24 [2022-08-01T01:05:31.625Z] ---> cc6c4eb83de2 [2022-08-01T01:05:31.625Z] Step 13/26 : FROM alpine:3.16 [2022-08-01T01:05:31.625Z] 3.16: Pulling from library/alpine [2022-08-01T01:05:31.625Z] f97344484467: Pulling fs layer [2022-08-01T01:05:31.625Z] f97344484467: Verifying Checksum [2022-08-01T01:05:31.625Z] f97344484467: Download complete [2022-08-01T01:05:31.625Z] f97344484467: Pull complete [2022-08-01T01:05:31.625Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T01:05:31.625Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T01:05:31.625Z] ---> 3d81c46cd875 [2022-08-01T01:05:31.625Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-08-01T01:05:31.625Z] ---> Running in 7fc56d950860 [2022-08-01T01:05:31.625Z] Removing intermediate container 7fc56d950860 [2022-08-01T01:05:31.625Z] ---> 0bfe11f9dd45 [2022-08-01T01:05:31.625Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:05:31.625Z] ---> Running in 4438aa1dfe1e [2022-08-01T01:05:31.625Z] Removing intermediate container 4438aa1dfe1e [2022-08-01T01:05:31.625Z] ---> 49c2ea49bc86 [2022-08-01T01:05:31.625Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-08-01T01:05:31.625Z] ---> Running in b4431c7e1767 [2022-08-01T01:05:31.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:05:31.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:05:31.625Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T01:05:31.625Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-01T01:05:31.625Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T01:05:31.625Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-01T01:05:31.625Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-01T01:05:31.625Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T01:05:31.625Z] OK: 8 MiB in 19 packages [2022-08-01T01:05:31.625Z] Removing intermediate container b4431c7e1767 [2022-08-01T01:05:31.625Z] ---> 2fb9b68ad3a3 [2022-08-01T01:05:31.625Z] Step 17/26 : WORKDIR / [2022-08-01T01:05:31.625Z] ---> Running in f2226be6a517 [2022-08-01T01:05:31.625Z] Removing intermediate container f2226be6a517 [2022-08-01T01:05:31.625Z] ---> 258832e1d40e [2022-08-01T01:05:31.625Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-08-01T01:05:31.625Z] ---> 27686928874d [2022-08-01T01:05:31.625Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-08-01T01:05:31.625Z] ---> 58bf470bad97 [2022-08-01T01:05:31.625Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-08-01T01:05:31.625Z] ---> 5728f681d317 [2022-08-01T01:05:31.625Z] Step 21/26 : EXPOSE 59910 [2022-08-01T01:05:31.625Z] ---> Running in 522cb439e702 [2022-08-01T01:05:31.625Z] Removing intermediate container 522cb439e702 [2022-08-01T01:05:31.625Z] ---> db6e11bd16f0 [2022-08-01T01:05:31.626Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-08-01T01:05:31.626Z] ---> Running in 39533f110774 [2022-08-01T01:05:31.626Z] Removing intermediate container 39533f110774 [2022-08-01T01:05:31.626Z] ---> c22cafe7fa77 [2022-08-01T01:05:31.626Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T01:05:31.626Z] ---> Running in 006d7350c3ed [2022-08-01T01:05:31.626Z] Removing intermediate container 006d7350c3ed [2022-08-01T01:05:31.626Z] ---> 9fc9c83527fe [2022-08-01T01:05:31.626Z] Step 24/26 : LABEL arch=arm64 [2022-08-01T01:05:31.626Z] ---> Running in ac14ee76e78c [2022-08-01T01:05:31.626Z] Removing intermediate container ac14ee76e78c [2022-08-01T01:05:31.626Z] ---> 7dd11b6a21d5 [2022-08-01T01:05:31.626Z] Step 25/26 : LABEL git_sha=5ade6ddea8bc03249205d62296d8625b01661326 [2022-08-01T01:05:31.626Z] ---> Running in 7f07173eb123 [2022-08-01T01:05:32.231Z] Removing intermediate container 7f07173eb123 [2022-08-01T01:05:32.231Z] ---> d5ab810e316c [2022-08-01T01:05:32.231Z] Step 26/26 : LABEL version=0.0.0 [2022-08-01T01:05:32.231Z] ---> Running in 29029b66fb62 [2022-08-01T01:05:32.506Z] Removing intermediate container 29029b66fb62 [2022-08-01T01:05:32.506Z] ---> 82c5cafa2031 [2022-08-01T01:05:32.506Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T01:05:32.506Z] Successfully built 82c5cafa2031 [2022-08-01T01:05:32.506Z] 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-08-01T01:05:33.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:05:33.374Z] [2022-08-01T01:05:33.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:05:33.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:05:34.065Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-01T01:05:34.065Z] 8998bd30e6a1: Pulling fs layer [2022-08-01T01:05:34.065Z] 04944245beec: Pulling fs layer [2022-08-01T01:05:34.065Z] 699f458cf7ca: Pulling fs layer [2022-08-01T01:05:34.065Z] 765212b225bb: Pulling fs layer [2022-08-01T01:05:34.065Z] f23df028b6ca: Pulling fs layer [2022-08-01T01:05:34.065Z] d65c8cfc05b1: Pulling fs layer [2022-08-01T01:05:34.065Z] 2437ff75d9bd: Pulling fs layer [2022-08-01T01:05:34.065Z] f23df028b6ca: Waiting [2022-08-01T01:05:34.065Z] d65c8cfc05b1: Waiting [2022-08-01T01:05:34.065Z] 765212b225bb: Waiting [2022-08-01T01:05:34.065Z] 2437ff75d9bd: Waiting [2022-08-01T01:05:34.065Z] 04944245beec: Verifying Checksum [2022-08-01T01:05:34.065Z] 04944245beec: Download complete [2022-08-01T01:05:34.065Z] 765212b225bb: Verifying Checksum [2022-08-01T01:05:34.065Z] 765212b225bb: Download complete [2022-08-01T01:05:34.065Z] f23df028b6ca: Verifying Checksum [2022-08-01T01:05:34.065Z] f23df028b6ca: Download complete [2022-08-01T01:05:34.065Z] d65c8cfc05b1: Verifying Checksum [2022-08-01T01:05:34.065Z] d65c8cfc05b1: Download complete [2022-08-01T01:05:34.344Z] 699f458cf7ca: Verifying Checksum [2022-08-01T01:05:34.344Z] 699f458cf7ca: Download complete [2022-08-01T01:05:34.622Z] 8998bd30e6a1: Verifying Checksum [2022-08-01T01:05:34.622Z] 8998bd30e6a1: Download complete [2022-08-01T01:05:37.240Z] 2437ff75d9bd: Verifying Checksum [2022-08-01T01:05:37.240Z] 2437ff75d9bd: Download complete [2022-08-01T01:05:39.222Z] 8998bd30e6a1: Pull complete [2022-08-01T01:05:39.500Z] 04944245beec: Pull complete [2022-08-01T01:05:40.942Z] 699f458cf7ca: Pull complete [2022-08-01T01:05:41.218Z] 765212b225bb: Pull complete [2022-08-01T01:05:41.830Z] f23df028b6ca: Pull complete [2022-08-01T01:05:42.104Z] d65c8cfc05b1: Pull complete [2022-08-01T01:05:57.201Z] 2437ff75d9bd: Pull complete [2022-08-01T01:05:57.201Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-01T01:05:57.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:05:57.201Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:05:57.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container [2022-08-01T01:05:57.673Z] $ 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-08-01T01:06:00.488Z] $ docker top 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:01.481Z] ---> job-cost.sh [2022-08-01T01:06:01.481Z] lf-activate-venv: SKIPPING [2022-08-01T01:06:01.481Z] INFO: No Stack... [2022-08-01T01:06:01.754Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-01T01:06:02.736Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T01:06:03.436Z] + + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-08-01T01:06:03.436Z] cut -d, -f6 [Pipeline] lock [2022-08-01T01:06:03.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [2022-08-01T01:06:03.490Z] Resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] did not exist. Created. [2022-08-01T01:06:03.490Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T01:06:04.249Z] /w/workspace/device-gpio/1@tmp/durable-ed3ea4ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-01T01:06:04.954Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-01T01:06:04.996Z] Warning: overwriting stash ‘stack-cost’ [2022-08-01T01:06:05.048Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T01:06:05.064Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T01:06:05.144Z] $ docker stop --time=1 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff [2022-08-01T01:06:06.666Z] $ docker rm -f 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff [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-08-01T01:06:07.762Z] provisioning config files... [2022-08-01T01:06:07.771Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config2408733389176361445tmp [Pipeline] { [Pipeline] sh [2022-08-01T01:06:08.116Z] + set +x [2022-08-01T01:06:08.116Z] + curl -s https://codecov.io/bash [2022-08-01T01:06:08.116Z] + bash -s -- [2022-08-01T01:06:08.116Z] [2022-08-01T01:06:08.116Z] _____ _ [2022-08-01T01:06:08.116Z] / ____| | | [2022-08-01T01:06:08.116Z] | | ___ __| | ___ ___ _____ __ [2022-08-01T01:06:08.116Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-01T01:06:08.116Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-01T01:06:08.116Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-01T01:06:08.116Z] Bash-1.0.6 [2022-08-01T01:06:08.116Z] [2022-08-01T01:06:08.116Z] [2022-08-01T01:06:08.116Z] ==> git version 2.25.1 found [2022-08-01T01:06:08.116Z] ==> 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-08-01T01:06:08.116Z] Release-Date: 2020-01-08 [2022-08-01T01:06:08.116Z] 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-08-01T01:06:08.116Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-01T01:06:08.116Z] ==> Jenkins CI detected. [2022-08-01T01:06:08.116Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-51 [2022-08-01T01:06:08.116Z] project root: . [2022-08-01T01:06:08.116Z] --> token set from env [2022-08-01T01:06:08.116Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-01T01:06:08.116Z] ==> Running gcov in . (disable via -X gcov) [2022-08-01T01:06:08.116Z] ==> Python coveragepy not found [2022-08-01T01:06:08.116Z] ==> Searching for coverage reports in: [2022-08-01T01:06:08.116Z] + . [2022-08-01T01:06:08.377Z] -> Found 1 reports [2022-08-01T01:06:08.377Z] ==> Detecting git/mercurial file structure [2022-08-01T01:06:08.377Z] ==> Reading reports [2022-08-01T01:06:08.377Z] + ./coverage.out bytes=10 [2022-08-01T01:06:08.377Z] ==> Appending adjustments [2022-08-01T01:06:08.377Z] https://docs.codecov.io/docs/fixing-reports [2022-08-01T01:06:08.377Z] + Found adjustments [2022-08-01T01:06:08.377Z] ==> Gzipping contents [2022-08-01T01:06:08.377Z] 4.0K /tmp/codecov.l4eIh5.gz [2022-08-01T01:06:08.377Z] ==> Uploading reports [2022-08-01T01:06:08.377Z] url: https://codecov.io [2022-08-01T01:06:08.377Z] query: branch=PR-51&commit=5ade6ddea8bc03249205d62296d8625b01661326&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=51&job=&cmd_args= [2022-08-01T01:06:08.377Z] -> Pinging Codecov [2022-08-01T01:06:08.377Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-51&commit=5ade6ddea8bc03249205d62296d8625b01661326&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=51&job=&cmd_args= [2022-08-01T01:06:08.638Z] -> Uploading to [2022-08-01T01:06:08.638Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-01/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5ade6ddea8bc03249205d62296d8625b01661326/bf4e07d1-0a4a-46b0-8ce6-22b0ef2d5bb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T010608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c3cbbfa9dc2796b8ceb96e045d61795834cecf2ccfe2ea84c0bea582803426e [2022-08-01T01:06:08.638Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T01:06:08.638Z] Dload Upload Total Spent Left Speed [2022-08-01T01:06:08.898Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3370 --:--:-- --:--:-- --:--:-- 3356 [2022-08-01T01:06:08.898Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] } [2022-08-01T01:06:08.926Z] 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-08-01T01:06:10.654Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-51/archives ] [2022-08-01T01:06:10.654Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-51/archives [2022-08-01T01:06:10.654Z] total 16 [2022-08-01T01:06:10.654Z] drwxr-xr-x 3 root root 4096 Aug 1 00:56 . [2022-08-01T01:06:10.654Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 00:56 .. [2022-08-01T01:06:10.654Z] drwxr-xr-x 2 root root 4096 Aug 1 00:56 cost [2022-08-01T01:06:10.654Z] -rw-r--r-- 1 root root 82 Aug 1 00:56 cost.csv [2022-08-01T01:06:10.654Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-51/archives [2022-08-01T01:06:10.654Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-51/archives [2022-08-01T01:06:10.654Z] total 16 [2022-08-01T01:06:10.654Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 00:56 . [2022-08-01T01:06:10.654Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 00:56 .. [2022-08-01T01:06:10.654Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 00:56 cost [2022-08-01T01:06:10.654Z] -rw-r--r-- 1 jenkins jenkins 82 Aug 1 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:10.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:11.893Z] ---> package-listing.sh [2022-08-01T01:06:11.893Z] ++ facter osfamily [2022-08-01T01:06:11.893Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-01T01:06:12.154Z] + OS_FAMILY=debian [2022-08-01T01:06:12.154Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-51 [2022-08-01T01:06:12.154Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-01T01:06:12.154Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-01T01:06:12.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-01T01:06:12.154Z] + PACKAGES=/tmp/packages_start.txt [2022-08-01T01:06:12.154Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-51 ']' [2022-08-01T01:06:12.154Z] + PACKAGES=/tmp/packages_end.txt [2022-08-01T01:06:12.154Z] + case "${OS_FAMILY}" in [2022-08-01T01:06:12.154Z] + dpkg -l [2022-08-01T01:06:12.154Z] + grep '^ii' [2022-08-01T01:06:12.154Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-01T01:06:12.154Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-01T01:06:12.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-01T01:06:12.154Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-51 ']' [2022-08-01T01:06:12.154Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-51/archives/ [2022-08-01T01:06:12.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-51/archives/ [Pipeline] echo [2022-08-01T01:06:12.190Z] 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-51/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-01T01:06:12.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:06:13.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T01:06:13.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:06:13.318Z] prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container [2022-08-01T01:06:13.367Z] $ 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-51/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-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@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-08-01T01:06:13.575Z] $ docker top afb7594bc84e08455858faa99d6db0b8dd4646fc0d8abc4163226fa3a56a8d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:06:13.980Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-01T01:06:14.296Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-01T01:06:14.613Z] + ls /var/log/sa-host [2022-08-01T01:06:14.613Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T01:06:14.821Z] provisioning config files... [2022-08-01T01:06:14.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config6797342173231440467tmp [Pipeline] { [Pipeline] echo [2022-08-01T01:06:14.883Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:15.203Z] ---> create-netrc.sh [Pipeline] } [2022-08-01T01:06:15.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:15.646Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-01T01:06:15.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:16.000Z] ---> sudo-logs.sh [2022-08-01T01:06:16.001Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-01T01:06:16.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:16.395Z] ---> job-cost.sh [2022-08-01T01:06:16.395Z] lf-activate-venv: SKIPPING [2022-08-01T01:06:16.395Z] DEBUG: total: 0.2199999988079071 [2022-08-01T01:06:16.395Z] INFO: Retrieving Stack Cost... [2022-08-01T01:06:16.966Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T01:06:17.228Z] INFO: Archiving Costs [Pipeline] echo [2022-08-01T01:06:17.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:06:17.579Z] ---> logs-deploy.sh [2022-08-01T01:06:17.580Z] lf-activate-venv: SKIPPING [2022-08-01T01:06:17.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-51/1 [2022-08-01T01:06:17.580Z] INFO: archiving workspace using pattern(s): [2022-08-01T01:06:18.524Z] Archives upload complete. [2022-08-01T01:06:18.524Z] INFO: archiving logs to Nexus