Pull request #53 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43673b5525f26dae9b49279547fd28e5f0fb0fc6+1094f563edbbc5735ff7ad494c47030b36b4872c (aa13a90aa338cc30145903c09aa027cfcc0628c3) 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-ssh12722573385328988512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2838402227842886150.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8713636062595625592.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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15653748896117066238.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12461906870787826114.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16593030358759965696.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24581 in /w/workspace/edgexfoundry_device-gpio_PR-53 [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-53 # 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 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit 43673b5525f26dae9b49279547fd28e5f0fb0fc6 Merge succeeded, producing 43673b5525f26dae9b49279547fd28e5f0fb0fc6 Checking out Revision 43673b5525f26dae9b49279547fd28e5f0fb0fc6 (PR-53) > 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/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # 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 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-05T12:15:17.378Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-05T12:15:17.555Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-05T12:15:17.663Z] ========================================================= [2022-09-05T12:15:17.663Z] EdgeX Global Pipelines Version Info [2022-09-05T12:15:17.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:15:18.460Z] ------------------- [2022-09-05T12:15:18.460Z] stable info: [2022-09-05T12:15:18.460Z] ------------------- [2022-09-05T12:15:18.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-05T12:15:18.460Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T12:15:18.460Z] Message: update stable to v1.0.239 [2022-09-05T12:15:19.034Z] ------------------- [2022-09-05T12:15:19.034Z] experimental info: [2022-09-05T12:15:19.034Z] ------------------- [2022-09-05T12:15:19.034Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-05T12:15:19.034Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T12:15:19.034Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-05T12:15:19.396Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-09-05T12:15:19.436Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-09-05T12:15:19.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-05T12:15:19.511Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-05T12:15:19.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-05T12:15:19.589Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-05T12:15:19.632Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-05T12:15:19.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-05T12:15:19.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-05T12:15:19.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-05T12:15:19.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-05T12:15:19.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-09-05T12:15:19.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-05T12:15:19.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-05T12:15:19.947Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T12:15:19.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T12:15:20.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T12:15:20.067Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T12:15:20.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-05T12:15:20.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-05T12:15:20.182Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-05T12:15:20.221Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-05T12:15:20.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-05T12:15:20.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-05T12:15:20.336Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-05T12:15:20.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-05T12:15:20.415Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-05T12:15:20.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo [2022-09-05T12:15:20.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo [2022-09-05T12:15:20.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo [2022-09-05T12:15:20.581Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo [2022-09-05T12:15:20.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43673b5 [Pipeline] echo [2022-09-05T12:15:20.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T12:15:20.781Z] provisioning config files... [2022-09-05T12:15:20.794Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config6028861195751808069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:15:21.144Z] ---> docker-login.sh [2022-09-05T12:15:21.144Z] nexus3.edgexfoundry.org:10001 [2022-09-05T12:15:21.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:21.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:21.668Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:21.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:21.668Z] [2022-09-05T12:15:21.668Z] Login Succeeded [2022-09-05T12:15:21.668Z] nexus3.edgexfoundry.org:10002 [2022-09-05T12:15:21.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:21.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:21.929Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:21.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:21.929Z] [2022-09-05T12:15:21.929Z] Login Succeeded [2022-09-05T12:15:21.929Z] nexus3.edgexfoundry.org:10003 [2022-09-05T12:15:21.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:21.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:21.929Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:21.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:21.929Z] [2022-09-05T12:15:21.929Z] Login Succeeded [2022-09-05T12:15:21.929Z] nexus3.edgexfoundry.org:10004 [2022-09-05T12:15:21.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:22.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:22.189Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:22.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:22.189Z] [2022-09-05T12:15:22.189Z] Login Succeeded [2022-09-05T12:15:22.189Z] docker.io [2022-09-05T12:15:22.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:22.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:22.450Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:22.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:22.450Z] [2022-09-05T12:15:22.450Z] Login Succeeded [2022-09-05T12:15:22.450Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T12:15:22.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-05T12:15:23.106Z] + git rev-list -1 --merges 43673b5525f26dae9b49279547fd28e5f0fb0fc6~1..43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo [2022-09-05T12:15:23.156Z] -----------> git rev-list -1 --merges 43673b5525f26dae9b49279547fd28e5f0fb0fc6~1..43673b5525f26dae9b49279547fd28e5f0fb0fc6 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [false] [Pipeline] sh [2022-09-05T12:15:23.465Z] + git log --format=format:%s -1 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo [2022-09-05T12:15:23.495Z] ========================================================= [2022-09-05T12:15:23.495Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-05T12:15:23.495Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T12:15:23.930Z] + git log --format=format:%s -1 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo [2022-09-05T12:15:23.958Z] [semverPrep] GIT_COMMIT: 43673b5525f26dae9b49279547fd28e5f0fb0fc6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-05T12:15:23.987Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-05T12:15:24.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-05T12:15:24.371Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-05T12:15:24.371Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-05T12:15:24.371Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-05T12:15:24.371Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-05T12:15:24.371Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-05T12:15:24.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:15:24.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T12:15:24.853Z] [2022-09-05T12:15:24.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:15:25.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T12:15:25.227Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-05T12:15:25.227Z] b85a868b505f: Pulling fs layer [2022-09-05T12:15:25.227Z] e2be974225ed: Pulling fs layer [2022-09-05T12:15:25.227Z] 339a4e72a1f5: Pulling fs layer [2022-09-05T12:15:25.227Z] 988bab9f4d93: Pulling fs layer [2022-09-05T12:15:25.227Z] 1469e6f7b9e6: Pulling fs layer [2022-09-05T12:15:25.227Z] 988bab9f4d93: Waiting [2022-09-05T12:15:25.227Z] eaf3925da568: Pulling fs layer [2022-09-05T12:15:25.227Z] bab4dde63d76: Pulling fs layer [2022-09-05T12:15:25.227Z] bde34c3a00c8: Pulling fs layer [2022-09-05T12:15:25.227Z] b352a97aabf1: Pulling fs layer [2022-09-05T12:15:25.227Z] 1469e6f7b9e6: Waiting [2022-09-05T12:15:25.227Z] 4872d77fe225: Pulling fs layer [2022-09-05T12:15:25.227Z] 5851b861e8e6: Pulling fs layer [2022-09-05T12:15:25.227Z] eaf3925da568: Waiting [2022-09-05T12:15:25.227Z] bde34c3a00c8: Waiting [2022-09-05T12:15:25.227Z] b352a97aabf1: Waiting [2022-09-05T12:15:25.227Z] 4872d77fe225: Waiting [2022-09-05T12:15:25.227Z] 5851b861e8e6: Waiting [2022-09-05T12:15:25.227Z] bab4dde63d76: Waiting [2022-09-05T12:15:25.227Z] e2be974225ed: Download complete [2022-09-05T12:15:25.227Z] 988bab9f4d93: Download complete [2022-09-05T12:15:25.488Z] 339a4e72a1f5: Verifying Checksum [2022-09-05T12:15:25.489Z] 339a4e72a1f5: Download complete [2022-09-05T12:15:25.489Z] 1469e6f7b9e6: Verifying Checksum [2022-09-05T12:15:25.489Z] 1469e6f7b9e6: Download complete [2022-09-05T12:15:25.489Z] eaf3925da568: Verifying Checksum [2022-09-05T12:15:25.489Z] bde34c3a00c8: Verifying Checksum [2022-09-05T12:15:25.489Z] bde34c3a00c8: Download complete [2022-09-05T12:15:25.489Z] b352a97aabf1: Download complete [2022-09-05T12:15:25.489Z] 4872d77fe225: Verifying Checksum [2022-09-05T12:15:25.489Z] 4872d77fe225: Download complete [2022-09-05T12:15:25.489Z] 5851b861e8e6: Verifying Checksum [2022-09-05T12:15:25.489Z] 5851b861e8e6: Download complete [2022-09-05T12:15:25.489Z] b85a868b505f: Verifying Checksum [2022-09-05T12:15:25.489Z] b85a868b505f: Download complete [2022-09-05T12:15:25.748Z] bab4dde63d76: Verifying Checksum [2022-09-05T12:15:25.748Z] bab4dde63d76: Download complete [2022-09-05T12:15:26.686Z] b85a868b505f: Pull complete [2022-09-05T12:15:26.946Z] e2be974225ed: Pull complete [2022-09-05T12:15:27.207Z] 339a4e72a1f5: Pull complete [2022-09-05T12:15:27.469Z] 988bab9f4d93: Pull complete [2022-09-05T12:15:27.730Z] 1469e6f7b9e6: Pull complete [2022-09-05T12:15:27.730Z] eaf3925da568: Pull complete [2022-09-05T12:15:29.638Z] bab4dde63d76: Pull complete [2022-09-05T12:15:29.638Z] bde34c3a00c8: Pull complete [2022-09-05T12:15:29.638Z] b352a97aabf1: Pull complete [2022-09-05T12:15:29.638Z] 4872d77fe225: Pull complete [2022-09-05T12:15:29.638Z] 5851b861e8e6: Pull complete [2022-09-05T12:15:29.638Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-05T12:15:29.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T12:15:29.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:15:29.857Z] prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container [2022-09-05T12:15:29.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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-09-05T12:15:31.901Z] $ docker top b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 -eo pid,comm [2022-09-05T12:15:31.960Z] 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-09-05T12:15:31.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-05T12:15:32.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T12:15:32.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T12:15:32.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T12:15:32.232Z] $ docker exec b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent [2022-09-05T12:15:32.361Z] SSH_AUTH_SOCK=/tmp/ssh-fM8tHhx8grsm/agent.32 [2022-09-05T12:15:32.361Z] SSH_AGENT_PID=38 [2022-09-05T12:15:32.367Z] Running ssh-add (command line suppressed) [2022-09-05T12:15:32.511Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_4603176524844308257.key (/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_4603176524844308257.key) [2022-09-05T12:15:32.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T12:15:32.857Z] + git tag --points-at HEAD [Pipeline] } [2022-09-05T12:15:32.888Z] $ docker exec --env ******** --env ******** b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent -k [2022-09-05T12:15:33.006Z] unset SSH_AUTH_SOCK; [2022-09-05T12:15:33.006Z] unset SSH_AGENT_PID; [2022-09-05T12:15:33.006Z] echo Agent pid 38 killed; [2022-09-05T12:15:33.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-05T12:15:33.098Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T12:15:33.098Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T12:15:33.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T12:15:33.218Z] $ docker exec b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent [2022-09-05T12:15:33.330Z] SSH_AUTH_SOCK=/tmp/ssh-IpOapQ4oLZ7G/agent.72 [2022-09-05T12:15:33.330Z] SSH_AGENT_PID=79 [2022-09-05T12:15:33.336Z] Running ssh-add (command line suppressed) [2022-09-05T12:15:33.441Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_2009745886651666398.key (/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_2009745886651666398.key) [2022-09-05T12:15:33.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T12:15:33.783Z] + git semver init [2022-09-05T12:15:34.047Z] 2022-09-05 12:15:33,998 [run_init] DEBUG init version:0.0.0 force:False [2022-09-05T12:15:34.047Z] 2022-09-05 12:15:33,999 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver [2022-09-05T12:15:34.047Z] 2022-09-05 12:15:34,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-53/.semver [2022-09-05T12:15:34.047Z] 2022-09-05 12:15:34,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-53/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53, universal_newlines=False, shell=None, istream=None) [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:34,998 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-53/.git/info/exclude [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:34,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 with force:False [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:34,999 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:35,003 [execute] INFO git cat-file --batch-check [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:35,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:35,010 [execute] INFO git cat-file --batch [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:35,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T12:15:35.435Z] 2022-09-05 12:15:35,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 [2022-09-05T12:15:35.435Z] 0.0.0 [Pipeline] } [2022-09-05T12:15:35.466Z] $ docker exec --env ******** --env ******** b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent -k [2022-09-05T12:15:35.573Z] unset SSH_AUTH_SOCK; [2022-09-05T12:15:35.573Z] unset SSH_AGENT_PID; [2022-09-05T12:15:35.573Z] echo Agent pid 79 killed; [2022-09-05T12:15:35.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-05T12:15:35.999Z] + git semver [Pipeline] } [2022-09-05T12:15:36.288Z] $ docker stop --time=1 b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 [2022-09-05T12:15:37.595Z] $ docker rm -f b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T12:15:38.026Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-05T12:15:38.321Z] Stashed 1 file(s) [Pipeline] echo [2022-09-05T12:15:38.337Z] [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-09-05T12:15:38.912Z] provisioning config files... [2022-09-05T12:15:38.923Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config2402366986847149264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:15:39.270Z] ---> docker-login.sh [2022-09-05T12:15:39.270Z] nexus3.edgexfoundry.org:10001 [2022-09-05T12:15:39.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:39.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:39.270Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:39.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:39.270Z] [2022-09-05T12:15:39.270Z] Login Succeeded [2022-09-05T12:15:39.270Z] nexus3.edgexfoundry.org:10002 [2022-09-05T12:15:39.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:39.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:39.530Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:39.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:39.530Z] [2022-09-05T12:15:39.530Z] Login Succeeded [2022-09-05T12:15:39.530Z] nexus3.edgexfoundry.org:10003 [2022-09-05T12:15:39.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:39.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:39.530Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:39.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:39.530Z] [2022-09-05T12:15:39.530Z] Login Succeeded [2022-09-05T12:15:39.530Z] nexus3.edgexfoundry.org:10004 [2022-09-05T12:15:39.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:39.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:39.792Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:39.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:39.792Z] [2022-09-05T12:15:39.792Z] Login Succeeded [2022-09-05T12:15:39.792Z] docker.io [2022-09-05T12:15:39.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:15:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:15:40.053Z] Configure a credential helper to remove this warning. See [2022-09-05T12:15:40.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:15:40.053Z] [2022-09-05T12:15:40.053Z] Login Succeeded [2022-09-05T12:15:40.053Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T12:15:40.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T12:15:40.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T12:15:40.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T12:15:40.342Z] ========================================================= [2022-09-05T12:15:40.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-05T12:15:40.342Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:15:40.805Z] + 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-09-05T12:15:40.805Z] Sending build context to Docker daemon 15.8MB [2022-09-05T12:15:40.805Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T12:15:40.805Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-05T12:15:41.074Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-05T12:15:41.074Z] 2408cc74d12b: Pulling fs layer [2022-09-05T12:15:41.074Z] ea60b727a1ce: Pulling fs layer [2022-09-05T12:15:41.074Z] 30c4a7721957: Pulling fs layer [2022-09-05T12:15:41.074Z] 370296b7ddb6: Pulling fs layer [2022-09-05T12:15:41.074Z] 7c6cee850709: Pulling fs layer [2022-09-05T12:15:41.074Z] 39a5fcdaea64: Pulling fs layer [2022-09-05T12:15:41.074Z] d94ebbe4e438: Pulling fs layer [2022-09-05T12:15:41.074Z] bcfd1f05c69d: Pulling fs layer [2022-09-05T12:15:41.074Z] 59ccb84bbe0f: Pulling fs layer [2022-09-05T12:15:41.074Z] 7c6cee850709: Waiting [2022-09-05T12:15:41.074Z] 370296b7ddb6: Waiting [2022-09-05T12:15:41.074Z] 39a5fcdaea64: Waiting [2022-09-05T12:15:41.074Z] bcfd1f05c69d: Waiting [2022-09-05T12:15:41.074Z] 59ccb84bbe0f: Waiting [2022-09-05T12:15:41.074Z] 30c4a7721957: Verifying Checksum [2022-09-05T12:15:41.074Z] 30c4a7721957: Download complete [2022-09-05T12:15:41.074Z] ea60b727a1ce: Verifying Checksum [2022-09-05T12:15:41.074Z] ea60b727a1ce: Download complete [2022-09-05T12:15:41.074Z] 7c6cee850709: Download complete [2022-09-05T12:15:41.074Z] 2408cc74d12b: Verifying Checksum [2022-09-05T12:15:41.074Z] 2408cc74d12b: Download complete [2022-09-05T12:15:41.074Z] 39a5fcdaea64: Verifying Checksum [2022-09-05T12:15:41.074Z] 39a5fcdaea64: Download complete [2022-09-05T12:15:41.074Z] d94ebbe4e438: Download complete [2022-09-05T12:15:41.074Z] 2408cc74d12b: Pull complete [2022-09-05T12:15:41.341Z] ea60b727a1ce: Pull complete [2022-09-05T12:15:41.341Z] 30c4a7721957: Pull complete [2022-09-05T12:15:42.317Z] 59ccb84bbe0f: Verifying Checksum [2022-09-05T12:15:42.317Z] 59ccb84bbe0f: Download complete [2022-09-05T12:15:42.317Z] bcfd1f05c69d: Verifying Checksum [2022-09-05T12:15:42.317Z] bcfd1f05c69d: Download complete [2022-09-05T12:15:42.317Z] 370296b7ddb6: Verifying Checksum [2022-09-05T12:15:42.317Z] 370296b7ddb6: Download complete [2022-09-05T12:15:46.513Z] 370296b7ddb6: Pull complete [2022-09-05T12:15:46.513Z] 7c6cee850709: Pull complete [2022-09-05T12:15:46.513Z] 39a5fcdaea64: Pull complete [2022-09-05T12:15:46.513Z] d94ebbe4e438: Pull complete [2022-09-05T12:15:47.897Z] bcfd1f05c69d: Pull complete [2022-09-05T12:15:48.849Z] 59ccb84bbe0f: Pull complete [2022-09-05T12:15:48.849Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-05T12:15:48.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-05T12:15:48.849Z] ---> a4fb48ad2a94 [2022-09-05T12:15:48.849Z] Step 3/12 : ARG MAKE="make build" [2022-09-05T12:15:51.396Z] ---> Running in a75d011a8409 [2022-09-05T12:15:51.396Z] Removing intermediate container a75d011a8409 [2022-09-05T12:15:51.396Z] ---> eee3fb72ca7f [2022-09-05T12:15:51.396Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T12:15:51.396Z] ---> Running in 19f5a74c65ee [2022-09-05T12:15:51.396Z] Removing intermediate container 19f5a74c65ee [2022-09-05T12:15:51.396Z] ---> db0e6380a5f5 [2022-09-05T12:15:51.396Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T12:15:51.397Z] ---> Running in 32a624ab3d62 [2022-09-05T12:15:51.397Z] Removing intermediate container 32a624ab3d62 [2022-09-05T12:15:51.397Z] ---> 46885d110130 [2022-09-05T12:15:51.397Z] Step 6/12 : WORKDIR /device-gpio [2022-09-05T12:15:51.657Z] ---> Running in 181331bd434e [2022-09-05T12:15:51.657Z] Removing intermediate container 181331bd434e [2022-09-05T12:15:51.657Z] ---> 183a9014db09 [2022-09-05T12:15:51.657Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:15:51.657Z] ---> Running in dd8ea2c4ebc3 [2022-09-05T12:15:52.228Z] Removing intermediate container dd8ea2c4ebc3 [2022-09-05T12:15:52.228Z] ---> 66d6f8200111 [2022-09-05T12:15:52.228Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T12:15:52.228Z] ---> Running in 14f63518e5f3 [2022-09-05T12:15:52.488Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T12:15:53.429Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T12:15:53.689Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T12:15:53.689Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T12:15:53.747Z] Still waiting to schedule task [2022-09-05T12:15:53.747Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-05T12:15:53.950Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T12:15:53.950Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T12:15:53.950Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T12:15:53.950Z] OK: 216 MiB in 55 packages [2022-09-05T12:15:54.518Z] Removing intermediate container 14f63518e5f3 [2022-09-05T12:15:54.518Z] ---> 479e13a39a5a [2022-09-05T12:15:54.519Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-05T12:15:54.519Z] ---> 43fa5b304963 [2022-09-05T12:15:54.519Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T12:15:54.519Z] ---> Running in 0172c2194f4a [2022-09-05T12:16:16.626Z] Removing intermediate container 0172c2194f4a [2022-09-05T12:16:16.626Z] ---> 48e31fd2ef37 [2022-09-05T12:16:16.626Z] Step 11/12 : COPY . . [2022-09-05T12:16:16.887Z] ---> 4a8d49bdedcb [2022-09-05T12:16:16.887Z] Step 12/12 : RUN ${MAKE} [2022-09-05T12:16:16.887Z] ---> Running in fd5206911dd4 [2022-09-05T12:16:17.147Z] noop [2022-09-05T12:16:17.409Z] Removing intermediate container fd5206911dd4 [2022-09-05T12:16:17.409Z] ---> e296503abd51 [2022-09-05T12:16:17.409Z] Successfully built e296503abd51 [2022-09-05T12:16:17.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:16:17.859Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T12:16:17.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:16:18.017Z] prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container [2022-09-05T12:16:18.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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-09-05T12:16:18.393Z] $ docker top eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T12:16:18.800Z] + go version [2022-09-05T12:16:18.800Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-05T12:16:18.829Z] $ docker stop --time=1 eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 [2022-09-05T12:16:20.108Z] $ docker rm -f eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:16:20.831Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T12:16:20.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:16:20.994Z] prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container [2022-09-05T12:16:21.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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-09-05T12:16:21.358Z] $ docker top 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T12:16:21.769Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-53 [Pipeline] fileExists [Pipeline] sh [2022-09-05T12:16:22.122Z] + make test [2022-09-05T12:16:22.122Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-05T12:16:22.381Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-05T12:16:30.499Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-05T12:16:30.499Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-05T12:16:37.070Z] 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-09-05T12:16:37.070Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T12:16:38.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T12:16:38.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T12:16:38.977Z] ./bin/test-attribution-txt.sh [2022-09-05T12:16:38.977Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T12:16:38.977Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T12:16:38.977Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T12:16:39.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T12:16:39.047Z] $ docker stop --time=1 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c [2022-09-05T12:16:41.068Z] $ docker rm -f 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T12:16:41.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T12:16:41.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-05T12:16:42.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T12:16:42.609Z] + ls -al . [2022-09-05T12:16:42.609Z] total 160 [2022-09-05T12:16:42.609Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 12:16 . [2022-09-05T12:16:42.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:15 .. [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 5 12:15 .dockerignore [2022-09-05T12:16:42.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:16 .git [2022-09-05T12:16:42.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 .github [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 5 12:15 .gitignore [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:15 .golangci.yml [2022-09-05T12:16:42.609Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:15 .semver [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 5 12:15 Attribution.txt [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 5 12:15 CHANGELOG.md [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 5 12:15 Dockerfile [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:15 GOVERNANCE.md [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 5 12:15 Jenkinsfile [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:15 LICENSE [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 5 12:15 Makefile [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 5 12:15 OWNERS.md [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 5 12:15 README.md [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:15 VERSION [2022-09-05T12:16:42.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:15 bin [2022-09-05T12:16:42.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 cmd [2022-09-05T12:16:42.609Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 5 12:16 coverage.out [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 3425 Sep 5 12:15 go.mod [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 36813 Sep 5 12:15 go.sum [2022-09-05T12:16:42.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 internal [2022-09-05T12:16:42.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:15 snap [2022-09-05T12:16:42.609Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 5 12:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:16:43.010Z] + 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=43673b5525f26dae9b49279547fd28e5f0fb0fc6 --label arch=amd64 --label version=0.0.0 . [2022-09-05T12:16:43.011Z] Sending build context to Docker daemon 15.8MB [2022-09-05T12:16:43.011Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T12:16:43.011Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-05T12:16:43.011Z] ---> e296503abd51 [2022-09-05T12:16:43.011Z] Step 3/26 : ARG MAKE="make build" [2022-09-05T12:16:43.270Z] ---> Running in 4f246609eba3 [2022-09-05T12:16:43.270Z] Removing intermediate container 4f246609eba3 [2022-09-05T12:16:43.270Z] ---> c8b6e9a64b83 [2022-09-05T12:16:43.270Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T12:16:43.270Z] ---> Running in 68139fc40d7d [2022-09-05T12:16:43.270Z] Removing intermediate container 68139fc40d7d [2022-09-05T12:16:43.270Z] ---> f0cad0677706 [2022-09-05T12:16:43.270Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T12:16:43.270Z] ---> Running in 913c29ce085a [2022-09-05T12:16:43.533Z] Removing intermediate container 913c29ce085a [2022-09-05T12:16:43.533Z] ---> 76bf463676f2 [2022-09-05T12:16:43.533Z] Step 6/26 : WORKDIR /device-gpio [2022-09-05T12:16:43.533Z] ---> Running in e3fec1ac724f [2022-09-05T12:16:43.533Z] Removing intermediate container e3fec1ac724f [2022-09-05T12:16:43.533Z] ---> 51f761a35afd [2022-09-05T12:16:43.533Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:16:43.533Z] ---> Running in f82f597ce96a [2022-09-05T12:16:44.105Z] Removing intermediate container f82f597ce96a [2022-09-05T12:16:44.105Z] ---> 6e824e83de2b [2022-09-05T12:16:44.105Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T12:16:44.105Z] ---> Running in a6275544cb38 [2022-09-05T12:16:44.366Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T12:16:45.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T12:16:45.572Z] OK: 216 MiB in 55 packages [2022-09-05T12:16:45.833Z] Removing intermediate container a6275544cb38 [2022-09-05T12:16:45.833Z] ---> dc58d470c08e [2022-09-05T12:16:45.833Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-05T12:16:45.833Z] ---> b0cd1023a933 [2022-09-05T12:16:45.833Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T12:16:45.833Z] ---> Running in 6053a00279ab [2022-09-05T12:16:46.773Z] Removing intermediate container 6053a00279ab [2022-09-05T12:16:46.773Z] ---> 0fc28e0eaa60 [2022-09-05T12:16:46.773Z] Step 11/26 : COPY . . [2022-09-05T12:16:47.039Z] ---> a430a5a27994 [2022-09-05T12:16:47.039Z] Step 12/26 : RUN ${MAKE} [2022-09-05T12:16:47.039Z] ---> Running in ce380d55e3b4 [2022-09-05T12:16:47.298Z] 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-09-05T12:17:05.392Z] Removing intermediate container ce380d55e3b4 [2022-09-05T12:17:05.392Z] ---> 77a9dc1d4e4e [2022-09-05T12:17:05.392Z] Step 13/26 : FROM alpine:3.16 [2022-09-05T12:17:05.962Z] 3.16: Pulling from library/alpine [2022-09-05T12:17:06.221Z] 213ec9aee27d: Pulling fs layer [2022-09-05T12:17:06.505Z] 213ec9aee27d: Verifying Checksum [2022-09-05T12:17:06.505Z] 213ec9aee27d: Download complete [2022-09-05T12:17:06.505Z] 213ec9aee27d: Pull complete [2022-09-05T12:17:06.505Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T12:17:06.505Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T12:17:06.505Z] ---> 9c6f07244728 [2022-09-05T12:17:06.505Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-05T12:17:06.766Z] ---> Running in fb30dcb54521 [2022-09-05T12:17:06.766Z] Removing intermediate container fb30dcb54521 [2022-09-05T12:17:06.766Z] ---> c819c0cbacd8 [2022-09-05T12:17:06.766Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:17:06.766Z] ---> Running in 31b04e677375 [2022-09-05T12:17:07.337Z] Removing intermediate container 31b04e677375 [2022-09-05T12:17:07.337Z] ---> c397b83d7322 [2022-09-05T12:17:07.338Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-05T12:17:07.338Z] ---> Running in 90f7cdd4f0b0 [2022-09-05T12:17:07.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T12:17:08.537Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T12:17:08.796Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T12:17:09.059Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-05T12:17:09.059Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T12:17:09.320Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-05T12:17:09.320Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-05T12:17:09.320Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T12:17:09.320Z] OK: 8 MiB in 19 packages [2022-09-05T12:17:09.889Z] Removing intermediate container 90f7cdd4f0b0 [2022-09-05T12:17:09.889Z] ---> 63cf50c22694 [2022-09-05T12:17:09.889Z] Step 17/26 : WORKDIR / [2022-09-05T12:17:09.889Z] ---> Running in 9afcb92ec7f2 [2022-09-05T12:17:09.889Z] Removing intermediate container 9afcb92ec7f2 [2022-09-05T12:17:09.889Z] ---> 5bea0a419c10 [2022-09-05T12:17:09.889Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-05T12:17:09.889Z] ---> fe4735a50db2 [2022-09-05T12:17:09.889Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-05T12:17:10.147Z] ---> f6d589d86a36 [2022-09-05T12:17:10.147Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-05T12:17:10.717Z] ---> 42712020654d [2022-09-05T12:17:10.717Z] Step 21/26 : EXPOSE 59910 [2022-09-05T12:17:10.717Z] ---> Running in c7c113e35b40 [2022-09-05T12:17:10.717Z] Removing intermediate container c7c113e35b40 [2022-09-05T12:17:10.717Z] ---> fab46ba27df2 [2022-09-05T12:17:10.717Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-05T12:17:10.717Z] ---> Running in 9f9599403af8 [2022-09-05T12:17:10.977Z] Removing intermediate container 9f9599403af8 [2022-09-05T12:17:10.977Z] ---> 04cdbefedac6 [2022-09-05T12:17:10.977Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T12:17:10.977Z] ---> Running in 30a035f9ba96 [2022-09-05T12:17:10.977Z] Removing intermediate container 30a035f9ba96 [2022-09-05T12:17:10.977Z] ---> 1706d0905fe0 [2022-09-05T12:17:10.977Z] Step 24/26 : LABEL arch=amd64 [2022-09-05T12:17:10.977Z] ---> Running in 02df5d95a211 [2022-09-05T12:17:10.977Z] Removing intermediate container 02df5d95a211 [2022-09-05T12:17:10.977Z] ---> 821893010cc7 [2022-09-05T12:17:10.977Z] Step 25/26 : LABEL git_sha=43673b5525f26dae9b49279547fd28e5f0fb0fc6 [2022-09-05T12:17:10.977Z] ---> Running in 6b3a8005615a [2022-09-05T12:17:11.236Z] Removing intermediate container 6b3a8005615a [2022-09-05T12:17:11.236Z] ---> d742f3c021f9 [2022-09-05T12:17:11.236Z] Step 26/26 : LABEL version=0.0.0 [2022-09-05T12:17:11.236Z] ---> Running in 983d7a37f798 [2022-09-05T12:17:11.236Z] Removing intermediate container 983d7a37f798 [2022-09-05T12:17:11.236Z] ---> 1257a49dfff5 [2022-09-05T12:17:11.236Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T12:17:11.236Z] Successfully built 1257a49dfff5 [2022-09-05T12:17:11.236Z] 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-09-05T12:17:12.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T12:17:12.076Z] [2022-09-05T12:17:12.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:17:12.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T12:17:12.459Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-05T12:17:12.459Z] 5eb5b503b376: Pulling fs layer [2022-09-05T12:17:12.459Z] 5c69ac0246d0: Pulling fs layer [2022-09-05T12:17:12.459Z] ec43610c2a17: Pulling fs layer [2022-09-05T12:17:12.459Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-05T12:17:12.459Z] 33b1e0a273af: Pulling fs layer [2022-09-05T12:17:12.459Z] 5d3b04190fa2: Pulling fs layer [2022-09-05T12:17:12.459Z] 2f39f015ded8: Pulling fs layer [2022-09-05T12:17:12.459Z] 3a2ae6a8a46f: Waiting [2022-09-05T12:17:12.459Z] 33b1e0a273af: Waiting [2022-09-05T12:17:12.459Z] 5d3b04190fa2: Waiting [2022-09-05T12:17:12.459Z] 2f39f015ded8: Waiting [2022-09-05T12:17:12.459Z] 5c69ac0246d0: Verifying Checksum [2022-09-05T12:17:12.459Z] 5c69ac0246d0: Download complete [2022-09-05T12:17:12.459Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-05T12:17:12.459Z] 3a2ae6a8a46f: Download complete [2022-09-05T12:17:12.721Z] 33b1e0a273af: Verifying Checksum [2022-09-05T12:17:12.721Z] 33b1e0a273af: Download complete [2022-09-05T12:17:12.721Z] 5d3b04190fa2: Verifying Checksum [2022-09-05T12:17:12.721Z] 5d3b04190fa2: Download complete [2022-09-05T12:17:12.721Z] ec43610c2a17: Verifying Checksum [2022-09-05T12:17:12.721Z] ec43610c2a17: Download complete [2022-09-05T12:17:12.721Z] 5eb5b503b376: Download complete [2022-09-05T12:17:13.660Z] 2f39f015ded8: Download complete [2022-09-05T12:17:13.924Z] 5eb5b503b376: Pull complete [2022-09-05T12:17:14.183Z] 5c69ac0246d0: Pull complete [2022-09-05T12:17:14.749Z] ec43610c2a17: Pull complete [2022-09-05T12:17:14.749Z] 3a2ae6a8a46f: Pull complete [2022-09-05T12:17:14.749Z] 33b1e0a273af: Pull complete [2022-09-05T12:17:15.007Z] 5d3b04190fa2: Pull complete [2022-09-05T12:17:19.275Z] 2f39f015ded8: Pull complete [2022-09-05T12:17:19.275Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-05T12:17:19.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T12:17:19.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:17:19.507Z] prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container [2022-09-05T12:17:19.540Z] $ 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-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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-09-05T12:17:22.009Z] $ docker top bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:17:22.492Z] ---> job-cost.sh [2022-09-05T12:17:22.492Z] lf-activate-venv: SKIPPING [2022-09-05T12:17:22.492Z] INFO: No Stack... [2022-09-05T12:17:23.060Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T12:17:23.627Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T12:17:23.943Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-53/archives/cost.csv [2022-09-05T12:17:23.943Z] + cut -d, -f6 [Pipeline] lock [2022-09-05T12:17:23.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [2022-09-05T12:17:23.987Z] Resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] did not exist. Created. [2022-09-05T12:17:23.987Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T12:17:24.378Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-05T12:17:24.428Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T12:17:24.454Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T12:17:24.538Z] $ docker stop --time=1 bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 [2022-09-05T12:17:25.700Z] $ docker rm -f bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-05T12:17:31.172Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24582 in /w/workspace/edgexfoundry_device-gpio_PR-53 [Pipeline] { [Pipeline] ws [2022-09-05T12:17:31.216Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-09-05T12:17:31.294Z] The recommended git tool is: git [2022-09-05T12:17:37.263Z] using credential edgex-jenkins-ssh [2022-09-05T12:17:37.281Z] Cloning the remote Git repository [2022-09-05T12:17:37.334Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-09-05T12:17:37.411Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-09-05T12:17:37.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-05T12:17:37.624Z] > git --version # timeout=10 [2022-09-05T12:17:37.677Z] > git --version # 'git version 2.25.1' [2022-09-05T12:17:37.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T12:17:37.737Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T12:17:39.831Z] Merging remotes/origin/main commit 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [2022-09-05T12:17:40.048Z] Merge succeeded, producing 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [2022-09-05T12:17:40.048Z] Checking out Revision 43673b5525f26dae9b49279547fd28e5f0fb0fc6 (PR-53) [2022-09-05T12:17:39.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-05T12:17:39.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T12:17:39.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-05T12:17:39.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-05T12:17:39.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T12:17:39.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-05T12:17:39.849Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T12:17:39.863Z] > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # timeout=10 [2022-09-05T12:17:39.943Z] > git remote # timeout=10 [2022-09-05T12:17:39.959Z] > git config --get remote.origin.url # timeout=10 [2022-09-05T12:17:39.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T12:17:40.004Z] > git merge 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 [2022-09-05T12:17:40.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-05T12:17:40.053Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T12:17:40.065Z] > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # timeout=10 [2022-09-05T12:17:44.230Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-05T12:17:44.287Z] > git --version # timeout=10 [2022-09-05T12:17:44.301Z] > git --version # 'git version 2.25.1' [2022-09-05T12:17:44.315Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T12:17:45.467Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-05T12:17:45.467Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T12:17:45.467Z] Dload Upload Total Spent Left Speed [2022-09-05T12:17:45.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88746 [Pipeline] sh [2022-09-05T12:17:46.483Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-05T12:17:46.839Z] + sudo tee /etc/docker/daemon.new [2022-09-05T12:17:46.839Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-05T12:17:46.839Z] { [2022-09-05T12:17:46.839Z] "registry-mirrors": [ [2022-09-05T12:17:46.839Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-05T12:17:46.839Z] ], [2022-09-05T12:17:46.839Z] "bip": "10.250.0.254/24", [2022-09-05T12:17:46.839Z] "hosts": [ [2022-09-05T12:17:46.839Z] "tcp://0.0.0.0:5555", [2022-09-05T12:17:46.839Z] "unix:///var/run/docker.sock" [2022-09-05T12:17:46.839Z] ], [2022-09-05T12:17:46.839Z] "mtu": 1458, [2022-09-05T12:17:46.839Z] "selinux-enabled": true, [2022-09-05T12:17:46.839Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-05T12:17:46.839Z] } [Pipeline] sh [2022-09-05T12:17:47.192Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-05T12:17:47.545Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T12:18:05.936Z] provisioning config files... [2022-09-05T12:18:05.963Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8586841183347285561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:18:06.365Z] ---> docker-login.sh [2022-09-05T12:18:06.365Z] nexus3.edgexfoundry.org:10001 [2022-09-05T12:18:06.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:18:07.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:18:07.235Z] Configure a credential helper to remove this warning. See [2022-09-05T12:18:07.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:18:07.235Z] [2022-09-05T12:18:07.235Z] Login Succeeded [2022-09-05T12:18:07.235Z] nexus3.edgexfoundry.org:10002 [2022-09-05T12:18:07.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:18:07.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:18:07.508Z] Configure a credential helper to remove this warning. See [2022-09-05T12:18:07.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:18:07.508Z] [2022-09-05T12:18:07.508Z] Login Succeeded [2022-09-05T12:18:07.508Z] nexus3.edgexfoundry.org:10003 [2022-09-05T12:18:08.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:18:08.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:18:08.108Z] Configure a credential helper to remove this warning. See [2022-09-05T12:18:08.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:18:08.108Z] [2022-09-05T12:18:08.108Z] Login Succeeded [2022-09-05T12:18:08.108Z] nexus3.edgexfoundry.org:10004 [2022-09-05T12:18:08.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:18:08.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:18:08.658Z] Configure a credential helper to remove this warning. See [2022-09-05T12:18:08.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:18:08.658Z] [2022-09-05T12:18:08.658Z] Login Succeeded [2022-09-05T12:18:08.658Z] docker.io [2022-09-05T12:18:08.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T12:18:09.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T12:18:09.205Z] Configure a credential helper to remove this warning. See [2022-09-05T12:18:09.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T12:18:09.205Z] [2022-09-05T12:18:09.205Z] Login Succeeded [2022-09-05T12:18:09.205Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T12:18:09.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T12:18:09.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T12:18:09.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T12:18:09.689Z] ========================================================= [2022-09-05T12:18:09.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-05T12:18:09.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:18:10.191Z] + 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-09-05T12:18:10.465Z] Sending build context to Docker daemon 7.965MB [2022-09-05T12:18:10.466Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T12:18:10.466Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-05T12:18:10.744Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-05T12:18:10.744Z] b3c136eddcbf: Pulling fs layer [2022-09-05T12:18:10.744Z] c0a3192eca97: Pulling fs layer [2022-09-05T12:18:10.744Z] a050256f5b6f: Pulling fs layer [2022-09-05T12:18:10.744Z] 656be50a0ddc: Pulling fs layer [2022-09-05T12:18:10.744Z] 2bbca73fdf42: Pulling fs layer [2022-09-05T12:18:10.744Z] 46d945488cbd: Pulling fs layer [2022-09-05T12:18:10.744Z] 8a5474983e97: Pulling fs layer [2022-09-05T12:18:10.744Z] 329c88fbcd65: Pulling fs layer [2022-09-05T12:18:10.744Z] 656be50a0ddc: Waiting [2022-09-05T12:18:10.744Z] 2bbca73fdf42: Waiting [2022-09-05T12:18:10.744Z] 8a5474983e97: Waiting [2022-09-05T12:18:10.744Z] 46d945488cbd: Waiting [2022-09-05T12:18:10.744Z] 329c88fbcd65: Waiting [2022-09-05T12:18:10.744Z] a050256f5b6f: Verifying Checksum [2022-09-05T12:18:10.744Z] a050256f5b6f: Download complete [2022-09-05T12:18:10.744Z] c0a3192eca97: Download complete [2022-09-05T12:18:10.744Z] 2bbca73fdf42: Download complete [2022-09-05T12:18:10.744Z] 46d945488cbd: Verifying Checksum [2022-09-05T12:18:10.744Z] 46d945488cbd: Download complete [2022-09-05T12:18:10.744Z] b3c136eddcbf: Verifying Checksum [2022-09-05T12:18:10.744Z] b3c136eddcbf: Download complete [2022-09-05T12:18:11.742Z] b3c136eddcbf: Pull complete [2022-09-05T12:18:12.022Z] 329c88fbcd65: Verifying Checksum [2022-09-05T12:18:12.022Z] 329c88fbcd65: Download complete [2022-09-05T12:18:12.302Z] c0a3192eca97: Pull complete [2022-09-05T12:18:12.577Z] a050256f5b6f: Pull complete [2022-09-05T12:18:13.174Z] 8a5474983e97: Verifying Checksum [2022-09-05T12:18:13.174Z] 8a5474983e97: Download complete [2022-09-05T12:18:13.772Z] 656be50a0ddc: Verifying Checksum [2022-09-05T12:18:13.772Z] 656be50a0ddc: Download complete [2022-09-05T12:18:28.879Z] 656be50a0ddc: Pull complete [2022-09-05T12:18:28.879Z] 2bbca73fdf42: Pull complete [2022-09-05T12:18:28.879Z] 46d945488cbd: Pull complete [2022-09-05T12:18:33.210Z] 8a5474983e97: Pull complete [2022-09-05T12:18:35.194Z] 329c88fbcd65: Pull complete [2022-09-05T12:18:35.194Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-05T12:18:35.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-05T12:18:35.194Z] ---> ff4287adb874 [2022-09-05T12:18:35.194Z] Step 3/12 : ARG MAKE="make build" [2022-09-05T12:18:37.183Z] ---> Running in 6018451ed27b [2022-09-05T12:18:38.167Z] Removing intermediate container 6018451ed27b [2022-09-05T12:18:38.167Z] ---> 2592b0a287a4 [2022-09-05T12:18:38.167Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T12:18:38.167Z] ---> Running in eaf4ce649181 [2022-09-05T12:18:38.443Z] Removing intermediate container eaf4ce649181 [2022-09-05T12:18:38.443Z] ---> 5abc140826cc [2022-09-05T12:18:38.443Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T12:18:38.443Z] ---> Running in 9630e3e06aaf [2022-09-05T12:18:38.719Z] Removing intermediate container 9630e3e06aaf [2022-09-05T12:18:38.719Z] ---> 2092658e2fd1 [2022-09-05T12:18:38.719Z] Step 6/12 : WORKDIR /device-gpio [2022-09-05T12:18:38.719Z] ---> Running in 7815541041c6 [2022-09-05T12:18:39.321Z] Removing intermediate container 7815541041c6 [2022-09-05T12:18:39.321Z] ---> dcd927833573 [2022-09-05T12:18:39.321Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:18:39.321Z] ---> Running in d96e6df9b783 [2022-09-05T12:18:41.312Z] Removing intermediate container d96e6df9b783 [2022-09-05T12:18:41.312Z] ---> 329714475fd8 [2022-09-05T12:18:41.312Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T12:18:41.312Z] ---> Running in c1c5ae3b2665 [2022-09-05T12:18:41.910Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T12:18:42.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T12:18:43.871Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T12:18:43.871Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T12:18:43.871Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T12:18:44.149Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T12:18:44.149Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T12:18:44.149Z] OK: 226 MiB in 55 packages [2022-09-05T12:18:45.152Z] Removing intermediate container c1c5ae3b2665 [2022-09-05T12:18:45.152Z] ---> 7f3578a69d89 [2022-09-05T12:18:45.152Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-05T12:18:45.752Z] ---> 0184812e2adf [2022-09-05T12:18:45.752Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T12:18:45.752Z] ---> Running in 3937ff4cf73b [2022-09-05T12:19:42.312Z] Removing intermediate container 3937ff4cf73b [2022-09-05T12:19:42.312Z] ---> 975bc6316ed2 [2022-09-05T12:19:42.312Z] Step 11/12 : COPY . . [2022-09-05T12:19:42.312Z] ---> 4f57a09fa33c [2022-09-05T12:19:42.312Z] Step 12/12 : RUN ${MAKE} [2022-09-05T12:19:42.312Z] ---> Running in 387b18c7ae52 [2022-09-05T12:19:42.312Z] noop [2022-09-05T12:19:42.312Z] Removing intermediate container 387b18c7ae52 [2022-09-05T12:19:42.312Z] ---> 6d788d8decba [2022-09-05T12:19:42.312Z] Successfully built 6d788d8decba [2022-09-05T12:19:42.312Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:19:42.789Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T12:19:42.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:19:43.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container [2022-09-05T12:19:43.197Z] $ 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-09-05T12:19:44.458Z] $ docker top 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T12:19:45.413Z] + go version [2022-09-05T12:19:45.413Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-05T12:19:45.444Z] $ docker stop --time=1 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb [2022-09-05T12:19:47.066Z] $ docker rm -f 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:19:47.990Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T12:19:47.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:19:48.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container [2022-09-05T12:19:48.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-05T12:19:49.592Z] $ docker top ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T12:19:50.531Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-09-05T12:19:51.254Z] + make test [2022-09-05T12:19:51.254Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-05T12:19:52.691Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-05T12:21:14.578Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-05T12:21:14.578Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-05T12:21:14.578Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-05T12:21:14.578Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T12:21:27.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T12:21:27.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T12:21:27.019Z] ./bin/test-attribution-txt.sh [2022-09-05T12:21:27.019Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T12:21:27.019Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T12:21:27.019Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T12:21:27.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T12:21:27.087Z] $ docker stop --time=1 ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b [2022-09-05T12:21:28.854Z] $ docker rm -f ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T12:21:29.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T12:21:29.881Z] Warning: overwriting stash ‘coverage-report’ [2022-09-05T12:21:30.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T12:21:30.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T12:21:31.263Z] + ls -al . [2022-09-05T12:21:31.263Z] total 156 [2022-09-05T12:21:31.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:19 . [2022-09-05T12:21:31.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:17 .. [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 5 12:17 .dockerignore [2022-09-05T12:21:31.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:17 .git [2022-09-05T12:21:31.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 .github [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 5 12:17 .gitignore [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:17 .golangci.yml [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 5 12:17 Attribution.txt [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 5 12:17 CHANGELOG.md [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 5 12:17 Dockerfile [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:17 GOVERNANCE.md [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 5 12:17 Jenkinsfile [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:17 LICENSE [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 5 12:17 Makefile [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 5 12:17 OWNERS.md [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 5 12:17 README.md [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:15 VERSION [2022-09-05T12:21:31.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:17 bin [2022-09-05T12:21:31.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 cmd [2022-09-05T12:21:31.263Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 5 12:19 coverage.out [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 3425 Sep 5 12:17 go.mod [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 36813 Sep 5 12:17 go.sum [2022-09-05T12:21:31.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 internal [2022-09-05T12:21:31.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:17 snap [2022-09-05T12:21:31.263Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 5 12:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:21:31.701Z] + 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=43673b5525f26dae9b49279547fd28e5f0fb0fc6 --label arch=arm64 --label version=0.0.0 . [2022-09-05T12:21:31.975Z] Sending build context to Docker daemon 7.966MB [2022-09-05T12:21:32.250Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T12:21:32.250Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-05T12:21:32.250Z] ---> 6d788d8decba [2022-09-05T12:21:32.250Z] Step 3/26 : ARG MAKE="make build" [2022-09-05T12:21:32.250Z] ---> Running in 5b5ccc421fed [2022-09-05T12:21:32.525Z] Removing intermediate container 5b5ccc421fed [2022-09-05T12:21:32.525Z] ---> eefc779328fd [2022-09-05T12:21:32.525Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T12:21:32.525Z] ---> Running in b4025ec57276 [2022-09-05T12:21:32.803Z] Removing intermediate container b4025ec57276 [2022-09-05T12:21:32.803Z] ---> 08e2b3f5fa2e [2022-09-05T12:21:32.803Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T12:21:33.078Z] ---> Running in 30e8a3337c5b [2022-09-05T12:21:33.351Z] Removing intermediate container 30e8a3337c5b [2022-09-05T12:21:33.351Z] ---> 273f5918f0a3 [2022-09-05T12:21:33.351Z] Step 6/26 : WORKDIR /device-gpio [2022-09-05T12:21:33.351Z] ---> Running in 4ed30c3d73d1 [2022-09-05T12:21:33.635Z] Removing intermediate container 4ed30c3d73d1 [2022-09-05T12:21:33.635Z] ---> 46b02f3cdc19 [2022-09-05T12:21:33.635Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:21:33.912Z] ---> Running in 2ca51c44ce32 [2022-09-05T12:21:35.361Z] Removing intermediate container 2ca51c44ce32 [2022-09-05T12:21:35.361Z] ---> 797012462f80 [2022-09-05T12:21:35.361Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T12:21:35.361Z] ---> Running in cf9b0370e0a6 [2022-09-05T12:21:36.342Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T12:21:37.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T12:21:38.311Z] OK: 226 MiB in 55 packages [2022-09-05T12:21:38.935Z] Removing intermediate container cf9b0370e0a6 [2022-09-05T12:21:38.935Z] ---> 4662d5bc2ba0 [2022-09-05T12:21:38.935Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-05T12:21:39.536Z] ---> 87e4222e3928 [2022-09-05T12:21:39.536Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T12:21:39.536Z] ---> Running in 968908e26eaf [2022-09-05T12:21:41.526Z] Removing intermediate container 968908e26eaf [2022-09-05T12:21:41.526Z] ---> e854d56464be [2022-09-05T12:21:41.526Z] Step 11/26 : COPY . . [2022-09-05T12:21:42.520Z] ---> 874db4ba3b20 [2022-09-05T12:21:42.520Z] Step 12/26 : RUN ${MAKE} [2022-09-05T12:21:42.520Z] ---> Running in 9827335192ae [2022-09-05T12:21:43.511Z] 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-09-05T12:23:50.457Z] Removing intermediate container 9827335192ae [2022-09-05T12:23:50.457Z] ---> 8d5e3c99fadc [2022-09-05T12:23:50.457Z] Step 13/26 : FROM alpine:3.16 [2022-09-05T12:23:50.457Z] 3.16: Pulling from library/alpine [2022-09-05T12:23:50.457Z] 9b18e9b68314: Pulling fs layer [2022-09-05T12:23:50.457Z] 9b18e9b68314: Verifying Checksum [2022-09-05T12:23:50.457Z] 9b18e9b68314: Pull complete [2022-09-05T12:23:50.457Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T12:23:50.457Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T12:23:50.457Z] ---> a6215f271958 [2022-09-05T12:23:50.457Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-05T12:23:50.457Z] ---> Running in 191f3289b034 [2022-09-05T12:23:50.457Z] Removing intermediate container 191f3289b034 [2022-09-05T12:23:50.457Z] ---> 6a8fb48c7793 [2022-09-05T12:23:50.457Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T12:23:50.457Z] ---> Running in ac5d87baca15 [2022-09-05T12:23:50.457Z] Removing intermediate container ac5d87baca15 [2022-09-05T12:23:50.457Z] ---> 4b403a9a3d4a [2022-09-05T12:23:50.457Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-05T12:23:50.457Z] ---> Running in d4d3f7311408 [2022-09-05T12:23:50.457Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T12:23:50.457Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T12:23:50.457Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T12:23:50.457Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-05T12:23:50.457Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T12:23:50.457Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-05T12:23:50.457Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-05T12:23:50.457Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T12:23:50.457Z] OK: 8 MiB in 19 packages [2022-09-05T12:23:51.063Z] Removing intermediate container d4d3f7311408 [2022-09-05T12:23:51.063Z] ---> a8ef28fa4806 [2022-09-05T12:23:51.063Z] Step 17/26 : WORKDIR / [2022-09-05T12:23:51.340Z] ---> Running in 975dbb218f36 [2022-09-05T12:23:51.615Z] Removing intermediate container 975dbb218f36 [2022-09-05T12:23:51.615Z] ---> f5cb8fdb9717 [2022-09-05T12:23:51.615Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-05T12:23:52.213Z] ---> d2c7c47f79f4 [2022-09-05T12:23:52.213Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-05T12:23:52.487Z] ---> 71b595b190e1 [2022-09-05T12:23:52.487Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-05T12:23:53.922Z] ---> 7cf4ec0d917b [2022-09-05T12:23:53.922Z] Step 21/26 : EXPOSE 59910 [2022-09-05T12:23:53.922Z] ---> Running in f3154818e554 [2022-09-05T12:23:54.197Z] Removing intermediate container f3154818e554 [2022-09-05T12:23:54.197Z] ---> 268137680433 [2022-09-05T12:23:54.197Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-05T12:23:54.471Z] ---> Running in 63f3c0f46481 [2022-09-05T12:23:54.748Z] Removing intermediate container 63f3c0f46481 [2022-09-05T12:23:54.748Z] ---> 5e2d4e834437 [2022-09-05T12:23:54.748Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T12:23:54.748Z] ---> Running in e2273740696a [2022-09-05T12:23:55.029Z] Removing intermediate container e2273740696a [2022-09-05T12:23:55.029Z] ---> 062a4b0f990e [2022-09-05T12:23:55.029Z] Step 24/26 : LABEL arch=arm64 [2022-09-05T12:23:55.029Z] ---> Running in 919814c3a353 [2022-09-05T12:23:55.311Z] Removing intermediate container 919814c3a353 [2022-09-05T12:23:55.311Z] ---> 2667b6da8377 [2022-09-05T12:23:55.311Z] Step 25/26 : LABEL git_sha=43673b5525f26dae9b49279547fd28e5f0fb0fc6 [2022-09-05T12:23:55.587Z] ---> Running in 703e6ef9fa92 [2022-09-05T12:23:55.863Z] Removing intermediate container 703e6ef9fa92 [2022-09-05T12:23:55.863Z] ---> f805edaf6a6b [2022-09-05T12:23:55.863Z] Step 26/26 : LABEL version=0.0.0 [2022-09-05T12:23:55.863Z] ---> Running in 08667c9cda75 [2022-09-05T12:23:56.137Z] Removing intermediate container 08667c9cda75 [2022-09-05T12:23:56.137Z] ---> 257966132063 [2022-09-05T12:23:56.137Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T12:23:56.137Z] Successfully built 257966132063 [2022-09-05T12:23:56.137Z] 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-09-05T12:23:56.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T12:23:56.964Z] [2022-09-05T12:23:56.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:23:57.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T12:23:57.659Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-05T12:23:57.659Z] 8998bd30e6a1: Pulling fs layer [2022-09-05T12:23:57.659Z] 04944245beec: Pulling fs layer [2022-09-05T12:23:57.659Z] 699f458cf7ca: Pulling fs layer [2022-09-05T12:23:57.659Z] 765212b225bb: Pulling fs layer [2022-09-05T12:23:57.659Z] f23df028b6ca: Pulling fs layer [2022-09-05T12:23:57.659Z] d65c8cfc05b1: Pulling fs layer [2022-09-05T12:23:57.659Z] 2437ff75d9bd: Pulling fs layer [2022-09-05T12:23:57.659Z] f23df028b6ca: Waiting [2022-09-05T12:23:57.659Z] 765212b225bb: Waiting [2022-09-05T12:23:57.659Z] d65c8cfc05b1: Waiting [2022-09-05T12:23:57.659Z] 2437ff75d9bd: Waiting [2022-09-05T12:23:57.659Z] 04944245beec: Verifying Checksum [2022-09-05T12:23:57.659Z] 04944245beec: Download complete [2022-09-05T12:23:57.659Z] 765212b225bb: Download complete [2022-09-05T12:23:57.659Z] f23df028b6ca: Verifying Checksum [2022-09-05T12:23:57.659Z] f23df028b6ca: Download complete [2022-09-05T12:23:57.659Z] d65c8cfc05b1: Verifying Checksum [2022-09-05T12:23:57.659Z] d65c8cfc05b1: Download complete [2022-09-05T12:23:57.934Z] 699f458cf7ca: Verifying Checksum [2022-09-05T12:23:57.934Z] 699f458cf7ca: Download complete [2022-09-05T12:23:58.209Z] 8998bd30e6a1: Verifying Checksum [2022-09-05T12:23:58.209Z] 8998bd30e6a1: Download complete [2022-09-05T12:24:00.193Z] 2437ff75d9bd: Verifying Checksum [2022-09-05T12:24:00.193Z] 2437ff75d9bd: Download complete [2022-09-05T12:24:02.826Z] 8998bd30e6a1: Pull complete [2022-09-05T12:24:02.826Z] 04944245beec: Pull complete [2022-09-05T12:24:04.269Z] 699f458cf7ca: Pull complete [2022-09-05T12:24:04.548Z] 765212b225bb: Pull complete [2022-09-05T12:24:05.529Z] f23df028b6ca: Pull complete [2022-09-05T12:24:05.529Z] d65c8cfc05b1: Pull complete [2022-09-05T12:24:20.642Z] 2437ff75d9bd: Pull complete [2022-09-05T12:24:20.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-05T12:24:20.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T12:24:20.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:24:21.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container [2022-09-05T12:24:21.125Z] $ 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-09-05T12:24:23.646Z] $ docker top b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:24.641Z] ---> job-cost.sh [2022-09-05T12:24:24.641Z] lf-activate-venv: SKIPPING [2022-09-05T12:24:24.641Z] INFO: No Stack... [2022-09-05T12:24:25.618Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-05T12:24:26.211Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T12:24:26.890Z] + cut -d, -f6 [2022-09-05T12:24:26.891Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-09-05T12:24:26.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [2022-09-05T12:24:26.980Z] Resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] did not exist. Created. [2022-09-05T12:24:26.980Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T12:24:27.730Z] /w/workspace/device-gpio/1@tmp/durable-1e668561/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-05T12:24:28.430Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-05T12:24:28.462Z] Warning: overwriting stash ‘stack-cost’ [2022-09-05T12:24:28.507Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T12:24:28.521Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T12:24:28.598Z] $ docker stop --time=1 b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a [2022-09-05T12:24:30.111Z] $ docker rm -f b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a [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-09-05T12:24:31.106Z] provisioning config files... [2022-09-05T12:24:31.117Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config4466029635192841586tmp [Pipeline] { [Pipeline] sh [2022-09-05T12:24:31.450Z] + set +x [2022-09-05T12:24:31.450Z] + curl -s https://codecov.io/bash [2022-09-05T12:24:31.450Z] + bash -s -- [2022-09-05T12:24:31.450Z] [2022-09-05T12:24:31.450Z] _____ _ [2022-09-05T12:24:31.450Z] / ____| | | [2022-09-05T12:24:31.450Z] | | ___ __| | ___ ___ _____ __ [2022-09-05T12:24:31.450Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-05T12:24:31.450Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-05T12:24:31.450Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-05T12:24:31.450Z] Bash-1.0.6 [2022-09-05T12:24:31.450Z] [2022-09-05T12:24:31.450Z] [2022-09-05T12:24:31.450Z] ==> git version 2.25.1 found [2022-09-05T12:24:31.450Z] ==> 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-09-05T12:24:31.450Z] Release-Date: 2020-01-08 [2022-09-05T12:24:31.450Z] 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-09-05T12:24:31.450Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-05T12:24:31.450Z] ==> Jenkins CI detected. [2022-09-05T12:24:31.450Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-53 [2022-09-05T12:24:31.450Z] project root: . [2022-09-05T12:24:31.450Z] --> token set from env [2022-09-05T12:24:31.450Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-05T12:24:31.450Z] ==> Running gcov in . (disable via -X gcov) [2022-09-05T12:24:31.450Z] ==> Python coveragepy not found [2022-09-05T12:24:31.450Z] ==> Searching for coverage reports in: [2022-09-05T12:24:31.450Z] + . [2022-09-05T12:24:31.450Z] -> Found 1 reports [2022-09-05T12:24:31.450Z] ==> Detecting git/mercurial file structure [2022-09-05T12:24:31.450Z] ==> Reading reports [2022-09-05T12:24:31.450Z] + ./coverage.out bytes=10 [2022-09-05T12:24:31.710Z] ==> Appending adjustments [2022-09-05T12:24:31.710Z] https://docs.codecov.io/docs/fixing-reports [2022-09-05T12:24:31.710Z] + Found adjustments [2022-09-05T12:24:31.710Z] ==> Gzipping contents [2022-09-05T12:24:31.710Z] 4.0K /tmp/codecov.wz0noS.gz [2022-09-05T12:24:31.710Z] ==> Uploading reports [2022-09-05T12:24:31.710Z] url: https://codecov.io [2022-09-05T12:24:31.710Z] query: branch=PR-53&commit=43673b5525f26dae9b49279547fd28e5f0fb0fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=53&job=&cmd_args= [2022-09-05T12:24:31.710Z] -> Pinging Codecov [2022-09-05T12:24:31.710Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-53&commit=43673b5525f26dae9b49279547fd28e5f0fb0fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=53&job=&cmd_args= [2022-09-05T12:24:31.970Z] -> Uploading to [2022-09-05T12:24:31.970Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-05/3EC07B1A8CA8AF9BCAA0BB9F0134797F/43673b5525f26dae9b49279547fd28e5f0fb0fc6/c586de4f-94b7-41ce-9501-7076536f7a92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T122431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5c5d2da9abea05f123806c6428ca5b72e09255372c9ef4f8cebb58b0428e992 [2022-09-05T12:24:31.970Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T12:24:31.970Z] Dload Upload Total Spent Left Speed [2022-09-05T12:24:32.230Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3475 --:--:-- --:--:-- --:--:-- 3475 [2022-09-05T12:24:32.230Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] } [2022-09-05T12:24:32.255Z] 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-09-05T12:24:33.953Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-53/archives ] [2022-09-05T12:24:33.953Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-53/archives [2022-09-05T12:24:33.953Z] total 16 [2022-09-05T12:24:33.953Z] drwxr-xr-x 3 root root 4096 Sep 5 12:17 . [2022-09-05T12:24:33.953Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 12:17 .. [2022-09-05T12:24:33.953Z] drwxr-xr-x 2 root root 4096 Sep 5 12:17 cost [2022-09-05T12:24:33.953Z] -rw-r--r-- 1 root root 82 Sep 5 12:17 cost.csv [2022-09-05T12:24:33.953Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-53/archives [2022-09-05T12:24:33.953Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-53/archives [2022-09-05T12:24:33.953Z] total 16 [2022-09-05T12:24:33.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:17 . [2022-09-05T12:24:33.953Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 12:17 .. [2022-09-05T12:24:33.953Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 12:17 cost [2022-09-05T12:24:33.953Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 5 12:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:34.277Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:35.170Z] ---> package-listing.sh [2022-09-05T12:24:35.170Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-05T12:24:35.170Z] ++ facter osfamily [2022-09-05T12:24:35.430Z] + OS_FAMILY=debian [2022-09-05T12:24:35.430Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-53 [2022-09-05T12:24:35.430Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-05T12:24:35.430Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-05T12:24:35.430Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-05T12:24:35.430Z] + PACKAGES=/tmp/packages_start.txt [2022-09-05T12:24:35.430Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-53 ']' [2022-09-05T12:24:35.430Z] + PACKAGES=/tmp/packages_end.txt [2022-09-05T12:24:35.430Z] + case "${OS_FAMILY}" in [2022-09-05T12:24:35.430Z] + dpkg -l [2022-09-05T12:24:35.430Z] + grep '^ii' [2022-09-05T12:24:35.430Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-05T12:24:35.430Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-05T12:24:35.430Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-05T12:24:35.430Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-53 ']' [2022-09-05T12:24:35.430Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-53/archives/ [2022-09-05T12:24:35.430Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-53/archives/ [Pipeline] echo [2022-09-05T12:24:35.461Z] 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-05T12:24:35.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T12:24:36.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T12:24:36.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T12:24:36.536Z] prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container [2022-09-05T12:24:36.582Z] $ 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-53/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-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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-09-05T12:24:36.761Z] $ docker top 2b2472cab501336e937a1c8cbd53a62ade75e51f3554b84d02c0fc8696d276a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T12:24:37.164Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-05T12:24:37.473Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-05T12:24:37.790Z] + ls /var/log/sa-host [2022-09-05T12:24:37.790Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T12:24:37.988Z] provisioning config files... [2022-09-05T12:24:37.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config4966635878339633755tmp [Pipeline] { [Pipeline] echo [2022-09-05T12:24:38.044Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:38.353Z] ---> create-netrc.sh [Pipeline] } [2022-09-05T12:24:38.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:38.774Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-05T12:24:38.802Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:39.112Z] ---> sudo-logs.sh [2022-09-05T12:24:39.112Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-05T12:24:39.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:39.506Z] ---> job-cost.sh [2022-09-05T12:24:39.506Z] lf-activate-venv: SKIPPING [2022-09-05T12:24:39.506Z] DEBUG: total: 0.2199999988079071 [2022-09-05T12:24:39.506Z] INFO: Retrieving Stack Cost... [2022-09-05T12:24:39.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T12:24:40.341Z] INFO: Archiving Costs [Pipeline] echo [2022-09-05T12:24:40.375Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T12:24:40.688Z] ---> logs-deploy.sh [2022-09-05T12:24:40.688Z] lf-activate-venv: SKIPPING [2022-09-05T12:24:40.688Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-53/1 [2022-09-05T12:24:40.688Z] INFO: archiving workspace using pattern(s): [2022-09-05T12:24:41.633Z] Archives upload complete. [2022-09-05T12:24:41.633Z] INFO: archiving logs to Nexus