Pull request #13 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 farshidtz for edgexfoundry/device-gpio Loading trusted files from base branch main at d550a7515acedfb5a6817696fd12096f388c1d1e rather than 044bd4008deb8034d73c12c663e01144ef1e2174 Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e 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-ssh5726178091733208054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2390481109117717765.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-13/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-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1463703910633901608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh16986168059187804496.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-13/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-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh857175415134260844.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-8642 in /w/workspace/edgexfoundry_device-gpio_PR-13 [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-13 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 044bd4008deb8034d73c12c663e01144ef1e2174 Merge succeeded, producing b76458a7480fb49c47db2a6872038474d30c4354 Checking out Revision b76458a7480fb49c47db2a6872038474d30c4354 (PR-13) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 044bd4008deb8034d73c12c663e01144ef1e2174 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b76458a7480fb49c47db2a6872038474d30c4354 # timeout=10 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-23T12:04:18.708Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-23T12:04:18.769Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-23T12:04:18.785Z] ========================================================= [2022-03-23T12:04:18.785Z] EdgeX Global Pipelines Version Info [2022-03-23T12:04:18.785Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 [2022-03-23T12:04:19.568Z] ------------------- [2022-03-23T12:04:19.568Z] stable info: [2022-03-23T12:04:19.568Z] ------------------- [2022-03-23T12:04:19.568Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-23T12:04:19.568Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-23T12:04:19.568Z] Message: update stable to v1.0.221 [2022-03-23T12:04:20.141Z] ------------------- [2022-03-23T12:04:20.141Z] experimental info: [2022-03-23T12:04:20.141Z] ------------------- [2022-03-23T12:04:20.141Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-23T12:04:20.141Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-23T12:04:20.141Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-23T12:04:20.290Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-23T12:04:20.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-23T12:04:20.317Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-23T12:04:20.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-23T12:04:20.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-23T12:04:20.360Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-23T12:04:20.378Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-23T12:04:20.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-23T12:04:20.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-23T12:04:20.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-23T12:04:20.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-23T12:04:20.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-23T12:04:20.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-23T12:04:20.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-23T12:04:20.617Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-23T12:04:20.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-23T12:04:20.648Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-23T12:04:20.668Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-23T12:04:20.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-23T12:04:20.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-23T12:04:20.707Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-23T12:04:20.719Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-23T12:04:20.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-23T12:04:20.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-23T12:04:20.765Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-23T12:04:20.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-23T12:04:20.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo [2022-03-23T12:04:20.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo [2022-03-23T12:04:20.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo [2022-03-23T12:04:20.847Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo [2022-03-23T12:04:20.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b76458a [Pipeline] echo [2022-03-23T12:04:20.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T12:04:20.918Z] provisioning config files... [2022-03-23T12:04:20.942Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config4059918634164692621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:04:21.264Z] ---> docker-login.sh [2022-03-23T12:04:21.264Z] nexus3.edgexfoundry.org:10001 [2022-03-23T12:04:21.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:21.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:21.527Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:21.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:21.527Z] [2022-03-23T12:04:21.527Z] Login Succeeded [2022-03-23T12:04:21.527Z] nexus3.edgexfoundry.org:10002 [2022-03-23T12:04:21.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:21.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:21.790Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:21.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:21.790Z] [2022-03-23T12:04:21.790Z] Login Succeeded [2022-03-23T12:04:21.790Z] nexus3.edgexfoundry.org:10003 [2022-03-23T12:04:21.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:22.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:22.052Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:22.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:22.052Z] [2022-03-23T12:04:22.052Z] Login Succeeded [2022-03-23T12:04:22.052Z] nexus3.edgexfoundry.org:10004 [2022-03-23T12:04:22.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:22.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:22.052Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:22.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:22.052Z] [2022-03-23T12:04:22.052Z] Login Succeeded [2022-03-23T12:04:22.052Z] docker.io [2022-03-23T12:04:22.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:22.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:22.577Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:22.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:22.577Z] [2022-03-23T12:04:22.577Z] Login Succeeded [2022-03-23T12:04:22.577Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T12:04:22.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-23T12:04:22.967Z] + git rev-list -1 --merges b76458a7480fb49c47db2a6872038474d30c4354~1..b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo [2022-03-23T12:04:22.994Z] -----------> git rev-list -1 --merges b76458a7480fb49c47db2a6872038474d30c4354~1..b76458a7480fb49c47db2a6872038474d30c4354 b76458a7480fb49c47db2a6872038474d30c4354 [2022-03-23T12:04:22.994Z] b76458a7480fb49c47db2a6872038474d30c4354 [false] [Pipeline] sh [2022-03-23T12:04:23.293Z] + git log --format=format:%s -1 b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo [2022-03-23T12:04:23.310Z] ========================================================= [2022-03-23T12:04:23.310Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-23T12:04:23.310Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T12:04:23.649Z] + git log --format=format:%s -1 b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo [2022-03-23T12:04:23.662Z] [semverPrep] GIT_COMMIT: b76458a7480fb49c47db2a6872038474d30c4354, Commit Message: Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD [Pipeline] echo [2022-03-23T12:04:23.671Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-23T12:04:24.097Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-23T12:04:24.097Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-23T12:04:24.097Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-23T12:04:24.097Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-23T12:04:24.097Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-23T12:04:24.097Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-23T12:04:24.097Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:04:24.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T12:04:24.519Z] [2022-03-23T12:04:24.519Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:04:24.828Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T12:04:24.828Z] latest: Pulling from edgex-devops/git-semver [2022-03-23T12:04:24.828Z] a0d0a0d46f8b: Pulling fs layer [2022-03-23T12:04:24.828Z] 3e5f54012d9b: Pulling fs layer [2022-03-23T12:04:24.828Z] 4c7163046ea9: Pulling fs layer [2022-03-23T12:04:24.828Z] 0c2d73faf560: Pulling fs layer [2022-03-23T12:04:24.828Z] 0c2d73faf560: Waiting [2022-03-23T12:04:24.828Z] 3e5f54012d9b: Verifying Checksum [2022-03-23T12:04:24.828Z] 3e5f54012d9b: Download complete [2022-03-23T12:04:24.828Z] a0d0a0d46f8b: Download complete [2022-03-23T12:04:24.828Z] 0c2d73faf560: Verifying Checksum [2022-03-23T12:04:24.828Z] 0c2d73faf560: Download complete [2022-03-23T12:04:25.091Z] 4c7163046ea9: Verifying Checksum [2022-03-23T12:04:25.091Z] 4c7163046ea9: Download complete [2022-03-23T12:04:25.091Z] a0d0a0d46f8b: Pull complete [2022-03-23T12:04:25.091Z] 3e5f54012d9b: Pull complete [2022-03-23T12:04:25.355Z] 4c7163046ea9: Pull complete [2022-03-23T12:04:25.620Z] 0c2d73faf560: Pull complete [2022-03-23T12:04:25.620Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-23T12:04:25.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T12:04:25.620Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-23T12:04:25.803Z] prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container [2022-03-23T12:04:25.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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:10004/edgex-devops/git-semver:latest cat [2022-03-23T12:04:26.600Z] $ docker top f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-23T12:04:26.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-23T12:04:26.722Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-23T12:04:26.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-23T12:04:26.874Z] $ docker exec f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent [2022-03-23T12:04:27.008Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCFmlMk/agent.15 [2022-03-23T12:04:27.008Z] SSH_AGENT_PID=22 [2022-03-23T12:04:27.016Z] Running ssh-add (command line suppressed) [2022-03-23T12:04:27.130Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_8277310580226479184.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_8277310580226479184.key) [2022-03-23T12:04:27.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-23T12:04:27.452Z] + git tag --points-at HEAD [Pipeline] } [2022-03-23T12:04:27.464Z] $ docker exec --env ******** --env ******** f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent -k [2022-03-23T12:04:27.585Z] unset SSH_AUTH_SOCK; [2022-03-23T12:04:27.586Z] unset SSH_AGENT_PID; [2022-03-23T12:04:27.586Z] echo Agent pid 22 killed; [2022-03-23T12:04:27.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-23T12:04:27.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-23T12:04:27.627Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-23T12:04:27.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-23T12:04:27.755Z] $ docker exec f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent [2022-03-23T12:04:27.907Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDipbh/agent.56 [2022-03-23T12:04:27.907Z] SSH_AGENT_PID=62 [2022-03-23T12:04:27.913Z] Running ssh-add (command line suppressed) [2022-03-23T12:04:28.039Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_4846413728131802446.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_4846413728131802446.key) [2022-03-23T12:04:28.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-23T12:04:28.349Z] + git semver init [2022-03-23T12:04:28.349Z] # -> Open(): unable to determine branch for HEAD [2022-03-23T12:04:28.349Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git [2022-03-23T12:04:28.349Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-23T12:04:28.349Z] # $SEMVER_REMOTE_NAME = origin [2022-03-23T12:04:28.349Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-23T12:04:28.349Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-23T12:04:28.349Z] # $SEMVER_BRANCH = PR-13 [2022-03-23T12:04:28.349Z] # $SEMVER_TEMP = /tmp/semver-207662884 [2022-03-23T12:04:28.349Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-23T12:04:29.294Z] # '/tmp/semver-207662884' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' [2022-03-23T12:04:29.294Z] # -> Force: false [2022-03-23T12:04:29.294Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } [2022-03-23T12:04:29.299Z] $ docker exec --env ******** --env ******** f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent -k [2022-03-23T12:04:29.408Z] unset SSH_AUTH_SOCK; [2022-03-23T12:04:29.409Z] unset SSH_AGENT_PID; [2022-03-23T12:04:29.409Z] echo Agent pid 62 killed; [2022-03-23T12:04:29.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-23T12:04:29.738Z] + git semver [Pipeline] } [2022-03-23T12:04:29.747Z] $ docker stop --time=1 f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 [2022-03-23T12:04:31.100Z] $ docker rm -f f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-23T12:04:31.474Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-23T12:04:31.737Z] Stashed 1 file(s) [Pipeline] echo [2022-03-23T12:04:31.740Z] [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-23T12:04:31.899Z] provisioning config files... [2022-03-23T12:04:31.909Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config2484780823315339173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:04:32.226Z] ---> docker-login.sh [2022-03-23T12:04:32.226Z] nexus3.edgexfoundry.org:10001 [2022-03-23T12:04:32.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:32.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:32.226Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:32.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:32.226Z] [2022-03-23T12:04:32.226Z] Login Succeeded [2022-03-23T12:04:32.226Z] nexus3.edgexfoundry.org:10002 [2022-03-23T12:04:32.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:32.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:32.488Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:32.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:32.488Z] [2022-03-23T12:04:32.488Z] Login Succeeded [2022-03-23T12:04:32.488Z] nexus3.edgexfoundry.org:10003 [2022-03-23T12:04:32.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:32.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:32.488Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:32.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:32.488Z] [2022-03-23T12:04:32.488Z] Login Succeeded [2022-03-23T12:04:32.488Z] nexus3.edgexfoundry.org:10004 [2022-03-23T12:04:32.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:32.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:32.749Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:32.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:32.749Z] [2022-03-23T12:04:32.749Z] Login Succeeded [2022-03-23T12:04:32.749Z] docker.io [2022-03-23T12:04:32.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:04:33.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:04:33.010Z] Configure a credential helper to remove this warning. See [2022-03-23T12:04:33.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:04:33.010Z] [2022-03-23T12:04:33.010Z] Login Succeeded [2022-03-23T12:04:33.010Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T12:04:33.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-23T12:04:33.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T12:04:33.103Z] ========================================================= [2022-03-23T12:04:33.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-23T12:04:33.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:04:33.416Z] + 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-23T12:04:33.416Z] Sending build context to Docker daemon 11.22MB [2022-03-23T12:04:33.416Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-23T12:04:33.416Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-23T12:04:33.416Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-23T12:04:33.416Z] 59bf1c3509f3: Pulling fs layer [2022-03-23T12:04:33.416Z] 666ba61612fd: Pulling fs layer [2022-03-23T12:04:33.416Z] 8ed8ca486205: Pulling fs layer [2022-03-23T12:04:33.416Z] 4fe6c5a15a65: Pulling fs layer [2022-03-23T12:04:33.416Z] 22a0e8bec74d: Pulling fs layer [2022-03-23T12:04:33.416Z] 640e595b4fbd: Pulling fs layer [2022-03-23T12:04:33.416Z] 763cafe07f6e: Pulling fs layer [2022-03-23T12:04:33.416Z] 0c0b528cf693: Pulling fs layer [2022-03-23T12:04:33.416Z] 10935f4eaf8b: Pulling fs layer [2022-03-23T12:04:33.416Z] 763cafe07f6e: Waiting [2022-03-23T12:04:33.416Z] 0c0b528cf693: Waiting [2022-03-23T12:04:33.416Z] 22a0e8bec74d: Waiting [2022-03-23T12:04:33.416Z] 640e595b4fbd: Waiting [2022-03-23T12:04:33.416Z] 10935f4eaf8b: Waiting [2022-03-23T12:04:33.416Z] 4fe6c5a15a65: Waiting [2022-03-23T12:04:33.677Z] 8ed8ca486205: Verifying Checksum [2022-03-23T12:04:33.677Z] 8ed8ca486205: Download complete [2022-03-23T12:04:33.677Z] 666ba61612fd: Verifying Checksum [2022-03-23T12:04:33.677Z] 666ba61612fd: Download complete [2022-03-23T12:04:33.677Z] 22a0e8bec74d: Verifying Checksum [2022-03-23T12:04:33.677Z] 22a0e8bec74d: Download complete [2022-03-23T12:04:33.677Z] 640e595b4fbd: Download complete [2022-03-23T12:04:33.677Z] 59bf1c3509f3: Verifying Checksum [2022-03-23T12:04:33.677Z] 59bf1c3509f3: Download complete [2022-03-23T12:04:33.677Z] 763cafe07f6e: Verifying Checksum [2022-03-23T12:04:33.677Z] 763cafe07f6e: Download complete [2022-03-23T12:04:33.677Z] 0c0b528cf693: Verifying Checksum [2022-03-23T12:04:33.677Z] 0c0b528cf693: Download complete [2022-03-23T12:04:33.677Z] 59bf1c3509f3: Pull complete [2022-03-23T12:04:33.939Z] 666ba61612fd: Pull complete [2022-03-23T12:04:33.939Z] 8ed8ca486205: Pull complete [2022-03-23T12:04:34.200Z] 10935f4eaf8b: Verifying Checksum [2022-03-23T12:04:34.200Z] 10935f4eaf8b: Download complete [2022-03-23T12:04:34.200Z] 4fe6c5a15a65: Verifying Checksum [2022-03-23T12:04:34.200Z] 4fe6c5a15a65: Download complete [2022-03-23T12:04:38.404Z] 4fe6c5a15a65: Pull complete [2022-03-23T12:04:38.404Z] 22a0e8bec74d: Pull complete [2022-03-23T12:04:38.404Z] 640e595b4fbd: Pull complete [2022-03-23T12:04:38.664Z] 763cafe07f6e: Pull complete [2022-03-23T12:04:38.664Z] 0c0b528cf693: Pull complete [2022-03-23T12:04:41.204Z] 10935f4eaf8b: Pull complete [2022-03-23T12:04:41.204Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-23T12:04:41.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-23T12:04:41.204Z] ---> 99d49a6021b9 [2022-03-23T12:04:41.204Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-23T12:04:42.145Z] ---> Running in 89d53bc71795 [2022-03-23T12:04:42.405Z] Removing intermediate container 89d53bc71795 [2022-03-23T12:04:42.405Z] ---> fd28d7e012ca [2022-03-23T12:04:42.405Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-23T12:04:42.405Z] ---> Running in 708b2205a961 [2022-03-23T12:04:42.405Z] Removing intermediate container 708b2205a961 [2022-03-23T12:04:42.405Z] ---> 7fa1ab512e0f [2022-03-23T12:04:42.405Z] Step 5/11 : WORKDIR /device-gpio [2022-03-23T12:04:42.405Z] ---> Running in 776b6e0c1e77 [2022-03-23T12:04:42.665Z] Removing intermediate container 776b6e0c1e77 [2022-03-23T12:04:42.665Z] ---> ea85df774eb4 [2022-03-23T12:04:42.665Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:04:42.665Z] ---> Running in d7ad00abc8ea [2022-03-23T12:04:43.233Z] Removing intermediate container d7ad00abc8ea [2022-03-23T12:04:43.233Z] ---> 5441bc654c1f [2022-03-23T12:04:43.233Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-23T12:04:43.233Z] ---> Running in e514d17922b2 [2022-03-23T12:04:43.495Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T12:04:44.440Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T12:04:44.702Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-23T12:04:44.963Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-23T12:04:44.963Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-23T12:04:44.963Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-23T12:04:45.224Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T12:04:45.224Z] OK: 224 MiB in 56 packages [2022-03-23T12:04:45.496Z] Removing intermediate container e514d17922b2 [2022-03-23T12:04:45.496Z] ---> 81d1c62d625c [2022-03-23T12:04:45.496Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-23T12:04:45.759Z] ---> 0e6f76223ead [2022-03-23T12:04:45.759Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-23T12:04:45.759Z] ---> Running in 4c7951eff1bf [2022-03-23T12:04:46.851Z] Still waiting to schedule task [2022-03-23T12:04:46.851Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-23T12:05:17.890Z] Removing intermediate container 4c7951eff1bf [2022-03-23T12:05:17.890Z] ---> 2bb9527c5a0f [2022-03-23T12:05:17.890Z] Step 10/11 : COPY . . [2022-03-23T12:05:17.890Z] ---> b0575bffe9cb [2022-03-23T12:05:17.890Z] Step 11/11 : RUN ${MAKE} [2022-03-23T12:05:17.890Z] ---> Running in 4d47e5b304ea [2022-03-23T12:05:17.890Z] Removing intermediate container 4d47e5b304ea [2022-03-23T12:05:17.890Z] ---> a387d34f1401 [2022-03-23T12:05:17.890Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-23T12:05:17.890Z] Successfully built a387d34f1401 [2022-03-23T12:05:17.890Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:05:18.191Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-23T12:05:18.191Z] . [Pipeline] withDockerContainer [2022-03-23T12:05:18.269Z] prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container [2022-03-23T12:05:18.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-23T12:05:18.713Z] $ docker top 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T12:05:19.072Z] + go version [2022-03-23T12:05:19.072Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-23T12:05:19.091Z] $ docker stop --time=1 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 [2022-03-23T12:05:20.374Z] $ docker rm -f 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:05:20.806Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-23T12:05:20.806Z] . [Pipeline] withDockerContainer [2022-03-23T12:05:20.888Z] prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container [2022-03-23T12:05:20.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-23T12:05:21.341Z] $ docker top 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-23T12:05:21.710Z] + make test [2022-03-23T12:05:21.710Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-23T12:05:21.972Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-23T12:05:30.105Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-23T12:05:30.105Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-23T12:05:30.105Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-23T12:05:32.028Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-23T12:05:32.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-23T12:05:32.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-23T12:05:32.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-23T12:05:32.632Z] $ docker stop --time=1 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 [2022-03-23T12:05:34.179Z] $ docker rm -f 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-23T12:05:34.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-23T12:05:34.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-23T12:05:35.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-23T12:05:35.925Z] + ls -al . [2022-03-23T12:05:35.925Z] total 184 [2022-03-23T12:05:35.925Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 12:05 . [2022-03-23T12:05:35.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:04 .. [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 12:04 .dockerignore [2022-03-23T12:05:35.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:04 .git [2022-03-23T12:05:35.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:04 .github [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 12:04 .gitignore [2022-03-23T12:05:35.925Z] drwx------ 3 jenkins jenkins 4096 Mar 23 12:04 .semver [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 12:04 Attribution.txt [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 12:04 Dockerfile [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:04 GOVERNANCE.md [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 12:04 Jenkinsfile [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 12:04 LICENSE [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 12:04 Makefile [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 12:04 OWNERS.md [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 12:04 README.md [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:04 VERSION [2022-03-23T12:05:35.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:04 bin [2022-03-23T12:05:35.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 cmd [2022-03-23T12:05:35.925Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 23 12:05 coverage.out [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 12:04 go.mod [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 12:04 go.sum [2022-03-23T12:05:35.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 internal [2022-03-23T12:05:35.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 snap [2022-03-23T12:05:35.925Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 12:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:05:36.222Z] + 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=b76458a7480fb49c47db2a6872038474d30c4354 --label arch=amd64 --label version=0.0.0 . [2022-03-23T12:05:36.222Z] Sending build context to Docker daemon 11.23MB [2022-03-23T12:05:36.222Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-23T12:05:36.222Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-23T12:05:36.222Z] ---> a387d34f1401 [2022-03-23T12:05:36.222Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-23T12:05:36.222Z] ---> Running in c0454b156c44 [2022-03-23T12:05:36.482Z] Removing intermediate container c0454b156c44 [2022-03-23T12:05:36.482Z] ---> 06e9bf6dc6f7 [2022-03-23T12:05:36.482Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-23T12:05:36.482Z] ---> Running in f4d052a9f3be [2022-03-23T12:05:36.482Z] Removing intermediate container f4d052a9f3be [2022-03-23T12:05:36.482Z] ---> a5bb307ec639 [2022-03-23T12:05:36.482Z] Step 5/25 : WORKDIR /device-gpio [2022-03-23T12:05:36.742Z] ---> Running in dd85bd508995 [2022-03-23T12:05:36.742Z] Removing intermediate container dd85bd508995 [2022-03-23T12:05:36.742Z] ---> e3423618c909 [2022-03-23T12:05:36.742Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:05:36.742Z] ---> Running in 2b6f49b0037c [2022-03-23T12:05:37.310Z] Removing intermediate container 2b6f49b0037c [2022-03-23T12:05:37.310Z] ---> 27164585cef4 [2022-03-23T12:05:37.310Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-23T12:05:37.310Z] ---> Running in 737a562d78e3 [2022-03-23T12:05:37.571Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T12:05:38.513Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T12:05:38.772Z] OK: 224 MiB in 56 packages [2022-03-23T12:05:39.034Z] Removing intermediate container 737a562d78e3 [2022-03-23T12:05:39.034Z] ---> 38fce1ae4642 [2022-03-23T12:05:39.034Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-23T12:05:39.295Z] ---> a0b85ec0b8e9 [2022-03-23T12:05:39.295Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-23T12:05:39.295Z] ---> Running in 7ed09d3ccd91 [2022-03-23T12:05:39.865Z] Removing intermediate container 7ed09d3ccd91 [2022-03-23T12:05:39.865Z] ---> 5e881292bd9d [2022-03-23T12:05:39.865Z] Step 10/25 : COPY . . [2022-03-23T12:05:40.436Z] ---> 5985e2dd4409 [2022-03-23T12:05:40.436Z] Step 11/25 : RUN ${MAKE} [2022-03-23T12:05:40.436Z] ---> Running in 3fcc15b5b45d [2022-03-23T12:05:41.006Z] Removing intermediate container 3fcc15b5b45d [2022-03-23T12:05:41.006Z] ---> 2d60243335c2 [2022-03-23T12:05:41.006Z] Step 12/25 : FROM alpine:3.15 [2022-03-23T12:05:41.578Z] 3.15: Pulling from library/alpine [2022-03-23T12:05:41.578Z] 3d2430473443: Pulling fs layer [2022-03-23T12:05:41.857Z] 3d2430473443: Verifying Checksum [2022-03-23T12:05:41.857Z] 3d2430473443: Download complete [2022-03-23T12:05:41.857Z] 3d2430473443: Pull complete [2022-03-23T12:05:41.857Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-23T12:05:41.857Z] Status: Downloaded newer image for alpine:3.15 [2022-03-23T12:05:41.857Z] ---> e9adb5357e84 [2022-03-23T12:05:41.857Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-23T12:05:42.118Z] ---> Running in ca81da3d3907 [2022-03-23T12:05:42.118Z] Removing intermediate container ca81da3d3907 [2022-03-23T12:05:42.118Z] ---> 13b443f69f7a [2022-03-23T12:05:42.118Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:05:42.118Z] ---> Running in 23154bba5aeb [2022-03-23T12:05:42.692Z] Removing intermediate container 23154bba5aeb [2022-03-23T12:05:42.692Z] ---> a929077e18ad [2022-03-23T12:05:42.692Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-23T12:05:42.692Z] ---> Running in 08acba7bb0ff [2022-03-23T12:05:42.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T12:05:43.899Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T12:05:44.161Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-23T12:05:44.422Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-23T12:05:44.422Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-23T12:05:44.422Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-23T12:05:44.686Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-23T12:05:44.686Z] Executing busybox-1.34.1-r4.trigger [2022-03-23T12:05:44.686Z] OK: 8 MiB in 19 packages [2022-03-23T12:05:45.256Z] Removing intermediate container 08acba7bb0ff [2022-03-23T12:05:45.256Z] ---> cf56b5c1aafe [2022-03-23T12:05:45.256Z] Step 16/25 : WORKDIR / [2022-03-23T12:05:45.256Z] ---> Running in b0c654dca942 [2022-03-23T12:05:45.256Z] Removing intermediate container b0c654dca942 [2022-03-23T12:05:45.256Z] ---> 1c1e31470632 [2022-03-23T12:05:45.256Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-23T12:05:45.516Z] ---> 631c0fc88bc6 [2022-03-23T12:05:45.516Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-23T12:05:45.516Z] ---> 20a465a7f9a3 [2022-03-23T12:05:45.516Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-23T12:05:45.777Z] ---> 7b7715e8f22a [2022-03-23T12:05:45.777Z] Step 20/25 : EXPOSE 59910 [2022-03-23T12:05:45.777Z] ---> Running in 493595b0ba6f [2022-03-23T12:05:45.777Z] Removing intermediate container 493595b0ba6f [2022-03-23T12:05:45.777Z] ---> 684fa73f7e5e [2022-03-23T12:05:45.777Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-23T12:05:45.777Z] ---> Running in 6f592b91f17b [2022-03-23T12:05:46.039Z] Removing intermediate container 6f592b91f17b [2022-03-23T12:05:46.039Z] ---> 14316fb1192b [2022-03-23T12:05:46.039Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-23T12:05:46.039Z] ---> Running in d88e1addfcaf [2022-03-23T12:05:46.039Z] Removing intermediate container d88e1addfcaf [2022-03-23T12:05:46.039Z] ---> ba0c4121b715 [2022-03-23T12:05:46.039Z] Step 23/25 : LABEL arch=amd64 [2022-03-23T12:05:46.039Z] ---> Running in 5b7b6f15c6cc [2022-03-23T12:05:46.299Z] Removing intermediate container 5b7b6f15c6cc [2022-03-23T12:05:46.299Z] ---> 734f483a734d [2022-03-23T12:05:46.299Z] Step 24/25 : LABEL git_sha=b76458a7480fb49c47db2a6872038474d30c4354 [2022-03-23T12:05:46.299Z] ---> Running in 296aaf236dac [2022-03-23T12:05:46.299Z] Removing intermediate container 296aaf236dac [2022-03-23T12:05:46.299Z] ---> 5775d0465472 [2022-03-23T12:05:46.299Z] Step 25/25 : LABEL version=0.0.0 [2022-03-23T12:05:46.299Z] ---> Running in fb6ce0b260c3 [2022-03-23T12:05:46.560Z] Removing intermediate container fb6ce0b260c3 [2022-03-23T12:05:46.560Z] ---> 44cdacc4f570 [2022-03-23T12:05:46.560Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-23T12:05:46.560Z] Successfully built 44cdacc4f570 [2022-03-23T12:05:46.560Z] 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-23T12:05:47.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T12:05:47.066Z] [2022-03-23T12:05:47.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:05:47.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T12:05:47.366Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-23T12:05:47.366Z] 5eb5b503b376: Pulling fs layer [2022-03-23T12:05:47.366Z] 5c69ac0246d0: Pulling fs layer [2022-03-23T12:05:47.366Z] ec43610c2a17: Pulling fs layer [2022-03-23T12:05:47.366Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-23T12:05:47.366Z] 33b1e0a273af: Pulling fs layer [2022-03-23T12:05:47.366Z] 5d3b04190fa2: Pulling fs layer [2022-03-23T12:05:47.366Z] 2f39f015ded8: Pulling fs layer [2022-03-23T12:05:47.366Z] 33b1e0a273af: Waiting [2022-03-23T12:05:47.366Z] 3a2ae6a8a46f: Waiting [2022-03-23T12:05:47.366Z] 5d3b04190fa2: Waiting [2022-03-23T12:05:47.366Z] 2f39f015ded8: Waiting [2022-03-23T12:05:47.366Z] 5c69ac0246d0: Verifying Checksum [2022-03-23T12:05:47.366Z] 5c69ac0246d0: Download complete [2022-03-23T12:05:47.366Z] 3a2ae6a8a46f: Download complete [2022-03-23T12:05:47.366Z] 33b1e0a273af: Verifying Checksum [2022-03-23T12:05:47.366Z] 33b1e0a273af: Download complete [2022-03-23T12:05:47.366Z] ec43610c2a17: Verifying Checksum [2022-03-23T12:05:47.366Z] ec43610c2a17: Download complete [2022-03-23T12:05:47.366Z] 5d3b04190fa2: Verifying Checksum [2022-03-23T12:05:47.366Z] 5d3b04190fa2: Download complete [2022-03-23T12:05:47.626Z] 5eb5b503b376: Download complete [2022-03-23T12:05:48.194Z] 2f39f015ded8: Verifying Checksum [2022-03-23T12:05:48.194Z] 2f39f015ded8: Download complete [2022-03-23T12:05:49.132Z] 5eb5b503b376: Pull complete [2022-03-23T12:05:49.132Z] 5c69ac0246d0: Pull complete [2022-03-23T12:05:49.701Z] ec43610c2a17: Pull complete [2022-03-23T12:05:49.701Z] 3a2ae6a8a46f: Pull complete [2022-03-23T12:05:49.961Z] 33b1e0a273af: Pull complete [2022-03-23T12:05:49.961Z] 5d3b04190fa2: Pull complete [2022-03-23T12:05:55.245Z] 2f39f015ded8: Pull complete [2022-03-23T12:05:55.245Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-23T12:05:55.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T12:05:55.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-23T12:05:55.319Z] prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container [2022-03-23T12:05:55.364Z] $ 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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-23T12:05:56.955Z] $ docker top 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:05:57.391Z] ---> job-cost.sh [2022-03-23T12:05:57.391Z] lf-activate-venv: SKIPPING [2022-03-23T12:05:57.391Z] INFO: No Stack... [2022-03-23T12:05:57.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-23T12:05:58.226Z] INFO: Archiving Costs [Pipeline] sh [2022-03-23T12:05:58.522Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv [2022-03-23T12:05:58.522Z] + cut -d, -f6 [Pipeline] lock [2022-03-23T12:05:58.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [2022-03-23T12:05:58.542Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] did not exist. Created. [2022-03-23T12:05:58.542Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-23T12:05:58.847Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-23T12:05:58.870Z] Stashed 1 file(s) [Pipeline] } [2022-03-23T12:05:58.875Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-23T12:05:58.902Z] $ docker stop --time=1 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d [2022-03-23T12:06:00.082Z] $ docker rm -f 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-23T12:06:29.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8644 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws [2022-03-23T12:06:29.171Z] Running in /w/workspace/device-gpio/12 [Pipeline] { [Pipeline] checkout [2022-03-23T12:06:29.836Z] The recommended git tool is: git [2022-03-23T12:06:36.777Z] using credential edgex-jenkins-ssh [2022-03-23T12:06:36.793Z] Cloning the remote Git repository [2022-03-23T12:06:36.863Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-23T12:06:36.947Z] > git init /w/workspace/device-gpio/12 # timeout=10 [2022-03-23T12:06:37.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-23T12:06:37.066Z] > git --version # timeout=10 [2022-03-23T12:06:37.098Z] > git --version # 'git version 2.25.1' [2022-03-23T12:06:37.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T12:06:37.198Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-23T12:06:39.378Z] Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 044bd4008deb8034d73c12c663e01144ef1e2174 [2022-03-23T12:06:38.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-23T12:06:38.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-23T12:06:38.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-23T12:06:38.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-23T12:06:38.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T12:06:38.745Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-23T12:06:39.720Z] Merge succeeded, producing d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c [2022-03-23T12:06:39.720Z] Checking out Revision d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c (PR-13) [2022-03-23T12:06:39.405Z] > git config core.sparsecheckout # timeout=10 [2022-03-23T12:06:39.438Z] > git checkout -f 044bd4008deb8034d73c12c663e01144ef1e2174 # timeout=10 [2022-03-23T12:06:39.551Z] > git remote # timeout=10 [2022-03-23T12:06:39.576Z] > git config --get remote.origin.url # timeout=10 [2022-03-23T12:06:39.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T12:06:39.624Z] > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [2022-03-23T12:06:39.673Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-23T12:06:39.732Z] > git config core.sparsecheckout # timeout=10 [2022-03-23T12:06:39.764Z] > git checkout -f d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c # timeout=10 [2022-03-23T12:06:43.939Z] Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" [2022-03-23T12:06:43.963Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T12:06:44.907Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-23T12:06:44.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-23T12:06:44.908Z] Dload Upload Total Spent Left Speed [2022-03-23T12:06:44.908Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51047 0 --:--:-- --:--:-- --:--:-- 51047 [Pipeline] sh [2022-03-23T12:06:43.951Z] > git rev-list --no-walk c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 [2022-03-23T12:06:45.435Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-23T12:06:45.779Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-23T12:06:45.779Z] + sudo tee /etc/docker/daemon.new [2022-03-23T12:06:45.779Z] { [2022-03-23T12:06:45.779Z] "registry-mirrors": [ [2022-03-23T12:06:45.779Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-23T12:06:45.779Z] ], [2022-03-23T12:06:45.779Z] "bip": "10.250.0.254/24", [2022-03-23T12:06:45.779Z] "hosts": [ [2022-03-23T12:06:45.779Z] "tcp://0.0.0.0:5555", [2022-03-23T12:06:45.779Z] "unix:///var/run/docker.sock" [2022-03-23T12:06:45.779Z] ], [2022-03-23T12:06:45.779Z] "mtu": 1458, [2022-03-23T12:06:45.779Z] "selinux-enabled": true, [2022-03-23T12:06:45.779Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-23T12:06:45.779Z] } [Pipeline] sh [2022-03-23T12:06:46.143Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-23T12:06:46.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T12:07:04.905Z] provisioning config files... [2022-03-23T12:07:04.929Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config7195202487212030916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:07:05.284Z] ---> docker-login.sh [2022-03-23T12:07:05.284Z] nexus3.edgexfoundry.org:10001 [2022-03-23T12:07:05.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:07:06.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:07:06.156Z] Configure a credential helper to remove this warning. See [2022-03-23T12:07:06.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:07:06.156Z] [2022-03-23T12:07:06.156Z] Login Succeeded [2022-03-23T12:07:06.156Z] nexus3.edgexfoundry.org:10002 [2022-03-23T12:07:06.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:07:06.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:07:06.429Z] Configure a credential helper to remove this warning. See [2022-03-23T12:07:06.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:07:06.429Z] [2022-03-23T12:07:06.429Z] Login Succeeded [2022-03-23T12:07:06.429Z] nexus3.edgexfoundry.org:10003 [2022-03-23T12:07:06.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:07:06.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:07:06.977Z] Configure a credential helper to remove this warning. See [2022-03-23T12:07:06.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:07:06.978Z] [2022-03-23T12:07:06.978Z] Login Succeeded [2022-03-23T12:07:06.978Z] nexus3.edgexfoundry.org:10004 [2022-03-23T12:07:07.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:07:07.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:07:07.257Z] Configure a credential helper to remove this warning. See [2022-03-23T12:07:07.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:07:07.257Z] [2022-03-23T12:07:07.257Z] Login Succeeded [2022-03-23T12:07:07.533Z] docker.io [2022-03-23T12:07:07.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T12:07:08.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T12:07:08.076Z] Configure a credential helper to remove this warning. See [2022-03-23T12:07:08.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T12:07:08.076Z] [2022-03-23T12:07:08.076Z] Login Succeeded [2022-03-23T12:07:08.076Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T12:07:08.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-23T12:07:08.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T12:07:08.593Z] ========================================================= [2022-03-23T12:07:08.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-23T12:07:08.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:07:08.956Z] + 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-23T12:07:09.229Z] Sending build context to Docker daemon 5.771MB [2022-03-23T12:07:09.508Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-23T12:07:09.508Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-23T12:07:09.508Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-23T12:07:09.508Z] 9b3977197b4f: Pulling fs layer [2022-03-23T12:07:09.508Z] 1a89e8eeedd5: Pulling fs layer [2022-03-23T12:07:09.508Z] 94645a83ff95: Pulling fs layer [2022-03-23T12:07:09.508Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-23T12:07:09.508Z] 0c92f367c5e7: Pulling fs layer [2022-03-23T12:07:09.508Z] f7c0051592d6: Pulling fs layer [2022-03-23T12:07:09.508Z] a227ed2f7395: Pulling fs layer [2022-03-23T12:07:09.508Z] 7b1c46037f91: Pulling fs layer [2022-03-23T12:07:09.508Z] 0c92f367c5e7: Waiting [2022-03-23T12:07:09.508Z] f7c0051592d6: Waiting [2022-03-23T12:07:09.508Z] a227ed2f7395: Waiting [2022-03-23T12:07:09.508Z] 7b1c46037f91: Waiting [2022-03-23T12:07:09.508Z] 3f3a8bcf1eab: Waiting [2022-03-23T12:07:09.508Z] 94645a83ff95: Verifying Checksum [2022-03-23T12:07:09.508Z] 94645a83ff95: Download complete [2022-03-23T12:07:09.508Z] 1a89e8eeedd5: Verifying Checksum [2022-03-23T12:07:09.508Z] 1a89e8eeedd5: Download complete [2022-03-23T12:07:09.508Z] 0c92f367c5e7: Verifying Checksum [2022-03-23T12:07:09.508Z] 0c92f367c5e7: Download complete [2022-03-23T12:07:09.508Z] f7c0051592d6: Verifying Checksum [2022-03-23T12:07:09.508Z] f7c0051592d6: Download complete [2022-03-23T12:07:09.785Z] 9b3977197b4f: Verifying Checksum [2022-03-23T12:07:09.785Z] 9b3977197b4f: Download complete [2022-03-23T12:07:09.785Z] a227ed2f7395: Download complete [2022-03-23T12:07:10.391Z] 9b3977197b4f: Pull complete [2022-03-23T12:07:10.998Z] 1a89e8eeedd5: Pull complete [2022-03-23T12:07:11.275Z] 94645a83ff95: Pull complete [2022-03-23T12:07:11.875Z] 7b1c46037f91: Verifying Checksum [2022-03-23T12:07:11.875Z] 7b1c46037f91: Download complete [2022-03-23T12:07:12.149Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-23T12:07:12.149Z] 3f3a8bcf1eab: Download complete [2022-03-23T12:07:24.563Z] 3f3a8bcf1eab: Pull complete [2022-03-23T12:07:24.563Z] 0c92f367c5e7: Pull complete [2022-03-23T12:07:24.563Z] f7c0051592d6: Pull complete [2022-03-23T12:07:24.838Z] a227ed2f7395: Pull complete [2022-03-23T12:07:31.562Z] 7b1c46037f91: Pull complete [2022-03-23T12:07:31.562Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-23T12:07:31.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-23T12:07:31.562Z] ---> f79e39bc4007 [2022-03-23T12:07:31.562Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-23T12:07:32.566Z] ---> Running in fca92e51c05e [2022-03-23T12:07:32.842Z] Removing intermediate container fca92e51c05e [2022-03-23T12:07:32.842Z] ---> e4de13553586 [2022-03-23T12:07:32.842Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-23T12:07:32.842Z] ---> Running in 34d48c8351e0 [2022-03-23T12:07:33.118Z] Removing intermediate container 34d48c8351e0 [2022-03-23T12:07:33.118Z] ---> 3a6c46174403 [2022-03-23T12:07:33.118Z] Step 5/11 : WORKDIR /device-gpio [2022-03-23T12:07:33.395Z] ---> Running in e59a48bba82b [2022-03-23T12:07:33.670Z] Removing intermediate container e59a48bba82b [2022-03-23T12:07:33.670Z] ---> c73e36ec3c82 [2022-03-23T12:07:33.670Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:07:33.670Z] ---> Running in 257230e5884c [2022-03-23T12:07:35.654Z] Removing intermediate container 257230e5884c [2022-03-23T12:07:35.654Z] ---> c451d56316dd [2022-03-23T12:07:35.654Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-23T12:07:35.654Z] ---> Running in 52eced15ffc7 [2022-03-23T12:07:36.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T12:07:37.232Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T12:07:38.212Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-23T12:07:38.212Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-23T12:07:38.212Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-23T12:07:38.488Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-23T12:07:38.488Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T12:07:38.488Z] OK: 224 MiB in 56 packages [2022-03-23T12:07:39.478Z] Removing intermediate container 52eced15ffc7 [2022-03-23T12:07:39.478Z] ---> 700ffbba27de [2022-03-23T12:07:39.478Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-23T12:07:40.077Z] ---> ec982c4eb353 [2022-03-23T12:07:40.077Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-23T12:07:40.077Z] ---> Running in 9a6b43764da9 [2022-03-23T12:09:01.935Z] Removing intermediate container 9a6b43764da9 [2022-03-23T12:09:01.935Z] ---> 589097739b77 [2022-03-23T12:09:01.935Z] Step 10/11 : COPY . . [2022-03-23T12:09:01.935Z] ---> f04fb4e32490 [2022-03-23T12:09:01.935Z] Step 11/11 : RUN ${MAKE} [2022-03-23T12:09:01.935Z] ---> Running in ceed74be958b [2022-03-23T12:09:01.935Z] Removing intermediate container ceed74be958b [2022-03-23T12:09:01.935Z] ---> 149b37f59bf1 [2022-03-23T12:09:01.935Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-23T12:09:01.935Z] Successfully built 149b37f59bf1 [2022-03-23T12:09:01.935Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:09:02.284Z] + docker inspect -f . ci-base-image-arm64 [2022-03-23T12:09:02.284Z] . [Pipeline] withDockerContainer [2022-03-23T12:09:02.540Z] prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container [2022-03-23T12:09:02.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-23T12:09:03.969Z] $ docker top 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T12:09:04.873Z] + go version [2022-03-23T12:09:04.873Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-23T12:09:04.906Z] $ docker stop --time=1 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 [2022-03-23T12:09:06.564Z] $ docker rm -f 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:09:07.184Z] + docker inspect -f . ci-base-image-arm64 [2022-03-23T12:09:07.185Z] . [Pipeline] withDockerContainer [2022-03-23T12:09:07.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container [2022-03-23T12:09:07.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-23T12:09:08.871Z] $ docker top 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-23T12:09:09.770Z] + make test [2022-03-23T12:09:09.770Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-23T12:09:11.214Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-23T12:09:58.296Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-23T12:09:58.296Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-23T12:09:58.296Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-23T12:10:16.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-23T12:10:16.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-23T12:10:16.645Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-23T12:10:16.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-23T12:10:16.692Z] $ docker stop --time=1 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 [2022-03-23T12:10:18.458Z] $ docker rm -f 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-23T12:10:19.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-23T12:10:19.289Z] Warning: overwriting stash ‘coverage-report’ [2022-03-23T12:10:19.766Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T12:10:20.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-23T12:10:20.506Z] + ls -al . [2022-03-23T12:10:20.506Z] total 180 [2022-03-23T12:10:20.506Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:10 . [2022-03-23T12:10:20.506Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:06 .. [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 12:06 .dockerignore [2022-03-23T12:10:20.506Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:06 .git [2022-03-23T12:10:20.506Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:06 .github [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 12:06 .gitignore [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 12:06 Attribution.txt [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 12:06 Dockerfile [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:06 GOVERNANCE.md [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 12:06 Jenkinsfile [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 12:06 LICENSE [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 12:06 Makefile [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 12:06 OWNERS.md [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 12:06 README.md [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:04 VERSION [2022-03-23T12:10:20.506Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:06 bin [2022-03-23T12:10:20.506Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 cmd [2022-03-23T12:10:20.506Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 23 12:09 coverage.out [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 12:06 go.mod [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 12:06 go.sum [2022-03-23T12:10:20.506Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 internal [2022-03-23T12:10:20.506Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 snap [2022-03-23T12:10:20.506Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 12:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:10:20.848Z] + 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=d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c --label arch=arm64 --label version=0.0.0 . [2022-03-23T12:10:21.448Z] Sending build context to Docker daemon 5.772MB [2022-03-23T12:10:21.448Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-23T12:10:21.448Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-23T12:10:21.448Z] ---> 149b37f59bf1 [2022-03-23T12:10:21.448Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-23T12:10:21.448Z] ---> Running in ea272691d82f [2022-03-23T12:10:21.729Z] Removing intermediate container ea272691d82f [2022-03-23T12:10:21.729Z] ---> f0fd89d82bca [2022-03-23T12:10:21.729Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-23T12:10:21.729Z] ---> Running in 6abbe5f2888e [2022-03-23T12:10:22.332Z] Removing intermediate container 6abbe5f2888e [2022-03-23T12:10:22.332Z] ---> a252f2b06146 [2022-03-23T12:10:22.332Z] Step 5/25 : WORKDIR /device-gpio [2022-03-23T12:10:22.332Z] ---> Running in 040f65a1733c [2022-03-23T12:10:22.605Z] Removing intermediate container 040f65a1733c [2022-03-23T12:10:22.605Z] ---> 37f811d92d02 [2022-03-23T12:10:22.605Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:10:22.605Z] ---> Running in 164e4c1069b5 [2022-03-23T12:10:24.583Z] Removing intermediate container 164e4c1069b5 [2022-03-23T12:10:24.583Z] ---> 013a784cc4ca [2022-03-23T12:10:24.583Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-23T12:10:24.583Z] ---> Running in 78db1a063ae1 [2022-03-23T12:10:25.565Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T12:10:26.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T12:10:27.143Z] OK: 224 MiB in 56 packages [2022-03-23T12:10:27.742Z] Removing intermediate container 78db1a063ae1 [2022-03-23T12:10:27.742Z] ---> d9207f6c445c [2022-03-23T12:10:27.742Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-23T12:10:28.342Z] ---> 2d3f1f4c34a5 [2022-03-23T12:10:28.342Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-23T12:10:28.342Z] ---> Running in 8eeac7538eb3 [2022-03-23T12:10:30.310Z] Removing intermediate container 8eeac7538eb3 [2022-03-23T12:10:30.310Z] ---> d820dd3ed507 [2022-03-23T12:10:30.310Z] Step 10/25 : COPY . . [2022-03-23T12:10:31.288Z] ---> 86412671cdee [2022-03-23T12:10:31.288Z] Step 11/25 : RUN ${MAKE} [2022-03-23T12:10:31.565Z] ---> Running in 1208048b6b83 [2022-03-23T12:10:33.003Z] Removing intermediate container 1208048b6b83 [2022-03-23T12:10:33.003Z] ---> ef402f5156ed [2022-03-23T12:10:33.003Z] Step 12/25 : FROM alpine:3.15 [2022-03-23T12:10:33.600Z] 3.15: Pulling from library/alpine [2022-03-23T12:10:33.874Z] 148d739a8e6b: Pulling fs layer [2022-03-23T12:10:34.148Z] 148d739a8e6b: Download complete [2022-03-23T12:10:34.422Z] 148d739a8e6b: Pull complete [2022-03-23T12:10:34.423Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-23T12:10:34.423Z] Status: Downloaded newer image for alpine:3.15 [2022-03-23T12:10:34.423Z] ---> 3abe2e34c907 [2022-03-23T12:10:34.423Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-23T12:10:34.697Z] ---> Running in 8cd1012f4ba4 [2022-03-23T12:10:34.972Z] Removing intermediate container 8cd1012f4ba4 [2022-03-23T12:10:34.972Z] ---> adba023e4b34 [2022-03-23T12:10:34.972Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-23T12:10:34.972Z] ---> Running in 3d20470d066f [2022-03-23T12:10:36.945Z] Removing intermediate container 3d20470d066f [2022-03-23T12:10:36.945Z] ---> b0b472870ebc [2022-03-23T12:10:36.945Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-23T12:10:36.945Z] ---> Running in 0619d663d1b7 [2022-03-23T12:10:37.540Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T12:10:38.518Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T12:10:39.497Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-23T12:10:39.497Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-23T12:10:39.497Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-23T12:10:39.497Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-23T12:10:39.769Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-23T12:10:39.769Z] Executing busybox-1.34.1-r4.trigger [2022-03-23T12:10:39.769Z] OK: 8 MiB in 19 packages [2022-03-23T12:10:40.755Z] Removing intermediate container 0619d663d1b7 [2022-03-23T12:10:40.755Z] ---> 610fe50f5d68 [2022-03-23T12:10:40.755Z] Step 16/25 : WORKDIR / [2022-03-23T12:10:40.755Z] ---> Running in c80aa5f871da [2022-03-23T12:10:41.029Z] Removing intermediate container c80aa5f871da [2022-03-23T12:10:41.029Z] ---> 16870fc649bb [2022-03-23T12:10:41.029Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-23T12:10:41.626Z] ---> 6cd9ef4ff72e [2022-03-23T12:10:41.626Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-23T12:10:42.219Z] ---> 9a954bca4de3 [2022-03-23T12:10:42.219Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-23T12:10:42.499Z] ---> 902e39c6b1b4 [2022-03-23T12:10:42.499Z] Step 20/25 : EXPOSE 59910 [2022-03-23T12:10:42.499Z] ---> Running in cdeabeda712c [2022-03-23T12:10:42.775Z] Removing intermediate container cdeabeda712c [2022-03-23T12:10:42.775Z] ---> dea836bba671 [2022-03-23T12:10:42.775Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-23T12:10:43.048Z] ---> Running in 4291f86dfd5e [2022-03-23T12:10:43.321Z] Removing intermediate container 4291f86dfd5e [2022-03-23T12:10:43.321Z] ---> 7719d2e5d304 [2022-03-23T12:10:43.321Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-23T12:10:43.321Z] ---> Running in a36f9ed132a3 [2022-03-23T12:10:43.597Z] Removing intermediate container a36f9ed132a3 [2022-03-23T12:10:43.597Z] ---> 73071e3fa4db [2022-03-23T12:10:43.597Z] Step 23/25 : LABEL arch=arm64 [2022-03-23T12:10:43.597Z] ---> Running in a7705bcb469e [2022-03-23T12:10:43.874Z] Removing intermediate container a7705bcb469e [2022-03-23T12:10:43.874Z] ---> a97c325d52ff [2022-03-23T12:10:43.874Z] Step 24/25 : LABEL git_sha=d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c [2022-03-23T12:10:44.152Z] ---> Running in 7dfec9dbb478 [2022-03-23T12:10:44.428Z] Removing intermediate container 7dfec9dbb478 [2022-03-23T12:10:44.428Z] ---> 4c9520b925a1 [2022-03-23T12:10:44.428Z] Step 25/25 : LABEL version=0.0.0 [2022-03-23T12:10:44.428Z] ---> Running in 886b40d8f8d4 [2022-03-23T12:10:44.704Z] Removing intermediate container 886b40d8f8d4 [2022-03-23T12:10:44.705Z] ---> aee3f1d70250 [2022-03-23T12:10:44.705Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-23T12:10:44.705Z] Successfully built aee3f1d70250 [2022-03-23T12:10:44.705Z] 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-23T12:10:45.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T12:10:45.144Z] [2022-03-23T12:10:45.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:10:45.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T12:10:45.498Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-23T12:10:45.773Z] 8998bd30e6a1: Pulling fs layer [2022-03-23T12:10:45.773Z] 04944245beec: Pulling fs layer [2022-03-23T12:10:45.773Z] 699f458cf7ca: Pulling fs layer [2022-03-23T12:10:45.773Z] 765212b225bb: Pulling fs layer [2022-03-23T12:10:45.773Z] f23df028b6ca: Pulling fs layer [2022-03-23T12:10:45.773Z] d65c8cfc05b1: Pulling fs layer [2022-03-23T12:10:45.773Z] 2437ff75d9bd: Pulling fs layer [2022-03-23T12:10:45.773Z] 765212b225bb: Waiting [2022-03-23T12:10:45.773Z] f23df028b6ca: Waiting [2022-03-23T12:10:45.773Z] d65c8cfc05b1: Waiting [2022-03-23T12:10:45.773Z] 2437ff75d9bd: Waiting [2022-03-23T12:10:45.773Z] 04944245beec: Verifying Checksum [2022-03-23T12:10:45.773Z] 04944245beec: Download complete [2022-03-23T12:10:45.773Z] 765212b225bb: Verifying Checksum [2022-03-23T12:10:45.773Z] 765212b225bb: Download complete [2022-03-23T12:10:45.773Z] f23df028b6ca: Verifying Checksum [2022-03-23T12:10:45.773Z] f23df028b6ca: Download complete [2022-03-23T12:10:45.773Z] d65c8cfc05b1: Verifying Checksum [2022-03-23T12:10:45.773Z] d65c8cfc05b1: Download complete [2022-03-23T12:10:45.773Z] 699f458cf7ca: Verifying Checksum [2022-03-23T12:10:45.773Z] 699f458cf7ca: Download complete [2022-03-23T12:10:46.376Z] 8998bd30e6a1: Verifying Checksum [2022-03-23T12:10:46.377Z] 8998bd30e6a1: Download complete [2022-03-23T12:10:48.372Z] 2437ff75d9bd: Verifying Checksum [2022-03-23T12:10:48.372Z] 2437ff75d9bd: Download complete [2022-03-23T12:10:51.005Z] 8998bd30e6a1: Pull complete [2022-03-23T12:10:51.005Z] 04944245beec: Pull complete [2022-03-23T12:10:52.447Z] 699f458cf7ca: Pull complete [2022-03-23T12:10:52.722Z] 765212b225bb: Pull complete [2022-03-23T12:10:53.706Z] f23df028b6ca: Pull complete [2022-03-23T12:10:53.983Z] d65c8cfc05b1: Pull complete [2022-03-23T12:11:09.087Z] 2437ff75d9bd: Pull complete [2022-03-23T12:11:09.087Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-23T12:11:09.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T12:11:09.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-23T12:11:09.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container [2022-03-23T12:11:09.398Z] $ 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/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-23T12:11:11.905Z] $ docker top f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:12.854Z] ---> job-cost.sh [2022-03-23T12:11:12.854Z] lf-activate-venv: SKIPPING [2022-03-23T12:11:12.854Z] INFO: No Stack... [2022-03-23T12:11:13.125Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-23T12:11:14.101Z] INFO: Archiving Costs [Pipeline] sh [2022-03-23T12:11:14.770Z] + + cutcat -d, /w/workspace/device-gpio/12/archives/cost.csv -f6 [2022-03-23T12:11:14.770Z] [Pipeline] lock [2022-03-23T12:11:14.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [2022-03-23T12:11:14.844Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] did not exist. Created. [2022-03-23T12:11:14.844Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-23T12:11:15.523Z] /w/workspace/device-gpio/12@tmp/durable-e89b8940/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-23T12:11:16.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-23T12:11:16.246Z] Warning: overwriting stash ‘stack-cost’ [2022-03-23T12:11:16.287Z] Stashed 1 file(s) [Pipeline] } [2022-03-23T12:11:16.293Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-23T12:11:16.320Z] $ docker stop --time=1 f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 [2022-03-23T12:11:17.858Z] $ docker rm -f f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 [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-23T12:11:18.345Z] provisioning config files... [2022-03-23T12:11:18.356Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config6374260219346887357tmp [Pipeline] { [Pipeline] sh [2022-03-23T12:11:18.661Z] + set +x [2022-03-23T12:11:18.661Z] + curl -s https://codecov.io/bash [2022-03-23T12:11:18.661Z] + bash -s -- [2022-03-23T12:11:18.661Z] [2022-03-23T12:11:18.661Z] _____ _ [2022-03-23T12:11:18.661Z] / ____| | | [2022-03-23T12:11:18.661Z] | | ___ __| | ___ ___ _____ __ [2022-03-23T12:11:18.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-23T12:11:18.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-23T12:11:18.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-23T12:11:18.661Z] Bash-1.0.6 [2022-03-23T12:11:18.661Z] [2022-03-23T12:11:18.661Z] [2022-03-23T12:11:18.661Z] ==> git version 2.25.1 found [2022-03-23T12:11:18.661Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-03-23T12:11:18.661Z] Release-Date: 2020-01-08 [2022-03-23T12:11:18.661Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-23T12:11:18.661Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-23T12:11:18.661Z] ==> Jenkins CI detected. [2022-03-23T12:11:18.661Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-23T12:11:18.661Z] project root: . [2022-03-23T12:11:18.661Z] --> token set from env [2022-03-23T12:11:18.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-23T12:11:18.661Z] ==> Running gcov in . (disable via -X gcov) [2022-03-23T12:11:18.661Z] ==> Python coveragepy not found [2022-03-23T12:11:18.661Z] ==> Searching for coverage reports in: [2022-03-23T12:11:18.661Z] + . [2022-03-23T12:11:18.661Z] -> Found 1 reports [2022-03-23T12:11:18.661Z] ==> Detecting git/mercurial file structure [2022-03-23T12:11:18.661Z] ==> Reading reports [2022-03-23T12:11:18.924Z] + ./coverage.out bytes=10 [2022-03-23T12:11:18.924Z] ==> Appending adjustments [2022-03-23T12:11:18.924Z] https://docs.codecov.io/docs/fixing-reports [2022-03-23T12:11:18.924Z] + Found adjustments [2022-03-23T12:11:18.924Z] ==> Gzipping contents [2022-03-23T12:11:18.924Z] 4.0K /tmp/codecov.48k9Wv.gz [2022-03-23T12:11:18.924Z] ==> Uploading reports [2022-03-23T12:11:18.924Z] url: https://codecov.io [2022-03-23T12:11:18.924Z] query: branch=PR-13&commit=b76458a7480fb49c47db2a6872038474d30c4354&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-23T12:11:18.924Z] -> Pinging Codecov [2022-03-23T12:11:18.924Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-13&commit=b76458a7480fb49c47db2a6872038474d30c4354&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-23T12:11:19.187Z] -> Uploading to [2022-03-23T12:11:19.187Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b76458a7480fb49c47db2a6872038474d30c4354/4d49a510-266a-4c91-b716-0cdc9e30358a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220323T121119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2446c668afe426658773415e2c5a31de1be73e69e38efbc206043830221404f [2022-03-23T12:11:19.187Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-23T12:11:19.187Z] Dload Upload Total Spent Left Speed [2022-03-23T12:11:19.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3669 --:--:-- --:--:-- --:--:-- 3669 [2022-03-23T12:11:19.448Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] } [2022-03-23T12:11:19.458Z] 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-23T12:11:20.190Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] [2022-03-23T12:11:20.190Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-23T12:11:20.190Z] total 16 [2022-03-23T12:11:20.190Z] drwxr-xr-x 3 root root 4096 Mar 23 12:05 . [2022-03-23T12:11:20.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:05 .. [2022-03-23T12:11:20.190Z] drwxr-xr-x 2 root root 4096 Mar 23 12:05 cost [2022-03-23T12:11:20.190Z] -rw-r--r-- 1 root root 82 Mar 23 12:05 cost.csv [2022-03-23T12:11:20.190Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-23T12:11:20.190Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-23T12:11:20.190Z] total 16 [2022-03-23T12:11:20.190Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:05 . [2022-03-23T12:11:20.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:05 .. [2022-03-23T12:11:20.190Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 12:05 cost [2022-03-23T12:11:20.190Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 23 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:20.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:21.360Z] ---> package-listing.sh [2022-03-23T12:11:21.360Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-23T12:11:21.360Z] ++ facter osfamily [2022-03-23T12:11:21.620Z] + OS_FAMILY=debian [2022-03-23T12:11:21.620Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-23T12:11:21.620Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-23T12:11:21.620Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-23T12:11:21.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-23T12:11:21.620Z] + PACKAGES=/tmp/packages_start.txt [2022-03-23T12:11:21.620Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-23T12:11:21.620Z] + PACKAGES=/tmp/packages_end.txt [2022-03-23T12:11:21.620Z] + case "${OS_FAMILY}" in [2022-03-23T12:11:21.620Z] + dpkg -l [2022-03-23T12:11:21.620Z] + grep '^ii' [2022-03-23T12:11:21.620Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-23T12:11:21.620Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-23T12:11:21.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-23T12:11:21.620Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-23T12:11:21.620Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [2022-03-23T12:11:21.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo [2022-03-23T12:11:21.632Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-23T12:11:21.911Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-23T12:11:22.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T12:11:22.470Z] . [Pipeline] withDockerContainer [2022-03-23T12:11:22.540Z] prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container [2022-03-23T12:11:22.586Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-13/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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-23T12:11:22.838Z] $ docker top 20a37ec1a266eac831d7358da0d117e9c73114a455feba484559b16c3ec0d84f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T12:11:23.188Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-23T12:11:23.478Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-23T12:11:23.774Z] + ls /var/log/sa-host [2022-03-23T12:11:23.774Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T12:11:23.987Z] provisioning config files... [2022-03-23T12:11:23.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config5764681750323478446tmp [Pipeline] { [Pipeline] echo [2022-03-23T12:11:24.013Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:24.298Z] ---> create-netrc.sh [Pipeline] } [2022-03-23T12:11:24.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:24.643Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-23T12:11:24.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:24.946Z] ---> sudo-logs.sh [2022-03-23T12:11:24.946Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-23T12:11:24.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:25.320Z] ---> job-cost.sh [2022-03-23T12:11:25.320Z] lf-activate-venv: SKIPPING [2022-03-23T12:11:25.320Z] DEBUG: total: 0.2199999988079071 [2022-03-23T12:11:25.320Z] INFO: Retrieving Stack Cost... [2022-03-23T12:11:25.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-23T12:11:26.224Z] INFO: Archiving Costs [Pipeline] echo [2022-03-23T12:11:26.242Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T12:11:26.563Z] ---> logs-deploy.sh [2022-03-23T12:11:26.563Z] lf-activate-venv: SKIPPING [2022-03-23T12:11:26.563Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/12 [2022-03-23T12:11:26.563Z] INFO: archiving workspace using pattern(s): [2022-03-23T12:11:27.514Z] Archives upload complete. [2022-03-23T12:11:27.514Z] INFO: archiving logs to Nexus