Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh5089638965168860489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh1446916532838503375.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7504464764847874005.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh2892462582517042843.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9178822173273567591.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1385 in /w/workspace/edgexfoundry_device-gpio_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-gpio_main@tmp/jenkins-gitclient-ssh6574942651458703319.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 Commit message: "Merge pull request #11 from lenny-intel/pr-template" > git rev-list --no-walk 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-04T20:17:44.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-04T20:17:44.120Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-04T20:17:44.147Z] ========================================================= [2021-10-04T20:17:44.147Z] EdgeX Global Pipelines Version Info [2021-10-04T20:17:44.147Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:17:45.422Z] ------------------- [2021-10-04T20:17:45.422Z] stable info: [2021-10-04T20:17:45.422Z] ------------------- [2021-10-04T20:17:45.422Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T20:17:45.422Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T20:17:45.422Z] Message: update stable to v1.0.206 [2021-10-04T20:17:46.011Z] ------------------- [2021-10-04T20:17:46.011Z] experimental info: [2021-10-04T20:17:46.011Z] ------------------- [2021-10-04T20:17:46.011Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T20:17:46.011Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T20:17:46.011Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-04T20:17:46.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-10-04T20:17:46.171Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-10-04T20:17:46.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-04T20:17:46.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-04T20:17:46.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-04T20:17:46.264Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-04T20:17:46.286Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-04T20:17:46.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-04T20:17:46.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-04T20:17:46.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-04T20:17:46.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-04T20:17:46.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-04T20:17:46.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-10-04T20:17:46.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-04T20:17:46.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-04T20:17:46.497Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T20:17:46.520Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T20:17:46.543Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T20:17:46.566Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T20:17:46.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-04T20:17:46.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-04T20:17:46.638Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-04T20:17:46.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-04T20:17:46.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-04T20:17:46.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-04T20:17:46.734Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-04T20:17:46.758Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-04T20:17:46.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-04T20:17:46.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-04T20:17:46.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-04T20:17:46.853Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 [Pipeline] echo [2021-10-04T20:17:46.876Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0b25de [Pipeline] echo [2021-10-04T20:17:46.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T20:17:46.978Z] provisioning config files... [2021-10-04T20:17:46.996Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8926656688452762159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:17:47.332Z] ---> docker-login.sh [2021-10-04T20:17:47.332Z] nexus3.edgexfoundry.org:10001 [2021-10-04T20:17:47.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:17:47.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:17:47.602Z] Configure a credential helper to remove this warning. See [2021-10-04T20:17:47.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:17:47.602Z] [2021-10-04T20:17:47.602Z] Login Succeeded [2021-10-04T20:17:47.602Z] nexus3.edgexfoundry.org:10002 [2021-10-04T20:17:47.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:17:47.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:17:47.602Z] Configure a credential helper to remove this warning. See [2021-10-04T20:17:47.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:17:47.602Z] [2021-10-04T20:17:47.602Z] Login Succeeded [2021-10-04T20:17:47.602Z] nexus3.edgexfoundry.org:10003 [2021-10-04T20:17:47.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:17:47.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:17:47.868Z] Configure a credential helper to remove this warning. See [2021-10-04T20:17:47.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:17:47.868Z] [2021-10-04T20:17:47.868Z] Login Succeeded [2021-10-04T20:17:47.868Z] nexus3.edgexfoundry.org:10004 [2021-10-04T20:17:47.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:17:47.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:17:47.868Z] Configure a credential helper to remove this warning. See [2021-10-04T20:17:47.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:17:47.868Z] [2021-10-04T20:17:47.868Z] Login Succeeded [2021-10-04T20:17:47.868Z] docker.io [2021-10-04T20:17:48.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:17:48.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:17:48.415Z] Configure a credential helper to remove this warning. See [2021-10-04T20:17:48.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:17:48.415Z] [2021-10-04T20:17:48.415Z] Login Succeeded [2021-10-04T20:17:48.415Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T20:17:48.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-04T20:17:49.063Z] + git log --format=format:%s -1 c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 [Pipeline] echo [2021-10-04T20:17:49.115Z] GIT_COMMIT: c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71, Commit Message: Merge pull request #11 from lenny-intel/pr-template [Pipeline] echo [2021-10-04T20:17:49.132Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:17:50.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T20:17:50.107Z] [2021-10-04T20:17:50.107Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:17:50.446Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T20:17:50.446Z] latest: Pulling from edgex-devops/git-semver [2021-10-04T20:17:50.446Z] 31603596830f: Pulling fs layer [2021-10-04T20:17:50.446Z] 04fac38145f0: Pulling fs layer [2021-10-04T20:17:50.446Z] 701f6daf10bf: Pulling fs layer [2021-10-04T20:17:50.446Z] 24f72da36158: Pulling fs layer [2021-10-04T20:17:50.446Z] 24f72da36158: Waiting [2021-10-04T20:17:50.446Z] 04fac38145f0: Download complete [2021-10-04T20:17:50.719Z] 31603596830f: Verifying Checksum [2021-10-04T20:17:50.719Z] 31603596830f: Download complete [2021-10-04T20:17:50.719Z] 24f72da36158: Verifying Checksum [2021-10-04T20:17:50.719Z] 24f72da36158: Download complete [2021-10-04T20:17:50.989Z] 701f6daf10bf: Verifying Checksum [2021-10-04T20:17:50.989Z] 701f6daf10bf: Download complete [2021-10-04T20:17:50.989Z] 31603596830f: Pull complete [2021-10-04T20:17:50.989Z] 04fac38145f0: Pull complete [2021-10-04T20:17:51.593Z] 701f6daf10bf: Pull complete [2021-10-04T20:17:51.866Z] 24f72da36158: Pull complete [2021-10-04T20:17:51.866Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-04T20:17:51.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T20:17:51.866Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-04T20:17:51.979Z] prd-centos7-docker-4c-2g-1385 does not seem to be running inside a container [2021-10-04T20:17:52.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-04T20:17:52.781Z] $ docker top 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-04T20:17:52.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T20:17:52.912Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T20:17:53.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T20:17:53.036Z] $ docker exec 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda ssh-agent [2021-10-04T20:17:53.168Z] SSH_AUTH_SOCK=/tmp/ssh-GUYGIVH46X6e/agent.14 [2021-10-04T20:17:53.168Z] SSH_AGENT_PID=20 [2021-10-04T20:17:53.183Z] Running ssh-add (command line suppressed) [2021-10-04T20:17:53.281Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5144496824153824453.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5144496824153824453.key) [2021-10-04T20:17:53.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T20:17:53.628Z] + git tag --points-at HEAD [Pipeline] } [2021-10-04T20:17:53.648Z] $ docker exec --env ******** --env ******** 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda ssh-agent -k [2021-10-04T20:17:53.758Z] unset SSH_AUTH_SOCK; [2021-10-04T20:17:53.759Z] unset SSH_AGENT_PID; [2021-10-04T20:17:53.759Z] echo Agent pid 20 killed; [2021-10-04T20:17:53.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-04T20:17:53.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T20:17:53.832Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T20:17:53.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T20:17:53.953Z] $ docker exec 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda ssh-agent [2021-10-04T20:17:54.064Z] SSH_AUTH_SOCK=/tmp/ssh-HxWnlivMWqnn/agent.56 [2021-10-04T20:17:54.064Z] SSH_AGENT_PID=62 [2021-10-04T20:17:54.074Z] Running ssh-add (command line suppressed) [2021-10-04T20:17:54.161Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_966487629595532738.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_966487629595532738.key) [2021-10-04T20:17:54.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T20:17:54.503Z] + git semver init [2021-10-04T20:17:54.503Z] # -> Open(): unable to determine branch for HEAD [2021-10-04T20:17:54.503Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-10-04T20:17:54.503Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-10-04T20:17:54.503Z] # $SEMVER_REMOTE_NAME = origin [2021-10-04T20:17:54.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-04T20:17:54.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-04T20:17:54.504Z] # $SEMVER_BRANCH = main [2021-10-04T20:17:54.504Z] # $SEMVER_TEMP = /tmp/semver-426229143 [2021-10-04T20:17:54.504Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-10-04T20:17:55.468Z] # '/tmp/semver-426229143' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2021-10-04T20:17:55.468Z] # -> Force: false [2021-10-04T20:17:55.468Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2021-10-04T20:17:55.480Z] $ docker exec --env ******** --env ******** 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda ssh-agent -k [2021-10-04T20:17:55.576Z] unset SSH_AUTH_SOCK; [2021-10-04T20:17:55.577Z] unset SSH_AGENT_PID; [2021-10-04T20:17:55.577Z] echo Agent pid 62 killed; [2021-10-04T20:17:55.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T20:17:55.940Z] + git semver [Pipeline] } [2021-10-04T20:17:55.960Z] $ docker stop --time=1 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda [2021-10-04T20:17:57.197Z] $ docker rm -f 2445d81b13164b40b588dc944ba6602f53526586e023eb2e5a5ffa7314152bda [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T20:17:57.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-04T20:17:57.938Z] Stashed 1 file(s) [Pipeline] echo [2021-10-04T20:17:57.941Z] [edgeXSemver]: initialized semver on version 1.0.1-dev.5 [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] node [Pipeline] node [2021-10-04T20:18:13.194Z] Still waiting to schedule task [2021-10-04T20:18:13.194Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-04T20:18:13.197Z] Still waiting to schedule task [2021-10-04T20:18:13.197Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-04T20:19:30.481Z] Running on prd-centos7-docker-4c-2g-1388 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-10-04T20:19:30.503Z] Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout [2021-10-04T20:19:30.620Z] The recommended git tool is: git [2021-10-04T20:19:33.690Z] using credential edgex-jenkins-ssh [2021-10-04T20:19:33.706Z] Cloning the remote Git repository [2021-10-04T20:19:33.729Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-04T20:19:33.797Z] > git init /w/workspace/device-gpio/7 # timeout=10 [2021-10-04T20:19:33.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-04T20:19:33.827Z] > git --version # timeout=10 [2021-10-04T20:19:33.837Z] > git --version # 'git version 2.24.4' [2021-10-04T20:19:33.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T20:19:33.867Z] [INFO] Currently running in a labeled security context [2021-10-04T20:19:33.867Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T20:19:33.867Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/7@tmp/jenkins-gitclient-ssh2520681465778168659.key [2021-10-04T20:19:33.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T20:19:34.715Z] Avoid second fetch [2021-10-04T20:19:34.716Z] Checking out Revision c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 (main) [2021-10-04T20:19:34.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-04T20:19:34.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T20:19:34.723Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T20:19:34.729Z] > git checkout -f c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 [2021-10-04T20:19:38.463Z] Commit message: "Merge pull request #11 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T20:19:38.885Z] provisioning config files... [2021-10-04T20:19:38.908Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config5401340926181338080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:19:39.360Z] ---> docker-login.sh [2021-10-04T20:19:39.360Z] nexus3.edgexfoundry.org:10001 [2021-10-04T20:19:39.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:19:39.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:19:39.631Z] Configure a credential helper to remove this warning. See [2021-10-04T20:19:39.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:19:39.631Z] [2021-10-04T20:19:39.631Z] Login Succeeded [2021-10-04T20:19:39.631Z] nexus3.edgexfoundry.org:10002 [2021-10-04T20:19:39.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:19:39.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:19:39.899Z] Configure a credential helper to remove this warning. See [2021-10-04T20:19:39.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:19:39.899Z] [2021-10-04T20:19:39.899Z] Login Succeeded [2021-10-04T20:19:39.899Z] nexus3.edgexfoundry.org:10003 [2021-10-04T20:19:39.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:19:39.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:19:39.899Z] Configure a credential helper to remove this warning. See [2021-10-04T20:19:39.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:19:39.899Z] [2021-10-04T20:19:39.899Z] Login Succeeded [2021-10-04T20:19:39.899Z] nexus3.edgexfoundry.org:10004 [2021-10-04T20:19:40.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:19:40.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:19:40.169Z] Configure a credential helper to remove this warning. See [2021-10-04T20:19:40.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:19:40.169Z] [2021-10-04T20:19:40.169Z] Login Succeeded [2021-10-04T20:19:40.169Z] docker.io [2021-10-04T20:19:40.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:19:40.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:19:40.437Z] Configure a credential helper to remove this warning. See [2021-10-04T20:19:40.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:19:40.437Z] [2021-10-04T20:19:40.437Z] Login Succeeded [2021-10-04T20:19:40.437Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T20:19:40.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-04T20:19:40.694Z] ========================================================= [2021-10-04T20:19:40.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-04T20:19:40.694Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:19:41.047Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-04T20:19:41.047Z] Sending build context to Docker daemon 5.502MB [2021-10-04T20:19:41.047Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-04T20:19:41.047Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-04T20:19:51.131Z] Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:19:52.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:19:52.278Z] [2021-10-04T20:19:52.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:19:52.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:19:52.622Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T20:19:52.622Z] b4d181a07f80: Pulling fs layer [2021-10-04T20:19:52.622Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T20:19:52.622Z] ed53099fbce6: Pulling fs layer [2021-10-04T20:19:52.622Z] dc539afda2c1: Pulling fs layer [2021-10-04T20:19:52.622Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T20:19:52.622Z] 9065ff56babe: Pulling fs layer [2021-10-04T20:19:52.622Z] d287ab97295c: Pulling fs layer [2021-10-04T20:19:52.622Z] dc539afda2c1: Waiting [2021-10-04T20:19:52.622Z] 77bc0d833cb6: Waiting [2021-10-04T20:19:52.622Z] 9065ff56babe: Waiting [2021-10-04T20:19:52.622Z] d287ab97295c: Waiting [2021-10-04T20:19:52.892Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T20:19:52.892Z] a1111a8f2ec3: Download complete [2021-10-04T20:19:52.892Z] dc539afda2c1: Download complete [2021-10-04T20:19:53.158Z] ed53099fbce6: Verifying Checksum [2021-10-04T20:19:53.158Z] ed53099fbce6: Download complete [2021-10-04T20:19:53.158Z] 9065ff56babe: Verifying Checksum [2021-10-04T20:19:53.158Z] 9065ff56babe: Download complete [2021-10-04T20:19:53.158Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T20:19:53.158Z] 77bc0d833cb6: Download complete [2021-10-04T20:19:53.429Z] b4d181a07f80: Verifying Checksum [2021-10-04T20:19:53.429Z] b4d181a07f80: Download complete [2021-10-04T20:19:54.873Z] b4d181a07f80: Pull complete [2021-10-04T20:19:54.873Z] d287ab97295c: Verifying Checksum [2021-10-04T20:19:54.873Z] d287ab97295c: Download complete [2021-10-04T20:19:55.147Z] a1111a8f2ec3: Pull complete [2021-10-04T20:19:55.749Z] ed53099fbce6: Pull complete [2021-10-04T20:19:55.750Z] dc539afda2c1: Pull complete [2021-10-04T20:19:56.023Z] 77bc0d833cb6: Pull complete [2021-10-04T20:19:56.293Z] 9065ff56babe: Pull complete [2021-10-04T20:20:01.674Z] d287ab97295c: Pull complete [2021-10-04T20:20:01.674Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T20:20:01.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:20:01.674Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T20:20:01.768Z] prd-centos7-docker-4c-2g-1388 does not seem to be running inside a container [2021-10-04T20:20:01.837Z] $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-04T20:20:05.284Z] $ docker top 2b29f71025115b14448f7ed347ae6fca6a6fba4b11644977d929369f0aea9668 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:20:06.021Z] ---> job-cost.sh [2021-10-04T20:20:06.021Z] lf-activate-venv: SKIPPING [2021-10-04T20:20:06.021Z] INFO: No Stack... [2021-10-04T20:20:18.355Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T20:20:18.355Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T20:20:18.677Z] + cat /w/workspace/device-gpio/7/archives/cost.csv [2021-10-04T20:20:18.677Z] + cut -d, -f6 [Pipeline] lock [2021-10-04T20:20:18.725Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [2021-10-04T20:20:18.746Z] Resource [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] did not exist. Created. [2021-10-04T20:20:18.746Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T20:20:19.098Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-04T20:20:19.340Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T20:20:19.359Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T20:20:19.385Z] $ docker stop --time=1 2b29f71025115b14448f7ed347ae6fca6a6fba4b11644977d929369f0aea9668 [2021-10-04T20:20:20.527Z] $ docker rm -f 2b29f71025115b14448f7ed347ae6fca6a6fba4b11644977d929369f0aea9668 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T20:20:20.917Z] Failed in branch amd64 [2021-10-04T20:20:36.791Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1387 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-10-04T20:20:36.810Z] Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout [2021-10-04T20:20:37.099Z] The recommended git tool is: git [2021-10-04T20:20:44.497Z] using credential edgex-jenkins-ssh [2021-10-04T20:20:44.520Z] Cloning the remote Git repository [2021-10-04T20:20:44.571Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-04T20:20:44.690Z] > git init /w/workspace/device-gpio/7 # timeout=10 [2021-10-04T20:20:44.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-04T20:20:44.791Z] > git --version # timeout=10 [2021-10-04T20:20:44.806Z] > git --version # 'git version 2.17.1' [2021-10-04T20:20:44.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T20:20:44.881Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T20:20:46.296Z] Avoid second fetch [2021-10-04T20:20:46.297Z] Checking out Revision c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 (main) [2021-10-04T20:20:46.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-04T20:20:46.268Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T20:20:46.319Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T20:20:46.337Z] > git checkout -f c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 [2021-10-04T20:20:50.875Z] Commit message: "Merge pull request #11 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T20:20:51.240Z] provisioning config files... [2021-10-04T20:20:51.279Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config9098620767925300477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:20:52.155Z] ---> docker-login.sh [2021-10-04T20:20:52.155Z] nexus3.edgexfoundry.org:10001 [2021-10-04T20:20:53.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:20:54.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:20:54.272Z] Configure a credential helper to remove this warning. See [2021-10-04T20:20:54.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:20:54.272Z] [2021-10-04T20:20:54.272Z] Login Succeeded [2021-10-04T20:20:54.272Z] nexus3.edgexfoundry.org:10002 [2021-10-04T20:20:54.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:20:54.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:20:54.848Z] Configure a credential helper to remove this warning. See [2021-10-04T20:20:54.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:20:54.848Z] [2021-10-04T20:20:54.848Z] Login Succeeded [2021-10-04T20:20:54.848Z] nexus3.edgexfoundry.org:10003 [2021-10-04T20:20:55.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:20:55.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:20:55.420Z] Configure a credential helper to remove this warning. See [2021-10-04T20:20:55.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:20:55.420Z] [2021-10-04T20:20:55.420Z] Login Succeeded [2021-10-04T20:20:55.420Z] nexus3.edgexfoundry.org:10004 [2021-10-04T20:20:55.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:20:55.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:20:55.988Z] Configure a credential helper to remove this warning. See [2021-10-04T20:20:55.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:20:55.988Z] [2021-10-04T20:20:55.988Z] Login Succeeded [2021-10-04T20:20:55.988Z] docker.io [2021-10-04T20:20:56.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:20:57.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T20:20:57.307Z] Configure a credential helper to remove this warning. See [2021-10-04T20:20:57.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T20:20:57.307Z] [2021-10-04T20:20:57.307Z] Login Succeeded [2021-10-04T20:20:57.307Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T20:20:57.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-04T20:20:58.155Z] ========================================================= [2021-10-04T20:20:58.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-04T20:20:58.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:20:58.570Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-04T20:20:58.859Z] Sending build context to Docker daemon 5.501MB [2021-10-04T20:20:58.859Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-04T20:20:58.859Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-04T20:20:59.145Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-04T20:20:59.145Z] 595b0fe564bb: Pulling fs layer [2021-10-04T20:20:59.145Z] 24495759ef45: Pulling fs layer [2021-10-04T20:20:59.145Z] d148012ef14d: Pulling fs layer [2021-10-04T20:20:59.145Z] e90a11edd702: Pulling fs layer [2021-10-04T20:20:59.145Z] d77568369979: Pulling fs layer [2021-10-04T20:20:59.145Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-04T20:20:59.145Z] 170f2ba95c9a: Pulling fs layer [2021-10-04T20:20:59.145Z] 97ac5df62f85: Pulling fs layer [2021-10-04T20:20:59.145Z] fc1c9f9a7f3b: Waiting [2021-10-04T20:20:59.145Z] e90a11edd702: Waiting [2021-10-04T20:20:59.145Z] 170f2ba95c9a: Waiting [2021-10-04T20:20:59.145Z] 97ac5df62f85: Waiting [2021-10-04T20:20:59.145Z] d77568369979: Waiting [2021-10-04T20:20:59.440Z] d148012ef14d: Verifying Checksum [2021-10-04T20:20:59.440Z] d148012ef14d: Download complete [2021-10-04T20:20:59.440Z] 24495759ef45: Verifying Checksum [2021-10-04T20:20:59.440Z] 24495759ef45: Download complete [2021-10-04T20:20:59.440Z] d77568369979: Download complete [2021-10-04T20:20:59.440Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-04T20:20:59.440Z] fc1c9f9a7f3b: Download complete [2021-10-04T20:20:59.440Z] 595b0fe564bb: Verifying Checksum [2021-10-04T20:20:59.440Z] 595b0fe564bb: Download complete [2021-10-04T20:20:59.440Z] 170f2ba95c9a: Verifying Checksum [2021-10-04T20:20:59.440Z] 170f2ba95c9a: Download complete [2021-10-04T20:21:00.482Z] 595b0fe564bb: Pull complete [2021-10-04T20:21:01.134Z] 24495759ef45: Pull complete [2021-10-04T20:21:01.425Z] d148012ef14d: Pull complete [2021-10-04T20:21:01.717Z] 97ac5df62f85: Verifying Checksum [2021-10-04T20:21:01.717Z] 97ac5df62f85: Download complete [2021-10-04T20:21:02.002Z] e90a11edd702: Verifying Checksum [2021-10-04T20:21:02.002Z] e90a11edd702: Download complete [2021-10-04T20:21:12.344Z] e90a11edd702: Pull complete [2021-10-04T20:21:12.964Z] d77568369979: Pull complete [2021-10-04T20:21:13.255Z] fc1c9f9a7f3b: Pull complete [2021-10-04T20:21:13.541Z] 170f2ba95c9a: Pull complete [2021-10-04T20:21:19.103Z] 97ac5df62f85: Pull complete [2021-10-04T20:21:19.103Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-04T20:21:19.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-04T20:21:19.103Z] ---> 04bc70af865f [2021-10-04T20:21:19.103Z] Step 3/10 : ARG MAKE='make build' [2021-10-04T20:21:24.656Z] ---> Running in 959849f30400 [2021-10-04T20:21:24.656Z] Removing intermediate container 959849f30400 [2021-10-04T20:21:24.656Z] ---> ddd74d055d40 [2021-10-04T20:21:24.656Z] Step 4/10 : WORKDIR /device-gpio [2021-10-04T20:21:24.656Z] ---> Running in 8d2df03ade34 [2021-10-04T20:21:24.940Z] Removing intermediate container 8d2df03ade34 [2021-10-04T20:21:24.941Z] ---> 081447e80b53 [2021-10-04T20:21:24.941Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-04T20:21:25.276Z] ---> Running in 9a009ce3d006 [2021-10-04T20:21:25.572Z] Removing intermediate container 9a009ce3d006 [2021-10-04T20:21:25.572Z] ---> da14c29216a3 [2021-10-04T20:21:25.572Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-04T20:21:26.196Z] ---> Running in 5dd4c7f97067 [2021-10-04T20:21:28.887Z] Removing intermediate container 5dd4c7f97067 [2021-10-04T20:21:28.887Z] ---> d20fb8af51a9 [2021-10-04T20:21:28.887Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-10-04T20:21:28.887Z] ---> Running in 87b4b5787938 [2021-10-04T20:21:29.892Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-04T20:21:30.900Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-04T20:21:31.548Z] OK: 218 MiB in 52 packages [2021-10-04T20:21:32.800Z] Removing intermediate container 87b4b5787938 [2021-10-04T20:21:32.800Z] ---> f53db74d3fa9 [2021-10-04T20:21:32.800Z] Step 8/10 : COPY . . [2021-10-04T20:21:33.820Z] ---> 640c2a0ae823 [2021-10-04T20:21:33.820Z] Step 9/10 : RUN go mod tidy [2021-10-04T20:21:33.820Z] ---> Running in 92009fe91350 [2021-10-04T20:21:37.503Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 [2021-10-04T20:21:37.503Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2021-10-04T20:21:37.794Z] go: downloading github.com/spf13/cast v1.3.1 [2021-10-04T20:21:37.794Z] go: downloading github.com/warthog618/gpiod v0.6.0 [2021-10-04T20:21:37.794Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-04T20:21:37.794Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-04T20:21:38.082Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 [2021-10-04T20:21:38.082Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2021-10-04T20:21:38.082Z] go: downloading github.com/google/uuid v1.1.2 [2021-10-04T20:21:38.082Z] go: downloading github.com/stretchr/testify v1.5.1 [2021-10-04T20:21:38.082Z] go: downloading github.com/go-kit/kit v0.8.0 [2021-10-04T20:21:38.372Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-10-04T20:21:38.372Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-04T20:21:38.372Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-04T20:21:38.372Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-04T20:21:38.372Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2021-10-04T20:21:38.658Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-04T20:21:38.658Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-04T20:21:38.658Z] go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 [2021-10-04T20:21:38.658Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2021-10-04T20:21:38.658Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2021-10-04T20:21:38.658Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2021-10-04T20:21:38.658Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2021-10-04T20:21:38.658Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-04T20:21:38.947Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2021-10-04T20:21:38.947Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-04T20:21:38.947Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-04T20:21:38.947Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-04T20:21:38.947Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-04T20:21:38.947Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-04T20:21:38.947Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-04T20:21:38.947Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-04T20:21:39.575Z] go: downloading github.com/kr/pretty v0.1.0 [2021-10-04T20:21:39.575Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-04T20:21:39.575Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-04T20:21:41.605Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-04T20:21:41.605Z] go: downloading github.com/hashicorp/serf v0.8.2 [2021-10-04T20:21:41.605Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2021-10-04T20:21:41.605Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-04T20:21:41.605Z] go: downloading github.com/hashicorp/consul/sdk v0.1.1 [2021-10-04T20:21:41.605Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-04T20:21:41.605Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-04T20:21:41.605Z] go: downloading github.com/kr/text v0.1.0 [2021-10-04T20:21:41.605Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-04T20:21:41.605Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-04T20:21:41.605Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-04T20:21:41.605Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-04T20:21:41.605Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-04T20:21:41.605Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-04T20:21:41.887Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/memberlist v0.1.3 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/go-multierror v1.0.0 [2021-10-04T20:21:41.887Z] go: downloading github.com/google/btree v1.0.0 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.1 [2021-10-04T20:21:41.887Z] go: downloading github.com/miekg/dns v1.1.4 [2021-10-04T20:21:41.887Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-04T20:21:41.887Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-04T20:21:42.168Z] go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 [2021-10-04T20:21:42.168Z] go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2021-10-04T20:21:54.740Z] Removing intermediate container 92009fe91350 [2021-10-04T20:21:54.740Z] ---> c76f899e579c [2021-10-04T20:21:54.740Z] Step 10/10 : RUN ${MAKE} [2021-10-04T20:21:54.740Z] ---> Running in 29ccdfe91ecf [2021-10-04T20:21:55.026Z] noop [2021-10-04T20:21:56.043Z] Removing intermediate container 29ccdfe91ecf [2021-10-04T20:21:56.043Z] ---> 730e3a29b495 [2021-10-04T20:21:56.043Z] Successfully built 730e3a29b495 [2021-10-04T20:21:56.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:21:56.435Z] + docker inspect -f . ci-base-image-arm64 [2021-10-04T20:21:56.435Z] . [Pipeline] withDockerContainer [2021-10-04T20:21:56.737Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-04T20:21:56.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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 ******** ci-base-image-arm64 cat [2021-10-04T20:21:58.606Z] $ docker top 9fe24edcbd42f1a808351aaf1efb62b164af43366fd42bbbd02c64b35915f44f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T20:21:59.664Z] + go version [2021-10-04T20:21:59.664Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-04T20:21:59.705Z] $ docker stop --time=1 9fe24edcbd42f1a808351aaf1efb62b164af43366fd42bbbd02c64b35915f44f [2021-10-04T20:22:01.617Z] $ docker rm -f 9fe24edcbd42f1a808351aaf1efb62b164af43366fd42bbbd02c64b35915f44f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:22:02.442Z] + docker inspect -f . ci-base-image-arm64 [2021-10-04T20:22:02.442Z] . [Pipeline] withDockerContainer [2021-10-04T20:22:02.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-04T20:22:02.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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 ******** ci-base-image-arm64 cat [2021-10-04T20:22:04.546Z] $ docker top 3b58c9b031317e0ba160ebb17ec034c3a661716d7e532fa80e8abcaa9b6f3051 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-04T20:22:05.608Z] + go mod tidy [Pipeline] sh [2021-10-04T20:22:06.973Z] + make test [2021-10-04T20:22:06.973Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-04T20:22:19.499Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-10-04T20:22:58.748Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-10-04T20:22:58.748Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-10-04T20:22:58.748Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-04T20:23:21.345Z] gofmt -l . [2021-10-04T20:23:21.345Z] [ "`gofmt -l .`" = "" ] [2021-10-04T20:23:21.345Z] ./bin/test-attribution-txt.sh [2021-10-04T20:23:21.345Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-04T20:23:21.382Z] $ docker stop --time=1 3b58c9b031317e0ba160ebb17ec034c3a661716d7e532fa80e8abcaa9b6f3051 [2021-10-04T20:23:23.427Z] $ docker rm -f 3b58c9b031317e0ba160ebb17ec034c3a661716d7e532fa80e8abcaa9b6f3051 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T20:23:24.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-04T20:23:24.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-04T20:23:26.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-04T20:23:26.522Z] + ls -al . [2021-10-04T20:23:26.522Z] total 132 [2021-10-04T20:23:26.522Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 20:23 . [2021-10-04T20:23:26.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:20 .. [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 4 20:20 .dockerignore [2021-10-04T20:23:26.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:20 .git [2021-10-04T20:23:26.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:20 .github [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 350 Oct 4 20:20 .gitignore [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 5451 Oct 4 20:20 Attribution.txt [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 1506 Oct 4 20:20 Dockerfile [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:20 GOVERNANCE.md [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 20:20 Jenkinsfile [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:20 LICENSE [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 906 Oct 4 20:20 Makefile [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 20:20 OWNERS.md [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 8048 Oct 4 20:20 README.md [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 4 20:17 VERSION [2021-10-04T20:23:26.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:20 bin [2021-10-04T20:23:26.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:20 cmd [2021-10-04T20:23:26.522Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 4 20:22 coverage.out [2021-10-04T20:23:26.522Z] -rw-r--r-- 1 jenkins jenkins 379 Oct 4 20:23 go.mod [2021-10-04T20:23:26.522Z] -rw-r--r-- 1 jenkins jenkins 30244 Oct 4 20:22 go.sum [2021-10-04T20:23:26.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:20 internal [2021-10-04T20:23:26.522Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 20:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:23:26.923Z] + 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=c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 --label arch=arm64 --label version=1.0.1-dev.5 . [2021-10-04T20:23:27.210Z] Sending build context to Docker daemon 5.502MB [2021-10-04T20:23:27.210Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-04T20:23:27.210Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-04T20:23:27.210Z] ---> 730e3a29b495 [2021-10-04T20:23:27.210Z] Step 3/23 : ARG MAKE='make build' [2021-10-04T20:23:27.498Z] ---> Running in efa925197687 [2021-10-04T20:23:28.136Z] Removing intermediate container efa925197687 [2021-10-04T20:23:28.136Z] ---> 446a15a13b64 [2021-10-04T20:23:28.136Z] Step 4/23 : WORKDIR /device-gpio [2021-10-04T20:23:28.136Z] ---> Running in f8636e587905 [2021-10-04T20:23:28.754Z] Removing intermediate container f8636e587905 [2021-10-04T20:23:28.754Z] ---> 779d27798dee [2021-10-04T20:23:28.754Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-04T20:23:28.754Z] ---> Running in 6ea57636c088 [2021-10-04T20:23:29.378Z] Removing intermediate container 6ea57636c088 [2021-10-04T20:23:29.378Z] ---> 7a41faa6fc44 [2021-10-04T20:23:29.378Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-04T20:23:29.378Z] ---> Running in efb0baee455a [2021-10-04T20:23:31.410Z] Removing intermediate container efb0baee455a [2021-10-04T20:23:31.410Z] ---> ba1aaf20939c [2021-10-04T20:23:31.410Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-10-04T20:23:31.693Z] ---> Running in fba4ed17888b [2021-10-04T20:23:32.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-04T20:23:33.711Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-04T20:23:34.322Z] OK: 218 MiB in 52 packages [2021-10-04T20:23:35.342Z] Removing intermediate container fba4ed17888b [2021-10-04T20:23:35.342Z] ---> fa9d2d2479d8 [2021-10-04T20:23:35.342Z] Step 8/23 : COPY . . [2021-10-04T20:23:36.349Z] ---> 45c46e9bb6de [2021-10-04T20:23:36.349Z] Step 9/23 : RUN go mod tidy [2021-10-04T20:23:36.349Z] ---> Running in 8da47af60feb [2021-10-04T20:23:39.191Z] Removing intermediate container 8da47af60feb [2021-10-04T20:23:39.191Z] ---> cc6ce755c80e [2021-10-04T20:23:39.191Z] Step 10/23 : RUN ${MAKE} [2021-10-04T20:23:39.477Z] ---> Running in 9c7d08512e30 [2021-10-04T20:23:40.508Z] go mod tidy [2021-10-04T20:23:41.133Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.5" -o cmd/device-gpio ./cmd [2021-10-04T20:24:13.723Z] Removing intermediate container 9c7d08512e30 [2021-10-04T20:24:13.723Z] ---> 019f9c91f723 [2021-10-04T20:24:13.723Z] Step 11/23 : FROM alpine:3.14 [2021-10-04T20:24:13.723Z] 3.14: Pulling from library/alpine [2021-10-04T20:24:13.723Z] 552d1f2373af: Pulling fs layer [2021-10-04T20:24:13.724Z] 552d1f2373af: Verifying Checksum [2021-10-04T20:24:13.724Z] 552d1f2373af: Download complete [2021-10-04T20:24:13.724Z] 552d1f2373af: Pull complete [2021-10-04T20:24:13.724Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-04T20:24:13.724Z] Status: Downloaded newer image for alpine:3.14 [2021-10-04T20:24:13.724Z] ---> bb3de5531c18 [2021-10-04T20:24:13.724Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-04T20:24:13.724Z] ---> Running in 5f9da5e06ef0 [2021-10-04T20:24:13.724Z] Removing intermediate container 5f9da5e06ef0 [2021-10-04T20:24:13.724Z] ---> d32047c891b7 [2021-10-04T20:24:13.724Z] Step 13/23 : ENV APP_PORT=49994 [2021-10-04T20:24:13.724Z] ---> Running in db0f815db0da [2021-10-04T20:24:13.724Z] Removing intermediate container db0f815db0da [2021-10-04T20:24:13.724Z] ---> df8c5c962c72 [2021-10-04T20:24:13.724Z] Step 14/23 : EXPOSE $APP_PORT [2021-10-04T20:24:13.724Z] ---> Running in 3c4e3b406f4a [2021-10-04T20:24:14.011Z] Removing intermediate container 3c4e3b406f4a [2021-10-04T20:24:14.011Z] ---> 3a25a033e42e [2021-10-04T20:24:14.011Z] Step 15/23 : WORKDIR / [2021-10-04T20:24:14.011Z] ---> Running in b073666324c7 [2021-10-04T20:24:14.630Z] Removing intermediate container b073666324c7 [2021-10-04T20:24:14.630Z] ---> dfe3c551072e [2021-10-04T20:24:14.630Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-10-04T20:24:15.252Z] ---> a7e846c46a15 [2021-10-04T20:24:15.252Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-10-04T20:24:16.266Z] ---> 468b9cd51376 [2021-10-04T20:24:16.266Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-10-04T20:24:17.277Z] ---> ddaabd430742 [2021-10-04T20:24:17.277Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-10-04T20:24:17.561Z] ---> Running in 30c83d3c8e38 [2021-10-04T20:24:17.843Z] Removing intermediate container 30c83d3c8e38 [2021-10-04T20:24:17.843Z] ---> 738a8e122cb1 [2021-10-04T20:24:17.843Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-04T20:24:18.125Z] ---> Running in 63aaf993b1d6 [2021-10-04T20:24:18.740Z] Removing intermediate container 63aaf993b1d6 [2021-10-04T20:24:18.740Z] ---> d6fe80a6d2ca [2021-10-04T20:24:18.740Z] Step 21/23 : LABEL arch=arm64 [2021-10-04T20:24:18.740Z] ---> Running in b4ca76ba2311 [2021-10-04T20:24:19.356Z] Removing intermediate container b4ca76ba2311 [2021-10-04T20:24:19.356Z] ---> ba380b3889e3 [2021-10-04T20:24:19.356Z] Step 22/23 : LABEL git_sha=c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 [2021-10-04T20:24:19.356Z] ---> Running in 565a8a192348 [2021-10-04T20:24:19.638Z] Removing intermediate container 565a8a192348 [2021-10-04T20:24:19.638Z] ---> 01efe789574c [2021-10-04T20:24:19.638Z] Step 23/23 : LABEL version=1.0.1-dev.5 [2021-10-04T20:24:19.919Z] ---> Running in c6e1874bd839 [2021-10-04T20:24:20.534Z] Removing intermediate container c6e1874bd839 [2021-10-04T20:24:20.535Z] ---> fba9f1ffa062 [2021-10-04T20:24:20.535Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-04T20:24:20.535Z] Successfully built fba9f1ffa062 [2021-10-04T20:24:20.535Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T20:24:20.844Z] provisioning config files... [2021-10-04T20:24:20.874Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config5210209856274200361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:24:21.308Z] ---> docker-login.sh [2021-10-04T20:24:21.308Z] nexus3.edgexfoundry.org:10001 [2021-10-04T20:24:21.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T20:24:31.844Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] } [2021-10-04T20:24:31.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:24:32.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T20:24:32.419Z] [2021-10-04T20:24:32.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:24:32.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T20:24:33.113Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-04T20:24:33.113Z] 448f6bf000e3: Pulling fs layer [2021-10-04T20:24:33.113Z] f757da607395: Pulling fs layer [2021-10-04T20:24:33.113Z] 05883995daec: Pulling fs layer [2021-10-04T20:24:33.113Z] 8603b9c90790: Pulling fs layer [2021-10-04T20:24:33.113Z] 1560dd03e051: Pulling fs layer [2021-10-04T20:24:33.113Z] 27f5ce0e4adf: Pulling fs layer [2021-10-04T20:24:33.113Z] c2d8d7efcc4b: Pulling fs layer [2021-10-04T20:24:33.113Z] 1560dd03e051: Waiting [2021-10-04T20:24:33.113Z] 27f5ce0e4adf: Waiting [2021-10-04T20:24:33.113Z] c2d8d7efcc4b: Waiting [2021-10-04T20:24:33.113Z] 8603b9c90790: Waiting [2021-10-04T20:24:33.398Z] f757da607395: Verifying Checksum [2021-10-04T20:24:33.398Z] f757da607395: Download complete [2021-10-04T20:24:33.398Z] 8603b9c90790: Download complete [2021-10-04T20:24:33.398Z] 1560dd03e051: Verifying Checksum [2021-10-04T20:24:33.684Z] 27f5ce0e4adf: Verifying Checksum [2021-10-04T20:24:33.684Z] 27f5ce0e4adf: Download complete [2021-10-04T20:24:33.970Z] 448f6bf000e3: Verifying Checksum [2021-10-04T20:24:33.970Z] 448f6bf000e3: Download complete [2021-10-04T20:24:33.970Z] 05883995daec: Verifying Checksum [2021-10-04T20:24:33.970Z] 05883995daec: Download complete [2021-10-04T20:24:37.667Z] 448f6bf000e3: Pull complete [2021-10-04T20:24:37.953Z] f757da607395: Pull complete [2021-10-04T20:24:39.452Z] 05883995daec: Pull complete [2021-10-04T20:24:39.739Z] 8603b9c90790: Pull complete [2021-10-04T20:24:40.753Z] 1560dd03e051: Pull complete [2021-10-04T20:24:41.037Z] 27f5ce0e4adf: Pull complete [2021-10-04T20:24:43.079Z] c2d8d7efcc4b: Verifying Checksum [2021-10-04T20:24:43.079Z] c2d8d7efcc4b: Download complete [2021-10-04T20:24:58.322Z] c2d8d7efcc4b: Pull complete [2021-10-04T20:24:58.322Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-04T20:24:58.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T20:24:58.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-04T20:24:58.635Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-04T20:24:58.770Z] $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-04T20:25:03.528Z] $ docker top 8cc9bb6368a1853e84b245776afeb0a12c56ab55428d5b3fd9a0ade034de22c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:04.588Z] ---> job-cost.sh [2021-10-04T20:25:04.588Z] lf-activate-venv: SKIPPING [2021-10-04T20:25:04.588Z] INFO: No Stack... [2021-10-04T20:25:10.098Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-04T20:25:10.099Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T20:25:10.827Z] + cat /w/workspace/device-gpio/7/archives/cost.csv [2021-10-04T20:25:10.827Z] + cut -d, -f6 [Pipeline] lock [2021-10-04T20:25:10.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [2021-10-04T20:25:10.928Z] Resource [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] did not exist. Created. [2021-10-04T20:25:10.928Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T20:25:11.683Z] /w/workspace/device-gpio/7@tmp/durable-f0bb4b96/script.sh: 1: /w/workspace/device-gpio/7@tmp/durable-f0bb4b96/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-04T20:25:12.410Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-04T20:25:12.452Z] Warning: overwriting stash ‘stack-cost’ [2021-10-04T20:25:12.494Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T20:25:12.506Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T20:25:12.539Z] $ docker stop --time=1 8cc9bb6368a1853e84b245776afeb0a12c56ab55428d5b3fd9a0ade034de22c0 [2021-10-04T20:25:14.196Z] $ docker rm -f 8cc9bb6368a1853e84b245776afeb0a12c56ab55428d5b3fd9a0ade034de22c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T20:25:14.834Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-04T20:25:16.408Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:16.745Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:17.338Z] ---> package-listing.sh [2021-10-04T20:25:17.338Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-04T20:25:17.338Z] ++ facter osfamily [2021-10-04T20:25:17.605Z] + OS_FAMILY=redhat [2021-10-04T20:25:17.605Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2021-10-04T20:25:17.605Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-04T20:25:17.605Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-04T20:25:17.605Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-04T20:25:17.605Z] + PACKAGES=/tmp/packages_start.txt [2021-10-04T20:25:17.605Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-10-04T20:25:17.605Z] + PACKAGES=/tmp/packages_end.txt [2021-10-04T20:25:17.605Z] + case "${OS_FAMILY}" in [2021-10-04T20:25:17.605Z] + rpm -qa [2021-10-04T20:25:17.605Z] + sort [2021-10-04T20:25:18.188Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-04T20:25:18.188Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-04T20:25:18.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-04T20:25:18.188Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-10-04T20:25:18.188Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2021-10-04T20:25:18.188Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2021-10-04T20:25:18.206Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-04T20:25:18.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:25:19.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:25:19.113Z] [2021-10-04T20:25:19.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T20:25:19.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:25:19.713Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T20:25:19.713Z] b4d181a07f80: Pulling fs layer [2021-10-04T20:25:19.713Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T20:25:19.713Z] ed53099fbce6: Pulling fs layer [2021-10-04T20:25:19.713Z] dc539afda2c1: Pulling fs layer [2021-10-04T20:25:19.713Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T20:25:19.713Z] 9065ff56babe: Pulling fs layer [2021-10-04T20:25:19.713Z] d287ab97295c: Pulling fs layer [2021-10-04T20:25:19.713Z] dc539afda2c1: Waiting [2021-10-04T20:25:19.713Z] 77bc0d833cb6: Waiting [2021-10-04T20:25:19.713Z] 9065ff56babe: Waiting [2021-10-04T20:25:19.713Z] d287ab97295c: Waiting [2021-10-04T20:25:19.713Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T20:25:19.713Z] a1111a8f2ec3: Download complete [2021-10-04T20:25:19.977Z] dc539afda2c1: Download complete [2021-10-04T20:25:23.324Z] ed53099fbce6: Verifying Checksum [2021-10-04T20:25:23.324Z] ed53099fbce6: Download complete [2021-10-04T20:25:23.324Z] 9065ff56babe: Verifying Checksum [2021-10-04T20:25:23.324Z] 9065ff56babe: Download complete [2021-10-04T20:25:23.324Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T20:25:23.324Z] 77bc0d833cb6: Download complete [2021-10-04T20:25:23.324Z] b4d181a07f80: Download complete [2021-10-04T20:25:24.749Z] b4d181a07f80: Pull complete [2021-10-04T20:25:24.749Z] a1111a8f2ec3: Pull complete [2021-10-04T20:25:25.344Z] ed53099fbce6: Pull complete [2021-10-04T20:25:25.344Z] dc539afda2c1: Pull complete [2021-10-04T20:25:25.617Z] 77bc0d833cb6: Pull complete [2021-10-04T20:25:25.885Z] 9065ff56babe: Pull complete [2021-10-04T20:25:38.410Z] d287ab97295c: Verifying Checksum [2021-10-04T20:25:38.410Z] d287ab97295c: Download complete [2021-10-04T20:25:42.684Z] d287ab97295c: Pull complete [2021-10-04T20:25:42.684Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T20:25:42.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T20:25:42.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T20:25:42.776Z] prd-centos7-docker-4c-2g-1385 does not seem to be running inside a container [2021-10-04T20:25:42.844Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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-lftools-log-publisher:latest cat [2021-10-04T20:25:44.839Z] $ docker top 20aa39340f9d8bdbd1b92522c4710cb67bf3447e6ad4dc506d7e3e75e54f57db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T20:25:45.244Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-04T20:25:45.565Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-04T20:25:45.883Z] + ls /var/log/sa-host [2021-10-04T20:25:45.883Z] + sadf -c /var/log/sa-host/sa04 [2021-10-04T20:25:45.883Z] file_magic: OK [2021-10-04T20:25:45.883Z] HZ: Using current value: 100 [2021-10-04T20:25:45.883Z] file_header: OK [2021-10-04T20:25:45.883Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-04T20:25:45.883Z] Statistics: [2021-10-04T20:25:45.883Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T20:25:45.883Z] File successfully converted to sysstat format version 12.0.3 [2021-10-04T20:25:45.883Z] + sadf -c /var/log/sa-host/sa30 [2021-10-04T20:25:45.883Z] file_magic: OK [2021-10-04T20:25:45.883Z] HZ: Using current value: 100 [2021-10-04T20:25:45.883Z] file_header: OK [2021-10-04T20:25:45.883Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-04T20:25:45.883Z] Statistics: [2021-10-04T20:25:45.883Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T20:25:45.883Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T20:25:46.532Z] provisioning config files... [2021-10-04T20:25:46.548Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4464447650236386526tmp [Pipeline] { [Pipeline] echo [2021-10-04T20:25:46.578Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:46.908Z] ---> create-netrc.sh [Pipeline] } [2021-10-04T20:25:46.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:47.350Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-04T20:25:47.365Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:47.686Z] ---> sudo-logs.sh [2021-10-04T20:25:47.686Z] Archiving 'sudo' log.. [2021-10-04T20:25:47.686Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1385.novalocal: Name or service not known [2021-10-04T20:25:47.686Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1385.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-04T20:25:47.751Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:48.070Z] ---> job-cost.sh [2021-10-04T20:25:48.070Z] lf-activate-venv: SKIPPING [2021-10-04T20:25:48.070Z] DEBUG: total: 0.10999999940395355 [2021-10-04T20:25:48.070Z] INFO: Retrieving Stack Cost... [2021-10-04T20:25:49.479Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T20:25:49.744Z] INFO: Archiving Costs [Pipeline] echo [2021-10-04T20:25:49.762Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T20:25:50.077Z] ---> logs-deploy.sh [2021-10-04T20:25:50.077Z] lf-activate-venv: SKIPPING [2021-10-04T20:25:50.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/7 [2021-10-04T20:25:50.077Z] INFO: archiving workspace using pattern(s): [2021-10-04T20:25:50.662Z] Archives upload complete. [2021-10-04T20:25:50.929Z] INFO: archiving logs to Nexus