Pull request #16 updated 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 ba45f1d04b4aab77f6e253b1af31aa0601525056+f39b6cd70fb93c328084340b8c900c025342af5c (b850a67899bfedf4774c938d68d7ba0243c7d7a3) 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-ssh9834333982804542306.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-ssh10681935724516736648.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/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/PR-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5560723205524390513.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 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-ssh3779542391063332859.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/PR-16/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/PR-16/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh34814574626914752.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.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 ‘prd-centos7-docker-4c-2g-6382’ is offline Running on prd-centos7-docker-4c-2g-6384 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-ssh8674142073966185709.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 ba45f1d04b4aab77f6e253b1af31aa0601525056 Merge succeeded, producing ba45f1d04b4aab77f6e253b1af31aa0601525056 Checking out Revision ba45f1d04b4aab77f6e253b1af31aa0601525056 (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-ssh3335162153127266251.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 ba45f1d04b4aab77f6e253b1af31aa0601525056 # 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-ssh9101232888100016503.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git rev-list --no-walk 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-04T12:16:44.698Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-04T12:16:44.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-04T12:16:44.824Z] ========================================================= [2022-03-04T12:16:44.824Z] EdgeX Global Pipelines Version Info [2022-03-04T12:16:44.824Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:16:45.965Z] ------------------- [2022-03-04T12:16:45.965Z] stable info: [2022-03-04T12:16:45.965Z] ------------------- [2022-03-04T12:16:45.965Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-04T12:16:45.965Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-04T12:16:45.965Z] Message: update stable to v1.0.220 [2022-03-04T12:16:46.540Z] ------------------- [2022-03-04T12:16:46.540Z] experimental info: [2022-03-04T12:16:46.540Z] ------------------- [2022-03-04T12:16:46.540Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-04T12:16:46.540Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-04T12:16:46.540Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-04T12:16:46.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-04T12:16:46.683Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-04T12:16:46.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-04T12:16:46.710Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-04T12:16:46.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-04T12:16:46.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-04T12:16:46.754Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-04T12:16:46.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-04T12:16:46.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-04T12:16:46.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-04T12:16:46.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-04T12:16:46.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-04T12:16:46.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-04T12:16:46.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-04T12:16:46.876Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T12:16:46.894Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T12:16:46.908Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T12:16:46.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T12:16:46.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-04T12:16:46.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-04T12:16:46.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-04T12:16:46.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-04T12:16:46.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-04T12:16:47.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-04T12:16:47.024Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-04T12:16:47.039Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-04T12:16:47.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo [2022-03-04T12:16:47.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo [2022-03-04T12:16:47.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo [2022-03-04T12:16:47.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo [2022-03-04T12:16:47.121Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba45f1d [Pipeline] echo [2022-03-04T12:16:47.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:16:47.186Z] provisioning config files... [2022-03-04T12:16:47.199Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config2363256681733186004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:16:47.513Z] ---> docker-login.sh [2022-03-04T12:16:47.513Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:16:47.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:47.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:47.784Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:47.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:47.784Z] [2022-03-04T12:16:47.784Z] Login Succeeded [2022-03-04T12:16:47.784Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:16:47.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:47.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:47.784Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:47.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:47.784Z] [2022-03-04T12:16:47.784Z] Login Succeeded [2022-03-04T12:16:47.784Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:16:48.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:48.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:48.044Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:48.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:48.044Z] [2022-03-04T12:16:48.044Z] Login Succeeded [2022-03-04T12:16:48.044Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:16:48.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:48.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:48.044Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:48.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:48.044Z] [2022-03-04T12:16:48.044Z] Login Succeeded [2022-03-04T12:16:48.044Z] docker.io [2022-03-04T12:16:48.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:48.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:48.574Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:48.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:48.574Z] [2022-03-04T12:16:48.574Z] Login Succeeded [2022-03-04T12:16:48.574Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:16:48.584Z] 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:16:48.971Z] + git rev-list -1 --merges ba45f1d04b4aab77f6e253b1af31aa0601525056~1..ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo [2022-03-04T12:16:49.002Z] -----------> git rev-list -1 --merges ba45f1d04b4aab77f6e253b1af31aa0601525056~1..ba45f1d04b4aab77f6e253b1af31aa0601525056 ba45f1d04b4aab77f6e253b1af31aa0601525056 [false] [Pipeline] sh [2022-03-04T12:16:49.293Z] + git log --format=format:%s -1 ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo [2022-03-04T12:16:49.316Z] ========================================================= [2022-03-04T12:16:49.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-04T12:16:49.316Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T12:16:49.652Z] + git log --format=format:%s -1 ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo [2022-03-04T12:16:49.664Z] [semverPrep] GIT_COMMIT: ba45f1d04b4aab77f6e253b1af31aa0601525056, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo [2022-03-04T12:16:49.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-04T12:16:50.061Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-04T12:16:50.061Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-04T12:16:50.061Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-04T12:16:50.061Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-04T12:16:50.061Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-04T12:16:50.061Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-04T12:16:50.061Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:16:50.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:16:50.412Z] [2022-03-04T12:16:50.412Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:16:50.731Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:16:50.731Z] latest: Pulling from edgex-devops/git-semver [2022-03-04T12:16:50.731Z] a0d0a0d46f8b: Pulling fs layer [2022-03-04T12:16:50.731Z] 3e5f54012d9b: Pulling fs layer [2022-03-04T12:16:50.731Z] 4c7163046ea9: Pulling fs layer [2022-03-04T12:16:50.731Z] 0c2d73faf560: Pulling fs layer [2022-03-04T12:16:50.731Z] 0c2d73faf560: Waiting [2022-03-04T12:16:50.731Z] 3e5f54012d9b: Verifying Checksum [2022-03-04T12:16:50.731Z] 3e5f54012d9b: Download complete [2022-03-04T12:16:50.731Z] a0d0a0d46f8b: Verifying Checksum [2022-03-04T12:16:50.731Z] a0d0a0d46f8b: Download complete [2022-03-04T12:16:50.731Z] 4c7163046ea9: Verifying Checksum [2022-03-04T12:16:50.731Z] 4c7163046ea9: Download complete [2022-03-04T12:16:50.731Z] 0c2d73faf560: Verifying Checksum [2022-03-04T12:16:50.731Z] 0c2d73faf560: Download complete [2022-03-04T12:16:51.000Z] a0d0a0d46f8b: Pull complete [2022-03-04T12:16:51.000Z] 3e5f54012d9b: Pull complete [2022-03-04T12:16:51.270Z] 4c7163046ea9: Pull complete [2022-03-04T12:16:51.533Z] 0c2d73faf560: Pull complete [2022-03-04T12:16:51.533Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-04T12:16:51.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T12:16:51.533Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-04T12:16:51.604Z] prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container [2022-03-04T12:16:51.649Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-04T12:16:52.346Z] $ docker top 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-04T12:16:52.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T12:16:52.463Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T12:16:52.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T12:16:52.569Z] $ docker exec 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent [2022-03-04T12:16:52.671Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBHbjO/agent.15 [2022-03-04T12:16:52.671Z] SSH_AGENT_PID=21 [2022-03-04T12:16:52.679Z] Running ssh-add (command line suppressed) [2022-03-04T12:16:52.764Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7156234178348581214.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7156234178348581214.key) [2022-03-04T12:16:52.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T12:16:53.081Z] + git tag --points-at HEAD [Pipeline] } [2022-03-04T12:16:53.099Z] $ docker exec --env ******** --env ******** 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent -k [2022-03-04T12:16:53.184Z] unset SSH_AUTH_SOCK; [2022-03-04T12:16:53.185Z] unset SSH_AGENT_PID; [2022-03-04T12:16:53.185Z] echo Agent pid 21 killed; [2022-03-04T12:16:53.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-04T12:16:53.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T12:16:53.220Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T12:16:53.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T12:16:53.339Z] $ docker exec 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent [2022-03-04T12:16:53.436Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDBjcID/agent.53 [2022-03-04T12:16:53.436Z] SSH_AGENT_PID=59 [2022-03-04T12:16:53.441Z] Running ssh-add (command line suppressed) [2022-03-04T12:16:53.530Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6300476701555730665.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6300476701555730665.key) [2022-03-04T12:16:53.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T12:16:53.840Z] + git semver init [2022-03-04T12:16:53.840Z] # -> Open(): unable to determine branch for HEAD [2022-03-04T12:16:53.840Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git [2022-03-04T12:16:53.840Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T12:16:53.840Z] # $SEMVER_REMOTE_NAME = origin [2022-03-04T12:16:53.840Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-04T12:16:53.840Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-04T12:16:53.840Z] # $SEMVER_BRANCH = PR-16 [2022-03-04T12:16:53.840Z] # $SEMVER_TEMP = /tmp/semver-910799211 [2022-03-04T12:16:53.840Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-04T12:16:54.785Z] # '/tmp/semver-910799211' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' [2022-03-04T12:16:54.785Z] # -> Force: false [2022-03-04T12:16:54.785Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } [2022-03-04T12:16:54.795Z] $ docker exec --env ******** --env ******** 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent -k [2022-03-04T12:16:54.880Z] unset SSH_AUTH_SOCK; [2022-03-04T12:16:54.880Z] unset SSH_AGENT_PID; [2022-03-04T12:16:54.880Z] echo Agent pid 59 killed; [2022-03-04T12:16:54.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-04T12:16:55.205Z] + git semver [Pipeline] } [2022-03-04T12:16:55.219Z] $ docker stop --time=1 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc [2022-03-04T12:16:56.461Z] $ docker rm -f 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-04T12:16:56.804Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-04T12:16:57.043Z] Stashed 1 file(s) [Pipeline] echo [2022-03-04T12:16:57.047Z] [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:16:57.236Z] provisioning config files... [2022-03-04T12:16:57.247Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7663875763700396403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:16:57.557Z] ---> docker-login.sh [2022-03-04T12:16:57.557Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:16:57.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:57.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:57.557Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:57.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:57.557Z] [2022-03-04T12:16:57.557Z] Login Succeeded [2022-03-04T12:16:57.557Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:16:57.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:57.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:57.557Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:57.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:57.557Z] [2022-03-04T12:16:57.557Z] Login Succeeded [2022-03-04T12:16:57.557Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:16:57.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:57.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:57.821Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:57.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:57.821Z] [2022-03-04T12:16:57.821Z] Login Succeeded [2022-03-04T12:16:57.821Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:16:57.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:58.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:58.083Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:58.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:58.083Z] [2022-03-04T12:16:58.083Z] Login Succeeded [2022-03-04T12:16:58.083Z] docker.io [2022-03-04T12:16:58.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:16:58.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:16:58.345Z] Configure a credential helper to remove this warning. See [2022-03-04T12:16:58.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:16:58.345Z] [2022-03-04T12:16:58.345Z] Login Succeeded [2022-03-04T12:16:58.345Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:16:58.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T12:16:58.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T12:16:58.438Z] ========================================================= [2022-03-04T12:16:58.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-04T12:16:58.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:16:58.759Z] + 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:16:58.759Z] Sending build context to Docker daemon 11.06MB [2022-03-04T12:16:58.759Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T12:16:58.759Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T12:16:59.020Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-04T12:16:59.020Z] 59bf1c3509f3: Pulling fs layer [2022-03-04T12:16:59.020Z] 666ba61612fd: Pulling fs layer [2022-03-04T12:16:59.020Z] 8ed8ca486205: Pulling fs layer [2022-03-04T12:16:59.020Z] 4fe6c5a15a65: Pulling fs layer [2022-03-04T12:16:59.020Z] 22a0e8bec74d: Pulling fs layer [2022-03-04T12:16:59.020Z] 640e595b4fbd: Pulling fs layer [2022-03-04T12:16:59.020Z] 763cafe07f6e: Pulling fs layer [2022-03-04T12:16:59.020Z] 0c0b528cf693: Pulling fs layer [2022-03-04T12:16:59.020Z] 10935f4eaf8b: Pulling fs layer [2022-03-04T12:16:59.020Z] 4fe6c5a15a65: Waiting [2022-03-04T12:16:59.020Z] 22a0e8bec74d: Waiting [2022-03-04T12:16:59.020Z] 640e595b4fbd: Waiting [2022-03-04T12:16:59.021Z] 763cafe07f6e: Waiting [2022-03-04T12:16:59.021Z] 0c0b528cf693: Waiting [2022-03-04T12:16:59.021Z] 10935f4eaf8b: Waiting [2022-03-04T12:16:59.021Z] 8ed8ca486205: Verifying Checksum [2022-03-04T12:16:59.021Z] 8ed8ca486205: Download complete [2022-03-04T12:16:59.021Z] 666ba61612fd: Verifying Checksum [2022-03-04T12:16:59.021Z] 666ba61612fd: Download complete [2022-03-04T12:16:59.021Z] 22a0e8bec74d: Verifying Checksum [2022-03-04T12:16:59.021Z] 22a0e8bec74d: Download complete [2022-03-04T12:16:59.021Z] 640e595b4fbd: Verifying Checksum [2022-03-04T12:16:59.021Z] 640e595b4fbd: Download complete [2022-03-04T12:16:59.021Z] 763cafe07f6e: Verifying Checksum [2022-03-04T12:16:59.021Z] 763cafe07f6e: Download complete [2022-03-04T12:16:59.021Z] 59bf1c3509f3: Verifying Checksum [2022-03-04T12:16:59.021Z] 59bf1c3509f3: Download complete [2022-03-04T12:16:59.021Z] 0c0b528cf693: Verifying Checksum [2022-03-04T12:16:59.021Z] 0c0b528cf693: Download complete [2022-03-04T12:16:59.283Z] 59bf1c3509f3: Pull complete [2022-03-04T12:16:59.549Z] 4fe6c5a15a65: Verifying Checksum [2022-03-04T12:16:59.549Z] 4fe6c5a15a65: Download complete [2022-03-04T12:16:59.549Z] 10935f4eaf8b: Verifying Checksum [2022-03-04T12:16:59.549Z] 10935f4eaf8b: Download complete [2022-03-04T12:16:59.822Z] 666ba61612fd: Pull complete [2022-03-04T12:16:59.822Z] 8ed8ca486205: Pull complete [2022-03-04T12:17:04.084Z] 4fe6c5a15a65: Pull complete [2022-03-04T12:17:04.084Z] 22a0e8bec74d: Pull complete [2022-03-04T12:17:04.084Z] 640e595b4fbd: Pull complete [2022-03-04T12:17:04.084Z] 763cafe07f6e: Pull complete [2022-03-04T12:17:04.084Z] 0c0b528cf693: Pull complete [2022-03-04T12:17:06.658Z] 10935f4eaf8b: Pull complete [2022-03-04T12:17:06.658Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-04T12:17:06.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-04T12:17:06.658Z] ---> 99d49a6021b9 [2022-03-04T12:17:06.658Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T12:17:08.578Z] ---> Running in ed46680c4717 [2022-03-04T12:17:08.841Z] Removing intermediate container ed46680c4717 [2022-03-04T12:17:08.841Z] ---> 3c42c3f630ac [2022-03-04T12:17:08.841Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T12:17:08.841Z] ---> Running in 1933ac5397f1 [2022-03-04T12:17:08.841Z] Removing intermediate container 1933ac5397f1 [2022-03-04T12:17:08.841Z] ---> e2aac9663209 [2022-03-04T12:17:08.841Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T12:17:08.841Z] ---> Running in c9a140cba021 [2022-03-04T12:17:09.102Z] Removing intermediate container c9a140cba021 [2022-03-04T12:17:09.102Z] ---> 7e4db3113840 [2022-03-04T12:17:09.102Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T12:17:09.102Z] ---> Running in 78b868e3b3d8 [2022-03-04T12:17:09.677Z] Removing intermediate container 78b868e3b3d8 [2022-03-04T12:17:09.677Z] ---> e90aeead8194 [2022-03-04T12:17:09.677Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T12:17:09.677Z] ---> Running in 5f7fe0f8b824 [2022-03-04T12:17:09.677Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-04T12:17:10.624Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-04T12:17:10.885Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T12:17:11.147Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T12:17:11.147Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T12:17:11.413Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T12:17:11.413Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T12:17:11.413Z] OK: 224 MiB in 56 packages [2022-03-04T12:17:11.683Z] Removing intermediate container 5f7fe0f8b824 [2022-03-04T12:17:11.683Z] ---> 96f1a619fb4b [2022-03-04T12:17:11.683Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T12:17:11.949Z] ---> c384903a6252 [2022-03-04T12:17:11.949Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T12:17:11.949Z] ---> Running in 2a2196af0218 [2022-03-04T12:17:12.171Z] Still waiting to schedule task [2022-03-04T12:17:12.172Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6383’ is offline [2022-03-04T12:17:44.116Z] Removing intermediate container 2a2196af0218 [2022-03-04T12:17:44.116Z] ---> 248818cfe3d7 [2022-03-04T12:17:44.116Z] Step 10/11 : COPY . . [2022-03-04T12:17:44.116Z] ---> 197995e1d050 [2022-03-04T12:17:44.116Z] Step 11/11 : RUN ${MAKE} [2022-03-04T12:17:44.116Z] ---> Running in 37fb0bd53788 [2022-03-04T12:17:44.116Z] Removing intermediate container 37fb0bd53788 [2022-03-04T12:17:44.116Z] ---> 54d66b778088 [2022-03-04T12:17:44.116Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T12:17:44.116Z] Successfully built 54d66b778088 [2022-03-04T12:17:44.116Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:17:44.420Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T12:17:44.421Z] . [Pipeline] withDockerContainer [2022-03-04T12:17:44.487Z] prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container [2022-03-04T12:17:44.530Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-04T12:17:44.852Z] $ docker top 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:17:45.216Z] + go version [2022-03-04T12:17:45.216Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-04T12:17:45.228Z] $ docker stop --time=1 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 [2022-03-04T12:17:46.419Z] $ docker rm -f 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:17:46.841Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T12:17:46.841Z] . [Pipeline] withDockerContainer [2022-03-04T12:17:46.909Z] prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container [2022-03-04T12:17:46.942Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-04T12:17:47.252Z] $ docker top 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T12:17:47.612Z] + make test [2022-03-04T12:17:47.612Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T12:17:47.879Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T12:17:54.523Z] # github.com/pebbe/zmq4 [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket [2022-03-04T12:17:54.523Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors [2022-03-04T12:18:02.735Z] make: *** [Makefile:26: test] Error 2 [Pipeline] } [2022-03-04T12:18:02.751Z] $ docker stop --time=1 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde [2022-03-04T12:18:04.248Z] $ docker rm -f 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde [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:18:04.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:18:04.845Z] [2022-03-04T12:18:04.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:18:05.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:18:05.160Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-04T12:18:05.160Z] 5eb5b503b376: Pulling fs layer [2022-03-04T12:18:05.160Z] 5c69ac0246d0: Pulling fs layer [2022-03-04T12:18:05.160Z] ec43610c2a17: Pulling fs layer [2022-03-04T12:18:05.160Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-04T12:18:05.160Z] 33b1e0a273af: Pulling fs layer [2022-03-04T12:18:05.160Z] 5d3b04190fa2: Pulling fs layer [2022-03-04T12:18:05.160Z] 2f39f015ded8: Pulling fs layer [2022-03-04T12:18:05.160Z] 3a2ae6a8a46f: Waiting [2022-03-04T12:18:05.160Z] 33b1e0a273af: Waiting [2022-03-04T12:18:05.160Z] 5d3b04190fa2: Waiting [2022-03-04T12:18:05.160Z] 2f39f015ded8: Waiting [2022-03-04T12:18:05.160Z] 5c69ac0246d0: Verifying Checksum [2022-03-04T12:18:05.160Z] 5c69ac0246d0: Download complete [2022-03-04T12:18:05.160Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-04T12:18:05.160Z] 3a2ae6a8a46f: Download complete [2022-03-04T12:18:05.160Z] 33b1e0a273af: Verifying Checksum [2022-03-04T12:18:05.160Z] 33b1e0a273af: Download complete [2022-03-04T12:18:05.429Z] 5d3b04190fa2: Verifying Checksum [2022-03-04T12:18:05.429Z] 5d3b04190fa2: Download complete [2022-03-04T12:18:05.429Z] ec43610c2a17: Verifying Checksum [2022-03-04T12:18:05.429Z] ec43610c2a17: Download complete [2022-03-04T12:18:05.429Z] 5eb5b503b376: Verifying Checksum [2022-03-04T12:18:05.429Z] 5eb5b503b376: Download complete [2022-03-04T12:18:06.006Z] 2f39f015ded8: Verifying Checksum [2022-03-04T12:18:06.006Z] 2f39f015ded8: Download complete [2022-03-04T12:18:06.958Z] 5eb5b503b376: Pull complete [2022-03-04T12:18:06.958Z] 5c69ac0246d0: Pull complete [2022-03-04T12:18:07.555Z] ec43610c2a17: Pull complete [2022-03-04T12:18:07.555Z] 3a2ae6a8a46f: Pull complete [2022-03-04T12:18:07.819Z] 33b1e0a273af: Pull complete [2022-03-04T12:18:07.819Z] 5d3b04190fa2: Pull complete [2022-03-04T12:18:13.150Z] 2f39f015ded8: Pull complete [2022-03-04T12:18:13.150Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-04T12:18:13.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:18:13.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-04T12:18:13.215Z] prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container [2022-03-04T12:18:13.252Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-04T12:18:15.891Z] $ docker top e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:18:16.283Z] ---> job-cost.sh [2022-03-04T12:18:16.283Z] lf-activate-venv: SKIPPING [2022-03-04T12:18:16.283Z] INFO: No Stack... [2022-03-04T12:18:16.542Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T12:18:17.113Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T12:18:17.413Z] + cut -d, -f6 [2022-03-04T12:18:17.414Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv [Pipeline] lock [2022-03-04T12:18:17.430Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [2022-03-04T12:18:17.437Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] did not exist. Created. [2022-03-04T12:18:17.437Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T12:18:17.748Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-04T12:18:17.778Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T12:18:17.786Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T12:18:17.808Z] $ docker stop --time=1 e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f [2022-03-04T12:18:19.055Z] $ docker rm -f e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-04T12:18:19.186Z] Failed in branch amd64 [2022-03-04T12:18:38.739Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6385 in /w/workspace/edgexfoundry_device-gpio_PR-16 [Pipeline] { [Pipeline] ws [2022-03-04T12:18:38.752Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-03-04T12:18:38.923Z] The recommended git tool is: git [2022-03-04T12:18:43.487Z] using credential edgex-jenkins-ssh [2022-03-04T12:18:43.505Z] Cloning the remote Git repository [2022-03-04T12:18:43.576Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:18:43.656Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-03-04T12:18:43.747Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:18:43.748Z] > git --version # timeout=10 [2022-03-04T12:18:43.766Z] > git --version # 'git version 2.17.1' [2022-03-04T12:18:43.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:18:43.927Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T12:18:45.907Z] Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit ba45f1d04b4aab77f6e253b1af31aa0601525056 [2022-03-04T12:18:46.124Z] Merge succeeded, producing ba45f1d04b4aab77f6e253b1af31aa0601525056 [2022-03-04T12:18:46.125Z] Checking out Revision ba45f1d04b4aab77f6e253b1af31aa0601525056 (PR-16) [2022-03-04T12:18:45.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T12:18:45.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T12:18:45.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T12:18:45.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T12:18:45.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:18:45.296Z] > 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:18:45.932Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T12:18:45.955Z] > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 [2022-03-04T12:18:46.033Z] > git remote # timeout=10 [2022-03-04T12:18:46.051Z] > git config --get remote.origin.url # timeout=10 [2022-03-04T12:18:46.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T12:18:46.090Z] > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 [2022-03-04T12:18:46.111Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-04T12:18:46.137Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T12:18:46.163Z] > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 [2022-03-04T12:18:50.241Z] Commit message: "fix(gpio):fix logging function and detail optimization" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T12:18:51.124Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-04T12:18:51.124Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-04T12:18:51.124Z] Dload Upload Total Spent Left Speed [2022-03-04T12:18:51.124Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44355 [Pipeline] sh [2022-03-04T12:18:51.701Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-04T12:18:52.051Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-04T12:18:52.051Z] + sudo tee /etc/docker/daemon.new [2022-03-04T12:18:52.051Z] { [2022-03-04T12:18:52.051Z] "registry-mirrors": [ [2022-03-04T12:18:52.051Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-04T12:18:52.051Z] ], [2022-03-04T12:18:52.051Z] "bip": "10.250.0.254/24", [2022-03-04T12:18:52.051Z] "hosts": [ [2022-03-04T12:18:52.051Z] "tcp://0.0.0.0:5555", [2022-03-04T12:18:52.051Z] "unix:///var/run/docker.sock" [2022-03-04T12:18:52.051Z] ], [2022-03-04T12:18:52.051Z] "mtu": 1458, [2022-03-04T12:18:52.051Z] "selinux-enabled": true, [2022-03-04T12:18:52.051Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-04T12:18:52.051Z] } [Pipeline] sh [2022-03-04T12:18:52.408Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-04T12:18:52.750Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:19:11.084Z] provisioning config files... [2022-03-04T12:19:11.110Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config3829918839266131428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:19:11.474Z] ---> docker-login.sh [2022-03-04T12:19:11.475Z] nexus3.edgexfoundry.org:10001 [2022-03-04T12:19:12.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:19:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:19:12.071Z] Configure a credential helper to remove this warning. See [2022-03-04T12:19:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:19:12.071Z] [2022-03-04T12:19:12.071Z] Login Succeeded [2022-03-04T12:19:12.344Z] nexus3.edgexfoundry.org:10002 [2022-03-04T12:19:12.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:19:12.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:19:12.617Z] Configure a credential helper to remove this warning. See [2022-03-04T12:19:12.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:19:12.617Z] [2022-03-04T12:19:12.617Z] Login Succeeded [2022-03-04T12:19:12.617Z] nexus3.edgexfoundry.org:10003 [2022-03-04T12:19:12.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:19:13.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:19:13.172Z] Configure a credential helper to remove this warning. See [2022-03-04T12:19:13.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:19:13.172Z] [2022-03-04T12:19:13.172Z] Login Succeeded [2022-03-04T12:19:13.172Z] nexus3.edgexfoundry.org:10004 [2022-03-04T12:19:13.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:19:13.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:19:13.450Z] Configure a credential helper to remove this warning. See [2022-03-04T12:19:13.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:19:13.450Z] [2022-03-04T12:19:13.450Z] Login Succeeded [2022-03-04T12:19:13.450Z] docker.io [2022-03-04T12:19:13.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T12:19:14.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T12:19:14.321Z] Configure a credential helper to remove this warning. See [2022-03-04T12:19:14.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T12:19:14.321Z] [2022-03-04T12:19:14.321Z] Login Succeeded [2022-03-04T12:19:14.321Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T12:19:14.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T12:19:14.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T12:19:14.851Z] ========================================================= [2022-03-04T12:19:14.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-04T12:19:14.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:19:15.195Z] + 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:19:15.474Z] Sending build context to Docker daemon 5.645MB [2022-03-04T12:19:15.474Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T12:19:15.474Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T12:19:15.747Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-04T12:19:15.747Z] 9b3977197b4f: Pulling fs layer [2022-03-04T12:19:15.747Z] 1a89e8eeedd5: Pulling fs layer [2022-03-04T12:19:15.747Z] 94645a83ff95: Pulling fs layer [2022-03-04T12:19:15.747Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-04T12:19:15.747Z] 0c92f367c5e7: Pulling fs layer [2022-03-04T12:19:15.747Z] f7c0051592d6: Pulling fs layer [2022-03-04T12:19:15.747Z] a227ed2f7395: Pulling fs layer [2022-03-04T12:19:15.747Z] 7b1c46037f91: Pulling fs layer [2022-03-04T12:19:15.747Z] f7c0051592d6: Waiting [2022-03-04T12:19:15.747Z] a227ed2f7395: Waiting [2022-03-04T12:19:15.747Z] 7b1c46037f91: Waiting [2022-03-04T12:19:15.747Z] 3f3a8bcf1eab: Waiting [2022-03-04T12:19:15.747Z] 0c92f367c5e7: Waiting [2022-03-04T12:19:15.747Z] 94645a83ff95: Verifying Checksum [2022-03-04T12:19:15.747Z] 94645a83ff95: Download complete [2022-03-04T12:19:15.747Z] 1a89e8eeedd5: Verifying Checksum [2022-03-04T12:19:15.747Z] 1a89e8eeedd5: Download complete [2022-03-04T12:19:15.747Z] 0c92f367c5e7: Verifying Checksum [2022-03-04T12:19:15.747Z] 0c92f367c5e7: Download complete [2022-03-04T12:19:15.747Z] f7c0051592d6: Verifying Checksum [2022-03-04T12:19:15.747Z] f7c0051592d6: Download complete [2022-03-04T12:19:15.747Z] 9b3977197b4f: Download complete [2022-03-04T12:19:15.747Z] a227ed2f7395: Verifying Checksum [2022-03-04T12:19:15.747Z] a227ed2f7395: Download complete [2022-03-04T12:19:16.732Z] 9b3977197b4f: Pull complete [2022-03-04T12:19:17.006Z] 1a89e8eeedd5: Pull complete [2022-03-04T12:19:17.611Z] 94645a83ff95: Pull complete [2022-03-04T12:19:17.884Z] 7b1c46037f91: Verifying Checksum [2022-03-04T12:19:17.884Z] 7b1c46037f91: Download complete [2022-03-04T12:19:18.165Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-04T12:19:18.165Z] 3f3a8bcf1eab: Download complete [2022-03-04T12:19:30.559Z] 3f3a8bcf1eab: Pull complete [2022-03-04T12:19:30.559Z] 0c92f367c5e7: Pull complete [2022-03-04T12:19:30.559Z] f7c0051592d6: Pull complete [2022-03-04T12:19:30.559Z] a227ed2f7395: Pull complete [2022-03-04T12:19:37.277Z] 7b1c46037f91: Pull complete [2022-03-04T12:19:37.277Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-04T12:19:37.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-04T12:19:37.277Z] ---> f79e39bc4007 [2022-03-04T12:19:37.277Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T12:19:37.873Z] ---> Running in f1a231294850 [2022-03-04T12:19:38.470Z] Removing intermediate container f1a231294850 [2022-03-04T12:19:38.470Z] ---> 89464e5c45b4 [2022-03-04T12:19:38.470Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T12:19:38.470Z] ---> Running in 8c2ef6cdfd51 [2022-03-04T12:19:38.742Z] Removing intermediate container 8c2ef6cdfd51 [2022-03-04T12:19:38.742Z] ---> 6c9b02c18d8e [2022-03-04T12:19:38.742Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T12:19:39.016Z] ---> Running in 135fa81d770e [2022-03-04T12:19:39.292Z] Removing intermediate container 135fa81d770e [2022-03-04T12:19:39.292Z] ---> 676a8e79c693 [2022-03-04T12:19:39.292Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T12:19:39.292Z] ---> Running in 19c774b8cb2e [2022-03-04T12:19:41.277Z] Removing intermediate container 19c774b8cb2e [2022-03-04T12:19:41.277Z] ---> b724e95f2a01 [2022-03-04T12:19:41.277Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T12:19:41.277Z] ---> Running in ef593e187560 [2022-03-04T12:19:42.249Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-04T12:19:43.217Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-04T12:19:43.810Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T12:19:44.079Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T12:19:44.080Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T12:19:44.353Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T12:19:44.353Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T12:19:44.353Z] OK: 224 MiB in 56 packages [2022-03-04T12:19:45.344Z] Removing intermediate container ef593e187560 [2022-03-04T12:19:45.344Z] ---> 9aecf80f51c7 [2022-03-04T12:19:45.344Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T12:19:45.936Z] ---> 26e382a1454c [2022-03-04T12:19:45.936Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T12:19:45.936Z] ---> Running in 75c782137137 [2022-03-04T12:21:07.694Z] Removing intermediate container 75c782137137 [2022-03-04T12:21:07.694Z] ---> 09ab71eea1e0 [2022-03-04T12:21:07.694Z] Step 10/11 : COPY . . [2022-03-04T12:21:07.694Z] ---> f08adf6ad563 [2022-03-04T12:21:07.694Z] Step 11/11 : RUN ${MAKE} [2022-03-04T12:21:07.694Z] ---> Running in ed2693cd30a2 [2022-03-04T12:21:07.694Z] Removing intermediate container ed2693cd30a2 [2022-03-04T12:21:07.694Z] ---> 3303bb04d452 [2022-03-04T12:21:07.694Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T12:21:07.694Z] Successfully built 3303bb04d452 [2022-03-04T12:21:07.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:21:08.035Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T12:21:08.035Z] . [Pipeline] withDockerContainer [2022-03-04T12:21:08.264Z] prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container [2022-03-04T12:21:08.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-04T12:21:09.689Z] $ docker top 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:21:10.599Z] + go version [2022-03-04T12:21:10.599Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-04T12:21:10.625Z] $ docker stop --time=1 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b [2022-03-04T12:21:12.269Z] $ docker rm -f 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:21:12.865Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T12:21:12.865Z] . [Pipeline] withDockerContainer [2022-03-04T12:21:13.090Z] prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container [2022-03-04T12:21:13.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-04T12:21:14.495Z] $ docker top 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T12:21:15.393Z] + make test [2022-03-04T12:21:15.393Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T12:21:16.373Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T12:21:19.016Z] # github.com/pebbe/zmq4 [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket [2022-03-04T12:21:19.016Z] /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors [2022-03-04T12:22:06.018Z] make: *** [Makefile:26: test] Error 2 [Pipeline] } [2022-03-04T12:22:06.043Z] $ docker stop --time=1 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 [2022-03-04T12:22:07.835Z] $ docker rm -f 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 [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:22:08.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:22:08.739Z] [2022-03-04T12:22:08.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:22:09.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:22:09.361Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-04T12:22:09.361Z] 8998bd30e6a1: Pulling fs layer [2022-03-04T12:22:09.361Z] 04944245beec: Pulling fs layer [2022-03-04T12:22:09.361Z] 699f458cf7ca: Pulling fs layer [2022-03-04T12:22:09.361Z] 765212b225bb: Pulling fs layer [2022-03-04T12:22:09.361Z] f23df028b6ca: Pulling fs layer [2022-03-04T12:22:09.361Z] d65c8cfc05b1: Pulling fs layer [2022-03-04T12:22:09.361Z] 2437ff75d9bd: Pulling fs layer [2022-03-04T12:22:09.361Z] f23df028b6ca: Waiting [2022-03-04T12:22:09.361Z] d65c8cfc05b1: Waiting [2022-03-04T12:22:09.361Z] 2437ff75d9bd: Waiting [2022-03-04T12:22:09.361Z] 765212b225bb: Waiting [2022-03-04T12:22:09.361Z] 04944245beec: Verifying Checksum [2022-03-04T12:22:09.361Z] 04944245beec: Download complete [2022-03-04T12:22:09.361Z] 765212b225bb: Verifying Checksum [2022-03-04T12:22:09.361Z] 765212b225bb: Download complete [2022-03-04T12:22:09.361Z] f23df028b6ca: Verifying Checksum [2022-03-04T12:22:09.361Z] f23df028b6ca: Download complete [2022-03-04T12:22:09.636Z] d65c8cfc05b1: Verifying Checksum [2022-03-04T12:22:09.636Z] d65c8cfc05b1: Download complete [2022-03-04T12:22:09.636Z] 699f458cf7ca: Verifying Checksum [2022-03-04T12:22:09.636Z] 699f458cf7ca: Download complete [2022-03-04T12:22:09.911Z] 8998bd30e6a1: Download complete [2022-03-04T12:22:12.539Z] 2437ff75d9bd: Verifying Checksum [2022-03-04T12:22:12.539Z] 2437ff75d9bd: Download complete [2022-03-04T12:22:13.974Z] 8998bd30e6a1: Pull complete [2022-03-04T12:22:14.569Z] 04944245beec: Pull complete [2022-03-04T12:22:16.001Z] 699f458cf7ca: Pull complete [2022-03-04T12:22:16.001Z] 765212b225bb: Pull complete [2022-03-04T12:22:16.976Z] f23df028b6ca: Pull complete [2022-03-04T12:22:17.254Z] d65c8cfc05b1: Pull complete [2022-03-04T12:22:32.335Z] 2437ff75d9bd: Pull complete [2022-03-04T12:22:32.335Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-04T12:22:32.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T12:22:32.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-04T12:22:32.537Z] prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container [2022-03-04T12:22:32.612Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-04T12:22:35.224Z] $ docker top 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:36.116Z] ---> job-cost.sh [2022-03-04T12:22:36.116Z] lf-activate-venv: SKIPPING [2022-03-04T12:22:36.116Z] INFO: No Stack... [2022-03-04T12:22:36.708Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-04T12:22:37.679Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T12:22:38.340Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2022-03-04T12:22:38.340Z] + cut -d, -f6 [Pipeline] lock [2022-03-04T12:22:38.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [2022-03-04T12:22:38.411Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] did not exist. Created. [2022-03-04T12:22:38.411Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T12:22:39.089Z] /w/workspace/device-gpio/2@tmp/durable-1624c378/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-04T12:22:39.763Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-04T12:22:39.785Z] Warning: overwriting stash ‘stack-cost’ [2022-03-04T12:22:40.232Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T12:22:40.242Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T12:22:40.264Z] $ docker stop --time=1 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 [2022-03-04T12:22:41.772Z] $ docker rm -f 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-04T12:22:42.066Z] 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:22:42.881Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' [2022-03-04T12:22:42.881Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:22:42.881Z] total 8 [2022-03-04T12:22:42.881Z] drwxr-xr-x. 3 root root 34 Mar 4 12:18 . [2022-03-04T12:22:42.881Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:18 .. [2022-03-04T12:22:42.881Z] drwxr-xr-x. 2 root root 6 Mar 4 12:18 cost [2022-03-04T12:22:42.881Z] -rw-r--r--. 1 root root 81 Mar 4 12:18 cost.csv [2022-03-04T12:22:42.881Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:22:42.881Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T12:22:42.881Z] total 8 [2022-03-04T12:22:42.881Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 12:18 . [2022-03-04T12:22:42.881Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:18 .. [2022-03-04T12:22:42.881Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 12:18 cost [2022-03-04T12:22:42.881Z] -rw-r--r--. 1 jenkins jenkins 81 Mar 4 12:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:43.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:43.756Z] ---> package-listing.sh [2022-03-04T12:22:43.756Z] ++ facter osfamily [2022-03-04T12:22:43.756Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-04T12:22:44.017Z] + OS_FAMILY=redhat [2022-03-04T12:22:44.017Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T12:22:44.017Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-04T12:22:44.017Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-04T12:22:44.017Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-04T12:22:44.017Z] + PACKAGES=/tmp/packages_start.txt [2022-03-04T12:22:44.017Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T12:22:44.017Z] + PACKAGES=/tmp/packages_end.txt [2022-03-04T12:22:44.017Z] + case "${OS_FAMILY}" in [2022-03-04T12:22:44.017Z] + rpm -qa [2022-03-04T12:22:44.017Z] + sort [2022-03-04T12:22:44.590Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-04T12:22:44.590Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-04T12:22:44.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-04T12:22:44.590Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T12:22:44.590Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [2022-03-04T12:22:44.590Z] + 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:22:44.602Z] 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:22:44.887Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-04T12:22:45.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T12:22:45.453Z] . [Pipeline] withDockerContainer [2022-03-04T12:22:45.520Z] prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container [2022-03-04T12:22:45.560Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-04T12:22:45.749Z] $ docker top 600b3bb02cdaba5ffc88738f8e94131071308ade63385c7b8844f004aab5dd01 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T12:22:46.127Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-04T12:22:46.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-04T12:22:46.886Z] + ls /var/log/sa-host [2022-03-04T12:22:46.886Z] + sadf -c /var/log/sa-host/sa04 [2022-03-04T12:22:46.886Z] file_magic: OK [2022-03-04T12:22:46.886Z] HZ: Using current value: 100 [2022-03-04T12:22:46.886Z] file_header: OK [2022-03-04T12:22:46.886Z] 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:22:46.886Z] Statistics: [2022-03-04T12:22:46.886Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T12:22:46.886Z] File successfully converted to sysstat format version 12.5.2 [2022-03-04T12:22:46.886Z] + sadf -c /var/log/sa-host/sa17 [2022-03-04T12:22:46.886Z] file_magic: OK [2022-03-04T12:22:46.886Z] HZ: Using current value: 100 [2022-03-04T12:22:46.886Z] file_header: OK [2022-03-04T12:22:46.886Z] 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:22:46.886Z] Statistics: [2022-03-04T12:22:46.886Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T12:22:46.886Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T12:22:47.025Z] provisioning config files... [2022-03-04T12:22:47.089Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config231626459216777460tmp [Pipeline] { [Pipeline] echo [2022-03-04T12:22:47.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:47.453Z] ---> create-netrc.sh [Pipeline] } [2022-03-04T12:22:47.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:47.810Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-04T12:22:47.820Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:48.106Z] ---> sudo-logs.sh [2022-03-04T12:22:48.106Z] Archiving 'sudo' log.. [2022-03-04T12:22:48.106Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6384.novalocal: Name or service not known [2022-03-04T12:22:48.106Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6384.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-04T12:22:48.145Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:48.432Z] ---> job-cost.sh [2022-03-04T12:22:48.432Z] lf-activate-venv: SKIPPING [2022-03-04T12:22:48.432Z] DEBUG: total: 0.05999999865889549 [2022-03-04T12:22:48.432Z] INFO: Retrieving Stack Cost... [2022-03-04T12:22:48.692Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T12:22:49.266Z] INFO: Archiving Costs [Pipeline] echo [2022-03-04T12:22:49.280Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T12:22:49.576Z] ---> logs-deploy.sh [2022-03-04T12:22:49.576Z] lf-activate-venv: SKIPPING [2022-03-04T12:22:49.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/2 [2022-03-04T12:22:49.576Z] INFO: archiving workspace using pattern(s): [2022-03-04T12:22:50.522Z] Archives upload complete. [2022-03-04T12:22:50.522Z] INFO: archiving logs to Nexus [2022-03-04T12:22:51.093Z] ---> uname -a: [2022-03-04T12:22:51.093Z] Linux prd-centos7-docker-4c-2g-6384.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-03-04T12:22:51.093Z] [2022-03-04T12:22:51.093Z] [2022-03-04T12:22:51.093Z] ---> lscpu: [2022-03-04T12:22:51.093Z] Architecture: x86_64 [2022-03-04T12:22:51.093Z] CPU op-mode(s): 32-bit, 64-bit [2022-03-04T12:22:51.093Z] Byte Order: Little Endian [2022-03-04T12:22:51.093Z] Address sizes: 40 bits physical, 48 bits virtual [2022-03-04T12:22:51.093Z] CPU(s): 2 [2022-03-04T12:22:51.093Z] On-line CPU(s) list: 0,1 [2022-03-04T12:22:51.093Z] Thread(s) per core: 1 [2022-03-04T12:22:51.093Z] Core(s) per socket: 1 [2022-03-04T12:22:51.093Z] Socket(s): 2 [2022-03-04T12:22:51.093Z] NUMA node(s): 1 [2022-03-04T12:22:51.093Z] Vendor ID: AuthenticAMD [2022-03-04T12:22:51.093Z] CPU family: 23 [2022-03-04T12:22:51.093Z] Model: 49 [2022-03-04T12:22:51.093Z] Model name: AMD EPYC-Rome Processor [2022-03-04T12:22:51.093Z] Stepping: 0 [2022-03-04T12:22:51.093Z] CPU MHz: 2800.000 [2022-03-04T12:22:51.093Z] BogoMIPS: 5600.00 [2022-03-04T12:22:51.093Z] Virtualization: AMD-V [2022-03-04T12:22:51.093Z] Hypervisor vendor: KVM [2022-03-04T12:22:51.093Z] Virtualization type: full [2022-03-04T12:22:51.093Z] L1d cache: 64 KiB [2022-03-04T12:22:51.093Z] L1i cache: 64 KiB [2022-03-04T12:22:51.093Z] L2 cache: 1 MiB [2022-03-04T12:22:51.093Z] L3 cache: 32 MiB [2022-03-04T12:22:51.093Z] NUMA node0 CPU(s): 0,1 [2022-03-04T12:22:51.093Z] Vulnerability Itlb multihit: Not affected [2022-03-04T12:22:51.093Z] Vulnerability L1tf: Not affected [2022-03-04T12:22:51.093Z] Vulnerability Mds: Not affected [2022-03-04T12:22:51.093Z] Vulnerability Meltdown: Not affected [2022-03-04T12:22:51.093Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-03-04T12:22:51.093Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2022-03-04T12:22:51.093Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2022-03-04T12:22:51.093Z] Vulnerability Srbds: Not affected [2022-03-04T12:22:51.093Z] Vulnerability Tsx async abort: Not affected [2022-03-04T12:22:51.093Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-03-04T12:22:51.093Z] [2022-03-04T12:22:51.093Z] [2022-03-04T12:22:51.093Z] ---> nproc: [2022-03-04T12:22:51.093Z] 2 [2022-03-04T12:22:51.093Z] [2022-03-04T12:22:51.093Z]