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 35291215e9e6f8c84724c5804fdd16bc3643ae09+f39b6cd70fb93c328084340b8c900c025342af5c (68ef8f370822bffa6abd13a0b7f2b3325556ec79) 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-ssh1947698685920203624.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-ssh3227534019958354523.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-ssh10970550842203103481.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-ssh15652185044799286069.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-ssh16593430337345668137.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6390 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-ssh7661194958941664767.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 35291215e9e6f8c84724c5804fdd16bc3643ae09 Merge succeeded, producing 35291215e9e6f8c84724c5804fdd16bc3643ae09 Checking out Revision 35291215e9e6f8c84724c5804fdd16bc3643ae09 (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-ssh6384836872638516181.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 35291215e9e6f8c84724c5804fdd16bc3643ae09 # 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-ssh4698115686347491512.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git rev-list --no-walk b0bdda7a8c05cad6f938d85611752a9ef0ab7b3b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-04T14:35:01.622Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-04T14:35:01.678Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-04T14:35:01.697Z] ========================================================= [2022-03-04T14:35:01.697Z] EdgeX Global Pipelines Version Info [2022-03-04T14:35:01.697Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:35:02.844Z] ------------------- [2022-03-04T14:35:02.844Z] stable info: [2022-03-04T14:35:02.844Z] ------------------- [2022-03-04T14:35:02.844Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-04T14:35:02.844Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-04T14:35:02.844Z] Message: update stable to v1.0.220 [2022-03-04T14:35:03.426Z] ------------------- [2022-03-04T14:35:03.426Z] experimental info: [2022-03-04T14:35:03.426Z] ------------------- [2022-03-04T14:35:03.426Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-04T14:35:03.426Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-04T14:35:03.426Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-04T14:35:03.571Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-04T14:35:03.584Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-04T14:35:03.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-04T14:35:03.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-04T14:35:03.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-04T14:35:03.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-04T14:35:03.668Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-04T14:35:03.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-04T14:35:03.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-04T14:35:03.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-04T14:35:03.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-04T14:35:03.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-04T14:35:03.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-04T14:35:03.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-04T14:35:03.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T14:35:03.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-04T14:35:03.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T14:35:03.818Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-04T14:35:03.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-04T14:35:03.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-04T14:35:03.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-04T14:35:03.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-04T14:35:03.888Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-04T14:35:03.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-04T14:35:03.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-04T14:35:03.929Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-04T14:35:03.937Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo [2022-03-04T14:35:03.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo [2022-03-04T14:35:03.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo [2022-03-04T14:35:03.969Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo [2022-03-04T14:35:03.982Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3529121 [Pipeline] echo [2022-03-04T14:35:03.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T14:35:04.041Z] provisioning config files... [2022-03-04T14:35:04.057Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config1396615088647397466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:35:04.368Z] ---> docker-login.sh [2022-03-04T14:35:04.368Z] nexus3.edgexfoundry.org:10001 [2022-03-04T14:35:04.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:04.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:04.632Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:04.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:04.632Z] [2022-03-04T14:35:04.632Z] Login Succeeded [2022-03-04T14:35:04.632Z] nexus3.edgexfoundry.org:10002 [2022-03-04T14:35:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:04.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:04.894Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:04.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:04.894Z] [2022-03-04T14:35:04.894Z] Login Succeeded [2022-03-04T14:35:04.894Z] nexus3.edgexfoundry.org:10003 [2022-03-04T14:35:04.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:04.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:04.894Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:04.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:04.894Z] [2022-03-04T14:35:04.894Z] Login Succeeded [2022-03-04T14:35:04.894Z] nexus3.edgexfoundry.org:10004 [2022-03-04T14:35:04.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:04.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:04.894Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:04.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:04.894Z] [2022-03-04T14:35:05.158Z] Login Succeeded [2022-03-04T14:35:05.158Z] docker.io [2022-03-04T14:35:05.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:05.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:05.422Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:05.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:05.422Z] [2022-03-04T14:35:05.422Z] Login Succeeded [2022-03-04T14:35:05.422Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T14:35:05.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-04T14:35:05.818Z] + git rev-list -1 --merges 35291215e9e6f8c84724c5804fdd16bc3643ae09~1..35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo [2022-03-04T14:35:05.855Z] -----------> git rev-list -1 --merges 35291215e9e6f8c84724c5804fdd16bc3643ae09~1..35291215e9e6f8c84724c5804fdd16bc3643ae09 35291215e9e6f8c84724c5804fdd16bc3643ae09 [false] [Pipeline] sh [2022-03-04T14:35:06.151Z] + git log --format=format:%s -1 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo [2022-03-04T14:35:06.173Z] ========================================================= [2022-03-04T14:35:06.173Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-04T14:35:06.173Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T14:35:06.519Z] + git log --format=format:%s -1 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo [2022-03-04T14:35:06.532Z] [semverPrep] GIT_COMMIT: 35291215e9e6f8c84724c5804fdd16bc3643ae09, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo [2022-03-04T14:35:06.545Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-04T14:35:06.978Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-04T14:35:06.978Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-04T14:35:06.978Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-04T14:35:06.978Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-04T14:35:06.978Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-04T14:35:06.978Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-04T14:35:06.978Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:35:07.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T14:35:07.398Z] [2022-03-04T14:35:07.398Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:35:07.711Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T14:35:07.711Z] latest: Pulling from edgex-devops/git-semver [2022-03-04T14:35:07.711Z] a0d0a0d46f8b: Pulling fs layer [2022-03-04T14:35:07.711Z] 3e5f54012d9b: Pulling fs layer [2022-03-04T14:35:07.711Z] 4c7163046ea9: Pulling fs layer [2022-03-04T14:35:07.711Z] 0c2d73faf560: Pulling fs layer [2022-03-04T14:35:07.711Z] 0c2d73faf560: Waiting [2022-03-04T14:35:07.711Z] 3e5f54012d9b: Verifying Checksum [2022-03-04T14:35:07.711Z] 3e5f54012d9b: Download complete [2022-03-04T14:35:07.711Z] a0d0a0d46f8b: Download complete [2022-03-04T14:35:07.711Z] 0c2d73faf560: Verifying Checksum [2022-03-04T14:35:07.711Z] 0c2d73faf560: Download complete [2022-03-04T14:35:07.711Z] 4c7163046ea9: Verifying Checksum [2022-03-04T14:35:07.711Z] 4c7163046ea9: Download complete [2022-03-04T14:35:07.975Z] a0d0a0d46f8b: Pull complete [2022-03-04T14:35:07.975Z] 3e5f54012d9b: Pull complete [2022-03-04T14:35:08.237Z] 4c7163046ea9: Pull complete [2022-03-04T14:35:08.499Z] 0c2d73faf560: Pull complete [2022-03-04T14:35:08.499Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-04T14:35:08.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-04T14:35:08.499Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-04T14:35:08.582Z] prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container [2022-03-04T14:35:08.460Z] $ 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-04T14:35:09.222Z] $ docker top d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-04T14:35:09.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T14:35:09.441Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T14:35:09.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T14:35:09.466Z] $ docker exec d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent [2022-03-04T14:35:09.693Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfLADgD/agent.14 [2022-03-04T14:35:09.693Z] SSH_AGENT_PID=20 [2022-03-04T14:35:09.704Z] Running ssh-add (command line suppressed) [2022-03-04T14:35:09.735Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6667398406169792426.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6667398406169792426.key) [2022-03-04T14:35:09.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T14:35:10.137Z] + git tag --points-at HEAD [Pipeline] } [2022-03-04T14:35:10.101Z] $ docker exec --env ******** --env ******** d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent -k [2022-03-04T14:35:10.223Z] unset SSH_AUTH_SOCK; [2022-03-04T14:35:10.223Z] unset SSH_AGENT_PID; [2022-03-04T14:35:10.224Z] echo Agent pid 20 killed; [2022-03-04T14:35:10.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-04T14:35:10.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-04T14:35:10.304Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-04T14:35:10.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-04T14:35:10.395Z] $ docker exec d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent [2022-03-04T14:35:10.533Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdAIEJi/agent.53 [2022-03-04T14:35:10.533Z] SSH_AGENT_PID=59 [2022-03-04T14:35:10.538Z] Running ssh-add (command line suppressed) [2022-03-04T14:35:10.632Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7366849173483599698.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7366849173483599698.key) [2022-03-04T14:35:10.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-04T14:35:10.965Z] + git semver init [2022-03-04T14:35:10.965Z] # -> Open(): unable to determine branch for HEAD [2022-03-04T14:35:10.965Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git [2022-03-04T14:35:10.965Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T14:35:10.965Z] # $SEMVER_REMOTE_NAME = origin [2022-03-04T14:35:10.965Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-04T14:35:10.965Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-04T14:35:10.965Z] # $SEMVER_BRANCH = PR-16 [2022-03-04T14:35:10.965Z] # $SEMVER_TEMP = /tmp/semver-870444509 [2022-03-04T14:35:10.965Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-04T14:35:11.912Z] # '/tmp/semver-870444509' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' [2022-03-04T14:35:11.912Z] # -> Force: false [2022-03-04T14:35:11.912Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } [2022-03-04T14:35:11.927Z] $ docker exec --env ******** --env ******** d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent -k [2022-03-04T14:35:12.026Z] unset SSH_AUTH_SOCK; [2022-03-04T14:35:12.026Z] unset SSH_AGENT_PID; [2022-03-04T14:35:12.026Z] echo Agent pid 59 killed; [2022-03-04T14:35:12.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-04T14:35:12.345Z] + git semver [Pipeline] } [2022-03-04T14:35:12.363Z] $ docker stop --time=1 d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa [2022-03-04T14:35:13.648Z] $ docker rm -f d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-04T14:35:14.002Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-04T14:35:14.243Z] Stashed 1 file(s) [Pipeline] echo [2022-03-04T14:35:14.245Z] [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-04T14:35:14.391Z] provisioning config files... [2022-03-04T14:35:14.401Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config5794517648007599301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:35:14.708Z] ---> docker-login.sh [2022-03-04T14:35:14.708Z] nexus3.edgexfoundry.org:10001 [2022-03-04T14:35:14.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:14.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:14.708Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:14.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:14.708Z] [2022-03-04T14:35:14.708Z] Login Succeeded [2022-03-04T14:35:14.708Z] nexus3.edgexfoundry.org:10002 [2022-03-04T14:35:14.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:14.970Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:14.970Z] [2022-03-04T14:35:14.970Z] Login Succeeded [2022-03-04T14:35:14.970Z] nexus3.edgexfoundry.org:10003 [2022-03-04T14:35:14.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:14.970Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:14.970Z] [2022-03-04T14:35:14.970Z] Login Succeeded [2022-03-04T14:35:14.970Z] nexus3.edgexfoundry.org:10004 [2022-03-04T14:35:14.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:15.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:15.231Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:15.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:15.231Z] [2022-03-04T14:35:15.231Z] Login Succeeded [2022-03-04T14:35:15.231Z] docker.io [2022-03-04T14:35:15.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:35:15.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:35:15.492Z] Configure a credential helper to remove this warning. See [2022-03-04T14:35:15.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:35:15.492Z] [2022-03-04T14:35:15.492Z] Login Succeeded [2022-03-04T14:35:15.492Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T14:35:15.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T14:35:15.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T14:35:15.573Z] ========================================================= [2022-03-04T14:35:15.573Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-04T14:35:15.573Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:35:15.884Z] + 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-04T14:35:15.884Z] Sending build context to Docker daemon 11.07MB [2022-03-04T14:35:15.884Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T14:35:15.884Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T14:35:15.884Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-04T14:35:15.884Z] 59bf1c3509f3: Pulling fs layer [2022-03-04T14:35:15.884Z] 666ba61612fd: Pulling fs layer [2022-03-04T14:35:15.884Z] 8ed8ca486205: Pulling fs layer [2022-03-04T14:35:15.884Z] 4fe6c5a15a65: Pulling fs layer [2022-03-04T14:35:15.884Z] 22a0e8bec74d: Pulling fs layer [2022-03-04T14:35:15.884Z] 640e595b4fbd: Pulling fs layer [2022-03-04T14:35:15.884Z] 763cafe07f6e: Pulling fs layer [2022-03-04T14:35:15.884Z] 0c0b528cf693: Pulling fs layer [2022-03-04T14:35:15.884Z] 10935f4eaf8b: Pulling fs layer [2022-03-04T14:35:15.884Z] 640e595b4fbd: Waiting [2022-03-04T14:35:15.884Z] 4fe6c5a15a65: Waiting [2022-03-04T14:35:15.884Z] 763cafe07f6e: Waiting [2022-03-04T14:35:15.884Z] 0c0b528cf693: Waiting [2022-03-04T14:35:15.884Z] 22a0e8bec74d: Waiting [2022-03-04T14:35:15.884Z] 10935f4eaf8b: Waiting [2022-03-04T14:35:16.165Z] 8ed8ca486205: Verifying Checksum [2022-03-04T14:35:16.165Z] 8ed8ca486205: Download complete [2022-03-04T14:35:16.165Z] 666ba61612fd: Verifying Checksum [2022-03-04T14:35:16.165Z] 666ba61612fd: Download complete [2022-03-04T14:35:16.165Z] 22a0e8bec74d: Verifying Checksum [2022-03-04T14:35:16.165Z] 22a0e8bec74d: Download complete [2022-03-04T14:35:16.165Z] 640e595b4fbd: Verifying Checksum [2022-03-04T14:35:16.165Z] 640e595b4fbd: Download complete [2022-03-04T14:35:16.165Z] 763cafe07f6e: Verifying Checksum [2022-03-04T14:35:16.165Z] 763cafe07f6e: Download complete [2022-03-04T14:35:16.165Z] 59bf1c3509f3: Verifying Checksum [2022-03-04T14:35:16.165Z] 59bf1c3509f3: Download complete [2022-03-04T14:35:16.165Z] 0c0b528cf693: Verifying Checksum [2022-03-04T14:35:16.165Z] 0c0b528cf693: Download complete [2022-03-04T14:35:16.758Z] 59bf1c3509f3: Pull complete [2022-03-04T14:35:16.758Z] 4fe6c5a15a65: Verifying Checksum [2022-03-04T14:35:16.758Z] 4fe6c5a15a65: Download complete [2022-03-04T14:35:16.758Z] 10935f4eaf8b: Verifying Checksum [2022-03-04T14:35:16.759Z] 10935f4eaf8b: Download complete [2022-03-04T14:35:16.759Z] 666ba61612fd: Pull complete [2022-03-04T14:35:17.019Z] 8ed8ca486205: Pull complete [2022-03-04T14:35:21.254Z] 4fe6c5a15a65: Pull complete [2022-03-04T14:35:21.254Z] 22a0e8bec74d: Pull complete [2022-03-04T14:35:21.254Z] 640e595b4fbd: Pull complete [2022-03-04T14:35:21.254Z] 763cafe07f6e: Pull complete [2022-03-04T14:35:21.523Z] 0c0b528cf693: Pull complete [2022-03-04T14:35:24.103Z] 10935f4eaf8b: Pull complete [2022-03-04T14:35:24.103Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-04T14:35:24.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-04T14:35:24.103Z] ---> 99d49a6021b9 [2022-03-04T14:35:24.103Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T14:35:26.026Z] ---> Running in 473d69ceafd8 [2022-03-04T14:35:26.293Z] Removing intermediate container 473d69ceafd8 [2022-03-04T14:35:26.293Z] ---> e1da35c27ee1 [2022-03-04T14:35:26.293Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T14:35:26.293Z] ---> Running in 43c1f4bf3a7b [2022-03-04T14:35:26.293Z] Removing intermediate container 43c1f4bf3a7b [2022-03-04T14:35:26.293Z] ---> 0db8f66f0ebd [2022-03-04T14:35:26.293Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T14:35:26.293Z] ---> Running in afbf8e1ee7fc [2022-03-04T14:35:26.555Z] Removing intermediate container afbf8e1ee7fc [2022-03-04T14:35:26.555Z] ---> 9fed82fcfd13 [2022-03-04T14:35:26.555Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:35:26.555Z] ---> Running in fe43d374e25a [2022-03-04T14:35:27.128Z] Removing intermediate container fe43d374e25a [2022-03-04T14:35:27.128Z] ---> 4ec8c37ea78e [2022-03-04T14:35:27.128Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T14:35:27.128Z] ---> Running in 3a84a568a583 [2022-03-04T14:35:27.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-04T14:35:28.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-04T14:35:28.599Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T14:35:28.599Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T14:35:28.599Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T14:35:28.861Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T14:35:28.861Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T14:35:28.861Z] OK: 224 MiB in 56 packages [2022-03-04T14:35:29.128Z] Removing intermediate container 3a84a568a583 [2022-03-04T14:35:29.128Z] ---> 25002210bb67 [2022-03-04T14:35:29.128Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T14:35:29.343Z] Still waiting to schedule task [2022-03-04T14:35:29.344Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-04T14:35:29.389Z] ---> 50ac8e9dcc3a [2022-03-04T14:35:29.389Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T14:35:29.389Z] ---> Running in 1386f17a5e7e [2022-03-04T14:36:08.226Z] Removing intermediate container 1386f17a5e7e [2022-03-04T14:36:08.226Z] ---> 992ac265df26 [2022-03-04T14:36:08.226Z] Step 10/11 : COPY . . [2022-03-04T14:36:08.226Z] ---> 0fc4be40db08 [2022-03-04T14:36:08.226Z] Step 11/11 : RUN ${MAKE} [2022-03-04T14:36:08.226Z] ---> Running in df32b6d23e2c [2022-03-04T14:36:08.226Z] Removing intermediate container df32b6d23e2c [2022-03-04T14:36:08.226Z] ---> 922b89e946ae [2022-03-04T14:36:08.226Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T14:36:08.226Z] Successfully built 922b89e946ae [2022-03-04T14:36:08.226Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:36:08.530Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T14:36:08.530Z] . [Pipeline] withDockerContainer [2022-03-04T14:36:08.604Z] prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container [2022-03-04T14:36:08.644Z] $ 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-04T14:36:09.035Z] $ docker top 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T14:36:09.421Z] + go version [2022-03-04T14:36:09.421Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-04T14:36:09.440Z] $ docker stop --time=1 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c [2022-03-04T14:36:10.650Z] $ docker rm -f 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:36:11.090Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-04T14:36:11.090Z] . [Pipeline] withDockerContainer [2022-03-04T14:36:11.163Z] prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container [2022-03-04T14:36:11.209Z] $ 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-04T14:36:11.610Z] $ docker top 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T14:36:11.995Z] + make test [2022-03-04T14:36:11.995Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T14:36:12.264Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T14:36:30.468Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-04T14:36:30.468Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-04T14:36:30.468Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-04T14:36:33.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-04T14:36:33.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-04T14:36:33.025Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-04T14:36:33.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-04T14:36:33.060Z] $ docker stop --time=1 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 [2022-03-04T14:36:34.524Z] $ docker rm -f 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-04T14:36:34.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-04T14:36:34.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-04T14:36:36.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-04T14:36:36.321Z] + ls -al . [2022-03-04T14:36:36.321Z] total 152 [2022-03-04T14:36:36.321Z] drwxrwxr-x. 8 jenkins jenkins 4096 Mar 4 14:36 . [2022-03-04T14:36:36.321Z] drwxrwxr-x. 4 jenkins jenkins 108 Mar 4 14:34 .. [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 7772 Mar 4 14:34 Attribution.txt [2022-03-04T14:36:36.321Z] drwxrwxr-x. 2 jenkins jenkins 37 Mar 4 14:34 bin [2022-03-04T14:36:36.321Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 4 14:34 cmd [2022-03-04T14:36:36.321Z] -rw-r--r--. 1 jenkins jenkins 10 Mar 4 14:36 coverage.out [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 1846 Mar 4 14:34 Dockerfile [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 120 Mar 4 14:34 .dockerignore [2022-03-04T14:36:36.321Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 4 14:35 .git [2022-03-04T14:36:36.321Z] drwxrwxr-x. 2 jenkins jenkins 81 Mar 4 14:34 .github [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 343 Mar 4 14:34 .gitignore [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 2794 Mar 4 14:34 go.mod [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 70652 Mar 4 14:34 go.sum [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 677 Mar 4 14:34 GOVERNANCE.md [2022-03-04T14:36:36.321Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 4 14:34 internal [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 657 Mar 4 14:34 Jenkinsfile [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 4 14:34 LICENSE [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 992 Mar 4 14:34 Makefile [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 617 Mar 4 14:34 OWNERS.md [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 9578 Mar 4 14:34 README.md [2022-03-04T14:36:36.321Z] drwx------. 3 jenkins jenkins 43 Mar 4 14:35 .semver [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 4 14:35 VERSION [2022-03-04T14:36:36.321Z] -rw-rw-r--. 1 jenkins jenkins 209 Mar 4 14:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:36:36.628Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 --label arch=amd64 --label version=0.0.0 . [2022-03-04T14:36:36.629Z] Sending build context to Docker daemon 11.07MB [2022-03-04T14:36:36.629Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T14:36:36.629Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-04T14:36:36.629Z] ---> 922b89e946ae [2022-03-04T14:36:36.629Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T14:36:36.629Z] ---> Running in 967312c6659e [2022-03-04T14:36:36.889Z] Removing intermediate container 967312c6659e [2022-03-04T14:36:36.889Z] ---> 8d5bc2f8ba2d [2022-03-04T14:36:36.889Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T14:36:36.889Z] ---> Running in e4e0a139db08 [2022-03-04T14:36:36.889Z] Removing intermediate container e4e0a139db08 [2022-03-04T14:36:36.889Z] ---> 7ea6f05eadc5 [2022-03-04T14:36:36.889Z] Step 5/25 : WORKDIR /device-gpio [2022-03-04T14:36:36.889Z] ---> Running in afb6cb707a07 [2022-03-04T14:36:37.151Z] Removing intermediate container afb6cb707a07 [2022-03-04T14:36:37.151Z] ---> 461c0a207bb5 [2022-03-04T14:36:37.151Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:36:37.151Z] ---> Running in c594866c197e [2022-03-04T14:36:37.415Z] Removing intermediate container c594866c197e [2022-03-04T14:36:37.415Z] ---> c6fd549b881a [2022-03-04T14:36:37.415Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T14:36:37.683Z] ---> Running in e6b4605df611 [2022-03-04T14:36:37.943Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-04T14:36:38.889Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-04T14:36:39.149Z] OK: 224 MiB in 56 packages [2022-03-04T14:36:39.149Z] Removing intermediate container e6b4605df611 [2022-03-04T14:36:39.149Z] ---> f3e6e39e293c [2022-03-04T14:36:39.149Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-04T14:36:39.412Z] ---> 4f78f56fc796 [2022-03-04T14:36:39.412Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T14:36:39.412Z] ---> Running in 600e7d3d34e8 [2022-03-04T14:36:39.995Z] Removing intermediate container 600e7d3d34e8 [2022-03-04T14:36:39.995Z] ---> dd7b6471062a [2022-03-04T14:36:39.995Z] Step 10/25 : COPY . . [2022-03-04T14:36:40.570Z] ---> 386bba74edbc [2022-03-04T14:36:40.570Z] Step 11/25 : RUN ${MAKE} [2022-03-04T14:36:40.570Z] ---> Running in 054807ec3bb3 [2022-03-04T14:36:40.833Z] Removing intermediate container 054807ec3bb3 [2022-03-04T14:36:40.833Z] ---> 4043b63741b5 [2022-03-04T14:36:40.833Z] Step 12/25 : FROM alpine:3.15 [2022-03-04T14:36:41.406Z] 3.15: Pulling from library/alpine [2022-03-04T14:36:41.671Z] 59bf1c3509f3: Already exists [2022-03-04T14:36:41.671Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-03-04T14:36:41.671Z] Status: Downloaded newer image for alpine:3.15 [2022-03-04T14:36:41.671Z] ---> c059bfaa849c [2022-03-04T14:36:41.671Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-04T14:36:41.671Z] ---> Running in ef1ea850e020 [2022-03-04T14:36:41.930Z] Removing intermediate container ef1ea850e020 [2022-03-04T14:36:41.930Z] ---> 2149d5112baa [2022-03-04T14:36:41.930Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:36:41.930Z] ---> Running in 8ad6b49ad411 [2022-03-04T14:36:42.192Z] Removing intermediate container 8ad6b49ad411 [2022-03-04T14:36:42.192Z] ---> a715fd9f4ddf [2022-03-04T14:36:42.192Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-04T14:36:42.452Z] ---> Running in 20baa338d8c2 [2022-03-04T14:36:42.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-04T14:36:43.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-04T14:36:43.858Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-04T14:36:43.858Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-04T14:36:43.858Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-04T14:36:44.119Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-04T14:36:44.119Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-04T14:36:44.119Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T14:36:44.119Z] OK: 8 MiB in 19 packages [2022-03-04T14:36:44.694Z] Removing intermediate container 20baa338d8c2 [2022-03-04T14:36:44.694Z] ---> f510608c350f [2022-03-04T14:36:44.694Z] Step 16/25 : WORKDIR / [2022-03-04T14:36:44.694Z] ---> Running in 4fd252b571eb [2022-03-04T14:36:44.694Z] Removing intermediate container 4fd252b571eb [2022-03-04T14:36:44.694Z] ---> cc1ca79a1676 [2022-03-04T14:36:44.694Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-04T14:36:44.694Z] ---> 45c1ac468943 [2022-03-04T14:36:44.694Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-04T14:36:44.954Z] ---> 268b475891d8 [2022-03-04T14:36:44.954Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-04T14:36:45.217Z] ---> d234c8cd515a [2022-03-04T14:36:45.217Z] Step 20/25 : EXPOSE 59910 [2022-03-04T14:36:45.217Z] ---> Running in b402baeb1be1 [2022-03-04T14:36:45.217Z] Removing intermediate container b402baeb1be1 [2022-03-04T14:36:45.217Z] ---> 45dbd1e62243 [2022-03-04T14:36:45.217Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-04T14:36:45.217Z] ---> Running in 1d856b975f21 [2022-03-04T14:36:45.217Z] Removing intermediate container 1d856b975f21 [2022-03-04T14:36:45.217Z] ---> e5cfbddc93dc [2022-03-04T14:36:45.217Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-04T14:36:45.477Z] ---> Running in 8016557ca362 [2022-03-04T14:36:45.477Z] Removing intermediate container 8016557ca362 [2022-03-04T14:36:45.477Z] ---> 84246344e476 [2022-03-04T14:36:45.477Z] Step 23/25 : LABEL arch=amd64 [2022-03-04T14:36:45.477Z] ---> Running in 793e7553e81f [2022-03-04T14:36:45.477Z] Removing intermediate container 793e7553e81f [2022-03-04T14:36:45.477Z] ---> 4ba5f21aa388 [2022-03-04T14:36:45.477Z] Step 24/25 : LABEL git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 [2022-03-04T14:36:45.477Z] ---> Running in c06f287824fa [2022-03-04T14:36:45.737Z] Removing intermediate container c06f287824fa [2022-03-04T14:36:45.737Z] ---> 7aad90424038 [2022-03-04T14:36:45.737Z] Step 25/25 : LABEL version=0.0.0 [2022-03-04T14:36:45.737Z] ---> Running in 586a169505a5 [2022-03-04T14:36:45.737Z] Removing intermediate container 586a169505a5 [2022-03-04T14:36:45.737Z] ---> 08e6c8b5dd05 [2022-03-04T14:36:45.737Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-04T14:36:45.737Z] Successfully built 08e6c8b5dd05 [2022-03-04T14:36:45.737Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:36:46.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T14:36:46.153Z] [2022-03-04T14:36:46.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:36:46.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T14:36:46.458Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-04T14:36:46.458Z] 5eb5b503b376: Pulling fs layer [2022-03-04T14:36:46.458Z] 5c69ac0246d0: Pulling fs layer [2022-03-04T14:36:46.458Z] ec43610c2a17: Pulling fs layer [2022-03-04T14:36:46.458Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-04T14:36:46.458Z] 33b1e0a273af: Pulling fs layer [2022-03-04T14:36:46.458Z] 5d3b04190fa2: Pulling fs layer [2022-03-04T14:36:46.458Z] 2f39f015ded8: Pulling fs layer [2022-03-04T14:36:46.458Z] 3a2ae6a8a46f: Waiting [2022-03-04T14:36:46.458Z] 33b1e0a273af: Waiting [2022-03-04T14:36:46.458Z] 5d3b04190fa2: Waiting [2022-03-04T14:36:46.458Z] 2f39f015ded8: Waiting [2022-03-04T14:36:46.458Z] 5c69ac0246d0: Verifying Checksum [2022-03-04T14:36:46.458Z] 5c69ac0246d0: Download complete [2022-03-04T14:36:46.458Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-04T14:36:46.458Z] 3a2ae6a8a46f: Download complete [2022-03-04T14:36:46.458Z] ec43610c2a17: Verifying Checksum [2022-03-04T14:36:46.458Z] ec43610c2a17: Download complete [2022-03-04T14:36:46.458Z] 33b1e0a273af: Verifying Checksum [2022-03-04T14:36:46.458Z] 33b1e0a273af: Download complete [2022-03-04T14:36:46.458Z] 5d3b04190fa2: Verifying Checksum [2022-03-04T14:36:46.458Z] 5d3b04190fa2: Download complete [2022-03-04T14:36:46.722Z] 5eb5b503b376: Verifying Checksum [2022-03-04T14:36:46.722Z] 5eb5b503b376: Download complete [2022-03-04T14:36:47.304Z] 2f39f015ded8: Download complete [2022-03-04T14:36:48.250Z] 5eb5b503b376: Pull complete [2022-03-04T14:36:48.250Z] 5c69ac0246d0: Pull complete [2022-03-04T14:36:48.833Z] ec43610c2a17: Pull complete [2022-03-04T14:36:48.833Z] 3a2ae6a8a46f: Pull complete [2022-03-04T14:36:49.099Z] 33b1e0a273af: Pull complete [2022-03-04T14:36:49.374Z] 5d3b04190fa2: Pull complete [2022-03-04T14:36:54.726Z] 2f39f015ded8: Pull complete [2022-03-04T14:36:54.726Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-04T14:36:54.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T14:36:54.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-04T14:36:54.796Z] prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container [2022-03-04T14:36:54.843Z] $ 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-04T14:36:56.126Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6391 in /w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T14:36:57.182Z] $ docker top a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-03-04T14:36:57.358Z] Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout [2022-03-04T14:36:57.534Z] The recommended git tool is: git [2022-03-04T14:36:57.613Z] ---> job-cost.sh [2022-03-04T14:36:57.613Z] lf-activate-venv: SKIPPING [2022-03-04T14:36:57.613Z] INFO: No Stack... [2022-03-04T14:36:57.873Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T14:36:58.442Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T14:36:58.735Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv [2022-03-04T14:36:58.735Z] + cut -d, -f6 [Pipeline] lock [2022-03-04T14:36:58.751Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [2022-03-04T14:36:58.756Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] did not exist. Created. [2022-03-04T14:36:58.756Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T14:36:59.064Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-04T14:36:59.090Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T14:36:59.097Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T14:36:59.118Z] $ docker stop --time=1 a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 [2022-03-04T14:37:00.263Z] $ docker rm -f a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-04T14:37:02.094Z] using credential edgex-jenkins-ssh [2022-03-04T14:37:02.110Z] Cloning the remote Git repository [2022-03-04T14:37:02.162Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-04T14:37:02.235Z] > git init /w/workspace/device-gpio/4 # timeout=10 [2022-03-04T14:37:02.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T14:37:02.313Z] > git --version # timeout=10 [2022-03-04T14:37:02.333Z] > git --version # 'git version 2.17.1' [2022-03-04T14:37:02.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T14:37:02.408Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T14:37:03.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T14:37:03.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-04T14:37:04.351Z] Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit 35291215e9e6f8c84724c5804fdd16bc3643ae09 [2022-03-04T14:37:04.539Z] Merge succeeded, producing 35291215e9e6f8c84724c5804fdd16bc3643ae09 [2022-03-04T14:37:04.539Z] Checking out Revision 35291215e9e6f8c84724c5804fdd16bc3643ae09 (PR-16) [2022-03-04T14:37:03.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-04T14:37:03.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-04T14:37:03.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T14:37:03.762Z] > 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-04T14:37:04.369Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T14:37:04.385Z] > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 [2022-03-04T14:37:04.458Z] > git remote # timeout=10 [2022-03-04T14:37:04.474Z] > git config --get remote.origin.url # timeout=10 [2022-03-04T14:37:04.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-04T14:37:04.505Z] > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 [2022-03-04T14:37:04.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-04T14:37:04.547Z] > git config core.sparsecheckout # timeout=10 [2022-03-04T14:37:04.559Z] > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 [2022-03-04T14:37:08.657Z] 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-04T14:37:09.492Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-04T14:37:09.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-04T14:37:09.492Z] Dload Upload Total Spent Left Speed [2022-03-04T14:37:09.492Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47372 [Pipeline] sh [2022-03-04T14:37:10.022Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-04T14:37:10.370Z] + sudo tee /etc/docker/daemon.new [2022-03-04T14:37:10.370Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-04T14:37:10.370Z] { [2022-03-04T14:37:10.370Z] "registry-mirrors": [ [2022-03-04T14:37:10.370Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-04T14:37:10.370Z] ], [2022-03-04T14:37:10.370Z] "bip": "10.250.0.254/24", [2022-03-04T14:37:10.370Z] "hosts": [ [2022-03-04T14:37:10.370Z] "tcp://0.0.0.0:5555", [2022-03-04T14:37:10.370Z] "unix:///var/run/docker.sock" [2022-03-04T14:37:10.370Z] ], [2022-03-04T14:37:10.370Z] "mtu": 1458, [2022-03-04T14:37:10.370Z] "selinux-enabled": true, [2022-03-04T14:37:10.370Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-04T14:37:10.370Z] } [Pipeline] sh [2022-03-04T14:37:10.718Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-04T14:37:11.176Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T14:37:29.517Z] provisioning config files... [2022-03-04T14:37:29.539Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config3967071904274421437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:37:29.898Z] ---> docker-login.sh [2022-03-04T14:37:29.898Z] nexus3.edgexfoundry.org:10001 [2022-03-04T14:37:30.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:37:30.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:37:30.776Z] Configure a credential helper to remove this warning. See [2022-03-04T14:37:30.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:37:30.776Z] [2022-03-04T14:37:30.776Z] Login Succeeded [2022-03-04T14:37:30.776Z] nexus3.edgexfoundry.org:10002 [2022-03-04T14:37:31.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:37:31.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:37:31.051Z] Configure a credential helper to remove this warning. See [2022-03-04T14:37:31.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:37:31.051Z] [2022-03-04T14:37:31.051Z] Login Succeeded [2022-03-04T14:37:31.051Z] nexus3.edgexfoundry.org:10003 [2022-03-04T14:37:31.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:37:31.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:37:31.602Z] Configure a credential helper to remove this warning. See [2022-03-04T14:37:31.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:37:31.602Z] [2022-03-04T14:37:31.602Z] Login Succeeded [2022-03-04T14:37:31.602Z] nexus3.edgexfoundry.org:10004 [2022-03-04T14:37:31.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:37:31.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:37:31.876Z] Configure a credential helper to remove this warning. See [2022-03-04T14:37:31.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:37:31.876Z] [2022-03-04T14:37:31.876Z] Login Succeeded [2022-03-04T14:37:32.149Z] docker.io [2022-03-04T14:37:32.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-04T14:37:32.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-04T14:37:32.702Z] Configure a credential helper to remove this warning. See [2022-03-04T14:37:32.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-04T14:37:32.702Z] [2022-03-04T14:37:32.702Z] Login Succeeded [2022-03-04T14:37:32.702Z] ---> docker-login.sh ends [Pipeline] } [2022-03-04T14:37:32.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-04T14:37:33.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-04T14:37:33.233Z] ========================================================= [2022-03-04T14:37:33.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-04T14:37:33.233Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:37:33.577Z] + 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-04T14:37:33.851Z] Sending build context to Docker daemon 5.651MB [2022-03-04T14:37:33.851Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T14:37:33.851Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-04T14:37:34.127Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-04T14:37:34.127Z] 9b3977197b4f: Pulling fs layer [2022-03-04T14:37:34.127Z] 1a89e8eeedd5: Pulling fs layer [2022-03-04T14:37:34.127Z] 94645a83ff95: Pulling fs layer [2022-03-04T14:37:34.127Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-04T14:37:34.127Z] 0c92f367c5e7: Pulling fs layer [2022-03-04T14:37:34.127Z] f7c0051592d6: Pulling fs layer [2022-03-04T14:37:34.127Z] a227ed2f7395: Pulling fs layer [2022-03-04T14:37:34.127Z] 7b1c46037f91: Pulling fs layer [2022-03-04T14:37:34.127Z] f7c0051592d6: Waiting [2022-03-04T14:37:34.127Z] a227ed2f7395: Waiting [2022-03-04T14:37:34.127Z] 7b1c46037f91: Waiting [2022-03-04T14:37:34.127Z] 3f3a8bcf1eab: Waiting [2022-03-04T14:37:34.127Z] 0c92f367c5e7: Waiting [2022-03-04T14:37:34.127Z] 94645a83ff95: Verifying Checksum [2022-03-04T14:37:34.127Z] 94645a83ff95: Download complete [2022-03-04T14:37:34.127Z] 1a89e8eeedd5: Verifying Checksum [2022-03-04T14:37:34.127Z] 1a89e8eeedd5: Download complete [2022-03-04T14:37:34.127Z] 0c92f367c5e7: Verifying Checksum [2022-03-04T14:37:34.127Z] 0c92f367c5e7: Download complete [2022-03-04T14:37:34.127Z] f7c0051592d6: Verifying Checksum [2022-03-04T14:37:34.127Z] f7c0051592d6: Download complete [2022-03-04T14:37:34.127Z] 9b3977197b4f: Download complete [2022-03-04T14:37:34.127Z] a227ed2f7395: Verifying Checksum [2022-03-04T14:37:34.127Z] a227ed2f7395: Download complete [2022-03-04T14:37:35.111Z] 9b3977197b4f: Pull complete [2022-03-04T14:37:35.713Z] 1a89e8eeedd5: Pull complete [2022-03-04T14:37:35.986Z] 94645a83ff95: Pull complete [2022-03-04T14:37:35.986Z] 7b1c46037f91: Verifying Checksum [2022-03-04T14:37:35.986Z] 7b1c46037f91: Download complete [2022-03-04T14:37:36.581Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-04T14:37:36.581Z] 3f3a8bcf1eab: Download complete [2022-03-04T14:37:48.973Z] 3f3a8bcf1eab: Pull complete [2022-03-04T14:37:48.973Z] 0c92f367c5e7: Pull complete [2022-03-04T14:37:48.973Z] f7c0051592d6: Pull complete [2022-03-04T14:37:48.973Z] a227ed2f7395: Pull complete [2022-03-04T14:37:54.382Z] 7b1c46037f91: Pull complete [2022-03-04T14:37:54.382Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-04T14:37:54.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-04T14:37:54.382Z] ---> f79e39bc4007 [2022-03-04T14:37:54.382Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T14:37:56.359Z] ---> Running in b3cf946d8063 [2022-03-04T14:37:56.359Z] Removing intermediate container b3cf946d8063 [2022-03-04T14:37:56.359Z] ---> 0cfae4446604 [2022-03-04T14:37:56.359Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T14:37:56.359Z] ---> Running in 7f80765631a6 [2022-03-04T14:37:56.958Z] Removing intermediate container 7f80765631a6 [2022-03-04T14:37:56.958Z] ---> 12635f33b814 [2022-03-04T14:37:56.958Z] Step 5/11 : WORKDIR /device-gpio [2022-03-04T14:37:56.958Z] ---> Running in 322beb73be47 [2022-03-04T14:37:57.231Z] Removing intermediate container 322beb73be47 [2022-03-04T14:37:57.231Z] ---> 045249cac77d [2022-03-04T14:37:57.231Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:37:57.504Z] ---> Running in 58b9c45db6d3 [2022-03-04T14:37:59.483Z] Removing intermediate container 58b9c45db6d3 [2022-03-04T14:37:59.483Z] ---> b62608e42b74 [2022-03-04T14:37:59.483Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T14:37:59.483Z] ---> Running in 73d9d3e4fc09 [2022-03-04T14:38:00.468Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-04T14:38:01.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-04T14:38:02.040Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-04T14:38:02.040Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-04T14:38:02.310Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-04T14:38:02.589Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-04T14:38:02.589Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T14:38:02.589Z] OK: 224 MiB in 56 packages [2022-03-04T14:38:03.568Z] Removing intermediate container 73d9d3e4fc09 [2022-03-04T14:38:03.568Z] ---> 81cb3ef156d4 [2022-03-04T14:38:03.568Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-04T14:38:04.168Z] ---> 9331b8d3fe78 [2022-03-04T14:38:04.168Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T14:38:04.168Z] ---> Running in 5a628a1a8543 [2022-03-04T14:39:25.952Z] Removing intermediate container 5a628a1a8543 [2022-03-04T14:39:25.952Z] ---> 25bd5f732e8b [2022-03-04T14:39:25.952Z] Step 10/11 : COPY . . [2022-03-04T14:39:25.952Z] ---> d2b8327af9a7 [2022-03-04T14:39:25.952Z] Step 11/11 : RUN ${MAKE} [2022-03-04T14:39:25.952Z] ---> Running in 3c7c4e1d47af [2022-03-04T14:39:25.952Z] Removing intermediate container 3c7c4e1d47af [2022-03-04T14:39:25.952Z] ---> 19a408cfa449 [2022-03-04T14:39:25.952Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-04T14:39:25.952Z] Successfully built 19a408cfa449 [2022-03-04T14:39:25.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:39:26.292Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T14:39:26.292Z] . [Pipeline] withDockerContainer [2022-03-04T14:39:26.528Z] prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container [2022-03-04T14:39:26.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 ******** -e ******** ci-base-image-arm64 cat [2022-03-04T14:39:27.937Z] $ docker top d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T14:39:28.824Z] + go version [2022-03-04T14:39:28.824Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-04T14:39:28.846Z] $ docker stop --time=1 d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 [2022-03-04T14:39:30.463Z] $ docker rm -f d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:39:31.058Z] + docker inspect -f . ci-base-image-arm64 [2022-03-04T14:39:31.058Z] . [Pipeline] withDockerContainer [2022-03-04T14:39:31.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container [2022-03-04T14:39:31.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 ******** -e ******** ci-base-image-arm64 cat [2022-03-04T14:39:32.663Z] $ docker top e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-04T14:39:33.552Z] + make test [2022-03-04T14:39:33.552Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-04T14:39:34.534Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-04T14:40:21.540Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-04T14:40:21.540Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-04T14:40:21.540Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-04T14:40:36.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-04T14:40:36.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-04T14:40:36.632Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-04T14:40:37.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-04T14:40:37.262Z] $ docker stop --time=1 e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c [2022-03-04T14:40:39.050Z] $ docker rm -f e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-04T14:40:39.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-04T14:40:39.871Z] Warning: overwriting stash ‘coverage-report’ [2022-03-04T14:40:40.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-04T14:40:40.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-04T14:40:41.056Z] + ls -al . [2022-03-04T14:40:41.056Z] total 176 [2022-03-04T14:40:41.056Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 4 14:40 . [2022-03-04T14:40:41.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 14:37 .. [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 4 14:37 .dockerignore [2022-03-04T14:40:41.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 14:37 .git [2022-03-04T14:40:41.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 14:37 .github [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 4 14:37 .gitignore [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 4 14:37 Attribution.txt [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 4 14:37 Dockerfile [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 14:37 GOVERNANCE.md [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 4 14:37 Jenkinsfile [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 14:37 LICENSE [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 4 14:37 Makefile [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 4 14:37 OWNERS.md [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 4 14:37 README.md [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 14:35 VERSION [2022-03-04T14:40:41.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 14:37 bin [2022-03-04T14:40:41.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 14:37 cmd [2022-03-04T14:40:41.056Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 4 14:39 coverage.out [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 4 14:37 go.mod [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 4 14:37 go.sum [2022-03-04T14:40:41.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 14:37 internal [2022-03-04T14:40:41.056Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 4 14:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:40:41.395Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 --label arch=arm64 --label version=0.0.0 . [2022-03-04T14:40:41.667Z] Sending build context to Docker daemon 5.652MB [2022-03-04T14:40:41.667Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-04T14:40:41.667Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-04T14:40:41.667Z] ---> 19a408cfa449 [2022-03-04T14:40:41.940Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-04T14:40:41.940Z] ---> Running in f9e395536b3b [2022-03-04T14:40:42.213Z] Removing intermediate container f9e395536b3b [2022-03-04T14:40:42.213Z] ---> 5d1bbc576cda [2022-03-04T14:40:42.213Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-04T14:40:42.485Z] ---> Running in fbada40e1237 [2022-03-04T14:40:42.760Z] Removing intermediate container fbada40e1237 [2022-03-04T14:40:42.760Z] ---> 29e8f44a6fc2 [2022-03-04T14:40:42.760Z] Step 5/25 : WORKDIR /device-gpio [2022-03-04T14:40:42.760Z] ---> Running in 04f6df18dd9c [2022-03-04T14:40:43.356Z] Removing intermediate container 04f6df18dd9c [2022-03-04T14:40:43.356Z] ---> db7d1682708d [2022-03-04T14:40:43.356Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:40:43.356Z] ---> Running in 2698b1967884 [2022-03-04T14:40:44.794Z] Removing intermediate container 2698b1967884 [2022-03-04T14:40:44.794Z] ---> f3eb42d41c26 [2022-03-04T14:40:44.794Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-04T14:40:45.073Z] ---> Running in c8c4892e645c [2022-03-04T14:40:46.057Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-04T14:40:47.028Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-04T14:40:48.012Z] OK: 224 MiB in 56 packages [2022-03-04T14:40:48.607Z] Removing intermediate container c8c4892e645c [2022-03-04T14:40:48.607Z] ---> f65db34258f8 [2022-03-04T14:40:48.607Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-04T14:40:49.206Z] ---> ef944febaa41 [2022-03-04T14:40:49.206Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-04T14:40:49.206Z] ---> Running in 38c200c3c6ca [2022-03-04T14:40:51.203Z] Removing intermediate container 38c200c3c6ca [2022-03-04T14:40:51.203Z] ---> d33ff4821642 [2022-03-04T14:40:51.203Z] Step 10/25 : COPY . . [2022-03-04T14:40:52.181Z] ---> 772ffc9e2c47 [2022-03-04T14:40:52.181Z] Step 11/25 : RUN ${MAKE} [2022-03-04T14:40:52.457Z] ---> Running in 853f6d42ebd8 [2022-03-04T14:40:53.893Z] Removing intermediate container 853f6d42ebd8 [2022-03-04T14:40:53.893Z] ---> dbbb3b8da473 [2022-03-04T14:40:53.893Z] Step 12/25 : FROM alpine:3.15 [2022-03-04T14:40:54.867Z] 3.15: Pulling from library/alpine [2022-03-04T14:40:54.867Z] 9b3977197b4f: Already exists [2022-03-04T14:40:55.138Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-03-04T14:40:55.138Z] Status: Downloaded newer image for alpine:3.15 [2022-03-04T14:40:55.138Z] ---> 8e1d7573f448 [2022-03-04T14:40:55.138Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-04T14:40:55.138Z] ---> Running in 49524b022a33 [2022-03-04T14:40:55.410Z] Removing intermediate container 49524b022a33 [2022-03-04T14:40:55.410Z] ---> a699485edf02 [2022-03-04T14:40:55.410Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-04T14:40:55.684Z] ---> Running in 2c0bbedfc049 [2022-03-04T14:40:57.112Z] Removing intermediate container 2c0bbedfc049 [2022-03-04T14:40:57.112Z] ---> c98b8550adff [2022-03-04T14:40:57.112Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-04T14:40:57.621Z] ---> Running in ef5918d43049 [2022-03-04T14:40:58.600Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-04T14:40:59.198Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-04T14:41:00.173Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-04T14:41:00.173Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-04T14:41:00.173Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-04T14:41:00.447Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-04T14:41:00.723Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-04T14:41:00.723Z] Executing busybox-1.34.1-r3.trigger [2022-03-04T14:41:00.723Z] OK: 8 MiB in 19 packages [2022-03-04T14:41:01.701Z] Removing intermediate container ef5918d43049 [2022-03-04T14:41:01.701Z] ---> 77bfc9d30db2 [2022-03-04T14:41:01.701Z] Step 16/25 : WORKDIR / [2022-03-04T14:41:01.701Z] ---> Running in eafa3e00c1e0 [2022-03-04T14:41:02.294Z] Removing intermediate container eafa3e00c1e0 [2022-03-04T14:41:02.294Z] ---> a1536b146034 [2022-03-04T14:41:02.294Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-04T14:41:02.888Z] ---> c2b7ce8be385 [2022-03-04T14:41:02.888Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-04T14:41:03.485Z] ---> da6b3a251833 [2022-03-04T14:41:03.485Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-04T14:41:04.081Z] ---> f86a5d12e0a1 [2022-03-04T14:41:04.081Z] Step 20/25 : EXPOSE 59910 [2022-03-04T14:41:04.081Z] ---> Running in 6a6402af6f46 [2022-03-04T14:41:04.353Z] Removing intermediate container 6a6402af6f46 [2022-03-04T14:41:04.353Z] ---> 80c5187add40 [2022-03-04T14:41:04.353Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-04T14:41:04.626Z] ---> Running in 5544304c52fc [2022-03-04T14:41:04.898Z] Removing intermediate container 5544304c52fc [2022-03-04T14:41:04.898Z] ---> 9163755967f6 [2022-03-04T14:41:04.898Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-04T14:41:04.898Z] ---> Running in 48eb8a900bbb [2022-03-04T14:41:05.176Z] Removing intermediate container 48eb8a900bbb [2022-03-04T14:41:05.176Z] ---> 8b3f2e7975c7 [2022-03-04T14:41:05.176Z] Step 23/25 : LABEL arch=arm64 [2022-03-04T14:41:05.451Z] ---> Running in 4a7313b02966 [2022-03-04T14:41:05.726Z] Removing intermediate container 4a7313b02966 [2022-03-04T14:41:05.726Z] ---> aec4d5a37871 [2022-03-04T14:41:05.726Z] Step 24/25 : LABEL git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 [2022-03-04T14:41:05.726Z] ---> Running in 21cc9d97a367 [2022-03-04T14:41:06.336Z] Removing intermediate container 21cc9d97a367 [2022-03-04T14:41:06.336Z] ---> cdcf28adc7ea [2022-03-04T14:41:06.336Z] Step 25/25 : LABEL version=0.0.0 [2022-03-04T14:41:06.336Z] ---> Running in 0a14f9fb27b8 [2022-03-04T14:41:06.609Z] Removing intermediate container 0a14f9fb27b8 [2022-03-04T14:41:06.609Z] ---> 4d8615922704 [2022-03-04T14:41:06.609Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-04T14:41:06.609Z] Successfully built 4d8615922704 [2022-03-04T14:41:06.609Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:41:07.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T14:41:07.049Z] [2022-03-04T14:41:07.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:41:07.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T14:41:07.675Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-04T14:41:07.675Z] 8998bd30e6a1: Pulling fs layer [2022-03-04T14:41:07.675Z] 04944245beec: Pulling fs layer [2022-03-04T14:41:07.675Z] 699f458cf7ca: Pulling fs layer [2022-03-04T14:41:07.675Z] 765212b225bb: Pulling fs layer [2022-03-04T14:41:07.675Z] f23df028b6ca: Pulling fs layer [2022-03-04T14:41:07.675Z] d65c8cfc05b1: Pulling fs layer [2022-03-04T14:41:07.675Z] 2437ff75d9bd: Pulling fs layer [2022-03-04T14:41:07.675Z] 765212b225bb: Waiting [2022-03-04T14:41:07.675Z] f23df028b6ca: Waiting [2022-03-04T14:41:07.675Z] d65c8cfc05b1: Waiting [2022-03-04T14:41:07.675Z] 2437ff75d9bd: Waiting [2022-03-04T14:41:07.675Z] 04944245beec: Verifying Checksum [2022-03-04T14:41:07.675Z] 04944245beec: Download complete [2022-03-04T14:41:07.675Z] 765212b225bb: Download complete [2022-03-04T14:41:07.675Z] f23df028b6ca: Verifying Checksum [2022-03-04T14:41:07.675Z] f23df028b6ca: Download complete [2022-03-04T14:41:07.675Z] d65c8cfc05b1: Verifying Checksum [2022-03-04T14:41:07.675Z] d65c8cfc05b1: Download complete [2022-03-04T14:41:07.951Z] 699f458cf7ca: Verifying Checksum [2022-03-04T14:41:07.951Z] 699f458cf7ca: Download complete [2022-03-04T14:41:08.222Z] 8998bd30e6a1: Verifying Checksum [2022-03-04T14:41:08.222Z] 8998bd30e6a1: Download complete [2022-03-04T14:41:10.199Z] 2437ff75d9bd: Verifying Checksum [2022-03-04T14:41:10.199Z] 2437ff75d9bd: Download complete [2022-03-04T14:41:12.181Z] 8998bd30e6a1: Pull complete [2022-03-04T14:41:12.774Z] 04944245beec: Pull complete [2022-03-04T14:41:14.211Z] 699f458cf7ca: Pull complete [2022-03-04T14:41:14.483Z] 765212b225bb: Pull complete [2022-03-04T14:41:15.464Z] f23df028b6ca: Pull complete [2022-03-04T14:41:15.464Z] d65c8cfc05b1: Pull complete [2022-03-04T14:41:30.536Z] 2437ff75d9bd: Pull complete [2022-03-04T14:41:30.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-04T14:41:30.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-04T14:41:30.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-04T14:41:30.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container [2022-03-04T14:41:30.807Z] $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-04T14:41:33.310Z] $ docker top 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:34.220Z] ---> job-cost.sh [2022-03-04T14:41:34.220Z] lf-activate-venv: SKIPPING [2022-03-04T14:41:34.220Z] INFO: No Stack... [2022-03-04T14:41:34.812Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-04T14:41:35.401Z] INFO: Archiving Costs [Pipeline] sh [2022-03-04T14:41:36.059Z] + cat /w/workspace/device-gpio/4/archives/cost.csv [2022-03-04T14:41:36.060Z] + cut -d, -f6 [Pipeline] lock [2022-03-04T14:41:36.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [2022-03-04T14:41:36.129Z] Resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] did not exist. Created. [2022-03-04T14:41:36.129Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-04T14:41:36.793Z] /w/workspace/device-gpio/4@tmp/durable-0ee0ccb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-04T14:41:37.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-04T14:41:37.496Z] Warning: overwriting stash ‘stack-cost’ [2022-03-04T14:41:37.532Z] Stashed 1 file(s) [Pipeline] } [2022-03-04T14:41:37.537Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-04T14:41:37.552Z] $ docker stop --time=1 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d [2022-03-04T14:41:39.022Z] $ docker rm -f 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-03-04T14:41:39.486Z] provisioning config files... [2022-03-04T14:41:39.494Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7081932270372936782tmp [Pipeline] { [Pipeline] sh [2022-03-04T14:41:39.791Z] + set +x [2022-03-04T14:41:39.791Z] + curl -s https://codecov.io/bash [2022-03-04T14:41:39.791Z] + bash -s -- [2022-03-04T14:41:40.055Z] [2022-03-04T14:41:40.055Z] _____ _ [2022-03-04T14:41:40.055Z] / ____| | | [2022-03-04T14:41:40.055Z] | | ___ __| | ___ ___ _____ __ [2022-03-04T14:41:40.055Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-04T14:41:40.055Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-04T14:41:40.055Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-04T14:41:40.055Z] Bash-1.0.6 [2022-03-04T14:41:40.055Z] [2022-03-04T14:41:40.055Z] [2022-03-04T14:41:40.055Z] ==> git version 2.24.4 found [2022-03-04T14:41:40.055Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-03-04T14:41:40.055Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-03-04T14:41:40.055Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-03-04T14:41:40.055Z] ==> Jenkins CI detected. [2022-03-04T14:41:40.055Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T14:41:40.055Z] project root: . [2022-03-04T14:41:40.055Z] --> token set from env [2022-03-04T14:41:40.055Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-04T14:41:40.055Z] ==> Running gcov in . (disable via -X gcov) [2022-03-04T14:41:40.055Z] ==> Python coveragepy not found [2022-03-04T14:41:40.055Z] ==> Searching for coverage reports in: [2022-03-04T14:41:40.055Z] + . [2022-03-04T14:41:40.055Z] -> Found 1 reports [2022-03-04T14:41:40.055Z] ==> Detecting git/mercurial file structure [2022-03-04T14:41:40.055Z] ==> Reading reports [2022-03-04T14:41:40.055Z] + ./coverage.out bytes=10 [2022-03-04T14:41:40.055Z] ==> Appending adjustments [2022-03-04T14:41:40.055Z] https://docs.codecov.io/docs/fixing-reports [2022-03-04T14:41:40.055Z] + Found adjustments [2022-03-04T14:41:40.055Z] ==> Gzipping contents [2022-03-04T14:41:40.055Z] 4.0K /tmp/codecov.lBDnHY.gz [2022-03-04T14:41:40.055Z] ==> Uploading reports [2022-03-04T14:41:40.055Z] url: https://codecov.io [2022-03-04T14:41:40.055Z] query: branch=PR-16&commit=35291215e9e6f8c84724c5804fdd16bc3643ae09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-16%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=16&job=&cmd_args= [2022-03-04T14:41:40.055Z] -> Pinging Codecov [2022-03-04T14:41:40.055Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-16&commit=35291215e9e6f8c84724c5804fdd16bc3643ae09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-16%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=16&job=&cmd_args= [2022-03-04T14:41:40.665Z] -> Uploading to [2022-03-04T14:41:40.665Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-04/3EC07B1A8CA8AF9BCAA0BB9F0134797F/35291215e9e6f8c84724c5804fdd16bc3643ae09/34e032f7-073e-450a-beed-2bc6d6fb0195.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220304T144140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a141f43641d992fa394c17055f6fd67519f7bf8b8f023709621086944ce18a19 [2022-03-04T14:41:40.665Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-04T14:41:40.665Z] Dload Upload Total Spent Left Speed [2022-03-04T14:41:40.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 589 0 0 100 589 0 1711 --:--:-- --:--:-- --:--:-- 1712 [2022-03-04T14:41:40.982Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] } [2022-03-04T14:41:41.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-04T14:41:41.934Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' [2022-03-04T14:41:41.934Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T14:41:41.934Z] total 8 [2022-03-04T14:41:41.934Z] drwxr-xr-x. 3 root root 34 Mar 4 14:36 . [2022-03-04T14:41:41.934Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 14:36 .. [2022-03-04T14:41:41.934Z] drwxr-xr-x. 2 root root 6 Mar 4 14:36 cost [2022-03-04T14:41:41.934Z] -rw-r--r--. 1 root root 81 Mar 4 14:36 cost.csv [2022-03-04T14:41:41.934Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T14:41:41.934Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives [2022-03-04T14:41:41.934Z] total 8 [2022-03-04T14:41:41.934Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 14:36 . [2022-03-04T14:41:41.934Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 14:36 .. [2022-03-04T14:41:41.934Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 14:36 cost [2022-03-04T14:41:41.934Z] -rw-r--r--. 1 jenkins jenkins 81 Mar 4 14:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:42.233Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:42.791Z] ---> package-listing.sh [2022-03-04T14:41:42.791Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-04T14:41:42.791Z] ++ facter osfamily [2022-03-04T14:41:43.051Z] + OS_FAMILY=redhat [2022-03-04T14:41:43.051Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 [2022-03-04T14:41:43.051Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-04T14:41:43.051Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-04T14:41:43.051Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-04T14:41:43.051Z] + PACKAGES=/tmp/packages_start.txt [2022-03-04T14:41:43.051Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T14:41:43.051Z] + PACKAGES=/tmp/packages_end.txt [2022-03-04T14:41:43.051Z] + case "${OS_FAMILY}" in [2022-03-04T14:41:43.051Z] + sort [2022-03-04T14:41:43.051Z] + rpm -qa [2022-03-04T14:41:43.621Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-04T14:41:43.621Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-04T14:41:43.621Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-04T14:41:43.621Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' [2022-03-04T14:41:43.621Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [2022-03-04T14:41:43.621Z] + 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-04T14:41:43.633Z] 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-04T14:41:43.917Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-04T14:41:44.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-04T14:41:44.473Z] . [Pipeline] withDockerContainer [2022-03-04T14:41:44.535Z] prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container [2022-03-04T14:41:44.574Z] $ 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-04T14:41:44.775Z] $ docker top 77cc30c14492203f729a04332c6fc0e5d1a0ef1cee74a02ac47d8db1dc8433e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-04T14:41:45.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-04T14:41:45.428Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-04T14:41:45.721Z] + ls /var/log/sa-host [2022-03-04T14:41:45.721Z] + sadf -c /var/log/sa-host/sa04 [2022-03-04T14:41:45.721Z] file_magic: OK [2022-03-04T14:41:45.721Z] HZ: Using current value: 100 [2022-03-04T14:41:45.721Z] file_header: OK [2022-03-04T14:41:45.721Z] 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-04T14:41:45.721Z] Statistics: [2022-03-04T14:41:45.721Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T14:41:45.721Z] File successfully converted to sysstat format version 12.5.2 [2022-03-04T14:41:45.721Z] + sadf -c /var/log/sa-host/sa17 [2022-03-04T14:41:45.721Z] file_magic: OK [2022-03-04T14:41:45.721Z] HZ: Using current value: 100 [2022-03-04T14:41:45.721Z] file_header: OK [2022-03-04T14:41:45.721Z] 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-04T14:41:45.721Z] Statistics: [2022-03-04T14:41:45.721Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-04T14:41:45.721Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-04T14:41:45.927Z] provisioning config files... [2022-03-04T14:41:45.937Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config1607621340675155799tmp [Pipeline] { [Pipeline] echo [2022-03-04T14:41:45.952Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:46.237Z] ---> create-netrc.sh [Pipeline] } [2022-03-04T14:41:46.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:46.582Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-04T14:41:46.591Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:46.881Z] ---> sudo-logs.sh [2022-03-04T14:41:46.881Z] Archiving 'sudo' log.. [2022-03-04T14:41:46.881Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6390.novalocal: Name or service not known [2022-03-04T14:41:46.881Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6390.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-04T14:41:46.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:47.193Z] ---> job-cost.sh [2022-03-04T14:41:47.193Z] lf-activate-venv: SKIPPING [2022-03-04T14:41:47.193Z] DEBUG: total: 0.05999999865889549 [2022-03-04T14:41:47.193Z] INFO: Retrieving Stack Cost... [2022-03-04T14:41:47.454Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-04T14:41:48.026Z] INFO: Archiving Costs [Pipeline] echo [2022-03-04T14:41:48.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-04T14:41:48.328Z] ---> logs-deploy.sh [2022-03-04T14:41:48.328Z] lf-activate-venv: SKIPPING [2022-03-04T14:41:48.328Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/4 [2022-03-04T14:41:48.328Z] INFO: archiving workspace using pattern(s): [2022-03-04T14:41:49.271Z] Archives upload complete. [2022-03-04T14:41:49.271Z] INFO: archiving logs to Nexus