Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1190869470276313558.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-ssh4805699658221500256.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1792800968857993798.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-ssh8251770762019901683.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11839421448986182199.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7308 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" > git rev-list --no-walk d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-16T16:59:37.938Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-16T16:59:37.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-16T16:59:37.995Z] ========================================================= [2022-03-16T16:59:37.995Z] EdgeX Global Pipelines Version Info [2022-03-16T16:59:37.995Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-16T16:59:38.746Z] ------------------- [2022-03-16T16:59:38.746Z] stable info: [2022-03-16T16:59:38.746Z] ------------------- [2022-03-16T16:59:38.746Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-16T16:59:38.746Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-16T16:59:38.746Z] Message: update stable to v1.0.221 [2022-03-16T16:59:39.318Z] ------------------- [2022-03-16T16:59:39.318Z] experimental info: [2022-03-16T16:59:39.318Z] ------------------- [2022-03-16T16:59:39.318Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-16T16:59:39.318Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-16T16:59:39.318Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-16T16:59:39.444Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-16T16:59:39.460Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-16T16:59:39.473Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-16T16:59:39.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-16T16:59:39.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-16T16:59:39.503Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-16T16:59:39.512Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-16T16:59:39.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-16T16:59:39.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-16T16:59:39.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-16T16:59:39.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-16T16:59:39.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-16T16:59:39.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-16T16:59:39.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-16T16:59:39.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-16T16:59:39.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-16T16:59:39.629Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-16T16:59:39.648Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-16T16:59:39.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-16T16:59:39.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-16T16:59:39.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-16T16:59:39.694Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-16T16:59:39.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-16T16:59:39.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-16T16:59:39.732Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-16T16:59:39.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-16T16:59:39.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-16T16:59:39.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-16T16:59:39.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-16T16:59:39.797Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo [2022-03-16T16:59:39.809Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d550a75 [Pipeline] echo [2022-03-16T16:59:39.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T16:59:39.857Z] provisioning config files... [2022-03-16T16:59:39.872Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config556481619356161622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T16:59:40.199Z] ---> docker-login.sh [2022-03-16T16:59:40.199Z] nexus3.edgexfoundry.org:10001 [2022-03-16T16:59:40.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:40.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:40.461Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:40.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:40.461Z] [2022-03-16T16:59:40.461Z] Login Succeeded [2022-03-16T16:59:40.461Z] nexus3.edgexfoundry.org:10002 [2022-03-16T16:59:40.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:40.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:40.723Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:40.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:40.723Z] [2022-03-16T16:59:40.723Z] Login Succeeded [2022-03-16T16:59:40.723Z] nexus3.edgexfoundry.org:10003 [2022-03-16T16:59:40.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:40.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:40.723Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:40.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:40.723Z] [2022-03-16T16:59:40.723Z] Login Succeeded [2022-03-16T16:59:40.723Z] nexus3.edgexfoundry.org:10004 [2022-03-16T16:59:40.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:40.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:40.986Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:40.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:40.986Z] [2022-03-16T16:59:40.986Z] Login Succeeded [2022-03-16T16:59:40.986Z] docker.io [2022-03-16T16:59:40.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:41.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:41.561Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:41.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:41.561Z] [2022-03-16T16:59:41.561Z] Login Succeeded [2022-03-16T16:59:41.561Z] ---> docker-login.sh ends [Pipeline] } [2022-03-16T16:59:41.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-16T16:59:41.935Z] + git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo [2022-03-16T16:59:42.065Z] -----------> git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T16:59:42.065Z] d550a7515acedfb5a6817696fd12096f388c1d1e [false] [Pipeline] sh [2022-03-16T16:59:42.357Z] + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo [2022-03-16T16:59:42.374Z] ========================================================= [2022-03-16T16:59:42.374Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-16T16:59:42.374Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-16T16:59:42.711Z] + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo [2022-03-16T16:59:42.725Z] [semverPrep] GIT_COMMIT: d550a7515acedfb5a6817696fd12096f388c1d1e, Commit Message: Merge pull request #16 from iain-anderson/v2-branch [Pipeline] echo [2022-03-16T16:59:42.736Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-16T16:59:43.133Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-16T16:59:43.133Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-16T16:59:43.133Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-16T16:59:43.133Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-16T16:59:43.133Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2022-03-16T16:59:43.133Z] /etc/ssh/ssh_known_hosts [2022-03-16T16:59:43.133Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-16T16:59:43.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T16:59:43.471Z] [2022-03-16T16:59:43.471Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T16:59:43.775Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T16:59:43.775Z] latest: Pulling from edgex-devops/git-semver [2022-03-16T16:59:43.775Z] a0d0a0d46f8b: Pulling fs layer [2022-03-16T16:59:43.775Z] 3e5f54012d9b: Pulling fs layer [2022-03-16T16:59:43.775Z] 4c7163046ea9: Pulling fs layer [2022-03-16T16:59:43.775Z] 0c2d73faf560: Pulling fs layer [2022-03-16T16:59:43.775Z] 0c2d73faf560: Waiting [2022-03-16T16:59:43.775Z] 3e5f54012d9b: Download complete [2022-03-16T16:59:43.775Z] a0d0a0d46f8b: Verifying Checksum [2022-03-16T16:59:43.775Z] a0d0a0d46f8b: Download complete [2022-03-16T16:59:43.775Z] 0c2d73faf560: Verifying Checksum [2022-03-16T16:59:43.775Z] 0c2d73faf560: Download complete [2022-03-16T16:59:44.037Z] 4c7163046ea9: Verifying Checksum [2022-03-16T16:59:44.037Z] 4c7163046ea9: Download complete [2022-03-16T16:59:44.037Z] a0d0a0d46f8b: Pull complete [2022-03-16T16:59:44.037Z] 3e5f54012d9b: Pull complete [2022-03-16T16:59:44.611Z] 4c7163046ea9: Pull complete [2022-03-16T16:59:44.611Z] 0c2d73faf560: Pull complete [2022-03-16T16:59:44.611Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-16T16:59:44.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T16:59:44.611Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-16T16:59:44.693Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T16:59:44.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-16T16:59:45.513Z] $ docker top 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-16T16:59:45.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-16T16:59:45.615Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-16T16:59:45.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-16T16:59:45.781Z] $ docker exec 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent [2022-03-16T16:59:45.909Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPDoHge/agent.15 [2022-03-16T16:59:45.909Z] SSH_AGENT_PID=21 [2022-03-16T16:59:45.920Z] Running ssh-add (command line suppressed) [2022-03-16T16:59:46.062Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_199502896423462255.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_199502896423462255.key) [2022-03-16T16:59:46.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-16T16:59:46.366Z] + git tag --points-at HEAD [Pipeline] } [2022-03-16T16:59:46.396Z] $ docker exec --env ******** --env ******** 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent -k [2022-03-16T16:59:46.503Z] unset SSH_AUTH_SOCK; [2022-03-16T16:59:46.504Z] unset SSH_AGENT_PID; [2022-03-16T16:59:46.505Z] echo Agent pid 21 killed; [2022-03-16T16:59:46.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-16T16:59:46.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-16T16:59:46.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-16T16:59:46.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-16T16:59:46.686Z] $ docker exec 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent [2022-03-16T16:59:46.799Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLgIhIf/agent.56 [2022-03-16T16:59:46.799Z] SSH_AGENT_PID=62 [2022-03-16T16:59:46.805Z] Running ssh-add (command line suppressed) [2022-03-16T16:59:46.941Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5253458485888600570.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5253458485888600570.key) [2022-03-16T16:59:46.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-16T16:59:47.247Z] + git semver init [2022-03-16T16:59:47.247Z] # -> Open(): unable to determine branch for HEAD [2022-03-16T16:59:47.247Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-03-16T16:59:47.247Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-03-16T16:59:47.247Z] # $SEMVER_REMOTE_NAME = origin [2022-03-16T16:59:47.247Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-16T16:59:47.247Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-16T16:59:47.247Z] # $SEMVER_BRANCH = main [2022-03-16T16:59:47.247Z] # $SEMVER_TEMP = /tmp/semver-612850928 [2022-03-16T16:59:47.247Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-16T16:59:48.193Z] # '/tmp/semver-612850928' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2022-03-16T16:59:48.193Z] # -> Force: false [2022-03-16T16:59:48.193Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-03-16T16:59:48.213Z] $ docker exec --env ******** --env ******** 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent -k [2022-03-16T16:59:48.337Z] unset SSH_AUTH_SOCK; [2022-03-16T16:59:48.338Z] unset SSH_AGENT_PID; [2022-03-16T16:59:48.338Z] echo Agent pid 62 killed; [2022-03-16T16:59:48.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-16T16:59:48.658Z] + git semver [Pipeline] } [2022-03-16T16:59:48.683Z] $ docker stop --time=1 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb [2022-03-16T16:59:50.064Z] $ docker rm -f 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-16T16:59:50.426Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-16T16:59:50.700Z] Stashed 1 file(s) [Pipeline] echo [2022-03-16T16:59:50.704Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T16:59:50.812Z] provisioning config files... [2022-03-16T16:59:50.833Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8100022381821453434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T16:59:51.135Z] ---> docker-login.sh [2022-03-16T16:59:51.135Z] nexus3.edgexfoundry.org:10001 [2022-03-16T16:59:51.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:51.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:51.135Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:51.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:51.135Z] [2022-03-16T16:59:51.135Z] Login Succeeded [2022-03-16T16:59:51.135Z] nexus3.edgexfoundry.org:10002 [2022-03-16T16:59:51.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:51.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:51.397Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:51.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:51.397Z] [2022-03-16T16:59:51.397Z] Login Succeeded [2022-03-16T16:59:51.397Z] nexus3.edgexfoundry.org:10003 [2022-03-16T16:59:51.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:51.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:51.397Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:51.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:51.397Z] [2022-03-16T16:59:51.397Z] Login Succeeded [2022-03-16T16:59:51.397Z] nexus3.edgexfoundry.org:10004 [2022-03-16T16:59:51.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:51.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:51.666Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:51.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:51.667Z] [2022-03-16T16:59:51.667Z] Login Succeeded [2022-03-16T16:59:51.667Z] docker.io [2022-03-16T16:59:51.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T16:59:51.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T16:59:51.927Z] Configure a credential helper to remove this warning. See [2022-03-16T16:59:51.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T16:59:51.927Z] [2022-03-16T16:59:51.927Z] Login Succeeded [2022-03-16T16:59:51.927Z] ---> docker-login.sh ends [Pipeline] } [2022-03-16T16:59:51.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-16T16:59:52.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-16T16:59:52.022Z] ========================================================= [2022-03-16T16:59:52.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-16T16:59:52.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-16T16:59:52.337Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-16T16:59:52.337Z] Sending build context to Docker daemon 10.97MB [2022-03-16T16:59:52.337Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-16T16:59:52.337Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-16T16:59:52.337Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-16T16:59:52.337Z] 59bf1c3509f3: Pulling fs layer [2022-03-16T16:59:52.337Z] 666ba61612fd: Pulling fs layer [2022-03-16T16:59:52.337Z] 8ed8ca486205: Pulling fs layer [2022-03-16T16:59:52.337Z] 4fe6c5a15a65: Pulling fs layer [2022-03-16T16:59:52.337Z] 22a0e8bec74d: Pulling fs layer [2022-03-16T16:59:52.337Z] 640e595b4fbd: Pulling fs layer [2022-03-16T16:59:52.337Z] 763cafe07f6e: Pulling fs layer [2022-03-16T16:59:52.337Z] 0c0b528cf693: Pulling fs layer [2022-03-16T16:59:52.337Z] 10935f4eaf8b: Pulling fs layer [2022-03-16T16:59:52.337Z] 4fe6c5a15a65: Waiting [2022-03-16T16:59:52.337Z] 22a0e8bec74d: Waiting [2022-03-16T16:59:52.337Z] 640e595b4fbd: Waiting [2022-03-16T16:59:52.337Z] 10935f4eaf8b: Waiting [2022-03-16T16:59:52.337Z] 0c0b528cf693: Waiting [2022-03-16T16:59:52.337Z] 763cafe07f6e: Waiting [2022-03-16T16:59:52.337Z] 8ed8ca486205: Verifying Checksum [2022-03-16T16:59:52.337Z] 8ed8ca486205: Download complete [2022-03-16T16:59:52.600Z] 666ba61612fd: Verifying Checksum [2022-03-16T16:59:52.600Z] 666ba61612fd: Download complete [2022-03-16T16:59:52.600Z] 22a0e8bec74d: Download complete [2022-03-16T16:59:52.600Z] 640e595b4fbd: Verifying Checksum [2022-03-16T16:59:52.600Z] 640e595b4fbd: Download complete [2022-03-16T16:59:52.600Z] 59bf1c3509f3: Verifying Checksum [2022-03-16T16:59:52.600Z] 59bf1c3509f3: Download complete [2022-03-16T16:59:52.600Z] 763cafe07f6e: Verifying Checksum [2022-03-16T16:59:52.600Z] 763cafe07f6e: Download complete [2022-03-16T16:59:52.600Z] 0c0b528cf693: Verifying Checksum [2022-03-16T16:59:52.600Z] 0c0b528cf693: Download complete [2022-03-16T16:59:52.600Z] 59bf1c3509f3: Pull complete [2022-03-16T16:59:52.864Z] 666ba61612fd: Pull complete [2022-03-16T16:59:52.864Z] 8ed8ca486205: Pull complete [2022-03-16T16:59:53.125Z] 10935f4eaf8b: Verifying Checksum [2022-03-16T16:59:53.126Z] 10935f4eaf8b: Download complete [2022-03-16T16:59:53.387Z] 4fe6c5a15a65: Verifying Checksum [2022-03-16T16:59:53.387Z] 4fe6c5a15a65: Download complete [2022-03-16T16:59:57.597Z] 4fe6c5a15a65: Pull complete [2022-03-16T16:59:57.597Z] 22a0e8bec74d: Pull complete [2022-03-16T16:59:57.597Z] 640e595b4fbd: Pull complete [2022-03-16T16:59:57.597Z] 763cafe07f6e: Pull complete [2022-03-16T16:59:57.858Z] 0c0b528cf693: Pull complete [2022-03-16T17:00:00.404Z] 10935f4eaf8b: Pull complete [2022-03-16T17:00:00.404Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-16T17:00:00.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-16T17:00:00.404Z] ---> 99d49a6021b9 [2022-03-16T17:00:00.404Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-16T17:00:01.796Z] ---> Running in 5005cac5f17f [2022-03-16T17:00:01.796Z] Removing intermediate container 5005cac5f17f [2022-03-16T17:00:01.796Z] ---> 9374a392aee5 [2022-03-16T17:00:01.796Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-16T17:00:01.796Z] ---> Running in 08bf6d3d9eaa [2022-03-16T17:00:02.059Z] Removing intermediate container 08bf6d3d9eaa [2022-03-16T17:00:02.059Z] ---> 325120eda192 [2022-03-16T17:00:02.059Z] Step 5/11 : WORKDIR /device-gpio [2022-03-16T17:00:02.059Z] ---> Running in 1b906cd5031c [2022-03-16T17:00:02.059Z] Removing intermediate container 1b906cd5031c [2022-03-16T17:00:02.059Z] ---> 9173200278fd [2022-03-16T17:00:02.059Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:00:02.059Z] ---> Running in 8bdd1a2e7d07 [2022-03-16T17:00:03.003Z] Removing intermediate container 8bdd1a2e7d07 [2022-03-16T17:00:03.003Z] ---> f1cc9b07b56d [2022-03-16T17:00:03.003Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-16T17:00:03.003Z] ---> Running in 04dd289daafb [2022-03-16T17:00:03.266Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:04.214Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:04.477Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-16T17:00:04.477Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-16T17:00:04.477Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-16T17:00:04.739Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-16T17:00:04.739Z] Executing busybox-1.34.1-r3.trigger [2022-03-16T17:00:04.739Z] OK: 224 MiB in 56 packages [2022-03-16T17:00:05.311Z] Removing intermediate container 04dd289daafb [2022-03-16T17:00:05.311Z] ---> b5e0a1a4d126 [2022-03-16T17:00:05.311Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-16T17:00:05.311Z] ---> e1712153dd80 [2022-03-16T17:00:05.311Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-16T17:00:05.311Z] ---> Running in 54066532249e [2022-03-16T17:00:05.782Z] Still waiting to schedule task [2022-03-16T17:00:05.783Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-16T17:00:31.927Z] Removing intermediate container 54066532249e [2022-03-16T17:00:31.927Z] ---> 92e6dd14c57b [2022-03-16T17:00:31.927Z] Step 10/11 : COPY . . [2022-03-16T17:00:31.927Z] ---> ed359b975cce [2022-03-16T17:00:31.927Z] Step 11/11 : RUN ${MAKE} [2022-03-16T17:00:31.927Z] ---> Running in 497fd3ee43c3 [2022-03-16T17:00:31.927Z] Removing intermediate container 497fd3ee43c3 [2022-03-16T17:00:31.927Z] ---> 78368de2c4c5 [2022-03-16T17:00:31.927Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-16T17:00:31.927Z] Successfully built 78368de2c4c5 [2022-03-16T17:00:31.927Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:00:32.231Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-16T17:00:32.231Z] . [Pipeline] withDockerContainer [2022-03-16T17:00:32.310Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:00:32.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-03-16T17:00:32.766Z] $ docker top 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-16T17:00:33.139Z] + go version [2022-03-16T17:00:33.139Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-16T17:00:33.159Z] $ docker stop --time=1 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c [2022-03-16T17:00:34.502Z] $ docker rm -f 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:00:34.902Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-16T17:00:34.902Z] . [Pipeline] withDockerContainer [2022-03-16T17:00:34.981Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:00:35.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-03-16T17:00:35.449Z] $ docker top a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-16T17:00:35.824Z] + make test [2022-03-16T17:00:35.824Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-16T17:00:36.087Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-16T17:00:44.254Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-16T17:00:44.254Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-16T17:00:44.254Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-16T17:00:46.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-16T17:00:46.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-16T17:00:46.270Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-16T17:00:46.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-16T17:00:46.879Z] $ docker stop --time=1 a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd [2022-03-16T17:00:48.453Z] $ docker rm -f a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-16T17:00:48.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-16T17:00:48.889Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-16T17:00:50.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-16T17:00:50.551Z] + ls -al . [2022-03-16T17:00:50.551Z] total 180 [2022-03-16T17:00:50.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:00 . [2022-03-16T17:00:50.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:59 .. [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 16:59 .dockerignore [2022-03-16T17:00:50.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:59 .git [2022-03-16T17:00:50.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:59 .github [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 16:59 .gitignore [2022-03-16T17:00:50.551Z] drwx------ 3 jenkins jenkins 4096 Mar 16 16:59 .semver [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 16:59 Attribution.txt [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 16:59 Dockerfile [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:59 GOVERNANCE.md [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 16:59 Jenkinsfile [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:59 LICENSE [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 16:59 Makefile [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 16:59 OWNERS.md [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 16:59 README.md [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:59 VERSION [2022-03-16T17:00:50.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:59 bin [2022-03-16T17:00:50.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:59 cmd [2022-03-16T17:00:50.551Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 16 17:00 coverage.out [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 16:59 go.mod [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 16:59 go.sum [2022-03-16T17:00:50.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:59 internal [2022-03-16T17:00:50.551Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 16:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:00:50.855Z] + 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=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=amd64 --label version=2.0.0-dev.1 . [2022-03-16T17:00:50.855Z] Sending build context to Docker daemon 10.97MB [2022-03-16T17:00:50.855Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-16T17:00:50.855Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-16T17:00:50.855Z] ---> 78368de2c4c5 [2022-03-16T17:00:50.855Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-16T17:00:50.855Z] ---> Running in 9bd07124ef68 [2022-03-16T17:00:51.117Z] Removing intermediate container 9bd07124ef68 [2022-03-16T17:00:51.117Z] ---> 7677c64cf422 [2022-03-16T17:00:51.117Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-16T17:00:51.117Z] ---> Running in 8e50278893f0 [2022-03-16T17:00:51.117Z] Removing intermediate container 8e50278893f0 [2022-03-16T17:00:51.117Z] ---> de1423e2647f [2022-03-16T17:00:51.117Z] Step 5/25 : WORKDIR /device-gpio [2022-03-16T17:00:51.378Z] ---> Running in 015912176b67 [2022-03-16T17:00:51.378Z] Removing intermediate container 015912176b67 [2022-03-16T17:00:51.378Z] ---> 1f6709f26482 [2022-03-16T17:00:51.378Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:00:51.378Z] ---> Running in 3607b64073a6 [2022-03-16T17:00:51.950Z] Removing intermediate container 3607b64073a6 [2022-03-16T17:00:51.950Z] ---> 6e865a548c67 [2022-03-16T17:00:51.950Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-16T17:00:51.950Z] ---> Running in 382d720bfadb [2022-03-16T17:00:52.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:53.094Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:53.669Z] OK: 224 MiB in 56 packages [2022-03-16T17:00:53.940Z] Removing intermediate container 382d720bfadb [2022-03-16T17:00:53.940Z] ---> 956b963522ad [2022-03-16T17:00:53.940Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-16T17:00:54.201Z] ---> ffd6a23a93f5 [2022-03-16T17:00:54.201Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-16T17:00:54.201Z] ---> Running in 987793305fed [2022-03-16T17:00:54.776Z] Removing intermediate container 987793305fed [2022-03-16T17:00:54.776Z] ---> 660af51afbdf [2022-03-16T17:00:54.776Z] Step 10/25 : COPY . . [2022-03-16T17:00:55.350Z] ---> 1e86cfd7fc70 [2022-03-16T17:00:55.350Z] Step 11/25 : RUN ${MAKE} [2022-03-16T17:00:55.350Z] ---> Running in be2d45e671b7 [2022-03-16T17:00:55.924Z] Removing intermediate container be2d45e671b7 [2022-03-16T17:00:55.924Z] ---> 70969ad0dfc8 [2022-03-16T17:00:55.924Z] Step 12/25 : FROM alpine:3.15 [2022-03-16T17:00:56.498Z] 3.15: Pulling from library/alpine [2022-03-16T17:00:56.759Z] 59bf1c3509f3: Already exists [2022-03-16T17:00:56.759Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-03-16T17:00:56.759Z] Status: Downloaded newer image for alpine:3.15 [2022-03-16T17:00:56.759Z] ---> c059bfaa849c [2022-03-16T17:00:56.759Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-16T17:00:56.759Z] ---> Running in bee485316864 [2022-03-16T17:00:57.019Z] Removing intermediate container bee485316864 [2022-03-16T17:00:57.019Z] ---> 3b7360df0454 [2022-03-16T17:00:57.019Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:00:57.019Z] ---> Running in 621d6164e079 [2022-03-16T17:00:57.592Z] Removing intermediate container 621d6164e079 [2022-03-16T17:00:57.592Z] ---> f1f15b0911e4 [2022-03-16T17:00:57.592Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-16T17:00:57.592Z] ---> Running in fd7868d3765c [2022-03-16T17:00:57.852Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:58.799Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-16T17:00:59.060Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-16T17:00:59.060Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-16T17:00:59.322Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-16T17:00:59.322Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-16T17:00:59.585Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-16T17:00:59.585Z] Executing busybox-1.34.1-r3.trigger [2022-03-16T17:00:59.585Z] OK: 8 MiB in 19 packages [2022-03-16T17:01:00.162Z] Removing intermediate container fd7868d3765c [2022-03-16T17:01:00.162Z] ---> 36d5afa0aee2 [2022-03-16T17:01:00.162Z] Step 16/25 : WORKDIR / [2022-03-16T17:01:00.162Z] ---> Running in 0e946ca0cd22 [2022-03-16T17:01:00.162Z] Removing intermediate container 0e946ca0cd22 [2022-03-16T17:01:00.162Z] ---> 9a64a692d19f [2022-03-16T17:01:00.162Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-16T17:01:00.424Z] ---> e3f050083f4b [2022-03-16T17:01:00.424Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-16T17:01:00.424Z] ---> a7e1af08d867 [2022-03-16T17:01:00.424Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-16T17:01:00.685Z] ---> ce2c6204f809 [2022-03-16T17:01:00.685Z] Step 20/25 : EXPOSE 59910 [2022-03-16T17:01:00.685Z] ---> Running in 9aff7e58f8fb [2022-03-16T17:01:00.946Z] Removing intermediate container 9aff7e58f8fb [2022-03-16T17:01:00.946Z] ---> 07d0ae41fb65 [2022-03-16T17:01:00.946Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-16T17:01:00.946Z] ---> Running in 606c8efaabeb [2022-03-16T17:01:00.946Z] Removing intermediate container 606c8efaabeb [2022-03-16T17:01:00.946Z] ---> 0da43490f492 [2022-03-16T17:01:00.946Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-16T17:01:00.946Z] ---> Running in 86d41619a7e0 [2022-03-16T17:01:01.208Z] Removing intermediate container 86d41619a7e0 [2022-03-16T17:01:01.208Z] ---> cf0c7819f5cf [2022-03-16T17:01:01.208Z] Step 23/25 : LABEL arch=amd64 [2022-03-16T17:01:01.208Z] ---> Running in 12b476590675 [2022-03-16T17:01:01.208Z] Removing intermediate container 12b476590675 [2022-03-16T17:01:01.208Z] ---> cddf94559c55 [2022-03-16T17:01:01.208Z] Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:01:01.208Z] ---> Running in 88ee927099b3 [2022-03-16T17:01:01.469Z] Removing intermediate container 88ee927099b3 [2022-03-16T17:01:01.469Z] ---> d3d429690121 [2022-03-16T17:01:01.469Z] Step 25/25 : LABEL version=2.0.0-dev.1 [2022-03-16T17:01:01.469Z] ---> Running in 0a6b964e3231 [2022-03-16T17:01:01.469Z] Removing intermediate container 0a6b964e3231 [2022-03-16T17:01:01.469Z] ---> 8f85f40c9eef [2022-03-16T17:01:01.469Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-16T17:01:01.469Z] Successfully built 8f85f40c9eef [2022-03-16T17:01:01.469Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T17:01:01.565Z] provisioning config files... [2022-03-16T17:01:01.575Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1025863736754936769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:01:01.874Z] ---> docker-login.sh [2022-03-16T17:01:01.874Z] nexus3.edgexfoundry.org:10001 [2022-03-16T17:01:01.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:01:01.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:01:01.874Z] Configure a credential helper to remove this warning. See [2022-03-16T17:01:01.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:01:01.874Z] [2022-03-16T17:01:01.874Z] Login Succeeded [2022-03-16T17:01:01.874Z] nexus3.edgexfoundry.org:10002 [2022-03-16T17:01:01.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:01:02.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:01:02.136Z] Configure a credential helper to remove this warning. See [2022-03-16T17:01:02.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:01:02.136Z] [2022-03-16T17:01:02.136Z] Login Succeeded [2022-03-16T17:01:02.136Z] nexus3.edgexfoundry.org:10003 [2022-03-16T17:01:02.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:01:02.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:01:02.136Z] Configure a credential helper to remove this warning. See [2022-03-16T17:01:02.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:01:02.136Z] [2022-03-16T17:01:02.136Z] Login Succeeded [2022-03-16T17:01:02.136Z] nexus3.edgexfoundry.org:10004 [2022-03-16T17:01:02.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:01:02.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:01:02.398Z] Configure a credential helper to remove this warning. See [2022-03-16T17:01:02.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:01:02.398Z] [2022-03-16T17:01:02.398Z] Login Succeeded [2022-03-16T17:01:02.398Z] docker.io [2022-03-16T17:01:02.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:01:02.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:01:02.659Z] Configure a credential helper to remove this warning. See [2022-03-16T17:01:02.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:01:02.659Z] [2022-03-16T17:01:02.659Z] Login Succeeded [2022-03-16T17:01:02.659Z] ---> docker-login.sh ends [Pipeline] } [2022-03-16T17:01:02.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-16T17:01:02.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-16T17:01:02.723Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-03-16T17:01:02.723Z] d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:01:02.723Z] latest [2022-03-16T17:01:02.723Z] 2.0.0-dev.1 [2022-03-16T17:01:02.723Z] d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:01:02.723Z] main [2022-03-16T17:01:02.723Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:03.041Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:03.339Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:01:03.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-03-16T17:01:03.339Z] f4af012d385c: Preparing [2022-03-16T17:01:03.339Z] 83877b5689e7: Preparing [2022-03-16T17:01:03.339Z] 6aaff96b5f9a: Preparing [2022-03-16T17:01:03.339Z] 55a6f1c5e96d: Preparing [2022-03-16T17:01:03.339Z] f05863b636a1: Preparing [2022-03-16T17:01:03.339Z] 8d3ac3489996: Preparing [2022-03-16T17:01:03.339Z] 8d3ac3489996: Waiting [2022-03-16T17:01:03.339Z] f05863b636a1: Pushed [2022-03-16T17:01:03.339Z] 83877b5689e7: Pushed [2022-03-16T17:01:03.339Z] 8d3ac3489996: Layer already exists [2022-03-16T17:01:03.339Z] f4af012d385c: Pushed [2022-03-16T17:01:03.339Z] 6aaff96b5f9a: Pushed [2022-03-16T17:01:03.599Z] 55a6f1c5e96d: Pushed [2022-03-16T17:01:03.858Z] d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:04.156Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:04.454Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-03-16T17:01:04.454Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-03-16T17:01:04.454Z] f4af012d385c: Preparing [2022-03-16T17:01:04.454Z] 83877b5689e7: Preparing [2022-03-16T17:01:04.454Z] 6aaff96b5f9a: Preparing [2022-03-16T17:01:04.454Z] 55a6f1c5e96d: Preparing [2022-03-16T17:01:04.454Z] f05863b636a1: Preparing [2022-03-16T17:01:04.454Z] 8d3ac3489996: Preparing [2022-03-16T17:01:04.454Z] 8d3ac3489996: Waiting [2022-03-16T17:01:04.454Z] f05863b636a1: Layer already exists [2022-03-16T17:01:04.454Z] f4af012d385c: Layer already exists [2022-03-16T17:01:04.454Z] 83877b5689e7: Layer already exists [2022-03-16T17:01:04.454Z] 6aaff96b5f9a: Layer already exists [2022-03-16T17:01:04.454Z] 55a6f1c5e96d: Layer already exists [2022-03-16T17:01:04.454Z] 8d3ac3489996: Layer already exists [2022-03-16T17:01:04.454Z] latest: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:04.752Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:05.050Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 [2022-03-16T17:01:05.050Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-03-16T17:01:05.050Z] f4af012d385c: Preparing [2022-03-16T17:01:05.050Z] 83877b5689e7: Preparing [2022-03-16T17:01:05.050Z] 6aaff96b5f9a: Preparing [2022-03-16T17:01:05.050Z] 55a6f1c5e96d: Preparing [2022-03-16T17:01:05.050Z] f05863b636a1: Preparing [2022-03-16T17:01:05.050Z] 8d3ac3489996: Preparing [2022-03-16T17:01:05.050Z] 8d3ac3489996: Waiting [2022-03-16T17:01:05.050Z] f05863b636a1: Layer already exists [2022-03-16T17:01:05.050Z] 6aaff96b5f9a: Layer already exists [2022-03-16T17:01:05.050Z] f4af012d385c: Layer already exists [2022-03-16T17:01:05.050Z] 83877b5689e7: Layer already exists [2022-03-16T17:01:05.050Z] 55a6f1c5e96d: Layer already exists [2022-03-16T17:01:05.050Z] 8d3ac3489996: Layer already exists [2022-03-16T17:01:05.050Z] 2.0.0-dev.1: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:05.350Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:05.641Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:01:05.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-03-16T17:01:05.641Z] f4af012d385c: Preparing [2022-03-16T17:01:05.641Z] 83877b5689e7: Preparing [2022-03-16T17:01:05.641Z] 6aaff96b5f9a: Preparing [2022-03-16T17:01:05.641Z] 55a6f1c5e96d: Preparing [2022-03-16T17:01:05.641Z] f05863b636a1: Preparing [2022-03-16T17:01:05.641Z] 8d3ac3489996: Preparing [2022-03-16T17:01:05.641Z] 83877b5689e7: Layer already exists [2022-03-16T17:01:05.641Z] f05863b636a1: Layer already exists [2022-03-16T17:01:05.641Z] 6aaff96b5f9a: Layer already exists [2022-03-16T17:01:05.641Z] 55a6f1c5e96d: Layer already exists [2022-03-16T17:01:05.641Z] f4af012d385c: Layer already exists [2022-03-16T17:01:05.641Z] 8d3ac3489996: Layer already exists [2022-03-16T17:01:05.641Z] d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:05.942Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:06.236Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-03-16T17:01:06.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-03-16T17:01:06.236Z] f4af012d385c: Preparing [2022-03-16T17:01:06.236Z] 83877b5689e7: Preparing [2022-03-16T17:01:06.236Z] 6aaff96b5f9a: Preparing [2022-03-16T17:01:06.236Z] 55a6f1c5e96d: Preparing [2022-03-16T17:01:06.236Z] f05863b636a1: Preparing [2022-03-16T17:01:06.236Z] 8d3ac3489996: Preparing [2022-03-16T17:01:06.236Z] 8d3ac3489996: Waiting [2022-03-16T17:01:06.236Z] 6aaff96b5f9a: Layer already exists [2022-03-16T17:01:06.237Z] 55a6f1c5e96d: Layer already exists [2022-03-16T17:01:06.237Z] f05863b636a1: Layer already exists [2022-03-16T17:01:06.237Z] 83877b5689e7: Layer already exists [2022-03-16T17:01:06.237Z] f4af012d385c: Layer already exists [2022-03-16T17:01:06.237Z] 8d3ac3489996: Layer already exists [2022-03-16T17:01:06.237Z] main: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-16T17:01:06.278Z] ===================================================== [Pipeline] echo [2022-03-16T17:01:06.287Z] taggedImages: [2022-03-16T17:01:06.288Z] - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:01:06.288Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-03-16T17:01:06.288Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 [2022-03-16T17:01:06.288Z] - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:01:06.288Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:06.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-16T17:01:06.667Z] [2022-03-16T17:01:06.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:01:06.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-16T17:01:06.968Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-16T17:01:06.968Z] 5eb5b503b376: Pulling fs layer [2022-03-16T17:01:06.968Z] 5c69ac0246d0: Pulling fs layer [2022-03-16T17:01:06.968Z] ec43610c2a17: Pulling fs layer [2022-03-16T17:01:06.968Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-16T17:01:06.968Z] 33b1e0a273af: Pulling fs layer [2022-03-16T17:01:06.968Z] 5d3b04190fa2: Pulling fs layer [2022-03-16T17:01:06.968Z] 2f39f015ded8: Pulling fs layer [2022-03-16T17:01:06.968Z] 33b1e0a273af: Waiting [2022-03-16T17:01:06.968Z] 3a2ae6a8a46f: Waiting [2022-03-16T17:01:06.968Z] 5d3b04190fa2: Waiting [2022-03-16T17:01:06.968Z] 2f39f015ded8: Waiting [2022-03-16T17:01:06.968Z] 5c69ac0246d0: Verifying Checksum [2022-03-16T17:01:06.968Z] 5c69ac0246d0: Download complete [2022-03-16T17:01:06.968Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-16T17:01:06.968Z] 3a2ae6a8a46f: Download complete [2022-03-16T17:01:06.968Z] 33b1e0a273af: Verifying Checksum [2022-03-16T17:01:06.969Z] 33b1e0a273af: Download complete [2022-03-16T17:01:06.969Z] 5d3b04190fa2: Download complete [2022-03-16T17:01:06.969Z] ec43610c2a17: Verifying Checksum [2022-03-16T17:01:06.969Z] ec43610c2a17: Download complete [2022-03-16T17:01:07.228Z] 5eb5b503b376: Verifying Checksum [2022-03-16T17:01:07.228Z] 5eb5b503b376: Download complete [2022-03-16T17:01:07.804Z] 2f39f015ded8: Verifying Checksum [2022-03-16T17:01:07.804Z] 2f39f015ded8: Download complete [2022-03-16T17:01:08.744Z] 5eb5b503b376: Pull complete [2022-03-16T17:01:08.744Z] 5c69ac0246d0: Pull complete [2022-03-16T17:01:09.314Z] ec43610c2a17: Pull complete [2022-03-16T17:01:09.314Z] 3a2ae6a8a46f: Pull complete [2022-03-16T17:01:09.575Z] 33b1e0a273af: Pull complete [2022-03-16T17:01:09.575Z] 5d3b04190fa2: Pull complete [2022-03-16T17:01:14.858Z] 2f39f015ded8: Pull complete [2022-03-16T17:01:14.858Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-16T17:01:14.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-16T17:01:14.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-16T17:01:14.932Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:01:14.976Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-16T17:01:16.471Z] $ docker top d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:01:16.886Z] ---> job-cost.sh [2022-03-16T17:01:16.886Z] lf-activate-venv: SKIPPING [2022-03-16T17:01:16.886Z] INFO: No Stack... [2022-03-16T17:01:17.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-16T17:01:17.718Z] INFO: Archiving Costs [Pipeline] sh [2022-03-16T17:01:18.019Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-03-16T17:01:18.019Z] + cut -d, -f6 [Pipeline] lock [2022-03-16T17:01:18.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [2022-03-16T17:01:18.040Z] Resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] did not exist. Created. [2022-03-16T17:01:18.040Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-16T17:01:18.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-16T17:01:18.373Z] Stashed 1 file(s) [Pipeline] } [2022-03-16T17:01:18.379Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-16T17:01:18.402Z] $ docker stop --time=1 d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 [2022-03-16T17:01:19.583Z] $ docker rm -f d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-16T17:01:39.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7309 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-03-16T17:01:39.853Z] Running in /w/workspace/device-gpio/12 [Pipeline] { [Pipeline] checkout [2022-03-16T17:01:40.370Z] The recommended git tool is: git [2022-03-16T17:01:47.667Z] using credential edgex-jenkins-ssh [2022-03-16T17:01:47.696Z] Cloning the remote Git repository [2022-03-16T17:01:47.822Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-16T17:01:47.969Z] > git init /w/workspace/device-gpio/12 # timeout=10 [2022-03-16T17:01:48.115Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-16T17:01:48.116Z] > git --version # timeout=10 [2022-03-16T17:01:48.139Z] > git --version # 'git version 2.25.1' [2022-03-16T17:01:48.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-16T17:01:48.260Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-16T17:01:49.559Z] Avoid second fetch [2022-03-16T17:01:49.560Z] Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) [2022-03-16T17:01:49.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-16T17:01:49.525Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-16T17:01:49.589Z] > git config core.sparsecheckout # timeout=10 [2022-03-16T17:01:49.611Z] > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [2022-03-16T17:01:53.906Z] Commit message: "Merge pull request #16 from iain-anderson/v2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-16T17:01:54.824Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-16T17:01:54.825Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-16T17:01:54.825Z] Dload Upload Total Spent Left Speed [2022-03-16T17:01:54.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-03-16T17:01:55.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-16T17:01:55.700Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-16T17:01:55.700Z] + sudo tee /etc/docker/daemon.new [2022-03-16T17:01:55.700Z] { [2022-03-16T17:01:55.700Z] "registry-mirrors": [ [2022-03-16T17:01:55.700Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-16T17:01:55.700Z] ], [2022-03-16T17:01:55.700Z] "bip": "10.250.0.254/24", [2022-03-16T17:01:55.700Z] "hosts": [ [2022-03-16T17:01:55.700Z] "tcp://0.0.0.0:5555", [2022-03-16T17:01:55.700Z] "unix:///var/run/docker.sock" [2022-03-16T17:01:55.700Z] ], [2022-03-16T17:01:55.700Z] "mtu": 1458, [2022-03-16T17:01:55.700Z] "selinux-enabled": true, [2022-03-16T17:01:55.700Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-16T17:01:55.700Z] } [Pipeline] sh [2022-03-16T17:01:56.063Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-16T17:01:56.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T17:02:14.762Z] provisioning config files... [2022-03-16T17:02:14.786Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config8211455587638191174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:02:15.154Z] ---> docker-login.sh [2022-03-16T17:02:15.154Z] nexus3.edgexfoundry.org:10001 [2022-03-16T17:02:15.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:02:16.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:02:16.030Z] Configure a credential helper to remove this warning. See [2022-03-16T17:02:16.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:02:16.030Z] [2022-03-16T17:02:16.030Z] Login Succeeded [2022-03-16T17:02:16.030Z] nexus3.edgexfoundry.org:10002 [2022-03-16T17:02:16.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:02:16.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:02:16.305Z] Configure a credential helper to remove this warning. See [2022-03-16T17:02:16.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:02:16.305Z] [2022-03-16T17:02:16.305Z] Login Succeeded [2022-03-16T17:02:16.305Z] nexus3.edgexfoundry.org:10003 [2022-03-16T17:02:16.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:02:16.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:02:16.905Z] Configure a credential helper to remove this warning. See [2022-03-16T17:02:16.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:02:16.905Z] [2022-03-16T17:02:16.905Z] Login Succeeded [2022-03-16T17:02:16.905Z] nexus3.edgexfoundry.org:10004 [2022-03-16T17:02:17.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:02:17.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:02:17.456Z] Configure a credential helper to remove this warning. See [2022-03-16T17:02:17.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:02:17.456Z] [2022-03-16T17:02:17.456Z] Login Succeeded [2022-03-16T17:02:17.456Z] docker.io [2022-03-16T17:02:17.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:02:18.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:02:18.004Z] Configure a credential helper to remove this warning. See [2022-03-16T17:02:18.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:02:18.004Z] [2022-03-16T17:02:18.004Z] Login Succeeded [2022-03-16T17:02:18.277Z] ---> docker-login.sh ends [Pipeline] } [2022-03-16T17:02:18.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-16T17:02:18.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-16T17:02:18.899Z] ========================================================= [2022-03-16T17:02:18.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-16T17:02:18.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:02:19.264Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-16T17:02:19.543Z] Sending build context to Docker daemon 5.56MB [2022-03-16T17:02:19.543Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-16T17:02:19.543Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-16T17:02:19.819Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-16T17:02:19.819Z] 9b3977197b4f: Pulling fs layer [2022-03-16T17:02:19.819Z] 1a89e8eeedd5: Pulling fs layer [2022-03-16T17:02:19.819Z] 94645a83ff95: Pulling fs layer [2022-03-16T17:02:19.819Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-16T17:02:19.819Z] 0c92f367c5e7: Pulling fs layer [2022-03-16T17:02:19.819Z] f7c0051592d6: Pulling fs layer [2022-03-16T17:02:19.819Z] a227ed2f7395: Pulling fs layer [2022-03-16T17:02:19.819Z] 7b1c46037f91: Pulling fs layer [2022-03-16T17:02:19.819Z] 0c92f367c5e7: Waiting [2022-03-16T17:02:19.819Z] 3f3a8bcf1eab: Waiting [2022-03-16T17:02:19.819Z] a227ed2f7395: Waiting [2022-03-16T17:02:19.819Z] 7b1c46037f91: Waiting [2022-03-16T17:02:19.819Z] 94645a83ff95: Verifying Checksum [2022-03-16T17:02:19.819Z] 94645a83ff95: Download complete [2022-03-16T17:02:19.819Z] 1a89e8eeedd5: Verifying Checksum [2022-03-16T17:02:19.819Z] 1a89e8eeedd5: Download complete [2022-03-16T17:02:19.819Z] 0c92f367c5e7: Verifying Checksum [2022-03-16T17:02:19.819Z] 0c92f367c5e7: Download complete [2022-03-16T17:02:19.819Z] f7c0051592d6: Verifying Checksum [2022-03-16T17:02:19.819Z] f7c0051592d6: Download complete [2022-03-16T17:02:19.819Z] 9b3977197b4f: Verifying Checksum [2022-03-16T17:02:19.819Z] 9b3977197b4f: Download complete [2022-03-16T17:02:19.819Z] a227ed2f7395: Download complete [2022-03-16T17:02:20.829Z] 9b3977197b4f: Pull complete [2022-03-16T17:02:21.106Z] 1a89e8eeedd5: Pull complete [2022-03-16T17:02:21.707Z] 94645a83ff95: Pull complete [2022-03-16T17:02:21.984Z] 7b1c46037f91: Verifying Checksum [2022-03-16T17:02:21.984Z] 7b1c46037f91: Download complete [2022-03-16T17:02:22.580Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-16T17:02:22.580Z] 3f3a8bcf1eab: Download complete [2022-03-16T17:02:35.032Z] 3f3a8bcf1eab: Pull complete [2022-03-16T17:02:35.032Z] 0c92f367c5e7: Pull complete [2022-03-16T17:02:35.032Z] f7c0051592d6: Pull complete [2022-03-16T17:02:35.313Z] a227ed2f7395: Pull complete [2022-03-16T17:02:42.033Z] 7b1c46037f91: Pull complete [2022-03-16T17:02:42.033Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-16T17:02:42.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-16T17:02:42.033Z] ---> f79e39bc4007 [2022-03-16T17:02:42.033Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-16T17:02:42.310Z] ---> Running in d590197021c1 [2022-03-16T17:02:42.589Z] Removing intermediate container d590197021c1 [2022-03-16T17:02:42.589Z] ---> 811087f48bdf [2022-03-16T17:02:42.589Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-16T17:02:42.861Z] ---> Running in b54ebdcc3f96 [2022-03-16T17:02:43.135Z] Removing intermediate container b54ebdcc3f96 [2022-03-16T17:02:43.135Z] ---> 698df819de5e [2022-03-16T17:02:43.135Z] Step 5/11 : WORKDIR /device-gpio [2022-03-16T17:02:43.135Z] ---> Running in f93ddbbf11f4 [2022-03-16T17:02:43.410Z] Removing intermediate container f93ddbbf11f4 [2022-03-16T17:02:43.410Z] ---> 4b90dec515cc [2022-03-16T17:02:43.411Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:02:43.411Z] ---> Running in c63268d41566 [2022-03-16T17:02:45.408Z] Removing intermediate container c63268d41566 [2022-03-16T17:02:45.408Z] ---> 0572ade19e48 [2022-03-16T17:02:45.408Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-16T17:02:45.408Z] ---> Running in a383a0ab63ef [2022-03-16T17:02:46.388Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-16T17:02:47.361Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-16T17:02:48.342Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-16T17:02:48.342Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-16T17:02:48.342Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-16T17:02:48.617Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-16T17:02:48.617Z] Executing busybox-1.34.1-r3.trigger [2022-03-16T17:02:48.617Z] OK: 224 MiB in 56 packages [2022-03-16T17:02:49.604Z] Removing intermediate container a383a0ab63ef [2022-03-16T17:02:49.604Z] ---> 0db4e242f2ee [2022-03-16T17:02:49.604Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-16T17:02:50.200Z] ---> 2c2228130674 [2022-03-16T17:02:50.200Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-16T17:02:50.200Z] ---> Running in 6a70b04bd5fe [2022-03-16T17:04:12.013Z] Removing intermediate container 6a70b04bd5fe [2022-03-16T17:04:12.013Z] ---> 2eb1b5c9007c [2022-03-16T17:04:12.013Z] Step 10/11 : COPY . . [2022-03-16T17:04:12.013Z] ---> a3417f323a34 [2022-03-16T17:04:12.013Z] Step 11/11 : RUN ${MAKE} [2022-03-16T17:04:12.013Z] ---> Running in 6760ccef96f9 [2022-03-16T17:04:12.013Z] Removing intermediate container 6760ccef96f9 [2022-03-16T17:04:12.013Z] ---> 5cb73ce73b82 [2022-03-16T17:04:12.013Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-16T17:04:12.013Z] Successfully built 5cb73ce73b82 [2022-03-16T17:04:12.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:04:12.364Z] + docker inspect -f . ci-base-image-arm64 [2022-03-16T17:04:12.364Z] . [Pipeline] withDockerContainer [2022-03-16T17:04:12.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container [2022-03-16T17:04:12.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-16T17:04:13.943Z] $ docker top a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-16T17:04:14.873Z] + go version [2022-03-16T17:04:14.873Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-16T17:04:14.902Z] $ docker stop --time=1 a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 [2022-03-16T17:04:16.528Z] $ docker rm -f a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:04:17.132Z] + docker inspect -f . ci-base-image-arm64 [2022-03-16T17:04:17.132Z] . [Pipeline] withDockerContainer [2022-03-16T17:04:17.368Z] prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container [2022-03-16T17:04:17.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-16T17:04:18.744Z] $ docker top 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-16T17:04:19.671Z] + make test [2022-03-16T17:04:19.671Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-16T17:04:21.115Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-16T17:05:08.174Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-16T17:05:08.174Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-16T17:05:08.174Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-16T17:05:26.525Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-16T17:05:26.525Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-16T17:05:26.525Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-16T17:05:27.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-16T17:05:27.166Z] $ docker stop --time=1 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 [2022-03-16T17:05:29.007Z] $ docker rm -f 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-16T17:05:29.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-16T17:05:29.857Z] Warning: overwriting stash ‘coverage-report’ [2022-03-16T17:05:30.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-16T17:05:30.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-16T17:05:31.062Z] + ls -al . [2022-03-16T17:05:31.062Z] total 176 [2022-03-16T17:05:31.062Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 17:05 . [2022-03-16T17:05:31.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:01 .. [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 17:01 .dockerignore [2022-03-16T17:05:31.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:01 .git [2022-03-16T17:05:31.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:01 .github [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 17:01 .gitignore [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 17:01 Attribution.txt [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 17:01 Dockerfile [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:01 GOVERNANCE.md [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 17:01 Jenkinsfile [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 17:01 LICENSE [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 17:01 Makefile [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 17:01 OWNERS.md [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 17:01 README.md [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:59 VERSION [2022-03-16T17:05:31.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:01 bin [2022-03-16T17:05:31.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:01 cmd [2022-03-16T17:05:31.062Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 16 17:04 coverage.out [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 17:01 go.mod [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 17:01 go.sum [2022-03-16T17:05:31.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:01 internal [2022-03-16T17:05:31.062Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 17:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:05:31.410Z] + 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=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=arm64 --label version=2.0.0-dev.1 . [2022-03-16T17:05:31.688Z] Sending build context to Docker daemon 5.561MB [2022-03-16T17:05:31.688Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-16T17:05:31.688Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-16T17:05:31.688Z] ---> 5cb73ce73b82 [2022-03-16T17:05:31.688Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-16T17:05:31.963Z] ---> Running in e2a6ece5b9a3 [2022-03-16T17:05:32.239Z] Removing intermediate container e2a6ece5b9a3 [2022-03-16T17:05:32.239Z] ---> c73e82275fc3 [2022-03-16T17:05:32.239Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-16T17:05:32.239Z] ---> Running in dc53bc791241 [2022-03-16T17:05:32.519Z] Removing intermediate container dc53bc791241 [2022-03-16T17:05:32.519Z] ---> 852615b195db [2022-03-16T17:05:32.519Z] Step 5/25 : WORKDIR /device-gpio [2022-03-16T17:05:32.800Z] ---> Running in 65b4d353579a [2022-03-16T17:05:33.077Z] Removing intermediate container 65b4d353579a [2022-03-16T17:05:33.077Z] ---> 92cf5e9f3ff2 [2022-03-16T17:05:33.077Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:05:33.077Z] ---> Running in abd0fd696c8a [2022-03-16T17:05:35.059Z] Removing intermediate container abd0fd696c8a [2022-03-16T17:05:35.059Z] ---> 614dccf2f3ab [2022-03-16T17:05:35.059Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-16T17:05:35.059Z] ---> Running in a20716f24f19 [2022-03-16T17:05:36.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-16T17:05:36.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-16T17:05:37.620Z] OK: 224 MiB in 56 packages [2022-03-16T17:05:38.606Z] Removing intermediate container a20716f24f19 [2022-03-16T17:05:38.606Z] ---> ad35dc89780c [2022-03-16T17:05:38.606Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-16T17:05:38.879Z] ---> 7f9dbc89a4c9 [2022-03-16T17:05:38.879Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-16T17:05:39.155Z] ---> Running in 6a2aaed5dd70 [2022-03-16T17:05:41.132Z] Removing intermediate container 6a2aaed5dd70 [2022-03-16T17:05:41.132Z] ---> c452dc668647 [2022-03-16T17:05:41.132Z] Step 10/25 : COPY . . [2022-03-16T17:05:42.115Z] ---> 77fd525d2b7f [2022-03-16T17:05:42.115Z] Step 11/25 : RUN ${MAKE} [2022-03-16T17:05:42.115Z] ---> Running in 8878b4901ef8 [2022-03-16T17:05:44.098Z] Removing intermediate container 8878b4901ef8 [2022-03-16T17:05:44.098Z] ---> 6dd5979e15ec [2022-03-16T17:05:44.098Z] Step 12/25 : FROM alpine:3.15 [2022-03-16T17:05:44.698Z] 3.15: Pulling from library/alpine [2022-03-16T17:05:44.698Z] 9b3977197b4f: Already exists [2022-03-16T17:05:44.978Z] Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 [2022-03-16T17:05:44.978Z] Status: Downloaded newer image for alpine:3.15 [2022-03-16T17:05:44.978Z] ---> 8e1d7573f448 [2022-03-16T17:05:44.978Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-16T17:05:44.978Z] ---> Running in efd431fba437 [2022-03-16T17:05:45.584Z] Removing intermediate container efd431fba437 [2022-03-16T17:05:45.584Z] ---> 680a91ae55d7 [2022-03-16T17:05:45.584Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-16T17:05:45.584Z] ---> Running in 4f7f217697ae [2022-03-16T17:05:47.060Z] Removing intermediate container 4f7f217697ae [2022-03-16T17:05:47.060Z] ---> 77787e3d3050 [2022-03-16T17:05:47.060Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-16T17:05:47.340Z] ---> Running in 6492d88b2856 [2022-03-16T17:05:48.333Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-16T17:05:49.314Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-16T17:05:50.295Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-16T17:05:50.295Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-16T17:05:50.295Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-16T17:05:50.574Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-16T17:05:50.574Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-16T17:05:50.574Z] Executing busybox-1.34.1-r3.trigger [2022-03-16T17:05:50.574Z] OK: 8 MiB in 19 packages [2022-03-16T17:05:51.562Z] Removing intermediate container 6492d88b2856 [2022-03-16T17:05:51.562Z] ---> 22302f9a75a0 [2022-03-16T17:05:51.562Z] Step 16/25 : WORKDIR / [2022-03-16T17:05:51.562Z] ---> Running in a7f987ef2d65 [2022-03-16T17:05:52.169Z] Removing intermediate container a7f987ef2d65 [2022-03-16T17:05:52.169Z] ---> ebcb8272be76 [2022-03-16T17:05:52.169Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-16T17:05:52.446Z] ---> 4ca971029270 [2022-03-16T17:05:52.446Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-16T17:05:53.048Z] ---> a8e0e5b1e1c1 [2022-03-16T17:05:53.048Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-16T17:05:53.657Z] ---> 011a1ade3983 [2022-03-16T17:05:53.657Z] Step 20/25 : EXPOSE 59910 [2022-03-16T17:05:53.657Z] ---> Running in ae43b179267a [2022-03-16T17:05:54.268Z] Removing intermediate container ae43b179267a [2022-03-16T17:05:54.268Z] ---> 01832092246c [2022-03-16T17:05:54.268Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-16T17:05:54.268Z] ---> Running in 199a111ef3ba [2022-03-16T17:05:54.545Z] Removing intermediate container 199a111ef3ba [2022-03-16T17:05:54.545Z] ---> b94d4a8e92db [2022-03-16T17:05:54.545Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-16T17:05:54.545Z] ---> Running in 0578befc31a2 [2022-03-16T17:05:54.821Z] Removing intermediate container 0578befc31a2 [2022-03-16T17:05:54.821Z] ---> aa6c62619c83 [2022-03-16T17:05:54.821Z] Step 23/25 : LABEL arch=arm64 [2022-03-16T17:05:55.104Z] ---> Running in ef35d58340c9 [2022-03-16T17:05:55.379Z] Removing intermediate container ef35d58340c9 [2022-03-16T17:05:55.379Z] ---> 3d6bedd46a1d [2022-03-16T17:05:55.379Z] Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:05:55.379Z] ---> Running in deb3195e30df [2022-03-16T17:05:55.653Z] Removing intermediate container deb3195e30df [2022-03-16T17:05:55.653Z] ---> e2f8a5eea9be [2022-03-16T17:05:55.653Z] Step 25/25 : LABEL version=2.0.0-dev.1 [2022-03-16T17:05:55.930Z] ---> Running in 914c2a69652f [2022-03-16T17:05:56.218Z] Removing intermediate container 914c2a69652f [2022-03-16T17:05:56.218Z] ---> fbf438ee88b2 [2022-03-16T17:05:56.218Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-16T17:05:56.218Z] Successfully built fbf438ee88b2 [2022-03-16T17:05:56.218Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T17:05:56.340Z] provisioning config files... [2022-03-16T17:05:56.362Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config9038566365524054851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:05:56.726Z] ---> docker-login.sh [2022-03-16T17:05:56.726Z] nexus3.edgexfoundry.org:10001 [2022-03-16T17:05:57.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:05:57.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:05:57.012Z] Configure a credential helper to remove this warning. See [2022-03-16T17:05:57.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:05:57.012Z] [2022-03-16T17:05:57.012Z] Login Succeeded [2022-03-16T17:05:57.012Z] nexus3.edgexfoundry.org:10002 [2022-03-16T17:05:57.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:05:57.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:05:57.612Z] Configure a credential helper to remove this warning. See [2022-03-16T17:05:57.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:05:57.612Z] [2022-03-16T17:05:57.612Z] Login Succeeded [2022-03-16T17:05:57.612Z] nexus3.edgexfoundry.org:10003 [2022-03-16T17:05:57.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:05:58.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:05:58.163Z] Configure a credential helper to remove this warning. See [2022-03-16T17:05:58.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:05:58.163Z] [2022-03-16T17:05:58.163Z] Login Succeeded [2022-03-16T17:05:58.163Z] nexus3.edgexfoundry.org:10004 [2022-03-16T17:05:58.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:05:58.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:05:58.435Z] Configure a credential helper to remove this warning. See [2022-03-16T17:05:58.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:05:58.435Z] [2022-03-16T17:05:58.436Z] Login Succeeded [2022-03-16T17:05:58.712Z] docker.io [2022-03-16T17:05:58.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-16T17:05:59.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-16T17:05:59.262Z] Configure a credential helper to remove this warning. See [2022-03-16T17:05:59.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-16T17:05:59.262Z] [2022-03-16T17:05:59.262Z] Login Succeeded [2022-03-16T17:05:59.262Z] ---> docker-login.sh ends [Pipeline] } [2022-03-16T17:05:59.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-16T17:05:59.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-16T17:05:59.355Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-03-16T17:05:59.355Z] d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:05:59.355Z] latest [2022-03-16T17:05:59.355Z] 2.0.0-dev.1 [2022-03-16T17:05:59.355Z] d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:05:59.355Z] main [2022-03-16T17:05:59.355Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:05:59.726Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:00.074Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:06:00.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-03-16T17:06:00.074Z] a1265559b5f2: Preparing [2022-03-16T17:06:00.074Z] 4c580bef5623: Preparing [2022-03-16T17:06:00.074Z] 731769da288b: Preparing [2022-03-16T17:06:00.074Z] 583baa4c2a46: Preparing [2022-03-16T17:06:00.074Z] 8bbfb4500e40: Preparing [2022-03-16T17:06:00.074Z] 07d3c46c9599: Preparing [2022-03-16T17:06:00.074Z] 07d3c46c9599: Waiting [2022-03-16T17:06:00.354Z] 8bbfb4500e40: Pushed [2022-03-16T17:06:00.354Z] 731769da288b: Pushed [2022-03-16T17:06:00.354Z] a1265559b5f2: Pushed [2022-03-16T17:06:00.354Z] 4c580bef5623: Pushed [2022-03-16T17:06:00.354Z] 07d3c46c9599: Layer already exists [2022-03-16T17:06:00.956Z] 583baa4c2a46: Pushed [2022-03-16T17:06:01.231Z] d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:01.589Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:01.943Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-03-16T17:06:01.943Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-03-16T17:06:01.943Z] a1265559b5f2: Preparing [2022-03-16T17:06:01.943Z] 4c580bef5623: Preparing [2022-03-16T17:06:01.943Z] 731769da288b: Preparing [2022-03-16T17:06:01.943Z] 583baa4c2a46: Preparing [2022-03-16T17:06:01.943Z] 8bbfb4500e40: Preparing [2022-03-16T17:06:01.943Z] 07d3c46c9599: Preparing [2022-03-16T17:06:01.943Z] 07d3c46c9599: Waiting [2022-03-16T17:06:01.943Z] a1265559b5f2: Layer already exists [2022-03-16T17:06:01.943Z] 731769da288b: Layer already exists [2022-03-16T17:06:01.943Z] 8bbfb4500e40: Layer already exists [2022-03-16T17:06:01.943Z] 583baa4c2a46: Layer already exists [2022-03-16T17:06:01.943Z] 4c580bef5623: Layer already exists [2022-03-16T17:06:02.217Z] 07d3c46c9599: Layer already exists [2022-03-16T17:06:02.217Z] latest: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:02.574Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:02.934Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 [2022-03-16T17:06:02.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-03-16T17:06:02.934Z] a1265559b5f2: Preparing [2022-03-16T17:06:02.934Z] 4c580bef5623: Preparing [2022-03-16T17:06:02.934Z] 731769da288b: Preparing [2022-03-16T17:06:02.934Z] 583baa4c2a46: Preparing [2022-03-16T17:06:02.934Z] 8bbfb4500e40: Preparing [2022-03-16T17:06:02.934Z] 07d3c46c9599: Preparing [2022-03-16T17:06:02.934Z] 07d3c46c9599: Waiting [2022-03-16T17:06:02.934Z] 731769da288b: Layer already exists [2022-03-16T17:06:02.934Z] 583baa4c2a46: Layer already exists [2022-03-16T17:06:02.934Z] 4c580bef5623: Layer already exists [2022-03-16T17:06:02.934Z] a1265559b5f2: Layer already exists [2022-03-16T17:06:02.934Z] 8bbfb4500e40: Layer already exists [2022-03-16T17:06:03.209Z] 07d3c46c9599: Layer already exists [2022-03-16T17:06:03.209Z] 2.0.0-dev.1: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:03.566Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:03.920Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:06:03.920Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-03-16T17:06:03.920Z] a1265559b5f2: Preparing [2022-03-16T17:06:03.920Z] 4c580bef5623: Preparing [2022-03-16T17:06:03.920Z] 731769da288b: Preparing [2022-03-16T17:06:03.920Z] 583baa4c2a46: Preparing [2022-03-16T17:06:03.920Z] 8bbfb4500e40: Preparing [2022-03-16T17:06:03.920Z] 07d3c46c9599: Preparing [2022-03-16T17:06:03.920Z] 07d3c46c9599: Waiting [2022-03-16T17:06:03.920Z] 8bbfb4500e40: Layer already exists [2022-03-16T17:06:03.920Z] a1265559b5f2: Layer already exists [2022-03-16T17:06:03.920Z] 4c580bef5623: Layer already exists [2022-03-16T17:06:03.920Z] 731769da288b: Layer already exists [2022-03-16T17:06:03.920Z] 583baa4c2a46: Layer already exists [2022-03-16T17:06:03.920Z] 07d3c46c9599: Layer already exists [2022-03-16T17:06:04.196Z] d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:04.558Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:04.904Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-03-16T17:06:04.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-03-16T17:06:04.904Z] a1265559b5f2: Preparing [2022-03-16T17:06:04.904Z] 4c580bef5623: Preparing [2022-03-16T17:06:04.904Z] 731769da288b: Preparing [2022-03-16T17:06:04.904Z] 583baa4c2a46: Preparing [2022-03-16T17:06:04.904Z] 8bbfb4500e40: Preparing [2022-03-16T17:06:04.904Z] 07d3c46c9599: Preparing [2022-03-16T17:06:04.904Z] 07d3c46c9599: Waiting [2022-03-16T17:06:04.904Z] 4c580bef5623: Layer already exists [2022-03-16T17:06:04.904Z] 731769da288b: Layer already exists [2022-03-16T17:06:04.904Z] a1265559b5f2: Layer already exists [2022-03-16T17:06:04.904Z] 583baa4c2a46: Layer already exists [2022-03-16T17:06:04.904Z] 8bbfb4500e40: Layer already exists [2022-03-16T17:06:05.178Z] 07d3c46c9599: Layer already exists [2022-03-16T17:06:05.178Z] main: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-16T17:06:05.227Z] ===================================================== [Pipeline] echo [2022-03-16T17:06:05.238Z] taggedImages: [2022-03-16T17:06:05.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [2022-03-16T17:06:05.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-03-16T17:06:05.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 [2022-03-16T17:06:05.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [2022-03-16T17:06:05.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:05.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-16T17:06:05.615Z] [2022-03-16T17:06:05.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:05.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-16T17:06:06.257Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-16T17:06:06.257Z] 8998bd30e6a1: Pulling fs layer [2022-03-16T17:06:06.257Z] 04944245beec: Pulling fs layer [2022-03-16T17:06:06.257Z] 699f458cf7ca: Pulling fs layer [2022-03-16T17:06:06.257Z] 765212b225bb: Pulling fs layer [2022-03-16T17:06:06.257Z] f23df028b6ca: Pulling fs layer [2022-03-16T17:06:06.257Z] d65c8cfc05b1: Pulling fs layer [2022-03-16T17:06:06.257Z] 2437ff75d9bd: Pulling fs layer [2022-03-16T17:06:06.257Z] 765212b225bb: Waiting [2022-03-16T17:06:06.257Z] f23df028b6ca: Waiting [2022-03-16T17:06:06.257Z] d65c8cfc05b1: Waiting [2022-03-16T17:06:06.257Z] 2437ff75d9bd: Waiting [2022-03-16T17:06:06.257Z] 04944245beec: Download complete [2022-03-16T17:06:06.257Z] 765212b225bb: Verifying Checksum [2022-03-16T17:06:06.257Z] 765212b225bb: Download complete [2022-03-16T17:06:06.257Z] f23df028b6ca: Verifying Checksum [2022-03-16T17:06:06.257Z] f23df028b6ca: Download complete [2022-03-16T17:06:06.257Z] d65c8cfc05b1: Verifying Checksum [2022-03-16T17:06:06.257Z] d65c8cfc05b1: Download complete [2022-03-16T17:06:06.538Z] 699f458cf7ca: Verifying Checksum [2022-03-16T17:06:06.538Z] 699f458cf7ca: Download complete [2022-03-16T17:06:06.813Z] 8998bd30e6a1: Verifying Checksum [2022-03-16T17:06:06.813Z] 8998bd30e6a1: Download complete [2022-03-16T17:06:09.449Z] 2437ff75d9bd: Verifying Checksum [2022-03-16T17:06:09.449Z] 2437ff75d9bd: Download complete [2022-03-16T17:06:11.450Z] 8998bd30e6a1: Pull complete [2022-03-16T17:06:11.725Z] 04944245beec: Pull complete [2022-03-16T17:06:13.170Z] 699f458cf7ca: Pull complete [2022-03-16T17:06:13.446Z] 765212b225bb: Pull complete [2022-03-16T17:06:14.432Z] f23df028b6ca: Pull complete [2022-03-16T17:06:14.432Z] d65c8cfc05b1: Pull complete [2022-03-16T17:06:32.764Z] 2437ff75d9bd: Pull complete [2022-03-16T17:06:32.764Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-16T17:06:32.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-16T17:06:32.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-16T17:06:33.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container [2022-03-16T17:06:33.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-16T17:06:35.904Z] $ docker top d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:06:36.880Z] ---> job-cost.sh [2022-03-16T17:06:36.880Z] lf-activate-venv: SKIPPING [2022-03-16T17:06:36.880Z] INFO: No Stack... [2022-03-16T17:06:37.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-16T17:06:38.145Z] INFO: Archiving Costs [Pipeline] sh [2022-03-16T17:06:38.827Z] + + catcut /w/workspace/device-gpio/12/archives/cost.csv -d, [2022-03-16T17:06:38.827Z] -f6 [Pipeline] lock [2022-03-16T17:06:38.896Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [2022-03-16T17:06:38.906Z] Resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] did not exist. Created. [2022-03-16T17:06:38.906Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-16T17:06:39.614Z] /w/workspace/device-gpio/12@tmp/durable-625e6ef0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-16T17:06:40.309Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-16T17:06:40.340Z] Warning: overwriting stash ‘stack-cost’ [2022-03-16T17:06:40.380Z] Stashed 1 file(s) [Pipeline] } [2022-03-16T17:06:40.387Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-16T17:06:40.419Z] $ docker stop --time=1 d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 [2022-03-16T17:06:41.920Z] $ docker rm -f d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-03-16T17:06:42.519Z] provisioning config files... [2022-03-16T17:06:42.528Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8445390852943723241tmp [Pipeline] { [Pipeline] sh [2022-03-16T17:06:42.831Z] + set +x [2022-03-16T17:06:42.831Z] + curl -s https://codecov.io/bash [2022-03-16T17:06:42.831Z] + bash -s -- [2022-03-16T17:06:42.831Z] [2022-03-16T17:06:42.831Z] _____ _ [2022-03-16T17:06:42.831Z] / ____| | | [2022-03-16T17:06:42.831Z] | | ___ __| | ___ ___ _____ __ [2022-03-16T17:06:42.831Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-16T17:06:42.831Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-16T17:06:42.831Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-16T17:06:42.831Z] Bash-1.0.6 [2022-03-16T17:06:42.831Z] [2022-03-16T17:06:42.831Z] [2022-03-16T17:06:42.831Z] ==> git version 2.25.1 found [2022-03-16T17:06:42.831Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-03-16T17:06:42.831Z] Release-Date: 2020-01-08 [2022-03-16T17:06:42.831Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-16T17:06:42.831Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-16T17:06:42.831Z] ==> Jenkins CI detected. [2022-03-16T17:06:42.831Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-03-16T17:06:42.831Z] project root: . [2022-03-16T17:06:42.831Z] --> token set from env [2022-03-16T17:06:42.831Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-16T17:06:42.831Z] ==> Running gcov in . (disable via -X gcov) [2022-03-16T17:06:42.831Z] ==> Python coveragepy not found [2022-03-16T17:06:42.831Z] ==> Searching for coverage reports in: [2022-03-16T17:06:42.831Z] + . [2022-03-16T17:06:42.831Z] -> Found 1 reports [2022-03-16T17:06:42.831Z] ==> Detecting git/mercurial file structure [2022-03-16T17:06:42.831Z] ==> Reading reports [2022-03-16T17:06:42.831Z] + ./coverage.out bytes=10 [2022-03-16T17:06:42.831Z] ==> Appending adjustments [2022-03-16T17:06:42.831Z] https://docs.codecov.io/docs/fixing-reports [2022-03-16T17:06:43.095Z] + Found adjustments [2022-03-16T17:06:43.095Z] ==> Gzipping contents [2022-03-16T17:06:43.095Z] 4.0K /tmp/codecov.q1edHW.gz [2022-03-16T17:06:43.095Z] ==> Uploading reports [2022-03-16T17:06:43.095Z] url: https://codecov.io [2022-03-16T17:06:43.095Z] query: branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-16T17:06:43.095Z] -> Pinging Codecov [2022-03-16T17:06:43.095Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-16T17:06:43.356Z] -> Uploading to [2022-03-16T17:06:43.356Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d550a7515acedfb5a6817696fd12096f388c1d1e/ed4e7ea1-42ec-4337-a4fa-cc6488dc374f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220316T170643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8507a2951820720070be160f63b4ca5c9bb688d3dd46c4a53f2a60c41256988 [2022-03-16T17:06:43.356Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-16T17:06:43.356Z] Dload Upload Total Spent Left Speed [2022-03-16T17:06:43.616Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 585 0 0 100 585 0 2867 --:--:-- --:--:-- --:--:-- 2853 100 585 0 0 100 585 0 2368 --:--:-- --:--:-- --:--:-- 2358 [2022-03-16T17:06:43.616Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] } [2022-03-16T17:06:43.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-16T17:06:43.885Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-16T17:06:43.896Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:44.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-16T17:06:44.185Z] [2022-03-16T17:06:44.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:06:44.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-16T17:06:44.492Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-16T17:06:44.492Z] 188c0c94c7c5: Pulling fs layer [2022-03-16T17:06:44.492Z] 0ef7d3d256c8: Pulling fs layer [2022-03-16T17:06:44.492Z] de9db76c5a1d: Pulling fs layer [2022-03-16T17:06:44.492Z] 0eba1c9be4d2: Pulling fs layer [2022-03-16T17:06:44.492Z] 0d57e429df01: Pulling fs layer [2022-03-16T17:06:44.492Z] 4e4be7b47b0d: Pulling fs layer [2022-03-16T17:06:44.492Z] e1f770b5df2f: Pulling fs layer [2022-03-16T17:06:44.492Z] 85a0685a4137: Pulling fs layer [2022-03-16T17:06:44.492Z] 4e4be7b47b0d: Waiting [2022-03-16T17:06:44.492Z] 0eba1c9be4d2: Waiting [2022-03-16T17:06:44.492Z] e1f770b5df2f: Waiting [2022-03-16T17:06:44.492Z] 0d57e429df01: Waiting [2022-03-16T17:06:44.492Z] de9db76c5a1d: Download complete [2022-03-16T17:06:44.492Z] 0ef7d3d256c8: Download complete [2022-03-16T17:06:44.492Z] 0d57e429df01: Download complete [2022-03-16T17:06:44.492Z] 4e4be7b47b0d: Verifying Checksum [2022-03-16T17:06:44.492Z] 4e4be7b47b0d: Download complete [2022-03-16T17:06:44.492Z] 188c0c94c7c5: Verifying Checksum [2022-03-16T17:06:44.492Z] 188c0c94c7c5: Download complete [2022-03-16T17:06:44.757Z] 188c0c94c7c5: Pull complete [2022-03-16T17:06:44.757Z] e1f770b5df2f: Verifying Checksum [2022-03-16T17:06:44.757Z] e1f770b5df2f: Download complete [2022-03-16T17:06:44.757Z] 0ef7d3d256c8: Pull complete [2022-03-16T17:06:45.020Z] de9db76c5a1d: Pull complete [2022-03-16T17:06:45.281Z] 0eba1c9be4d2: Verifying Checksum [2022-03-16T17:06:45.281Z] 0eba1c9be4d2: Download complete [2022-03-16T17:06:45.281Z] 85a0685a4137: Verifying Checksum [2022-03-16T17:06:49.477Z] 0eba1c9be4d2: Pull complete [2022-03-16T17:06:49.477Z] 0d57e429df01: Pull complete [2022-03-16T17:06:49.477Z] 4e4be7b47b0d: Pull complete [2022-03-16T17:06:49.477Z] e1f770b5df2f: Pull complete [2022-03-16T17:06:52.774Z] 85a0685a4137: Pull complete [2022-03-16T17:06:53.036Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-16T17:06:53.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-16T17:06:53.036Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-16T17:06:53.107Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:06:53.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-16T17:06:54.557Z] $ docker top 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-16T17:06:54.641Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-16T17:06:54.929Z] + set -o pipefail [2022-03-16T17:06:54.929Z] + snyk monitor '--org=edgex-jenkins' [2022-03-16T17:06:59.140Z] [2022-03-16T17:06:59.140Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-03-16T17:06:59.140Z] [2022-03-16T17:06:59.140Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/e1fd9476-57ea-4b5d-9f4d-77e4c6de61db [2022-03-16T17:06:59.140Z] [2022-03-16T17:06:59.140Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-16T17:06:59.140Z] [2022-03-16T17:06:59.140Z] [Pipeline] } [2022-03-16T17:06:59.159Z] $ docker stop --time=1 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 [2022-03-16T17:07:00.836Z] $ docker rm -f 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-16T17:07:01.554Z] + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] sh [2022-03-16T17:07:01.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-16T17:07:01.855Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:02.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T17:07:02.153Z] . [Pipeline] withDockerContainer [2022-03-16T17:07:02.230Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:07:02.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-16T17:07:02.739Z] $ docker top 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-16T17:07:02.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-16T17:07:02.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-16T17:07:02.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-16T17:07:02.982Z] $ docker exec 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 ssh-agent [2022-03-16T17:07:03.115Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdGPHH/agent.14 [2022-03-16T17:07:03.115Z] SSH_AGENT_PID=20 [2022-03-16T17:07:03.120Z] Running ssh-add (command line suppressed) [2022-03-16T17:07:03.255Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4770677973973928982.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4770677973973928982.key) [2022-03-16T17:07:03.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-16T17:07:03.567Z] + git semver tag [2022-03-16T17:07:03.567Z] # -> Open(): unable to determine branch for HEAD [2022-03-16T17:07:03.567Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-03-16T17:07:03.567Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-03-16T17:07:03.567Z] # $SEMVER_REMOTE_NAME = origin [2022-03-16T17:07:03.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-16T17:07:03.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-16T17:07:03.567Z] # $SEMVER_BRANCH = main [2022-03-16T17:07:03.567Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-03-16T17:07:03.567Z] # d550a7515acedfb5a6817696fd12096f388c1d1e HEAD [2022-03-16T17:07:03.567Z] # -> Force: false [2022-03-16T17:07:03.567Z] # 9b2ee0323c0f3e16fc7a55e5a3e98fac3c58f0ae refs/tags/v2.0.0-dev.1 [Pipeline] } [2022-03-16T17:07:03.588Z] $ docker exec --env ******** --env ******** 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 ssh-agent -k [2022-03-16T17:07:03.707Z] unset SSH_AUTH_SOCK; [2022-03-16T17:07:03.707Z] unset SSH_AGENT_PID; [2022-03-16T17:07:03.707Z] echo Agent pid 20 killed; [2022-03-16T17:07:03.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-16T17:07:04.126Z] + git semver [Pipeline] } [2022-03-16T17:07:04.173Z] $ docker stop --time=1 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 [2022-03-16T17:07:05.487Z] $ docker rm -f 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:05.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-16T17:07:05.905Z] [2022-03-16T17:07:05.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:06.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-16T17:07:06.212Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-16T17:07:06.212Z] ab5ef0e58194: Pulling fs layer [2022-03-16T17:07:06.212Z] 9712f1f96733: Pulling fs layer [2022-03-16T17:07:06.212Z] 63f879dbbcfc: Pulling fs layer [2022-03-16T17:07:06.212Z] 0d9ebad4ef96: Pulling fs layer [2022-03-16T17:07:06.212Z] e9a5061849ea: Pulling fs layer [2022-03-16T17:07:06.212Z] d747dcd14b5f: Pulling fs layer [2022-03-16T17:07:06.212Z] 2de7ff778b66: Pulling fs layer [2022-03-16T17:07:06.212Z] 0d9ebad4ef96: Waiting [2022-03-16T17:07:06.212Z] e9a5061849ea: Waiting [2022-03-16T17:07:06.212Z] d747dcd14b5f: Waiting [2022-03-16T17:07:06.212Z] 9712f1f96733: Verifying Checksum [2022-03-16T17:07:06.212Z] 9712f1f96733: Download complete [2022-03-16T17:07:06.474Z] 63f879dbbcfc: Verifying Checksum [2022-03-16T17:07:06.474Z] 63f879dbbcfc: Download complete [2022-03-16T17:07:06.734Z] e9a5061849ea: Verifying Checksum [2022-03-16T17:07:06.734Z] e9a5061849ea: Download complete [2022-03-16T17:07:06.734Z] ab5ef0e58194: Verifying Checksum [2022-03-16T17:07:06.734Z] ab5ef0e58194: Download complete [2022-03-16T17:07:06.734Z] d747dcd14b5f: Download complete [2022-03-16T17:07:06.734Z] 0d9ebad4ef96: Verifying Checksum [2022-03-16T17:07:06.734Z] 0d9ebad4ef96: Download complete [2022-03-16T17:07:06.993Z] 2de7ff778b66: Verifying Checksum [2022-03-16T17:07:06.993Z] 2de7ff778b66: Download complete [2022-03-16T17:07:10.288Z] ab5ef0e58194: Pull complete [2022-03-16T17:07:10.288Z] 9712f1f96733: Pull complete [2022-03-16T17:07:10.861Z] 63f879dbbcfc: Pull complete [2022-03-16T17:07:15.058Z] 0d9ebad4ef96: Pull complete [2022-03-16T17:07:15.058Z] e9a5061849ea: Pull complete [2022-03-16T17:07:15.320Z] d747dcd14b5f: Pull complete [2022-03-16T17:07:16.701Z] 2de7ff778b66: Pull complete [2022-03-16T17:07:16.701Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-16T17:07:16.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-16T17:07:16.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-16T17:07:16.778Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:07:16.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-16T17:07:18.776Z] $ docker top 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-16T17:07:18.868Z] provisioning config files... [2022-03-16T17:07:18.878Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2987693156498160200tmp [2022-03-16T17:07:18.891Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6146901839382906802tmp [2022-03-16T17:07:18.904Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5554102376824182561tmp [Pipeline] { [Pipeline] echo [2022-03-16T17:07:18.921Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:19.212Z] ---> sigul-configuration.sh [2022-03-16T17:07:19.212Z] gpg: directory `/root/.gnupg' created [2022-03-16T17:07:19.212Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-16T17:07:19.212Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-16T17:07:19.212Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-16T17:07:19.212Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-16T17:07:19.212Z] gpg: CAST5 encrypted data [2022-03-16T17:07:19.212Z] gpg: encrypted with 1 passphrase [2022-03-16T17:07:19.212Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-16T17:07:19.504Z] + mkdir /home/jenkins [2022-03-16T17:07:19.504Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-16T17:07:19.793Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-03-16T17:07:19.803Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:20.095Z] ---> sigul-install.sh [2022-03-16T17:07:20.095Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-16T17:07:20.388Z] + git tag --list [2022-03-16T17:07:20.388Z] v0.0.0 [2022-03-16T17:07:20.388Z] v1.0.0 [2022-03-16T17:07:20.388Z] v1.0.1-dev.1 [2022-03-16T17:07:20.388Z] v1.0.1-dev.2 [2022-03-16T17:07:20.388Z] v1.0.1-dev.3 [2022-03-16T17:07:20.388Z] v1.0.1-dev.4 [2022-03-16T17:07:20.388Z] v1.0.1-dev.5 [2022-03-16T17:07:20.388Z] v1.0.1-dev.6 [2022-03-16T17:07:20.388Z] v2.0.0-dev.1 [Pipeline] sh [2022-03-16T17:07:20.683Z] + lftools sign git-tag v2.0.0-dev.1 [2022-03-16T17:07:21.255Z] Signing Git tag with Sigul... [2022-03-16T17:07:21.255Z] Signing v2.0.0-dev.1 [Pipeline] echo [2022-03-16T17:07:21.526Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:21.818Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-16T17:07:21.827Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-16T17:07:21.853Z] $ docker stop --time=1 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb [2022-03-16T17:07:23.159Z] $ docker rm -f 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-16T17:07:23.579Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-16T17:07:23.579Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:23.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T17:07:23.879Z] . [Pipeline] withDockerContainer [2022-03-16T17:07:23.955Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:07:24.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-16T17:07:24.404Z] $ docker top 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-16T17:07:24.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-16T17:07:24.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-16T17:07:24.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-16T17:07:24.661Z] $ docker exec 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 ssh-agent [2022-03-16T17:07:24.812Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAhngOH/agent.13 [2022-03-16T17:07:24.812Z] SSH_AGENT_PID=19 [2022-03-16T17:07:24.818Z] Running ssh-add (command line suppressed) [2022-03-16T17:07:24.940Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6657683354931500827.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6657683354931500827.key) [2022-03-16T17:07:24.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-16T17:07:25.245Z] + git semver bump pre [2022-03-16T17:07:25.245Z] # -> Open(): unable to determine branch for HEAD [2022-03-16T17:07:25.245Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-03-16T17:07:25.245Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-03-16T17:07:25.245Z] # $SEMVER_REMOTE_NAME = origin [2022-03-16T17:07:25.245Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-16T17:07:25.245Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-16T17:07:25.245Z] # $SEMVER_BRANCH = main [2022-03-16T17:07:25.245Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-03-16T17:07:25.245Z] 2.0.0-dev.2 [Pipeline] } [2022-03-16T17:07:25.261Z] $ docker exec --env ******** --env ******** 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 ssh-agent -k [2022-03-16T17:07:25.383Z] unset SSH_AUTH_SOCK; [2022-03-16T17:07:25.384Z] unset SSH_AGENT_PID; [2022-03-16T17:07:25.384Z] echo Agent pid 19 killed; [2022-03-16T17:07:25.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-16T17:07:25.705Z] + git semver [Pipeline] } [2022-03-16T17:07:25.726Z] $ docker stop --time=1 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 [2022-03-16T17:07:27.053Z] $ docker rm -f 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-16T17:07:27.416Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-16T17:07:27.416Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:27.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-16T17:07:27.719Z] . [Pipeline] withDockerContainer [2022-03-16T17:07:27.794Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:07:27.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-16T17:07:28.275Z] $ docker top a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-16T17:07:28.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-16T17:07:28.383Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-16T17:07:28.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-16T17:07:28.524Z] $ docker exec a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb ssh-agent [2022-03-16T17:07:28.646Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADnOpA/agent.13 [2022-03-16T17:07:28.646Z] SSH_AGENT_PID=19 [2022-03-16T17:07:28.653Z] Running ssh-add (command line suppressed) [2022-03-16T17:07:28.778Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4574902703381508646.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4574902703381508646.key) [2022-03-16T17:07:28.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-16T17:07:29.089Z] + git semver push [2022-03-16T17:07:29.089Z] # -> Open(): unable to determine branch for HEAD [2022-03-16T17:07:29.089Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-03-16T17:07:29.089Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-03-16T17:07:29.089Z] # $SEMVER_REMOTE_NAME = origin [2022-03-16T17:07:29.089Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-16T17:07:29.089Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-16T17:07:29.089Z] # $SEMVER_BRANCH = main [2022-03-16T17:07:29.089Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-03-16T17:07:31.663Z] $ docker exec --env ******** --env ******** a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb ssh-agent -k [2022-03-16T17:07:31.778Z] unset SSH_AUTH_SOCK; [2022-03-16T17:07:31.778Z] unset SSH_AGENT_PID; [2022-03-16T17:07:31.778Z] echo Agent pid 19 killed; [2022-03-16T17:07:31.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-16T17:07:32.108Z] + git semver [Pipeline] } [2022-03-16T17:07:32.132Z] $ docker stop --time=1 a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb [2022-03-16T17:07:33.460Z] $ docker rm -f a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-16T17:07:34.220Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-03-16T17:07:34.220Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-03-16T17:07:34.220Z] total 16 [2022-03-16T17:07:34.220Z] drwxr-xr-x 3 root root 4096 Mar 16 17:01 . [2022-03-16T17:07:34.220Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 17:07 .. [2022-03-16T17:07:34.220Z] drwxr-xr-x 2 root root 4096 Mar 16 17:01 cost [2022-03-16T17:07:34.220Z] -rw-r--r-- 1 root root 81 Mar 16 17:01 cost.csv [2022-03-16T17:07:34.220Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-03-16T17:07:34.220Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-03-16T17:07:34.220Z] total 16 [2022-03-16T17:07:34.220Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:01 . [2022-03-16T17:07:34.220Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 17:07 .. [2022-03-16T17:07:34.220Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 17:01 cost [2022-03-16T17:07:34.220Z] -rw-r--r-- 1 jenkins jenkins 81 Mar 16 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:34.521Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:35.384Z] ---> package-listing.sh [2022-03-16T17:07:35.384Z] ++ facter osfamily [2022-03-16T17:07:35.384Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-16T17:07:35.645Z] + OS_FAMILY=debian [2022-03-16T17:07:35.645Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-03-16T17:07:35.645Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-16T17:07:35.645Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-16T17:07:35.645Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-16T17:07:35.645Z] + PACKAGES=/tmp/packages_start.txt [2022-03-16T17:07:35.645Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-03-16T17:07:35.645Z] + PACKAGES=/tmp/packages_end.txt [2022-03-16T17:07:35.645Z] + case "${OS_FAMILY}" in [2022-03-16T17:07:35.645Z] + dpkg -l [2022-03-16T17:07:35.645Z] + grep '^ii' [2022-03-16T17:07:35.645Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-16T17:07:35.645Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-16T17:07:35.645Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-16T17:07:35.645Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-03-16T17:07:35.645Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-03-16T17:07:35.645Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-03-16T17:07:35.657Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-16T17:07:35.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-16T17:07:36.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-16T17:07:36.498Z] . [Pipeline] withDockerContainer [2022-03-16T17:07:36.563Z] prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container [2022-03-16T17:07:36.608Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-16T17:07:36.855Z] $ docker top f6192b6afbcaa7b9669a99609b9befcb7fe5bb600d3cbefcb81b42686850a44e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-16T17:07:37.211Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-16T17:07:37.499Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-16T17:07:37.786Z] + ls /var/log/sa-host [2022-03-16T17:07:37.786Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-16T17:07:38.016Z] provisioning config files... [2022-03-16T17:07:38.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5856288267887486264tmp [Pipeline] { [Pipeline] echo [2022-03-16T17:07:38.045Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:38.361Z] ---> create-netrc.sh [Pipeline] } [2022-03-16T17:07:38.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:38.733Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-16T17:07:38.758Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:39.057Z] ---> sudo-logs.sh [2022-03-16T17:07:39.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-16T17:07:39.091Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:39.376Z] ---> job-cost.sh [2022-03-16T17:07:39.376Z] lf-activate-venv: SKIPPING [2022-03-16T17:07:39.376Z] DEBUG: total: 0.2199999988079071 [2022-03-16T17:07:39.376Z] INFO: Retrieving Stack Cost... [2022-03-16T17:07:39.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-16T17:07:40.204Z] INFO: Archiving Costs [Pipeline] echo [2022-03-16T17:07:40.216Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-16T17:07:40.502Z] ---> logs-deploy.sh [2022-03-16T17:07:40.502Z] lf-activate-venv: SKIPPING [2022-03-16T17:07:40.502Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/12 [2022-03-16T17:07:40.502Z] INFO: archiving workspace using pattern(s): [2022-03-16T17:07:41.442Z] Archives upload complete. [2022-03-16T17:07:41.442Z] INFO: archiving logs to Nexus