Pull request #16 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-gpio Obtained Jenkinsfile from 91af4a9beb4ebfb27678700c4f2feff0ae42d623+f39b6cd70fb93c328084340b8c900c025342af5c (f9451dcfde775f0d828b45f6fc6ef207b7e7bbcf) 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-ssh12219659105110908558.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh5646173449003977795.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-16/workspace@libs/edgex-global-pipelines # 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-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1795107383402014847.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-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1419626964189863447.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 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-ssh851975419508767789.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 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-16/workspace@libs/lf-pipelines # 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-16/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh682450354304376806.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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6382 in /w/workspace/edgexfoundry_device-gpio_PR-16 [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-16 # 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_PR-16@tmp/jenkins-gitclient-ssh5909951438063766538.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit 91af4a9beb4ebfb27678700c4f2feff0ae42d623 Merge succeeded, producing 91af4a9beb4ebfb27678700c4f2feff0ae42d623 Checking out Revision 91af4a9beb4ebfb27678700c4f2feff0ae42d623 (PR-16) > 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 [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_PR-16@tmp/jenkins-gitclient-ssh296899746518950209.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/16/head:refs/remotes/origin/PR-16 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/jenkins-gitclient-ssh3436134254766740934.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-04T12:08:59.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-04T12:08:59.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-04T12:08:59.752Z] ========================================================= [2022-03-04T12:08:59.752Z] EdgeX Global Pipelines Version Info [2022-03-04T12:08:59.752Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:09:00.899Z] ------------------- [2022-03-04T12:09:00.900Z] stable info: [2022-03-04T12:09:00.900Z] ------------------- [2022-03-04T12:09:00.900Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-04T12:09:00.900Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-04T12:09:00.900Z] Message: update stable to v1.0.220 [2022-03-04T12:09:01.475Z] ------------------- [2022-03-04T12:09:01.475Z] experimental info: [2022-03-04T12:09:01.475Z] ------------------- [2022-03-04T12:09:01.475Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-04T12:09:01.475Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-04T12:09:01.475Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-04T12:09:01.763Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-04T12:09:01.806Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-04T12:09:01.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-04T12:09:01.890Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-04T12:09:01.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-04T12:09:01.975Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-04T12:09:02.017Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-04T12:09:02.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-04T12:09:02.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-04T12:09:02.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-04T12:09:02.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-04T12:09:02.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-04T12:09:02.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-04T12:09:02.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-04T12:09:02.331Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T12:09:02.376Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T12:09:02.418Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T12:09:02.459Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T12:09:02.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-04T12:09:02.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-04T12:09:02.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-04T12:09:02.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-04T12:09:02.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-04T12:09:02.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-04T12:09:02.747Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-04T12:09:02.789Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-04T12:09:02.827Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo [2022-03-04T12:09:02.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo [2022-03-04T12:09:02.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo [2022-03-04T12:09:02.942Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo [2022-03-04T12:09:02.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91af4a9 [Pipeline] echo [2022-03-04T12:09:03.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:09:03.126Z] provisioning config files... [2022-03-04T12:09:03.144Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7659956153095443571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:09:03.508Z] ---> docker-login.sh [2022-03-04T12:09:03.508Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:09:03.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:03.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:03.770Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:03.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:03.770Z] [2022-03-04T12:09:03.770Z] Login Succeeded [2022-03-04T12:09:03.770Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:09:03.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:03.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:03.770Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:03.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:03.770Z] [2022-03-04T12:09:03.770Z] Login Succeeded [2022-03-04T12:09:03.770Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:09:04.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:04.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:04.031Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:04.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:04.031Z] [2022-03-04T12:09:04.031Z] Login Succeeded [2022-03-04T12:09:04.031Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:09:04.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:04.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:04.031Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:04.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:04.031Z] [2022-03-04T12:09:04.031Z] Login Succeeded [2022-03-04T12:09:04.031Z] docker.io [2022-03-04T12:09:04.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:04.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:04.560Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:04.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:04.560Z] [2022-03-04T12:09:04.560Z] Login Succeeded [2022-03-04T12:09:04.560Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:09:04.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-04T12:09:05.266Z] + git rev-list -1 --merges 91af4a9beb4ebfb27678700c4f2feff0ae42d623~1..91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo [2022-03-04T12:09:05.322Z] -----------> git rev-list -1 --merges 91af4a9beb4ebfb27678700c4f2feff0ae42d623~1..91af4a9beb4ebfb27678700c4f2feff0ae42d623 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [false] [Pipeline] sh [2022-03-04T12:09:05.649Z] + git log --format=format:%s -1 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo [2022-03-04T12:09:05.692Z] ========================================================= [2022-03-04T12:09:05.692Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-04T12:09:05.692Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T12:09:06.138Z] + git log --format=format:%s -1 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo [2022-03-04T12:09:06.170Z] [semverPrep] GIT_COMMIT: 91af4a9beb4ebfb27678700c4f2feff0ae42d623, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo [2022-03-04T12:09:06.201Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-04T12:09:06.656Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-04T12:09:06.656Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-04T12:09:06.656Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-04T12:09:06.656Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-04T12:09:06.656Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-04T12:09:06.656Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-04T12:09:06.656Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:09:07.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:09:07.123Z] [2022-03-04T12:09:07.123Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:09:07.473Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:09:07.473Z] latest: Pulling from edgex-devops/git-semver [2022-03-04T12:09:07.473Z] a0d0a0d46f8b: Pulling fs layer [2022-03-04T12:09:07.473Z] 3e5f54012d9b: Pulling fs layer [2022-03-04T12:09:07.473Z] 4c7163046ea9: Pulling fs layer [2022-03-04T12:09:07.473Z] 0c2d73faf560: Pulling fs layer [2022-03-04T12:09:07.473Z] 0c2d73faf560: Waiting [2022-03-04T12:09:07.473Z] 3e5f54012d9b: Verifying Checksum [2022-03-04T12:09:07.473Z] 3e5f54012d9b: Download complete [2022-03-04T12:09:07.473Z] a0d0a0d46f8b: Verifying Checksum [2022-03-04T12:09:07.473Z] a0d0a0d46f8b: Download complete [2022-03-04T12:09:07.473Z] 4c7163046ea9: Verifying Checksum [2022-03-04T12:09:07.473Z] 4c7163046ea9: Download complete [2022-03-04T12:09:07.473Z] 0c2d73faf560: Verifying Checksum [2022-03-04T12:09:07.473Z] 0c2d73faf560: Download complete [2022-03-04T12:09:07.735Z] a0d0a0d46f8b: Pull complete [2022-03-04T12:09:07.735Z] 3e5f54012d9b: Pull complete [2022-03-04T12:09:08.311Z] 4c7163046ea9: Pull complete [2022-03-04T12:09:08.311Z] 0c2d73faf560: Pull complete [2022-03-04T12:09:08.312Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-04T12:09:08.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:09:08.312Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-04T12:09:08.416Z] prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container [2022-03-04T12:09:08.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@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:10004/edgex-devops/git-semver:latest cat [2022-03-04T12:09:09.177Z] $ docker top 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-04T12:09:09.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T12:09:09.365Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T12:09:09.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T12:09:09.503Z] $ docker exec 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent [2022-03-04T12:09:09.618Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaJoBPn/agent.14 [2022-03-04T12:09:09.618Z] SSH_AGENT_PID=21 [2022-03-04T12:09:09.626Z] Running ssh-add (command line suppressed) [2022-03-04T12:09:09.727Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6651027008087894783.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6651027008087894783.key) [2022-03-04T12:09:09.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T12:09:10.091Z] + git tag --points-at HEAD [Pipeline] } [2022-03-04T12:09:10.122Z] $ docker exec --env ******** --env ******** 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent -k [2022-03-04T12:09:10.218Z] unset SSH_AUTH_SOCK; [2022-03-04T12:09:10.219Z] unset SSH_AGENT_PID; [2022-03-04T12:09:10.219Z] echo Agent pid 21 killed; [2022-03-04T12:09:10.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-04T12:09:10.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T12:09:10.313Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T12:09:10.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T12:09:10.421Z] $ docker exec 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent [2022-03-04T12:09:10.514Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkHnIlp/agent.56 [2022-03-04T12:09:10.514Z] SSH_AGENT_PID=63 [2022-03-04T12:09:10.521Z] Running ssh-add (command line suppressed) [2022-03-04T12:09:10.633Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_4085073211061867015.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_4085073211061867015.key) [2022-03-04T12:09:10.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T12:09:10.995Z] + git semver init [2022-03-04T12:09:10.995Z] # -> Open(): unable to determine branch for HEAD [2022-03-04T12:09:10.995Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git [2022-03-04T12:09:10.995Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T12:09:10.995Z] # $SEMVER_REMOTE_NAME = origin [2022-03-04T12:09:10.995Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-04T12:09:10.995Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-04T12:09:10.995Z] # $SEMVER_BRANCH = PR-16 [2022-03-04T12:09:10.995Z] # $SEMVER_TEMP = /tmp/semver-161680433 [2022-03-04T12:09:10.995Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-04T12:09:11.941Z] # '/tmp/semver-161680433' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' [2022-03-04T12:09:11.941Z] # -> Force: false [2022-03-04T12:09:11.941Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } [2022-03-04T12:09:11.972Z] $ docker exec --env ******** --env ******** 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent -k [2022-03-04T12:09:12.091Z] unset SSH_AUTH_SOCK; [2022-03-04T12:09:12.091Z] unset SSH_AGENT_PID; [2022-03-04T12:09:12.091Z] echo Agent pid 63 killed; [2022-03-04T12:09:12.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-04T12:09:12.547Z] + git semver [Pipeline] } [2022-03-04T12:09:12.582Z] $ docker stop --time=1 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 [2022-03-04T12:09:13.819Z] $ docker rm -f 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-04T12:09:14.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-04T12:09:14.545Z] Stashed 1 file(s) [Pipeline] echo [2022-03-04T12:09:14.564Z] [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-03-04T12:09:15.199Z] provisioning config files... [2022-03-04T12:09:15.212Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config3936377271555834920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:09:15.583Z] ---> docker-login.sh [2022-03-04T12:09:15.584Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:09:15.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:15.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:15.584Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:15.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:15.584Z] [2022-03-04T12:09:15.584Z] Login Succeeded [2022-03-04T12:09:15.584Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:09:15.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:15.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:15.584Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:15.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:15.584Z] [2022-03-04T12:09:15.584Z] Login Succeeded [2022-03-04T12:09:15.584Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:09:15.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:15.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:15.846Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:15.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:15.846Z] [2022-03-04T12:09:15.846Z] Login Succeeded [2022-03-04T12:09:15.846Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:09:15.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:15.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:15.846Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:15.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:15.846Z] [2022-03-04T12:09:15.846Z] Login Succeeded [2022-03-04T12:09:16.110Z] docker.io [2022-03-04T12:09:16.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:09:16.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:09:16.373Z] Configure a credential helper to remove this warning. See [2022-03-04T12:09:16.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:09:16.373Z] [2022-03-04T12:09:16.373Z] Login Succeeded [2022-03-04T12:09:16.373Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:09:16.404Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T12:09:16.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T12:09:16.657Z] ========================================================= [2022-03-04T12:09:16.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-04T12:09:16.657Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:09:17.099Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-03-04T12:09:17.100Z] Sending build context to Docker daemon 11.06MB [2022-03-04T12:09:17.100Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T12:09:17.100Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T12:09:17.100Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-04T12:09:17.100Z] 59bf1c3509f3: Pulling fs layer [2022-03-04T12:09:17.100Z] 666ba61612fd: Pulling fs layer [2022-03-04T12:09:17.100Z] 8ed8ca486205: Pulling fs layer [2022-03-04T12:09:17.100Z] 4fe6c5a15a65: Pulling fs layer [2022-03-04T12:09:17.100Z] 22a0e8bec74d: Pulling fs layer [2022-03-04T12:09:17.100Z] 640e595b4fbd: Pulling fs layer [2022-03-04T12:09:17.100Z] 763cafe07f6e: Pulling fs layer [2022-03-04T12:09:17.100Z] 0c0b528cf693: Pulling fs layer [2022-03-04T12:09:17.100Z] 10935f4eaf8b: Pulling fs layer [2022-03-04T12:09:17.100Z] 640e595b4fbd: Waiting [2022-03-04T12:09:17.100Z] 763cafe07f6e: Waiting [2022-03-04T12:09:17.100Z] 0c0b528cf693: Waiting [2022-03-04T12:09:17.100Z] 10935f4eaf8b: Waiting [2022-03-04T12:09:17.100Z] 4fe6c5a15a65: Waiting [2022-03-04T12:09:17.100Z] 22a0e8bec74d: Waiting [2022-03-04T12:09:17.378Z] 8ed8ca486205: Verifying Checksum [2022-03-04T12:09:17.378Z] 8ed8ca486205: Download complete [2022-03-04T12:09:17.378Z] 666ba61612fd: Verifying Checksum [2022-03-04T12:09:17.378Z] 666ba61612fd: Download complete [2022-03-04T12:09:17.378Z] 22a0e8bec74d: Verifying Checksum [2022-03-04T12:09:17.378Z] 22a0e8bec74d: Download complete [2022-03-04T12:09:17.378Z] 640e595b4fbd: Verifying Checksum [2022-03-04T12:09:17.378Z] 640e595b4fbd: Download complete [2022-03-04T12:09:17.378Z] 59bf1c3509f3: Verifying Checksum [2022-03-04T12:09:17.378Z] 59bf1c3509f3: Download complete [2022-03-04T12:09:17.378Z] 763cafe07f6e: Verifying Checksum [2022-03-04T12:09:17.378Z] 763cafe07f6e: Download complete [2022-03-04T12:09:17.378Z] 0c0b528cf693: Verifying Checksum [2022-03-04T12:09:17.378Z] 0c0b528cf693: Download complete [2022-03-04T12:09:17.659Z] 59bf1c3509f3: Pull complete [2022-03-04T12:09:17.930Z] 10935f4eaf8b: Verifying Checksum [2022-03-04T12:09:17.930Z] 10935f4eaf8b: Download complete [2022-03-04T12:09:17.930Z] 666ba61612fd: Pull complete [2022-03-04T12:09:17.930Z] 4fe6c5a15a65: Verifying Checksum [2022-03-04T12:09:17.930Z] 4fe6c5a15a65: Download complete [2022-03-04T12:09:17.930Z] 8ed8ca486205: Pull complete [2022-03-04T12:09:23.255Z] 4fe6c5a15a65: Pull complete [2022-03-04T12:09:23.255Z] 22a0e8bec74d: Pull complete [2022-03-04T12:09:23.255Z] 640e595b4fbd: Pull complete [2022-03-04T12:09:23.255Z] 763cafe07f6e: Pull complete [2022-03-04T12:09:23.255Z] 0c0b528cf693: Pull complete [2022-03-04T12:09:25.897Z] 10935f4eaf8b: Pull complete [2022-03-04T12:09:25.897Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-04T12:09:25.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-04T12:09:25.897Z] ---> 99d49a6021b9 [2022-03-04T12:09:25.897Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T12:09:27.295Z] ---> Running in 64f025288e2d [2022-03-04T12:09:27.295Z] Removing intermediate container 64f025288e2d [2022-03-04T12:09:27.295Z] ---> e0bc5e228a48 [2022-03-04T12:09:27.295Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T12:09:27.295Z] ---> Running in 843700ffd0a4 [2022-03-04T12:09:27.563Z] Removing intermediate container 843700ffd0a4 [2022-03-04T12:09:27.563Z] ---> 4ed2056e83f6 [2022-03-04T12:09:27.563Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T12:09:27.563Z] ---> Running in fc537b4f6b5b [2022-03-04T12:09:27.563Z] Removing intermediate container fc537b4f6b5b [2022-03-04T12:09:27.563Z] ---> 81a0c5de6d8e [2022-03-04T12:09:27.563Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T12:09:27.563Z] ---> Running in e9619c5d87b6 [2022-03-04T12:09:28.144Z] Removing intermediate container e9619c5d87b6 [2022-03-04T12:09:28.144Z] ---> 95ce18654a6f [2022-03-04T12:09:28.144Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T12:09:28.144Z] ---> Running in 3273246c8345 [2022-03-04T12:09:28.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-04T12:09:29.356Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-04T12:09:29.621Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T12:09:29.884Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T12:09:29.884Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T12:09:29.884Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T12:09:29.995Z] Still waiting to schedule task [2022-03-04T12:09:29.996Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-04T12:09:30.148Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T12:09:30.148Z] OK: 224 MiB in 56 packages [2022-03-04T12:09:30.410Z] Removing intermediate container 3273246c8345 [2022-03-04T12:09:30.410Z] ---> a243b5a71ef1 [2022-03-04T12:09:30.410Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T12:09:30.670Z] ---> 8a6fd9402229 [2022-03-04T12:09:30.670Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T12:09:30.670Z] ---> Running in d6b87aba9a05 [2022-03-04T12:10:17.442Z] Removing intermediate container d6b87aba9a05 [2022-03-04T12:10:17.442Z] ---> 183e091efeb6 [2022-03-04T12:10:17.442Z] Step 10/11 : COPY . . [2022-03-04T12:10:17.442Z] ---> 6b75a22c4ad6 [2022-03-04T12:10:17.442Z] Step 11/11 : RUN ${MAKE} [2022-03-04T12:10:17.442Z] ---> Running in 3974a6ad93b6 [2022-03-04T12:10:17.442Z] Removing intermediate container 3974a6ad93b6 [2022-03-04T12:10:17.442Z] ---> cb2804291efd [2022-03-04T12:10:17.442Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T12:10:17.442Z] Successfully built cb2804291efd [2022-03-04T12:10:17.442Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:10:17.791Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T12:10:17.791Z] . [Pipeline] withDockerContainer [2022-03-04T12:10:17.880Z] prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container [2022-03-04T12:10:17.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@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-03-04T12:10:18.276Z] $ docker top d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:10:18.687Z] + go version [2022-03-04T12:10:18.687Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-04T12:10:18.721Z] $ docker stop --time=1 d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 [2022-03-04T12:10:19.912Z] $ docker rm -f d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:10:20.589Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T12:10:20.589Z] . [Pipeline] withDockerContainer [2022-03-04T12:10:20.680Z] prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container [2022-03-04T12:10:20.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@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-03-04T12:10:21.117Z] $ docker top 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T12:10:21.574Z] + make test [2022-03-04T12:10:21.574Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T12:10:21.845Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T12:10:28.580Z] # github.com/pebbe/zmq4 [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket [2022-03-04T12:10:28.580Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors [2022-03-04T12:10:36.796Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2022-03-04T12:10:36.850Z] $ docker stop --time=1 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b [2022-03-04T12:10:38.361Z] $ docker rm -f 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 [2022-03-04T12:10:39.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:10:39.450Z] [2022-03-04T12:10:39.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:10:39.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:10:39.798Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-04T12:10:39.798Z] 5eb5b503b376: Pulling fs layer [2022-03-04T12:10:39.798Z] 5c69ac0246d0: Pulling fs layer [2022-03-04T12:10:39.798Z] ec43610c2a17: Pulling fs layer [2022-03-04T12:10:39.798Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-04T12:10:39.798Z] 33b1e0a273af: Pulling fs layer [2022-03-04T12:10:39.798Z] 5d3b04190fa2: Pulling fs layer [2022-03-04T12:10:39.798Z] 2f39f015ded8: Pulling fs layer [2022-03-04T12:10:39.798Z] 3a2ae6a8a46f: Waiting [2022-03-04T12:10:39.798Z] 33b1e0a273af: Waiting [2022-03-04T12:10:39.798Z] 5d3b04190fa2: Waiting [2022-03-04T12:10:39.798Z] 2f39f015ded8: Waiting [2022-03-04T12:10:39.798Z] 5c69ac0246d0: Verifying Checksum [2022-03-04T12:10:39.798Z] 5c69ac0246d0: Download complete [2022-03-04T12:10:39.798Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-04T12:10:39.798Z] 3a2ae6a8a46f: Download complete [2022-03-04T12:10:40.061Z] ec43610c2a17: Verifying Checksum [2022-03-04T12:10:40.061Z] ec43610c2a17: Download complete [2022-03-04T12:10:40.061Z] 33b1e0a273af: Verifying Checksum [2022-03-04T12:10:40.061Z] 33b1e0a273af: Download complete [2022-03-04T12:10:40.061Z] 5d3b04190fa2: Verifying Checksum [2022-03-04T12:10:40.061Z] 5d3b04190fa2: Download complete [2022-03-04T12:10:40.061Z] 5eb5b503b376: Verifying Checksum [2022-03-04T12:10:40.061Z] 5eb5b503b376: Download complete [2022-03-04T12:10:40.637Z] 2f39f015ded8: Verifying Checksum [2022-03-04T12:10:40.637Z] 2f39f015ded8: Download complete [2022-03-04T12:10:41.587Z] 5eb5b503b376: Pull complete [2022-03-04T12:10:41.587Z] 5c69ac0246d0: Pull complete [2022-03-04T12:10:42.177Z] ec43610c2a17: Pull complete [2022-03-04T12:10:42.177Z] 3a2ae6a8a46f: Pull complete [2022-03-04T12:10:42.444Z] 33b1e0a273af: Pull complete [2022-03-04T12:10:42.703Z] 5d3b04190fa2: Pull complete [2022-03-04T12:10:48.020Z] 2f39f015ded8: Pull complete [2022-03-04T12:10:48.020Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-04T12:10:48.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:10:48.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-04T12:10:48.119Z] prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container [2022-03-04T12:10:48.153Z] $ 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-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@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-03-04T12:10:50.633Z] $ docker top 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:10:51.142Z] ---> job-cost.sh [2022-03-04T12:10:51.142Z] lf-activate-venv: SKIPPING [2022-03-04T12:10:51.142Z] INFO: No Stack... [2022-03-04T12:10:51.402Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T12:10:51.974Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T12:10:52.291Z] + cut -d, -f6 [2022-03-04T12:10:52.291Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv [Pipeline] lock [2022-03-04T12:10:52.331Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [2022-03-04T12:10:52.336Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] did not exist. Created. [2022-03-04T12:10:52.336Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T12:10:52.721Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-04T12:10:52.775Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T12:10:52.806Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T12:10:52.889Z] $ docker stop --time=1 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d [2022-03-04T12:10:54.033Z] $ docker rm -f 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-04T12:10:54.405Z] Failed in branch amd64 [2022-03-04T12:10:59.103Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6383 in /w/workspace/edgexfoundry_device-gpio_PR-16 [Pipeline] { [Pipeline] ws [2022-03-04T12:10:59.146Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-03-04T12:10:59.353Z] The recommended git tool is: git [2022-03-04T12:11:03.897Z] using credential edgex-jenkins-ssh [2022-03-04T12:11:03.914Z] Cloning the remote Git repository [2022-03-04T12:11:03.986Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:11:04.058Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-03-04T12:11:04.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:11:04.162Z] > git --version # timeout=10 [2022-03-04T12:11:04.184Z] > git --version # 'git version 2.17.1' [2022-03-04T12:11:04.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:11:04.292Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T12:11:06.209Z] Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [2022-03-04T12:11:06.395Z] Merge succeeded, producing 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [2022-03-04T12:11:06.396Z] Checking out Revision 91af4a9beb4ebfb27678700c4f2feff0ae42d623 (PR-16) [2022-03-04T12:11:05.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T12:11:05.533Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T12:11:05.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T12:11:05.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:11:05.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:11:05.601Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/16/head:refs/remotes/origin/PR-16 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-04T12:11:06.239Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T12:11:06.257Z] > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 [2022-03-04T12:11:06.334Z] > git remote # timeout=10 [2022-03-04T12:11:06.349Z] > git config --get remote.origin.url # timeout=10 [2022-03-04T12:11:06.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:11:06.371Z] > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 [2022-03-04T12:11:06.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-04T12:11:06.415Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T12:11:06.429Z] > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 [2022-03-04T12:11:10.545Z] Commit message: "fix(gpio):fix logging function and detail optimization" [2022-03-04T12:11:10.614Z] > git --version # timeout=10 [2022-03-04T12:11:10.624Z] > git --version # 'git version 2.17.1' [2022-03-04T12:11:10.646Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T12:11:11.734Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-04T12:11:11.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-04T12:11:11.734Z] Dload Upload Total Spent Left Speed [2022-03-04T12:11:11.734Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh [2022-03-04T12:11:12.253Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-04T12:11:12.676Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-04T12:11:12.676Z] + sudo tee /etc/docker/daemon.new [2022-03-04T12:11:12.676Z] { [2022-03-04T12:11:12.676Z] "registry-mirrors": [ [2022-03-04T12:11:12.676Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-04T12:11:12.676Z] ], [2022-03-04T12:11:12.676Z] "bip": "10.250.0.254/24", [2022-03-04T12:11:12.676Z] "hosts": [ [2022-03-04T12:11:12.676Z] "tcp://0.0.0.0:5555", [2022-03-04T12:11:12.676Z] "unix:///var/run/docker.sock" [2022-03-04T12:11:12.676Z] ], [2022-03-04T12:11:12.676Z] "mtu": 1458, [2022-03-04T12:11:12.676Z] "selinux-enabled": true, [2022-03-04T12:11:12.676Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-04T12:11:12.676Z] } [Pipeline] sh [2022-03-04T12:11:13.029Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-04T12:11:13.382Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:11:31.773Z] provisioning config files... [2022-03-04T12:11:31.798Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5450321649348503977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:11:32.192Z] ---> docker-login.sh [2022-03-04T12:11:32.192Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:11:32.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:11:33.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:11:33.064Z] Configure a credential helper to remove this warning. See [2022-03-04T12:11:33.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:11:33.064Z] [2022-03-04T12:11:33.064Z] Login Succeeded [2022-03-04T12:11:33.064Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:11:33.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:11:33.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:11:33.337Z] Configure a credential helper to remove this warning. See [2022-03-04T12:11:33.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:11:33.337Z] [2022-03-04T12:11:33.337Z] Login Succeeded [2022-03-04T12:11:33.337Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:11:33.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:11:33.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:11:33.895Z] Configure a credential helper to remove this warning. See [2022-03-04T12:11:33.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:11:33.895Z] [2022-03-04T12:11:33.895Z] Login Succeeded [2022-03-04T12:11:33.895Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:11:34.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:11:34.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:11:34.169Z] Configure a credential helper to remove this warning. See [2022-03-04T12:11:34.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:11:34.169Z] [2022-03-04T12:11:34.169Z] Login Succeeded [2022-03-04T12:11:34.169Z] docker.io [2022-03-04T12:11:34.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:11:35.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:11:35.114Z] Configure a credential helper to remove this warning. See [2022-03-04T12:11:35.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:11:35.114Z] [2022-03-04T12:11:35.114Z] Login Succeeded [2022-03-04T12:11:35.114Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:11:35.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T12:11:35.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T12:11:35.565Z] ========================================================= [2022-03-04T12:11:35.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-04T12:11:35.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:11:36.004Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-04T12:11:36.277Z] Sending build context to Docker daemon 5.638MB [2022-03-04T12:11:36.277Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T12:11:36.277Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T12:11:36.553Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-04T12:11:36.553Z] 9b3977197b4f: Pulling fs layer [2022-03-04T12:11:36.553Z] 1a89e8eeedd5: Pulling fs layer [2022-03-04T12:11:36.553Z] 94645a83ff95: Pulling fs layer [2022-03-04T12:11:36.553Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-04T12:11:36.553Z] 0c92f367c5e7: Pulling fs layer [2022-03-04T12:11:36.553Z] f7c0051592d6: Pulling fs layer [2022-03-04T12:11:36.553Z] a227ed2f7395: Pulling fs layer [2022-03-04T12:11:36.553Z] 7b1c46037f91: Pulling fs layer [2022-03-04T12:11:36.553Z] 3f3a8bcf1eab: Waiting [2022-03-04T12:11:36.553Z] 0c92f367c5e7: Waiting [2022-03-04T12:11:36.553Z] f7c0051592d6: Waiting [2022-03-04T12:11:36.553Z] a227ed2f7395: Waiting [2022-03-04T12:11:36.553Z] 7b1c46037f91: Waiting [2022-03-04T12:11:36.553Z] 94645a83ff95: Verifying Checksum [2022-03-04T12:11:36.553Z] 94645a83ff95: Download complete [2022-03-04T12:11:36.553Z] 1a89e8eeedd5: Verifying Checksum [2022-03-04T12:11:36.553Z] 1a89e8eeedd5: Download complete [2022-03-04T12:11:36.553Z] 0c92f367c5e7: Verifying Checksum [2022-03-04T12:11:36.553Z] 0c92f367c5e7: Download complete [2022-03-04T12:11:36.553Z] f7c0051592d6: Verifying Checksum [2022-03-04T12:11:36.553Z] f7c0051592d6: Download complete [2022-03-04T12:11:36.553Z] 9b3977197b4f: Download complete [2022-03-04T12:11:36.553Z] a227ed2f7395: Verifying Checksum [2022-03-04T12:11:36.553Z] a227ed2f7395: Download complete [2022-03-04T12:11:37.539Z] 9b3977197b4f: Pull complete [2022-03-04T12:11:37.816Z] 1a89e8eeedd5: Pull complete [2022-03-04T12:11:38.424Z] 94645a83ff95: Pull complete [2022-03-04T12:11:38.424Z] 7b1c46037f91: Verifying Checksum [2022-03-04T12:11:38.424Z] 7b1c46037f91: Download complete [2022-03-04T12:11:39.022Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-04T12:11:39.022Z] 3f3a8bcf1eab: Download complete [2022-03-04T12:11:51.416Z] 3f3a8bcf1eab: Pull complete [2022-03-04T12:11:51.416Z] 0c92f367c5e7: Pull complete [2022-03-04T12:11:51.416Z] f7c0051592d6: Pull complete [2022-03-04T12:11:51.416Z] a227ed2f7395: Pull complete [2022-03-04T12:11:56.831Z] 7b1c46037f91: Pull complete [2022-03-04T12:11:56.831Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-04T12:11:56.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-04T12:11:56.831Z] ---> f79e39bc4007 [2022-03-04T12:11:56.831Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T12:11:58.813Z] ---> Running in c99d347ec9d6 [2022-03-04T12:11:58.813Z] Removing intermediate container c99d347ec9d6 [2022-03-04T12:11:58.813Z] ---> 258e5a15d16d [2022-03-04T12:11:58.813Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T12:11:59.086Z] ---> Running in a1dd88eb97cc [2022-03-04T12:11:59.361Z] Removing intermediate container a1dd88eb97cc [2022-03-04T12:11:59.361Z] ---> b4a7ee04143f [2022-03-04T12:11:59.361Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T12:11:59.361Z] ---> Running in d9daddf8d824 [2022-03-04T12:11:59.959Z] Removing intermediate container d9daddf8d824 [2022-03-04T12:11:59.959Z] ---> 5a36c111e5bd [2022-03-04T12:11:59.959Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T12:11:59.959Z] ---> Running in 13a2b4f19704 [2022-03-04T12:12:01.944Z] Removing intermediate container 13a2b4f19704 [2022-03-04T12:12:01.944Z] ---> 218eaa0eea47 [2022-03-04T12:12:01.944Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T12:12:01.944Z] ---> Running in 816a8e48c003 [2022-03-04T12:12:02.921Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-04T12:12:03.898Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-04T12:12:04.491Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T12:12:04.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T12:12:04.763Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T12:12:04.763Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T12:12:05.035Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T12:12:05.035Z] OK: 224 MiB in 56 packages [2022-03-04T12:12:06.012Z] Removing intermediate container 816a8e48c003 [2022-03-04T12:12:06.012Z] ---> c8108cb73391 [2022-03-04T12:12:06.012Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T12:12:06.606Z] ---> 33c5a4d38736 [2022-03-04T12:12:06.606Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T12:12:06.606Z] ---> Running in 7b747af1c2e0 [2022-03-04T12:13:28.416Z] Removing intermediate container 7b747af1c2e0 [2022-03-04T12:13:28.416Z] ---> cf858ac34b8b [2022-03-04T12:13:28.416Z] Step 10/11 : COPY . . [2022-03-04T12:13:28.416Z] ---> db3b688fc28a [2022-03-04T12:13:28.416Z] Step 11/11 : RUN ${MAKE} [2022-03-04T12:13:28.416Z] ---> Running in b72fbc354300 [2022-03-04T12:13:28.416Z] Removing intermediate container b72fbc354300 [2022-03-04T12:13:28.416Z] ---> 3fc8a1448e5f [2022-03-04T12:13:28.416Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T12:13:28.416Z] Successfully built 3fc8a1448e5f [2022-03-04T12:13:28.416Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:13:28.782Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T12:13:28.782Z] . [Pipeline] withDockerContainer [2022-03-04T12:13:29.027Z] prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2022-03-04T12:13:29.114Z] $ 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-03-04T12:13:30.429Z] $ docker top 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:13:31.385Z] + go version [2022-03-04T12:13:31.385Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-04T12:13:31.420Z] $ docker stop --time=1 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 [2022-03-04T12:13:33.053Z] $ docker rm -f 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:13:33.916Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T12:13:33.916Z] . [Pipeline] withDockerContainer [2022-03-04T12:13:34.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2022-03-04T12:13:34.226Z] $ 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-03-04T12:13:35.515Z] $ docker top e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T12:13:36.499Z] + make test [2022-03-04T12:13:36.499Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T12:13:37.476Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T12:13:40.105Z] # github.com/pebbe/zmq4 [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket [2022-03-04T12:13:40.105Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors [2022-03-04T12:14:27.112Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2022-03-04T12:14:27.161Z] $ docker stop --time=1 e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 [2022-03-04T12:14:28.907Z] $ docker rm -f e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:14:30.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:14:30.206Z] [2022-03-04T12:14:30.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:14:30.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:14:30.855Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-04T12:14:30.855Z] 8998bd30e6a1: Pulling fs layer [2022-03-04T12:14:30.855Z] 04944245beec: Pulling fs layer [2022-03-04T12:14:30.855Z] 699f458cf7ca: Pulling fs layer [2022-03-04T12:14:30.855Z] 765212b225bb: Pulling fs layer [2022-03-04T12:14:30.855Z] f23df028b6ca: Pulling fs layer [2022-03-04T12:14:30.855Z] d65c8cfc05b1: Pulling fs layer [2022-03-04T12:14:30.855Z] 2437ff75d9bd: Pulling fs layer [2022-03-04T12:14:30.855Z] 765212b225bb: Waiting [2022-03-04T12:14:30.855Z] f23df028b6ca: Waiting [2022-03-04T12:14:30.855Z] d65c8cfc05b1: Waiting [2022-03-04T12:14:30.855Z] 2437ff75d9bd: Waiting [2022-03-04T12:14:30.855Z] 04944245beec: Verifying Checksum [2022-03-04T12:14:30.855Z] 765212b225bb: Download complete [2022-03-04T12:14:30.855Z] f23df028b6ca: Download complete [2022-03-04T12:14:30.855Z] d65c8cfc05b1: Verifying Checksum [2022-03-04T12:14:30.855Z] d65c8cfc05b1: Download complete [2022-03-04T12:14:31.132Z] 699f458cf7ca: Verifying Checksum [2022-03-04T12:14:31.132Z] 699f458cf7ca: Download complete [2022-03-04T12:14:31.407Z] 8998bd30e6a1: Download complete [2022-03-04T12:14:33.381Z] 2437ff75d9bd: Verifying Checksum [2022-03-04T12:14:33.381Z] 2437ff75d9bd: Download complete [2022-03-04T12:14:35.380Z] 8998bd30e6a1: Pull complete [2022-03-04T12:14:35.975Z] 04944245beec: Pull complete [2022-03-04T12:14:37.407Z] 699f458cf7ca: Pull complete [2022-03-04T12:14:37.680Z] 765212b225bb: Pull complete [2022-03-04T12:14:38.672Z] f23df028b6ca: Pull complete [2022-03-04T12:14:38.672Z] d65c8cfc05b1: Pull complete [2022-03-04T12:14:53.771Z] 2437ff75d9bd: Pull complete [2022-03-04T12:14:53.771Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-04T12:14:53.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:14:53.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-04T12:14:53.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2022-03-04T12:14:54.081Z] $ 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-03-04T12:14:56.582Z] $ docker top b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:14:57.597Z] ---> job-cost.sh [2022-03-04T12:14:57.598Z] lf-activate-venv: SKIPPING [2022-03-04T12:14:57.598Z] INFO: No Stack... [2022-03-04T12:14:58.199Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-04T12:14:59.208Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T12:14:59.886Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-03-04T12:14:59.886Z] + cut -d, -f6 [Pipeline] lock [2022-03-04T12:14:59.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [2022-03-04T12:14:59.974Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] did not exist. Created. [2022-03-04T12:14:59.974Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T12:15:00.720Z] /w/workspace/device-gpio/1@tmp/durable-f88de5cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-04T12:15:01.408Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-04T12:15:01.443Z] Warning: overwriting stash ‘stack-cost’ [2022-03-04T12:15:01.857Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T12:15:01.873Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T12:15:01.943Z] $ docker stop --time=1 b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f [2022-03-04T12:15:03.425Z] $ docker rm -f b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-04T12:15:04.168Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-04T12:15:06.162Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' [2022-03-04T12:15:06.162Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:15:06.162Z] total 8 [2022-03-04T12:15:06.162Z] drwxr-xr-x. 3 root root 34 Mar 4 12:10 . [2022-03-04T12:15:06.162Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:10 .. [2022-03-04T12:15:06.162Z] drwxr-xr-x. 2 root root 6 Mar 4 12:10 cost [2022-03-04T12:15:06.162Z] -rw-r--r--. 1 root root 81 Mar 4 12:10 cost.csv [2022-03-04T12:15:06.162Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:15:06.162Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:15:06.162Z] total 8 [2022-03-04T12:15:06.162Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 12:10 . [2022-03-04T12:15:06.162Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:10 .. [2022-03-04T12:15:06.162Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 12:10 cost [2022-03-04T12:15:06.162Z] -rw-r--r--. 1 jenkins jenkins 81 Mar 4 12:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:06.507Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:07.100Z] ---> package-listing.sh [2022-03-04T12:15:07.100Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-04T12:15:07.100Z] ++ facter osfamily [2022-03-04T12:15:07.362Z] + OS_FAMILY=redhat [2022-03-04T12:15:07.362Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T12:15:07.362Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-04T12:15:07.362Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-04T12:15:07.362Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-04T12:15:07.362Z] + PACKAGES=/tmp/packages_start.txt [2022-03-04T12:15:07.362Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T12:15:07.362Z] + PACKAGES=/tmp/packages_end.txt [2022-03-04T12:15:07.362Z] + case "${OS_FAMILY}" in [2022-03-04T12:15:07.362Z] + rpm -qa [2022-03-04T12:15:07.362Z] + sort [2022-03-04T12:15:07.934Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-04T12:15:07.934Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-04T12:15:07.934Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-04T12:15:07.934Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T12:15:07.934Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [2022-03-04T12:15:07.934Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [Pipeline] echo [2022-03-04T12:15:07.969Z] 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_PR-16/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-04T12:15:08.266Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:15:08.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:15:08.858Z] . [Pipeline] withDockerContainer [2022-03-04T12:15:08.953Z] prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container [2022-03-04T12:15:08.992Z] $ 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_PR-16/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-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@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-03-04T12:15:09.189Z] $ docker top 219e9c22f8c5b3ec89d3fe94cf4597f46b2904355227f68d7aa15935bfd41fb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:15:09.602Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-04T12:15:09.921Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-04T12:15:10.253Z] + ls /var/log/sa-host [2022-03-04T12:15:10.253Z] + sadf -c /var/log/sa-host/sa04 [2022-03-04T12:15:10.253Z] file_magic: OK [2022-03-04T12:15:10.253Z] HZ: Using current value: 100 [2022-03-04T12:15:10.253Z] file_header: OK [2022-03-04T12:15:10.253Z] 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 [2022-03-04T12:15:10.253Z] Statistics: [2022-03-04T12:15:10.253Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T12:15:10.253Z] File successfully converted to sysstat format version 12.5.2 [2022-03-04T12:15:10.253Z] + sadf -c /var/log/sa-host/sa17 [2022-03-04T12:15:10.253Z] file_magic: OK [2022-03-04T12:15:10.253Z] HZ: Using current value: 100 [2022-03-04T12:15:10.253Z] file_header: OK [2022-03-04T12:15:10.253Z] 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 [2022-03-04T12:15:10.253Z] Statistics: [2022-03-04T12:15:10.253Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T12:15:10.253Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:15:10.532Z] provisioning config files... [2022-03-04T12:15:10.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config8226889385510914166tmp [Pipeline] { [Pipeline] echo [2022-03-04T12:15:10.592Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:10.919Z] ---> create-netrc.sh [Pipeline] } [2022-03-04T12:15:10.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:11.376Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-04T12:15:11.408Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:11.727Z] ---> sudo-logs.sh [2022-03-04T12:15:11.727Z] Archiving 'sudo' log.. [2022-03-04T12:15:11.727Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6382.novalocal: Name or service not known [2022-03-04T12:15:11.727Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6382.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-04T12:15:11.815Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:12.135Z] ---> job-cost.sh [2022-03-04T12:15:12.135Z] lf-activate-venv: SKIPPING [2022-03-04T12:15:12.135Z] DEBUG: total: 0.05999999865889549 [2022-03-04T12:15:12.135Z] INFO: Retrieving Stack Cost... [2022-03-04T12:15:12.394Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T12:15:13.101Z] INFO: Archiving Costs [Pipeline] echo [2022-03-04T12:15:13.210Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:15:13.624Z] ---> logs-deploy.sh [2022-03-04T12:15:13.624Z] lf-activate-venv: SKIPPING [2022-03-04T12:15:13.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/1 [2022-03-04T12:15:13.624Z] INFO: archiving workspace using pattern(s): [2022-03-04T12:15:14.589Z] Archives upload complete. [2022-03-04T12:15:14.589Z] INFO: archiving logs to Nexus