Branch indexing 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 MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 156d9434ec3cf788140140116a7d431d8c0fe3ea rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 156d9434ec3cf788140140116a7d431d8c0fe3ea 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-ssh7988185360701459335.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-ssh8591215164755395612.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-22/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-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1453867436781243181.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-ssh18198287621380668990.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-22/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-22/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13892136608939911694.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-10956 in /w/workspace/edgexfoundry_device-gpio_PR-22 [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-22 # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing fc4a1b22bb20541ad41899d1a0289296e7149cb0 Checking out Revision fc4a1b22bb20541ad41899d1a0289296e7149cb0 (PR-22) > 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/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc4a1b22bb20541ad41899d1a0289296e7149cb0 # timeout=10 Commit message: "Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD" > git rev-list --no-walk c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T09:20:49.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T09:20:49.983Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T09:20:50.005Z] ========================================================= [2022-04-06T09:20:50.005Z] EdgeX Global Pipelines Version Info [2022-04-06T09:20:50.005Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:20:50.796Z] ------------------- [2022-04-06T09:20:50.796Z] stable info: [2022-04-06T09:20:50.796Z] ------------------- [2022-04-06T09:20:50.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T09:20:50.796Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T09:20:50.796Z] Message: update stable to v1.0.221 [2022-04-06T09:20:51.371Z] ------------------- [2022-04-06T09:20:51.371Z] experimental info: [2022-04-06T09:20:51.371Z] ------------------- [2022-04-06T09:20:51.371Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T09:20:51.371Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T09:20:51.371Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T09:20:51.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-06T09:20:51.612Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-06T09:20:51.628Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T09:20:51.638Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T09:20:51.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T09:20:51.663Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T09:20:51.674Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T09:20:51.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T09:20:51.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T09:20:51.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T09:20:51.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T09:20:51.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-06T09:20:51.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T09:20:51.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T09:20:51.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T09:20:51.785Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T09:20:51.804Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T09:20:51.822Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T09:20:51.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T09:20:51.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T09:20:51.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T09:20:51.892Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T09:20:51.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T09:20:51.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T09:20:51.941Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T09:20:51.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T09:20:51.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo [2022-04-06T09:20:51.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo [2022-04-06T09:20:51.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo [2022-04-06T09:20:52.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo [2022-04-06T09:20:52.010Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc4a1b2 [Pipeline] echo [2022-04-06T09:20:52.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T09:20:52.068Z] provisioning config files... [2022-04-06T09:20:52.083Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2868283926613432624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:20:52.392Z] ---> docker-login.sh [2022-04-06T09:20:52.392Z] nexus3.edgexfoundry.org:10001 [2022-04-06T09:20:52.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:20:52.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:20:52.672Z] Configure a credential helper to remove this warning. See [2022-04-06T09:20:52.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:20:52.672Z] [2022-04-06T09:20:52.672Z] Login Succeeded [2022-04-06T09:20:52.672Z] nexus3.edgexfoundry.org:10002 [2022-04-06T09:20:52.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:20:52.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:20:52.933Z] Configure a credential helper to remove this warning. See [2022-04-06T09:20:52.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:20:52.933Z] [2022-04-06T09:20:52.933Z] Login Succeeded [2022-04-06T09:20:52.933Z] nexus3.edgexfoundry.org:10003 [2022-04-06T09:20:52.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:20:52.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:20:52.933Z] Configure a credential helper to remove this warning. See [2022-04-06T09:20:52.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:20:52.933Z] [2022-04-06T09:20:52.933Z] Login Succeeded [2022-04-06T09:20:52.933Z] nexus3.edgexfoundry.org:10004 [2022-04-06T09:20:53.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:20:53.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:20:53.195Z] Configure a credential helper to remove this warning. See [2022-04-06T09:20:53.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:20:53.195Z] [2022-04-06T09:20:53.195Z] Login Succeeded [2022-04-06T09:20:53.195Z] docker.io [2022-04-06T09:20:53.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:20:53.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:20:53.769Z] Configure a credential helper to remove this warning. See [2022-04-06T09:20:53.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:20:53.769Z] [2022-04-06T09:20:53.769Z] Login Succeeded [2022-04-06T09:20:53.769Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T09:20:53.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T09:20:54.167Z] + git rev-list -1 --merges fc4a1b22bb20541ad41899d1a0289296e7149cb0~1..fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo [2022-04-06T09:20:54.196Z] -----------> git rev-list -1 --merges fc4a1b22bb20541ad41899d1a0289296e7149cb0~1..fc4a1b22bb20541ad41899d1a0289296e7149cb0 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [2022-04-06T09:20:54.196Z] fc4a1b22bb20541ad41899d1a0289296e7149cb0 [false] [Pipeline] sh [2022-04-06T09:20:54.493Z] + git log --format=format:%s -1 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo [2022-04-06T09:20:54.509Z] ========================================================= [2022-04-06T09:20:54.509Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T09:20:54.509Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T09:20:54.858Z] + git log --format=format:%s -1 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo [2022-04-06T09:20:54.871Z] [semverPrep] GIT_COMMIT: fc4a1b22bb20541ad41899d1a0289296e7149cb0, Commit Message: Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD [Pipeline] echo [2022-04-06T09:20:54.879Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T09:20:55.301Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T09:20:55.301Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T09:20:55.301Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T09:20:55.301Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T09:20:55.301Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T09:20:55.301Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T09:20:55.301Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:20:55.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T09:20:55.721Z] [2022-04-06T09:20:55.721Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:20:56.027Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T09:20:56.028Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T09:20:56.028Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T09:20:56.028Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T09:20:56.028Z] 4c7163046ea9: Pulling fs layer [2022-04-06T09:20:56.028Z] 0c2d73faf560: Pulling fs layer [2022-04-06T09:20:56.028Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T09:20:56.028Z] 3e5f54012d9b: Download complete [2022-04-06T09:20:56.028Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T09:20:56.028Z] a0d0a0d46f8b: Download complete [2022-04-06T09:20:56.028Z] 0c2d73faf560: Verifying Checksum [2022-04-06T09:20:56.028Z] 0c2d73faf560: Download complete [2022-04-06T09:20:56.028Z] 4c7163046ea9: Verifying Checksum [2022-04-06T09:20:56.028Z] 4c7163046ea9: Download complete [2022-04-06T09:20:56.288Z] a0d0a0d46f8b: Pull complete [2022-04-06T09:20:56.288Z] 3e5f54012d9b: Pull complete [2022-04-06T09:20:56.551Z] 4c7163046ea9: Pull complete [2022-04-06T09:20:56.813Z] 0c2d73faf560: Pull complete [2022-04-06T09:20:56.813Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T09:20:56.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T09:20:56.813Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T09:20:56.896Z] prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container [2022-04-06T09:20:56.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T09:20:57.712Z] $ docker top 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T09:20:57.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T09:20:57.832Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T09:20:57.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T09:20:57.962Z] $ docker exec 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent [2022-04-06T09:20:58.104Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOFPac/agent.13 [2022-04-06T09:20:58.104Z] SSH_AGENT_PID=19 [2022-04-06T09:20:58.111Z] Running ssh-add (command line suppressed) [2022-04-06T09:20:58.229Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_8788330864691507596.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_8788330864691507596.key) [2022-04-06T09:20:58.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T09:20:58.554Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T09:20:58.565Z] $ docker exec --env ******** --env ******** 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent -k [2022-04-06T09:20:58.691Z] unset SSH_AUTH_SOCK; [2022-04-06T09:20:58.691Z] unset SSH_AGENT_PID; [2022-04-06T09:20:58.691Z] echo Agent pid 19 killed; [2022-04-06T09:20:58.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T09:20:58.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T09:20:58.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T09:20:58.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T09:20:58.875Z] $ docker exec 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent [2022-04-06T09:20:59.009Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXakALdl/agent.51 [2022-04-06T09:20:59.009Z] SSH_AGENT_PID=58 [2022-04-06T09:20:59.015Z] Running ssh-add (command line suppressed) [2022-04-06T09:20:59.120Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_622595209069838083.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_622595209069838083.key) [2022-04-06T09:20:59.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T09:20:59.451Z] + git semver init [2022-04-06T09:20:59.451Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T09:20:59.451Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git [2022-04-06T09:20:59.452Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-06T09:20:59.452Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T09:20:59.452Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T09:20:59.452Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T09:20:59.452Z] # $SEMVER_BRANCH = PR-22 [2022-04-06T09:20:59.452Z] # $SEMVER_TEMP = /tmp/semver-192236682 [2022-04-06T09:20:59.452Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-06T09:21:00.405Z] # '/tmp/semver-192236682' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' [2022-04-06T09:21:00.405Z] # -> Force: false [2022-04-06T09:21:00.405Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } [2022-04-06T09:21:00.409Z] $ docker exec --env ******** --env ******** 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent -k [2022-04-06T09:21:00.532Z] unset SSH_AUTH_SOCK; [2022-04-06T09:21:00.532Z] unset SSH_AGENT_PID; [2022-04-06T09:21:00.532Z] echo Agent pid 58 killed; [2022-04-06T09:21:00.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T09:21:00.875Z] + git semver [Pipeline] } [2022-04-06T09:21:00.883Z] $ docker stop --time=1 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 [2022-04-06T09:21:02.337Z] $ docker rm -f 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T09:21:02.698Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T09:21:03.025Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T09:21:03.027Z] [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-04-06T09:21:03.172Z] provisioning config files... [2022-04-06T09:21:03.181Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config3274785512609407879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:21:03.482Z] ---> docker-login.sh [2022-04-06T09:21:03.482Z] nexus3.edgexfoundry.org:10001 [2022-04-06T09:21:03.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:21:03.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:21:03.482Z] Configure a credential helper to remove this warning. See [2022-04-06T09:21:03.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:21:03.482Z] [2022-04-06T09:21:03.482Z] Login Succeeded [2022-04-06T09:21:03.482Z] nexus3.edgexfoundry.org:10002 [2022-04-06T09:21:03.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:21:03.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:21:03.742Z] Configure a credential helper to remove this warning. See [2022-04-06T09:21:03.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:21:03.742Z] [2022-04-06T09:21:03.742Z] Login Succeeded [2022-04-06T09:21:03.742Z] nexus3.edgexfoundry.org:10003 [2022-04-06T09:21:03.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:21:03.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:21:03.742Z] Configure a credential helper to remove this warning. See [2022-04-06T09:21:03.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:21:03.742Z] [2022-04-06T09:21:03.742Z] Login Succeeded [2022-04-06T09:21:03.742Z] nexus3.edgexfoundry.org:10004 [2022-04-06T09:21:04.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:21:04.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:21:04.004Z] Configure a credential helper to remove this warning. See [2022-04-06T09:21:04.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:21:04.004Z] [2022-04-06T09:21:04.004Z] Login Succeeded [2022-04-06T09:21:04.004Z] docker.io [2022-04-06T09:21:04.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:21:04.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:21:04.266Z] Configure a credential helper to remove this warning. See [2022-04-06T09:21:04.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:21:04.266Z] [2022-04-06T09:21:04.266Z] Login Succeeded [2022-04-06T09:21:04.266Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T09:21:04.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T09:21:04.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T09:21:04.355Z] ========================================================= [2022-04-06T09:21:04.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T09:21:04.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:21:04.672Z] + 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-04-06T09:21:04.672Z] Sending build context to Docker daemon 11.09MB [2022-04-06T09:21:04.672Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T09:21:04.672Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-06T09:21:04.672Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T09:21:04.672Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T09:21:04.672Z] 666ba61612fd: Pulling fs layer [2022-04-06T09:21:04.672Z] 8ed8ca486205: Pulling fs layer [2022-04-06T09:21:04.672Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T09:21:04.672Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T09:21:04.672Z] 640e595b4fbd: Pulling fs layer [2022-04-06T09:21:04.672Z] 763cafe07f6e: Pulling fs layer [2022-04-06T09:21:04.672Z] 0c0b528cf693: Pulling fs layer [2022-04-06T09:21:04.672Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T09:21:04.672Z] 4fe6c5a15a65: Waiting [2022-04-06T09:21:04.672Z] 0c0b528cf693: Waiting [2022-04-06T09:21:04.672Z] 22a0e8bec74d: Waiting [2022-04-06T09:21:04.672Z] 10935f4eaf8b: Waiting [2022-04-06T09:21:04.672Z] 640e595b4fbd: Waiting [2022-04-06T09:21:04.672Z] 763cafe07f6e: Waiting [2022-04-06T09:21:04.934Z] 8ed8ca486205: Verifying Checksum [2022-04-06T09:21:04.934Z] 8ed8ca486205: Download complete [2022-04-06T09:21:04.934Z] 666ba61612fd: Download complete [2022-04-06T09:21:04.934Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T09:21:04.934Z] 22a0e8bec74d: Download complete [2022-04-06T09:21:04.934Z] 640e595b4fbd: Download complete [2022-04-06T09:21:04.934Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T09:21:04.934Z] 763cafe07f6e: Download complete [2022-04-06T09:21:04.934Z] 0c0b528cf693: Verifying Checksum [2022-04-06T09:21:04.934Z] 0c0b528cf693: Download complete [2022-04-06T09:21:04.934Z] 59bf1c3509f3: Pull complete [2022-04-06T09:21:05.198Z] 666ba61612fd: Pull complete [2022-04-06T09:21:05.198Z] 8ed8ca486205: Pull complete [2022-04-06T09:21:05.460Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T09:21:05.460Z] 10935f4eaf8b: Download complete [2022-04-06T09:21:05.721Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T09:21:05.721Z] 4fe6c5a15a65: Download complete [2022-04-06T09:21:09.922Z] 4fe6c5a15a65: Pull complete [2022-04-06T09:21:09.922Z] 22a0e8bec74d: Pull complete [2022-04-06T09:21:09.922Z] 640e595b4fbd: Pull complete [2022-04-06T09:21:10.183Z] 763cafe07f6e: Pull complete [2022-04-06T09:21:10.183Z] 0c0b528cf693: Pull complete [2022-04-06T09:21:12.736Z] 10935f4eaf8b: Pull complete [2022-04-06T09:21:12.736Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T09:21:12.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T09:21:12.736Z] ---> 99d49a6021b9 [2022-04-06T09:21:12.736Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T09:21:14.654Z] ---> Running in 6a60497a751e [2022-04-06T09:21:14.654Z] Removing intermediate container 6a60497a751e [2022-04-06T09:21:14.654Z] ---> 492373057429 [2022-04-06T09:21:14.654Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T09:21:14.654Z] ---> Running in a7f4d85912bc [2022-04-06T09:21:14.654Z] Removing intermediate container a7f4d85912bc [2022-04-06T09:21:14.654Z] ---> 6cf918a64993 [2022-04-06T09:21:14.654Z] Step 5/11 : WORKDIR /device-gpio [2022-04-06T09:21:14.654Z] ---> Running in 15780b89ffd6 [2022-04-06T09:21:14.655Z] Removing intermediate container 15780b89ffd6 [2022-04-06T09:21:14.655Z] ---> 66b79c88ab47 [2022-04-06T09:21:14.655Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:21:14.655Z] ---> Running in 83422e4c87ae [2022-04-06T09:21:15.225Z] Removing intermediate container 83422e4c87ae [2022-04-06T09:21:15.225Z] ---> 01c1b34be2a7 [2022-04-06T09:21:15.225Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T09:21:15.485Z] ---> Running in eb368fe12982 [2022-04-06T09:21:15.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T09:21:16.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T09:21:16.895Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T09:21:16.895Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T09:21:16.895Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T09:21:17.154Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T09:21:17.154Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T09:21:17.154Z] OK: 224 MiB in 56 packages [2022-04-06T09:21:17.730Z] Removing intermediate container eb368fe12982 [2022-04-06T09:21:17.730Z] ---> 709a0c78397b [2022-04-06T09:21:17.730Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-06T09:21:17.730Z] ---> fae4ebb61385 [2022-04-06T09:21:17.730Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T09:21:17.991Z] ---> Running in d1fa5dfc1424 [2022-04-06T09:21:18.126Z] Still waiting to schedule task [2022-04-06T09:21:18.127Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-06T09:21:50.121Z] Removing intermediate container d1fa5dfc1424 [2022-04-06T09:21:50.121Z] ---> 116d52525ffe [2022-04-06T09:21:50.121Z] Step 10/11 : COPY . . [2022-04-06T09:21:50.121Z] ---> af0a200a4aeb [2022-04-06T09:21:50.121Z] Step 11/11 : RUN ${MAKE} [2022-04-06T09:21:50.121Z] ---> Running in b98a8392d638 [2022-04-06T09:21:50.121Z] Removing intermediate container b98a8392d638 [2022-04-06T09:21:50.121Z] ---> 2e41ef99a781 [2022-04-06T09:21:50.121Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-06T09:21:50.121Z] Successfully built 2e41ef99a781 [2022-04-06T09:21:50.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:21:50.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T09:21:50.428Z] . [Pipeline] withDockerContainer [2022-04-06T09:21:50.502Z] prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container [2022-04-06T09:21:50.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 ******** ci-base-image-x86_64 cat [2022-04-06T09:21:50.963Z] $ docker top 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T09:21:51.314Z] + go version [2022-04-06T09:21:51.314Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T09:21:51.354Z] $ docker stop --time=1 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 [2022-04-06T09:21:52.654Z] $ docker rm -f 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:21:53.089Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T09:21:53.090Z] . [Pipeline] withDockerContainer [2022-04-06T09:21:53.166Z] prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container [2022-04-06T09:21:53.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 ******** ci-base-image-x86_64 cat [2022-04-06T09:21:53.578Z] $ docker top 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T09:21:53.942Z] + make test [2022-04-06T09:21:53.942Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T09:21:54.203Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-06T09:22:00.783Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-06T09:22:00.783Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-06T09:22:06.081Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T09:22:10.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T09:22:10.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T09:22:10.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T09:22:10.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T09:22:10.329Z] $ docker stop --time=1 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 [2022-04-06T09:22:12.409Z] $ docker rm -f 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T09:22:12.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T09:22:12.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T09:22:14.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T09:22:14.293Z] + ls -al . [2022-04-06T09:22:14.294Z] total 188 [2022-04-06T09:22:14.294Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 09:22 . [2022-04-06T09:22:14.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 09:20 .. [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 6 09:20 .dockerignore [2022-04-06T09:22:14.294Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:20 .git [2022-04-06T09:22:14.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 .github [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 6 09:20 .gitignore [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 09:20 .golangci.yml [2022-04-06T09:22:14.294Z] drwx------ 3 jenkins jenkins 4096 Apr 6 09:21 .semver [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 6 09:20 Attribution.txt [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 6 09:20 Dockerfile [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 09:20 GOVERNANCE.md [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 6 09:20 Jenkinsfile [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 09:20 LICENSE [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 1492 Apr 6 09:20 Makefile [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 6 09:20 OWNERS.md [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 6 09:20 README.md [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 09:21 VERSION [2022-04-06T09:22:14.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 09:20 bin [2022-04-06T09:22:14.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 cmd [2022-04-06T09:22:14.294Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 6 09:21 coverage.out [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 6 09:20 go.mod [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 6 09:20 go.sum [2022-04-06T09:22:14.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 internal [2022-04-06T09:22:14.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 snap [2022-04-06T09:22:14.294Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 09:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:22:14.595Z] + 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=fc4a1b22bb20541ad41899d1a0289296e7149cb0 --label arch=amd64 --label version=0.0.0 . [2022-04-06T09:22:14.595Z] Sending build context to Docker daemon 11.09MB [2022-04-06T09:22:14.595Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T09:22:14.595Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-06T09:22:14.595Z] ---> 2e41ef99a781 [2022-04-06T09:22:14.595Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T09:22:14.855Z] ---> Running in 66e3deccfb3f [2022-04-06T09:22:14.855Z] Removing intermediate container 66e3deccfb3f [2022-04-06T09:22:14.855Z] ---> f0d59ba7b93c [2022-04-06T09:22:14.855Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T09:22:14.855Z] ---> Running in 25c511d6da67 [2022-04-06T09:22:15.115Z] Removing intermediate container 25c511d6da67 [2022-04-06T09:22:15.115Z] ---> b516c1e06f26 [2022-04-06T09:22:15.115Z] Step 5/25 : WORKDIR /device-gpio [2022-04-06T09:22:15.115Z] ---> Running in 5e311df5df86 [2022-04-06T09:22:15.115Z] Removing intermediate container 5e311df5df86 [2022-04-06T09:22:15.115Z] ---> d684547af1f7 [2022-04-06T09:22:15.115Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:22:15.377Z] ---> Running in 5c637a1f67ea [2022-04-06T09:22:15.951Z] Removing intermediate container 5c637a1f67ea [2022-04-06T09:22:15.951Z] ---> c9ff735159fc [2022-04-06T09:22:15.951Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T09:22:15.951Z] ---> Running in 60bcfa470d5f [2022-04-06T09:22:16.213Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T09:22:17.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T09:22:17.420Z] OK: 224 MiB in 56 packages [2022-04-06T09:22:17.681Z] Removing intermediate container 60bcfa470d5f [2022-04-06T09:22:17.681Z] ---> 8c6af818d9c8 [2022-04-06T09:22:17.681Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-06T09:22:17.942Z] ---> 56c5d5a3135b [2022-04-06T09:22:17.942Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T09:22:17.942Z] ---> Running in db9054768a55 [2022-04-06T09:22:18.516Z] Removing intermediate container db9054768a55 [2022-04-06T09:22:18.516Z] ---> 0342d79c41c4 [2022-04-06T09:22:18.516Z] Step 10/25 : COPY . . [2022-04-06T09:22:19.087Z] ---> 972ee897ccd9 [2022-04-06T09:22:19.087Z] Step 11/25 : RUN ${MAKE} [2022-04-06T09:22:19.087Z] ---> Running in fd4637cfe7e5 [2022-04-06T09:22:19.660Z] Removing intermediate container fd4637cfe7e5 [2022-04-06T09:22:19.660Z] ---> 973b0c0133d0 [2022-04-06T09:22:19.660Z] Step 12/25 : FROM alpine:3.15 [2022-04-06T09:22:20.233Z] 3.15: Pulling from library/alpine [2022-04-06T09:22:20.493Z] df9b9388f04a: Pulling fs layer [2022-04-06T09:22:20.493Z] df9b9388f04a: Download complete [2022-04-06T09:22:20.759Z] df9b9388f04a: Pull complete [2022-04-06T09:22:20.759Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-06T09:22:20.759Z] Status: Downloaded newer image for alpine:3.15 [2022-04-06T09:22:20.759Z] ---> 0ac33e5f5afa [2022-04-06T09:22:20.759Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-06T09:22:20.759Z] ---> Running in 64a27ed88e96 [2022-04-06T09:22:20.759Z] Removing intermediate container 64a27ed88e96 [2022-04-06T09:22:20.759Z] ---> 2df78f3b3cc3 [2022-04-06T09:22:20.759Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:22:21.020Z] ---> Running in 85b21b0240db [2022-04-06T09:22:21.593Z] Removing intermediate container 85b21b0240db [2022-04-06T09:22:21.593Z] ---> 36d7d51c142d [2022-04-06T09:22:21.593Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-06T09:22:21.593Z] ---> Running in 0514fe40e887 [2022-04-06T09:22:21.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T09:22:22.797Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T09:22:22.797Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-06T09:22:23.057Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-06T09:22:23.057Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-06T09:22:23.057Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-06T09:22:23.317Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-06T09:22:23.317Z] Executing busybox-1.34.1-r5.trigger [2022-04-06T09:22:23.317Z] OK: 8 MiB in 19 packages [2022-04-06T09:22:23.888Z] Removing intermediate container 0514fe40e887 [2022-04-06T09:22:23.888Z] ---> e4cf2ae8ce45 [2022-04-06T09:22:23.888Z] Step 16/25 : WORKDIR / [2022-04-06T09:22:23.888Z] ---> Running in 87e4682f3147 [2022-04-06T09:22:23.888Z] Removing intermediate container 87e4682f3147 [2022-04-06T09:22:23.888Z] ---> b9ca9f6ea48e [2022-04-06T09:22:23.888Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-06T09:22:24.148Z] ---> 4b67b52270e9 [2022-04-06T09:22:24.148Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-06T09:22:24.148Z] ---> 3b45e2ad9620 [2022-04-06T09:22:24.148Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-06T09:22:24.408Z] ---> 25b9fd412ac6 [2022-04-06T09:22:24.408Z] Step 20/25 : EXPOSE 59910 [2022-04-06T09:22:24.408Z] ---> Running in e8ad99828d7a [2022-04-06T09:22:24.408Z] Removing intermediate container e8ad99828d7a [2022-04-06T09:22:24.408Z] ---> ebd98a7afe45 [2022-04-06T09:22:24.408Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-06T09:22:24.669Z] ---> Running in 0fca2f6683c3 [2022-04-06T09:22:24.669Z] Removing intermediate container 0fca2f6683c3 [2022-04-06T09:22:24.669Z] ---> 49c5eb641a99 [2022-04-06T09:22:24.669Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T09:22:24.669Z] ---> Running in 76c19f0940b5 [2022-04-06T09:22:24.928Z] Removing intermediate container 76c19f0940b5 [2022-04-06T09:22:24.928Z] ---> 57cb7f1059b9 [2022-04-06T09:22:24.928Z] Step 23/25 : LABEL arch=amd64 [2022-04-06T09:22:24.928Z] ---> Running in c9fb9305d3fa [2022-04-06T09:22:24.928Z] Removing intermediate container c9fb9305d3fa [2022-04-06T09:22:24.928Z] ---> ced9c08b9ee4 [2022-04-06T09:22:24.928Z] Step 24/25 : LABEL git_sha=fc4a1b22bb20541ad41899d1a0289296e7149cb0 [2022-04-06T09:22:24.928Z] ---> Running in 1ce0850a4bca [2022-04-06T09:22:24.928Z] Removing intermediate container 1ce0850a4bca [2022-04-06T09:22:24.928Z] ---> 628b4c48627e [2022-04-06T09:22:24.928Z] Step 25/25 : LABEL version=0.0.0 [2022-04-06T09:22:25.193Z] ---> Running in 756d6f48e75b [2022-04-06T09:22:25.193Z] Removing intermediate container 756d6f48e75b [2022-04-06T09:22:25.193Z] ---> 1b3f6d356562 [2022-04-06T09:22:25.193Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-06T09:22:25.193Z] Successfully built 1b3f6d356562 [2022-04-06T09:22:25.193Z] 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-04-06T09:22:25.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T09:22:25.583Z] [2022-04-06T09:22:25.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:22:25.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T09:22:25.879Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T09:22:25.879Z] 5eb5b503b376: Pulling fs layer [2022-04-06T09:22:25.879Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T09:22:25.879Z] ec43610c2a17: Pulling fs layer [2022-04-06T09:22:25.879Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T09:22:25.879Z] 33b1e0a273af: Pulling fs layer [2022-04-06T09:22:25.879Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T09:22:25.879Z] 2f39f015ded8: Pulling fs layer [2022-04-06T09:22:25.879Z] 3a2ae6a8a46f: Waiting [2022-04-06T09:22:25.879Z] 2f39f015ded8: Waiting [2022-04-06T09:22:25.879Z] 33b1e0a273af: Waiting [2022-04-06T09:22:25.879Z] 5d3b04190fa2: Waiting [2022-04-06T09:22:25.879Z] 5c69ac0246d0: Download complete [2022-04-06T09:22:25.879Z] 3a2ae6a8a46f: Download complete [2022-04-06T09:22:25.879Z] 33b1e0a273af: Verifying Checksum [2022-04-06T09:22:25.879Z] 33b1e0a273af: Download complete [2022-04-06T09:22:25.879Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T09:22:25.879Z] 5d3b04190fa2: Download complete [2022-04-06T09:22:25.879Z] ec43610c2a17: Verifying Checksum [2022-04-06T09:22:26.138Z] 5eb5b503b376: Verifying Checksum [2022-04-06T09:22:26.138Z] 5eb5b503b376: Download complete [2022-04-06T09:22:26.708Z] 2f39f015ded8: Download complete [2022-04-06T09:22:27.645Z] 5eb5b503b376: Pull complete [2022-04-06T09:22:27.645Z] 5c69ac0246d0: Pull complete [2022-04-06T09:22:28.214Z] ec43610c2a17: Pull complete [2022-04-06T09:22:28.214Z] 3a2ae6a8a46f: Pull complete [2022-04-06T09:22:28.473Z] 33b1e0a273af: Pull complete [2022-04-06T09:22:28.473Z] 5d3b04190fa2: Pull complete [2022-04-06T09:22:33.753Z] 2f39f015ded8: Pull complete [2022-04-06T09:22:33.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T09:22:33.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T09:22:33.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T09:22:33.821Z] prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container [2022-04-06T09:22:33.869Z] $ 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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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-04-06T09:22:36.244Z] $ docker top 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:22:36.682Z] ---> job-cost.sh [2022-04-06T09:22:36.682Z] lf-activate-venv: SKIPPING [2022-04-06T09:22:36.682Z] INFO: No Stack... [2022-04-06T09:22:36.943Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T09:22:37.514Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T09:22:37.812Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv [2022-04-06T09:22:37.812Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T09:22:37.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [2022-04-06T09:22:37.834Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] did not exist. Created. [2022-04-06T09:22:37.834Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T09:22:38.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T09:22:38.182Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T09:22:38.189Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T09:22:38.221Z] $ docker stop --time=1 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd [2022-04-06T09:22:39.402Z] $ docker rm -f 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T09:22:58.773Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10957 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws [2022-04-06T09:22:58.783Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-04-06T09:22:59.282Z] The recommended git tool is: git [2022-04-06T09:23:06.011Z] using credential edgex-jenkins-ssh [2022-04-06T09:23:06.030Z] Cloning the remote Git repository [2022-04-06T09:23:06.105Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-06T09:23:06.178Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-04-06T09:23:06.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-06T09:23:06.251Z] > git --version # timeout=10 [2022-04-06T09:23:06.272Z] > git --version # 'git version 2.25.1' [2022-04-06T09:23:06.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T09:23:06.371Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T09:23:08.260Z] Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-06T09:23:07.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-06T09:23:07.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T09:23:07.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-06T09:23:07.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-06T09:23:07.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T09:23:07.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T09:23:08.282Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T09:23:08.303Z] > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [2022-04-06T09:23:08.496Z] Merge succeeded, producing eb6e00363548b2871d0399bb0389aabc385f7914 [2022-04-06T09:23:08.497Z] Checking out Revision eb6e00363548b2871d0399bb0389aabc385f7914 (PR-22) [2022-04-06T09:23:08.382Z] > git remote # timeout=10 [2022-04-06T09:23:08.401Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T09:23:08.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T09:23:08.434Z] > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 [2022-04-06T09:23:08.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T09:23:08.507Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T09:23:08.525Z] > git checkout -f eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 [2022-04-06T09:23:12.648Z] Commit message: "Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD" [2022-04-06T09:23:12.659Z] > git rev-list --no-walk c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T09:23:13.747Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T09:23:13.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T09:23:13.747Z] Dload Upload Total Spent Left Speed [2022-04-06T09:23:13.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50395 [Pipeline] sh [2022-04-06T09:23:14.260Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T09:23:14.599Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T09:23:14.599Z] + sudo tee /etc/docker/daemon.new [2022-04-06T09:23:14.599Z] { [2022-04-06T09:23:14.599Z] "registry-mirrors": [ [2022-04-06T09:23:14.599Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T09:23:14.599Z] ], [2022-04-06T09:23:14.599Z] "bip": "10.250.0.254/24", [2022-04-06T09:23:14.599Z] "hosts": [ [2022-04-06T09:23:14.599Z] "tcp://0.0.0.0:5555", [2022-04-06T09:23:14.599Z] "unix:///var/run/docker.sock" [2022-04-06T09:23:14.599Z] ], [2022-04-06T09:23:14.599Z] "mtu": 1458, [2022-04-06T09:23:14.599Z] "selinux-enabled": true, [2022-04-06T09:23:14.599Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T09:23:14.599Z] } [Pipeline] sh [2022-04-06T09:23:14.956Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T09:23:15.304Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T09:23:33.709Z] provisioning config files... [2022-04-06T09:23:33.733Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1336652875763167098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:23:34.100Z] ---> docker-login.sh [2022-04-06T09:23:34.100Z] nexus3.edgexfoundry.org:10001 [2022-04-06T09:23:34.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:23:34.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:23:34.973Z] Configure a credential helper to remove this warning. See [2022-04-06T09:23:34.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:23:34.974Z] [2022-04-06T09:23:34.974Z] Login Succeeded [2022-04-06T09:23:34.974Z] nexus3.edgexfoundry.org:10002 [2022-04-06T09:23:35.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:23:35.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:23:35.251Z] Configure a credential helper to remove this warning. See [2022-04-06T09:23:35.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:23:35.251Z] [2022-04-06T09:23:35.251Z] Login Succeeded [2022-04-06T09:23:35.251Z] nexus3.edgexfoundry.org:10003 [2022-04-06T09:23:35.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:23:35.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:23:35.854Z] Configure a credential helper to remove this warning. See [2022-04-06T09:23:35.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:23:35.854Z] [2022-04-06T09:23:35.854Z] Login Succeeded [2022-04-06T09:23:35.854Z] nexus3.edgexfoundry.org:10004 [2022-04-06T09:23:36.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:23:36.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:23:36.412Z] Configure a credential helper to remove this warning. See [2022-04-06T09:23:36.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:23:36.412Z] [2022-04-06T09:23:36.412Z] Login Succeeded [2022-04-06T09:23:36.412Z] docker.io [2022-04-06T09:23:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T09:23:36.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T09:23:36.958Z] Configure a credential helper to remove this warning. See [2022-04-06T09:23:36.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T09:23:36.958Z] [2022-04-06T09:23:36.958Z] Login Succeeded [2022-04-06T09:23:36.958Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T09:23:36.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T09:23:37.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T09:23:37.240Z] ========================================================= [2022-04-06T09:23:37.240Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T09:23:37.240Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:23:37.601Z] + 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-04-06T09:23:37.873Z] Sending build context to Docker daemon 5.625MB [2022-04-06T09:23:37.873Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T09:23:37.873Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-06T09:23:38.150Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T09:23:38.150Z] 9b3977197b4f: Pulling fs layer [2022-04-06T09:23:38.150Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T09:23:38.150Z] 94645a83ff95: Pulling fs layer [2022-04-06T09:23:38.150Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T09:23:38.150Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T09:23:38.150Z] f7c0051592d6: Pulling fs layer [2022-04-06T09:23:38.150Z] a227ed2f7395: Pulling fs layer [2022-04-06T09:23:38.150Z] 7b1c46037f91: Pulling fs layer [2022-04-06T09:23:38.150Z] f7c0051592d6: Waiting [2022-04-06T09:23:38.150Z] a227ed2f7395: Waiting [2022-04-06T09:23:38.150Z] 3f3a8bcf1eab: Waiting [2022-04-06T09:23:38.150Z] 0c92f367c5e7: Waiting [2022-04-06T09:23:38.150Z] 7b1c46037f91: Waiting [2022-04-06T09:23:38.150Z] 94645a83ff95: Verifying Checksum [2022-04-06T09:23:38.150Z] 94645a83ff95: Download complete [2022-04-06T09:23:38.150Z] 1a89e8eeedd5: Download complete [2022-04-06T09:23:38.150Z] 0c92f367c5e7: Download complete [2022-04-06T09:23:38.150Z] f7c0051592d6: Verifying Checksum [2022-04-06T09:23:38.150Z] f7c0051592d6: Download complete [2022-04-06T09:23:38.150Z] 9b3977197b4f: Download complete [2022-04-06T09:23:38.150Z] a227ed2f7395: Verifying Checksum [2022-04-06T09:23:38.150Z] a227ed2f7395: Download complete [2022-04-06T09:23:39.140Z] 9b3977197b4f: Pull complete [2022-04-06T09:23:39.419Z] 1a89e8eeedd5: Pull complete [2022-04-06T09:23:39.697Z] 94645a83ff95: Pull complete [2022-04-06T09:23:40.296Z] 7b1c46037f91: Verifying Checksum [2022-04-06T09:23:40.296Z] 7b1c46037f91: Download complete [2022-04-06T09:23:40.892Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T09:23:40.893Z] 3f3a8bcf1eab: Download complete [2022-04-06T09:23:53.306Z] 3f3a8bcf1eab: Pull complete [2022-04-06T09:23:53.306Z] 0c92f367c5e7: Pull complete [2022-04-06T09:23:53.306Z] f7c0051592d6: Pull complete [2022-04-06T09:23:53.306Z] a227ed2f7395: Pull complete [2022-04-06T09:24:00.025Z] 7b1c46037f91: Pull complete [2022-04-06T09:24:00.025Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T09:24:00.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T09:24:00.025Z] ---> f79e39bc4007 [2022-04-06T09:24:00.025Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T09:24:01.009Z] ---> Running in a315bf8b82e9 [2022-04-06T09:24:01.283Z] Removing intermediate container a315bf8b82e9 [2022-04-06T09:24:01.283Z] ---> 6689b305872b [2022-04-06T09:24:01.283Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T09:24:01.283Z] ---> Running in c4d2a5a61b1a [2022-04-06T09:24:01.559Z] Removing intermediate container c4d2a5a61b1a [2022-04-06T09:24:01.559Z] ---> ad9263b9c5bd [2022-04-06T09:24:01.559Z] Step 5/11 : WORKDIR /device-gpio [2022-04-06T09:24:01.840Z] ---> Running in e19082545207 [2022-04-06T09:24:02.115Z] Removing intermediate container e19082545207 [2022-04-06T09:24:02.115Z] ---> ecf7dc8d1604 [2022-04-06T09:24:02.115Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:24:02.115Z] ---> Running in 5a4737f2a980 [2022-04-06T09:24:04.109Z] Removing intermediate container 5a4737f2a980 [2022-04-06T09:24:04.109Z] ---> 7d3f5fc757ea [2022-04-06T09:24:04.109Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T09:24:04.109Z] ---> Running in da27480bd1fc [2022-04-06T09:24:05.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T09:24:06.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T09:24:06.691Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T09:24:06.979Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T09:24:06.979Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T09:24:07.256Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T09:24:07.256Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T09:24:07.256Z] OK: 224 MiB in 56 packages [2022-04-06T09:24:08.707Z] Removing intermediate container da27480bd1fc [2022-04-06T09:24:08.707Z] ---> 6cb747cb5a23 [2022-04-06T09:24:08.707Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-06T09:24:10.168Z] ---> 864f0d60b573 [2022-04-06T09:24:10.168Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T09:24:10.168Z] ---> Running in c498d416ad78 [2022-04-06T09:25:32.007Z] Removing intermediate container c498d416ad78 [2022-04-06T09:25:32.007Z] ---> 83061b420e79 [2022-04-06T09:25:32.007Z] Step 10/11 : COPY . . [2022-04-06T09:25:32.007Z] ---> 5d98e7594525 [2022-04-06T09:25:32.007Z] Step 11/11 : RUN ${MAKE} [2022-04-06T09:25:32.007Z] ---> Running in b01b1ad54ae0 [2022-04-06T09:25:32.007Z] Removing intermediate container b01b1ad54ae0 [2022-04-06T09:25:32.007Z] ---> ce3757af2c03 [2022-04-06T09:25:32.007Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-06T09:25:32.007Z] Successfully built ce3757af2c03 [2022-04-06T09:25:32.007Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:25:32.348Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T09:25:32.349Z] . [Pipeline] withDockerContainer [2022-04-06T09:25:32.568Z] prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container [2022-04-06T09:25:32.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T09:25:33.908Z] $ docker top d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T09:25:34.836Z] + go version [2022-04-06T09:25:34.836Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T09:25:34.863Z] $ docker stop --time=1 d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 [2022-04-06T09:25:36.487Z] $ docker rm -f d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:25:37.095Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T09:25:37.095Z] . [Pipeline] withDockerContainer [2022-04-06T09:25:37.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container [2022-04-06T09:25:37.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T09:25:38.652Z] $ docker top 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T09:25:39.571Z] + make test [2022-04-06T09:25:39.572Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T09:25:41.028Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-06T09:26:28.076Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-06T09:26:28.076Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-06T09:26:28.076Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T09:26:28.076Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T09:26:46.515Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T09:26:46.515Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T09:26:46.515Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T09:26:47.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T09:26:47.536Z] $ docker stop --time=1 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 [2022-04-06T09:26:49.298Z] $ docker rm -f 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T09:26:50.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T09:26:50.101Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T09:26:50.503Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T09:26:50.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T09:26:51.214Z] + ls -al . [2022-04-06T09:26:51.214Z] total 184 [2022-04-06T09:26:51.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:26 . [2022-04-06T09:26:51.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 09:23 .. [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 6 09:23 .dockerignore [2022-04-06T09:26:51.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:23 .git [2022-04-06T09:26:51.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 .github [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 6 09:23 .gitignore [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 09:23 .golangci.yml [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 6 09:23 Attribution.txt [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 6 09:23 Dockerfile [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 09:23 GOVERNANCE.md [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 6 09:23 Jenkinsfile [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 09:23 LICENSE [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 1492 Apr 6 09:23 Makefile [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 6 09:23 OWNERS.md [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 6 09:23 README.md [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 09:21 VERSION [2022-04-06T09:26:51.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 09:23 bin [2022-04-06T09:26:51.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 cmd [2022-04-06T09:26:51.214Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 6 09:25 coverage.out [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 6 09:23 go.mod [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 6 09:23 go.sum [2022-04-06T09:26:51.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 internal [2022-04-06T09:26:51.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 snap [2022-04-06T09:26:51.214Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 09:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:26:51.559Z] + 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=eb6e00363548b2871d0399bb0389aabc385f7914 --label arch=arm64 --label version=0.0.0 . [2022-04-06T09:26:51.832Z] Sending build context to Docker daemon 5.626MB [2022-04-06T09:26:51.832Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T09:26:51.832Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-06T09:26:51.832Z] ---> ce3757af2c03 [2022-04-06T09:26:51.833Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T09:26:52.112Z] ---> Running in 76695bb1006a [2022-04-06T09:26:52.387Z] Removing intermediate container 76695bb1006a [2022-04-06T09:26:52.387Z] ---> 497601d4b2ad [2022-04-06T09:26:52.387Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T09:26:52.387Z] ---> Running in e5107a6eb614 [2022-04-06T09:26:52.663Z] Removing intermediate container e5107a6eb614 [2022-04-06T09:26:52.663Z] ---> a1911c84ff5f [2022-04-06T09:26:52.663Z] Step 5/25 : WORKDIR /device-gpio [2022-04-06T09:26:52.936Z] ---> Running in 2bcc977f051a [2022-04-06T09:26:53.210Z] Removing intermediate container 2bcc977f051a [2022-04-06T09:26:53.211Z] ---> ba8135141739 [2022-04-06T09:26:53.211Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:26:53.211Z] ---> Running in a17fac656edd [2022-04-06T09:26:55.197Z] Removing intermediate container a17fac656edd [2022-04-06T09:26:55.197Z] ---> eb91443b5900 [2022-04-06T09:26:55.197Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T09:26:55.197Z] ---> Running in 2439a0fb585d [2022-04-06T09:26:55.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T09:26:56.779Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T09:26:57.761Z] OK: 224 MiB in 56 packages [2022-04-06T09:26:58.369Z] Removing intermediate container 2439a0fb585d [2022-04-06T09:26:58.369Z] ---> 6cc7bfb57f9d [2022-04-06T09:26:58.369Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-06T09:26:58.973Z] ---> e989745d3609 [2022-04-06T09:26:58.973Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T09:26:59.253Z] ---> Running in 90ccc0178b1d [2022-04-06T09:27:01.230Z] Removing intermediate container 90ccc0178b1d [2022-04-06T09:27:01.230Z] ---> f420be025363 [2022-04-06T09:27:01.230Z] Step 10/25 : COPY . . [2022-04-06T09:27:02.213Z] ---> 5dfefb8aba50 [2022-04-06T09:27:02.213Z] Step 11/25 : RUN ${MAKE} [2022-04-06T09:27:02.213Z] ---> Running in 46f98c46d04e [2022-04-06T09:27:03.671Z] Removing intermediate container 46f98c46d04e [2022-04-06T09:27:03.671Z] ---> 9cf4d98b981f [2022-04-06T09:27:03.671Z] Step 12/25 : FROM alpine:3.15 [2022-04-06T09:27:04.651Z] 3.15: Pulling from library/alpine [2022-04-06T09:27:04.651Z] 9981e73032c8: Pulling fs layer [2022-04-06T09:27:05.245Z] 9981e73032c8: Download complete [2022-04-06T09:27:05.525Z] 9981e73032c8: Pull complete [2022-04-06T09:27:05.525Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-06T09:27:05.525Z] Status: Downloaded newer image for alpine:3.15 [2022-04-06T09:27:05.525Z] ---> 3fb3c9af89a9 [2022-04-06T09:27:05.525Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-06T09:27:05.810Z] ---> Running in 8a0cd59604d1 [2022-04-06T09:27:06.083Z] Removing intermediate container 8a0cd59604d1 [2022-04-06T09:27:06.083Z] ---> b6056d04769e [2022-04-06T09:27:06.083Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T09:27:06.083Z] ---> Running in 9fbe7807d9b7 [2022-04-06T09:27:08.057Z] Removing intermediate container 9fbe7807d9b7 [2022-04-06T09:27:08.057Z] ---> 02380714e654 [2022-04-06T09:27:08.057Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-06T09:27:08.057Z] ---> Running in 611065b2da80 [2022-04-06T09:27:09.043Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T09:27:09.635Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T09:27:10.613Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-06T09:27:10.613Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-06T09:27:10.613Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-06T09:27:10.885Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-06T09:27:10.885Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-06T09:27:11.158Z] Executing busybox-1.34.1-r5.trigger [2022-04-06T09:27:11.158Z] OK: 8 MiB in 19 packages [2022-04-06T09:27:12.147Z] Removing intermediate container 611065b2da80 [2022-04-06T09:27:12.147Z] ---> ef952273a673 [2022-04-06T09:27:12.147Z] Step 16/25 : WORKDIR / [2022-04-06T09:27:12.147Z] ---> Running in 26b54dca47e1 [2022-04-06T09:27:12.418Z] Removing intermediate container 26b54dca47e1 [2022-04-06T09:27:12.418Z] ---> 8d91be4acd3a [2022-04-06T09:27:12.418Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-06T09:27:13.012Z] ---> 95d7c562dd78 [2022-04-06T09:27:13.012Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-06T09:27:13.614Z] ---> 7571385eb8b2 [2022-04-06T09:27:13.614Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-06T09:27:14.218Z] ---> 2132f0f22a0d [2022-04-06T09:27:14.218Z] Step 20/25 : EXPOSE 59910 [2022-04-06T09:27:14.218Z] ---> Running in c19e88d171a3 [2022-04-06T09:27:14.490Z] Removing intermediate container c19e88d171a3 [2022-04-06T09:27:14.490Z] ---> 0309e1f17999 [2022-04-06T09:27:14.490Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-06T09:27:14.490Z] ---> Running in b23b64c8910c [2022-04-06T09:27:14.765Z] Removing intermediate container b23b64c8910c [2022-04-06T09:27:14.765Z] ---> d4ba7d77c5b8 [2022-04-06T09:27:14.765Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T09:27:14.765Z] ---> Running in 3864bb42ba01 [2022-04-06T09:27:15.369Z] Removing intermediate container 3864bb42ba01 [2022-04-06T09:27:15.369Z] ---> e99e264a9360 [2022-04-06T09:27:15.369Z] Step 23/25 : LABEL arch=arm64 [2022-04-06T09:27:15.369Z] ---> Running in e1032f8cb118 [2022-04-06T09:27:15.643Z] Removing intermediate container e1032f8cb118 [2022-04-06T09:27:15.643Z] ---> 1b866152e731 [2022-04-06T09:27:15.643Z] Step 24/25 : LABEL git_sha=eb6e00363548b2871d0399bb0389aabc385f7914 [2022-04-06T09:27:15.643Z] ---> Running in 08da8b67648a [2022-04-06T09:27:15.916Z] Removing intermediate container 08da8b67648a [2022-04-06T09:27:15.916Z] ---> d4b2d044f709 [2022-04-06T09:27:15.916Z] Step 25/25 : LABEL version=0.0.0 [2022-04-06T09:27:15.916Z] ---> Running in bc645dcd0018 [2022-04-06T09:27:16.189Z] Removing intermediate container bc645dcd0018 [2022-04-06T09:27:16.190Z] ---> 36558a407b7a [2022-04-06T09:27:16.190Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-06T09:27:16.190Z] Successfully built 36558a407b7a [2022-04-06T09:27:16.460Z] 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-04-06T09:27:16.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T09:27:16.891Z] [2022-04-06T09:27:16.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:27:17.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T09:27:17.517Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T09:27:17.517Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T09:27:17.517Z] 04944245beec: Pulling fs layer [2022-04-06T09:27:17.517Z] 699f458cf7ca: Pulling fs layer [2022-04-06T09:27:17.517Z] 765212b225bb: Pulling fs layer [2022-04-06T09:27:17.517Z] f23df028b6ca: Pulling fs layer [2022-04-06T09:27:17.517Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T09:27:17.517Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T09:27:17.517Z] f23df028b6ca: Waiting [2022-04-06T09:27:17.517Z] d65c8cfc05b1: Waiting [2022-04-06T09:27:17.517Z] 2437ff75d9bd: Waiting [2022-04-06T09:27:17.517Z] 765212b225bb: Waiting [2022-04-06T09:27:17.517Z] 04944245beec: Verifying Checksum [2022-04-06T09:27:17.517Z] 04944245beec: Download complete [2022-04-06T09:27:17.517Z] 765212b225bb: Download complete [2022-04-06T09:27:17.517Z] f23df028b6ca: Verifying Checksum [2022-04-06T09:27:17.517Z] f23df028b6ca: Download complete [2022-04-06T09:27:17.517Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T09:27:17.517Z] d65c8cfc05b1: Download complete [2022-04-06T09:27:17.798Z] 699f458cf7ca: Verifying Checksum [2022-04-06T09:27:17.798Z] 699f458cf7ca: Download complete [2022-04-06T09:27:18.073Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T09:27:18.073Z] 8998bd30e6a1: Download complete [2022-04-06T09:27:20.696Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T09:27:20.696Z] 2437ff75d9bd: Download complete [2022-04-06T09:27:22.675Z] 8998bd30e6a1: Pull complete [2022-04-06T09:27:22.947Z] 04944245beec: Pull complete [2022-04-06T09:27:24.383Z] 699f458cf7ca: Pull complete [2022-04-06T09:27:24.658Z] 765212b225bb: Pull complete [2022-04-06T09:27:25.638Z] f23df028b6ca: Pull complete [2022-04-06T09:27:25.638Z] d65c8cfc05b1: Pull complete [2022-04-06T09:27:40.731Z] 2437ff75d9bd: Pull complete [2022-04-06T09:27:40.731Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T09:27:40.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T09:27:40.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T09:27:40.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container [2022-04-06T09:27:41.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-06T09:27:43.384Z] $ docker top e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:44.280Z] ---> job-cost.sh [2022-04-06T09:27:44.280Z] lf-activate-venv: SKIPPING [2022-04-06T09:27:44.280Z] INFO: No Stack... [2022-04-06T09:27:44.873Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T09:27:45.847Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T09:27:46.625Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2022-04-06T09:27:46.625Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T09:27:46.660Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [2022-04-06T09:27:46.669Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] did not exist. Created. [2022-04-06T09:27:46.669Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T09:27:47.383Z] /w/workspace/device-gpio/2@tmp/durable-3d2dd834/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T09:27:48.137Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T09:27:48.157Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T09:27:48.203Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T09:27:48.209Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T09:27:48.235Z] $ docker stop --time=1 e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 [2022-04-06T09:27:49.766Z] $ docker rm -f e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 [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-04-06T09:27:50.249Z] provisioning config files... [2022-04-06T09:27:50.259Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2582721118974473604tmp [Pipeline] { [Pipeline] sh [2022-04-06T09:27:50.566Z] + set +x [2022-04-06T09:27:50.566Z] + curl -s https://codecov.io/bash [2022-04-06T09:27:50.566Z] + bash -s -- [2022-04-06T09:27:50.566Z] [2022-04-06T09:27:50.566Z] _____ _ [2022-04-06T09:27:50.566Z] / ____| | | [2022-04-06T09:27:50.566Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T09:27:50.566Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T09:27:50.566Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T09:27:50.566Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T09:27:50.566Z] Bash-1.0.6 [2022-04-06T09:27:50.566Z] [2022-04-06T09:27:50.566Z] [2022-04-06T09:27:50.566Z] ==> git version 2.25.1 found [2022-04-06T09:27:50.566Z] ==> 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-04-06T09:27:50.566Z] Release-Date: 2020-01-08 [2022-04-06T09:27:50.566Z] 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-04-06T09:27:50.566Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T09:27:50.566Z] ==> Jenkins CI detected. [2022-04-06T09:27:50.566Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-06T09:27:50.566Z] project root: . [2022-04-06T09:27:50.566Z] --> token set from env [2022-04-06T09:27:50.566Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T09:27:50.566Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T09:27:50.566Z] ==> Python coveragepy not found [2022-04-06T09:27:50.566Z] ==> Searching for coverage reports in: [2022-04-06T09:27:50.566Z] + . [2022-04-06T09:27:50.566Z] -> Found 1 reports [2022-04-06T09:27:50.566Z] ==> Detecting git/mercurial file structure [2022-04-06T09:27:50.566Z] ==> Reading reports [2022-04-06T09:27:50.566Z] + ./coverage.out bytes=10 [2022-04-06T09:27:50.566Z] ==> Appending adjustments [2022-04-06T09:27:50.566Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T09:27:50.827Z] + Found adjustments [2022-04-06T09:27:50.827Z] ==> Gzipping contents [2022-04-06T09:27:50.827Z] 4.0K /tmp/codecov.TBUUTW.gz [2022-04-06T09:27:50.827Z] ==> Uploading reports [2022-04-06T09:27:50.827Z] url: https://codecov.io [2022-04-06T09:27:50.827Z] query: branch=PR-22&commit=fc4a1b22bb20541ad41899d1a0289296e7149cb0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-06T09:27:50.827Z] -> Pinging Codecov [2022-04-06T09:27:50.827Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-22&commit=fc4a1b22bb20541ad41899d1a0289296e7149cb0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-06T09:27:51.090Z] -> Uploading to [2022-04-06T09:27:51.090Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fc4a1b22bb20541ad41899d1a0289296e7149cb0/ca41e155-5a46-4ea6-b36c-2a2c664a1e5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T092750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3336f84ac25d5be94d3fab08bb61b83838430e55c685b369f8706ea0cacbedf6 [2022-04-06T09:27:51.090Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T09:27:51.090Z] Dload Upload Total Spent Left Speed [2022-04-06T09:27:51.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3547 --:--:-- --:--:-- --:--:-- 3547 [2022-04-06T09:27:51.351Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] } [2022-04-06T09:27:51.360Z] 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-04-06T09:27:52.079Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] [2022-04-06T09:27:52.079Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-06T09:27:52.079Z] total 16 [2022-04-06T09:27:52.079Z] drwxr-xr-x 3 root root 4096 Apr 6 09:22 . [2022-04-06T09:27:52.079Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 09:22 .. [2022-04-06T09:27:52.079Z] drwxr-xr-x 2 root root 4096 Apr 6 09:22 cost [2022-04-06T09:27:52.079Z] -rw-r--r-- 1 root root 81 Apr 6 09:22 cost.csv [2022-04-06T09:27:52.079Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-06T09:27:52.079Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-06T09:27:52.079Z] total 16 [2022-04-06T09:27:52.079Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 09:22 . [2022-04-06T09:27:52.079Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 09:22 .. [2022-04-06T09:27:52.079Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 09:22 cost [2022-04-06T09:27:52.079Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 6 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:52.377Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:53.244Z] ---> package-listing.sh [2022-04-06T09:27:53.244Z] ++ facter osfamily [2022-04-06T09:27:53.244Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T09:27:53.504Z] + OS_FAMILY=debian [2022-04-06T09:27:53.504Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-06T09:27:53.504Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T09:27:53.504Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T09:27:53.504Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T09:27:53.504Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T09:27:53.504Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-06T09:27:53.504Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T09:27:53.504Z] + case "${OS_FAMILY}" in [2022-04-06T09:27:53.504Z] + dpkg -l [2022-04-06T09:27:53.504Z] + grep '^ii' [2022-04-06T09:27:53.504Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T09:27:53.504Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T09:27:53.504Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T09:27:53.504Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-06T09:27:53.504Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [2022-04-06T09:27:53.504Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [Pipeline] echo [2022-04-06T09:27:53.517Z] 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-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T09:27:53.799Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T09:27:54.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T09:27:54.360Z] . [Pipeline] withDockerContainer [2022-04-06T09:27:54.426Z] prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container [2022-04-06T09:27:54.477Z] $ 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-22/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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T09:27:54.697Z] $ docker top c00c65837edbdc4cd9731463a79774a3b39024fa145ec14845a068a6f6d6891b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T09:27:55.042Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T09:27:55.335Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T09:27:55.624Z] + ls /var/log/sa-host [2022-04-06T09:27:55.624Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T09:27:55.840Z] provisioning config files... [2022-04-06T09:27:55.849Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config7353589073249565738tmp [Pipeline] { [Pipeline] echo [2022-04-06T09:27:55.865Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:56.149Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T09:27:56.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:56.495Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T09:27:56.506Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:56.792Z] ---> sudo-logs.sh [2022-04-06T09:27:56.792Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T09:27:56.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:57.107Z] ---> job-cost.sh [2022-04-06T09:27:57.107Z] lf-activate-venv: SKIPPING [2022-04-06T09:27:57.107Z] DEBUG: total: 0.2199999988079071 [2022-04-06T09:27:57.107Z] INFO: Retrieving Stack Cost... [2022-04-06T09:27:57.368Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T09:27:57.941Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T09:27:57.957Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T09:27:58.256Z] ---> logs-deploy.sh [2022-04-06T09:27:58.256Z] lf-activate-venv: SKIPPING [2022-04-06T09:27:58.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/2 [2022-04-06T09:27:58.256Z] INFO: archiving workspace using pattern(s): [2022-04-06T09:27:59.200Z] Archives upload complete. [2022-04-06T09:27:59.200Z] INFO: archiving logs to Nexus