Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 789344be25786e147f452924c2aa2731bf7a9eb5 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-ssh17441458389599397262.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-ssh14784132431715286267.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-ssh2183862172104904944.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-ssh18191264737687707945.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-ssh7554074953709620236.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33365’ Running on prd-ubuntu20.04-docker-8c-8g-33369 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 789344be25786e147f452924c2aa2731bf7a9eb5 (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 789344be25786e147f452924c2aa2731bf7a9eb5 # timeout=10 Commit message: "Merge pull request #25 from MonicaisHer/EDGEX-425-integrate-env-var-injection-with-device-gpio-snap" > git rev-list --no-walk b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T20:11:23.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T20:11:23.693Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T20:11:23.713Z] ========================================================= [2022-04-26T20:11:23.713Z] EdgeX Global Pipelines Version Info [2022-04-26T20:11:23.713Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:11:24.493Z] ------------------- [2022-04-26T20:11:24.493Z] stable info: [2022-04-26T20:11:24.493Z] ------------------- [2022-04-26T20:11:24.493Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T20:11:24.493Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T20:11:24.493Z] Message: update stable to v1.0.221 [2022-04-26T20:11:25.071Z] ------------------- [2022-04-26T20:11:25.071Z] experimental info: [2022-04-26T20:11:25.071Z] ------------------- [2022-04-26T20:11:25.071Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T20:11:25.071Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T20:11:25.072Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T20:11:25.206Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-26T20:11:25.219Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-26T20:11:25.234Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T20:11:25.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T20:11:25.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T20:11:25.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T20:11:25.288Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T20:11:25.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T20:11:25.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T20:11:25.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T20:11:25.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T20:11:25.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-26T20:11:25.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T20:11:25.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T20:11:25.401Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T20:11:25.417Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T20:11:25.430Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T20:11:25.441Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T20:11:25.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T20:11:25.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T20:11:25.484Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T20:11:25.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T20:11:25.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T20:11:25.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T20:11:25.540Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T20:11:25.556Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T20:11:25.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-26T20:11:25.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-26T20:11:25.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-26T20:11:25.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] echo [2022-04-26T20:11:25.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 789344b [Pipeline] echo [2022-04-26T20:11:25.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:11:25.695Z] provisioning config files... [2022-04-26T20:11:25.710Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config633199704263755064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:11:26.092Z] ---> docker-login.sh [2022-04-26T20:11:26.092Z] nexus3.edgexfoundry.org:10001 [2022-04-26T20:11:26.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:26.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:26.621Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:26.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:26.621Z] [2022-04-26T20:11:26.621Z] Login Succeeded [2022-04-26T20:11:26.621Z] nexus3.edgexfoundry.org:10002 [2022-04-26T20:11:26.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:26.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:26.621Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:26.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:26.621Z] [2022-04-26T20:11:26.621Z] Login Succeeded [2022-04-26T20:11:26.621Z] nexus3.edgexfoundry.org:10003 [2022-04-26T20:11:26.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:26.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:26.883Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:26.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:26.883Z] [2022-04-26T20:11:26.883Z] Login Succeeded [2022-04-26T20:11:26.883Z] nexus3.edgexfoundry.org:10004 [2022-04-26T20:11:26.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:26.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:26.883Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:26.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:26.883Z] [2022-04-26T20:11:26.883Z] Login Succeeded [2022-04-26T20:11:26.883Z] docker.io [2022-04-26T20:11:27.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:27.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:27.410Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:27.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:27.410Z] [2022-04-26T20:11:27.410Z] Login Succeeded [2022-04-26T20:11:27.410Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T20:11:27.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T20:11:27.809Z] + git rev-list -1 --merges 789344be25786e147f452924c2aa2731bf7a9eb5~1..789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] echo [2022-04-26T20:11:27.841Z] -----------> git rev-list -1 --merges 789344be25786e147f452924c2aa2731bf7a9eb5~1..789344be25786e147f452924c2aa2731bf7a9eb5 789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:11:27.841Z] 789344be25786e147f452924c2aa2731bf7a9eb5 [false] [Pipeline] sh [2022-04-26T20:11:28.137Z] + git log --format=format:%s -1 789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] echo [2022-04-26T20:11:28.154Z] ========================================================= [2022-04-26T20:11:28.154Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T20:11:28.154Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T20:11:28.503Z] + git log --format=format:%s -1 789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] echo [2022-04-26T20:11:28.517Z] [semverPrep] GIT_COMMIT: 789344be25786e147f452924c2aa2731bf7a9eb5, Commit Message: Merge pull request #25 from MonicaisHer/EDGEX-425-integrate-env-var-injection-with-device-gpio-snap [Pipeline] echo [2022-04-26T20:11:28.526Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T20:11:28.975Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T20:11:28.976Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T20:11:28.976Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T20:11:28.976Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T20:11:28.976Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T20:11:28.976Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T20:11:28.976Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:11:29.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:11:29.402Z] [2022-04-26T20:11:29.402Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:11:29.705Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:11:29.706Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T20:11:29.706Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T20:11:29.706Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T20:11:29.706Z] 4c7163046ea9: Pulling fs layer [2022-04-26T20:11:29.706Z] 0c2d73faf560: Pulling fs layer [2022-04-26T20:11:29.706Z] 0c2d73faf560: Waiting [2022-04-26T20:11:29.706Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T20:11:29.706Z] a0d0a0d46f8b: Download complete [2022-04-26T20:11:29.706Z] 0c2d73faf560: Verifying Checksum [2022-04-26T20:11:29.706Z] 0c2d73faf560: Download complete [2022-04-26T20:11:29.706Z] 4c7163046ea9: Verifying Checksum [2022-04-26T20:11:29.706Z] 4c7163046ea9: Download complete [2022-04-26T20:11:29.966Z] a0d0a0d46f8b: Pull complete [2022-04-26T20:11:29.966Z] 3e5f54012d9b: Pull complete [2022-04-26T20:11:30.540Z] 4c7163046ea9: Pull complete [2022-04-26T20:11:30.540Z] 0c2d73faf560: Pull complete [2022-04-26T20:11:30.540Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T20:11:30.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:11:30.540Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T20:11:30.621Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:11:30.668Z] $ 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-04-26T20:11:31.427Z] $ docker top 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T20:11:31.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T20:11:31.542Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T20:11:31.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T20:11:31.686Z] $ docker exec 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 ssh-agent [2022-04-26T20:11:31.809Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgDmPah/agent.13 [2022-04-26T20:11:31.809Z] SSH_AGENT_PID=20 [2022-04-26T20:11:31.817Z] Running ssh-add (command line suppressed) [2022-04-26T20:11:31.938Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2125646570909703340.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2125646570909703340.key) [2022-04-26T20:11:31.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T20:11:32.261Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T20:11:32.291Z] $ docker exec --env ******** --env ******** 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 ssh-agent -k [2022-04-26T20:11:32.410Z] unset SSH_AUTH_SOCK; [2022-04-26T20:11:32.411Z] unset SSH_AGENT_PID; [2022-04-26T20:11:32.411Z] echo Agent pid 20 killed; [2022-04-26T20:11:32.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T20:11:32.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T20:11:32.440Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T20:11:32.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T20:11:32.594Z] $ docker exec 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 ssh-agent [2022-04-26T20:11:32.720Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpfFlmI/agent.55 [2022-04-26T20:11:32.720Z] SSH_AGENT_PID=62 [2022-04-26T20:11:32.726Z] Running ssh-add (command line suppressed) [2022-04-26T20:11:32.858Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1930911565030764795.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1930911565030764795.key) [2022-04-26T20:11:32.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T20:11:33.158Z] + git semver init [2022-04-26T20:11:33.158Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T20:11:33.158Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-26T20:11:33.158Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:11:33.158Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T20:11:33.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T20:11:33.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T20:11:33.158Z] # $SEMVER_BRANCH = main [2022-04-26T20:11:33.158Z] # $SEMVER_TEMP = /tmp/semver-525189924 [2022-04-26T20:11:33.158Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-26T20:11:34.115Z] # '/tmp/semver-525189924' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2022-04-26T20:11:34.115Z] # -> Force: false [2022-04-26T20:11:34.115Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-26T20:11:34.134Z] $ docker exec --env ******** --env ******** 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 ssh-agent -k [2022-04-26T20:11:34.259Z] unset SSH_AUTH_SOCK; [2022-04-26T20:11:34.259Z] unset SSH_AGENT_PID; [2022-04-26T20:11:34.259Z] echo Agent pid 62 killed; [2022-04-26T20:11:34.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T20:11:34.588Z] + git semver [Pipeline] } [2022-04-26T20:11:34.609Z] $ docker stop --time=1 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 [2022-04-26T20:11:35.980Z] $ docker rm -f 497944e0df61731eada7fb04550b89326c50b6c08a1fecfca4db157428d05796 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T20:11:36.335Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T20:11:36.591Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T20:11:36.595Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:11:36.740Z] provisioning config files... [2022-04-26T20:11:36.754Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8302529018249953562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:11:37.056Z] ---> docker-login.sh [2022-04-26T20:11:37.056Z] nexus3.edgexfoundry.org:10001 [2022-04-26T20:11:37.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:37.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:37.056Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:37.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:37.056Z] [2022-04-26T20:11:37.056Z] Login Succeeded [2022-04-26T20:11:37.056Z] nexus3.edgexfoundry.org:10002 [2022-04-26T20:11:37.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:37.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:37.318Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:37.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:37.318Z] [2022-04-26T20:11:37.318Z] Login Succeeded [2022-04-26T20:11:37.318Z] nexus3.edgexfoundry.org:10003 [2022-04-26T20:11:37.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:37.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:37.318Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:37.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:37.318Z] [2022-04-26T20:11:37.318Z] Login Succeeded [2022-04-26T20:11:37.318Z] nexus3.edgexfoundry.org:10004 [2022-04-26T20:11:37.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:37.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:37.579Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:37.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:37.579Z] [2022-04-26T20:11:37.579Z] Login Succeeded [2022-04-26T20:11:37.579Z] docker.io [2022-04-26T20:11:37.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:11:38.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:11:38.155Z] Configure a credential helper to remove this warning. See [2022-04-26T20:11:38.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:11:38.155Z] [2022-04-26T20:11:38.155Z] Login Succeeded [2022-04-26T20:11:38.155Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T20:11:38.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T20:11:38.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T20:11:38.244Z] ========================================================= [2022-04-26T20:11:38.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T20:11:38.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:11:38.546Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T20:11:38.546Z] Sending build context to Docker daemon 11.11MB [2022-04-26T20:11:38.546Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T20:11:38.546Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T20:11:38.546Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T20:11:38.546Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T20:11:38.546Z] 666ba61612fd: Pulling fs layer [2022-04-26T20:11:38.546Z] 8ed8ca486205: Pulling fs layer [2022-04-26T20:11:38.546Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T20:11:38.546Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T20:11:38.546Z] ca2b28591e48: Pulling fs layer [2022-04-26T20:11:38.546Z] a51346096db8: Pulling fs layer [2022-04-26T20:11:38.546Z] daebc70d1ce1: Pulling fs layer [2022-04-26T20:11:38.546Z] 0e18a0eac166: Pulling fs layer [2022-04-26T20:11:38.546Z] daebc70d1ce1: Waiting [2022-04-26T20:11:38.546Z] 0e18a0eac166: Waiting [2022-04-26T20:11:38.546Z] ca2b28591e48: Waiting [2022-04-26T20:11:38.546Z] a51346096db8: Waiting [2022-04-26T20:11:38.546Z] 4fe6c5a15a65: Waiting [2022-04-26T20:11:38.546Z] 22a0e8bec74d: Waiting [2022-04-26T20:11:38.810Z] 8ed8ca486205: Verifying Checksum [2022-04-26T20:11:38.810Z] 8ed8ca486205: Download complete [2022-04-26T20:11:38.810Z] 666ba61612fd: Verifying Checksum [2022-04-26T20:11:38.810Z] 666ba61612fd: Download complete [2022-04-26T20:11:38.810Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T20:11:38.811Z] 22a0e8bec74d: Download complete [2022-04-26T20:11:38.811Z] ca2b28591e48: Verifying Checksum [2022-04-26T20:11:38.811Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T20:11:38.811Z] 59bf1c3509f3: Download complete [2022-04-26T20:11:38.811Z] a51346096db8: Verifying Checksum [2022-04-26T20:11:38.811Z] a51346096db8: Download complete [2022-04-26T20:11:38.811Z] daebc70d1ce1: Verifying Checksum [2022-04-26T20:11:38.811Z] daebc70d1ce1: Download complete [2022-04-26T20:11:38.811Z] 59bf1c3509f3: Pull complete [2022-04-26T20:11:39.071Z] 666ba61612fd: Pull complete [2022-04-26T20:11:39.071Z] 8ed8ca486205: Pull complete [2022-04-26T20:11:39.332Z] 0e18a0eac166: Verifying Checksum [2022-04-26T20:11:39.332Z] 0e18a0eac166: Download complete [2022-04-26T20:11:39.593Z] 4fe6c5a15a65: Download complete [2022-04-26T20:11:43.791Z] 4fe6c5a15a65: Pull complete [2022-04-26T20:11:43.791Z] 22a0e8bec74d: Pull complete [2022-04-26T20:11:43.791Z] ca2b28591e48: Pull complete [2022-04-26T20:11:43.791Z] a51346096db8: Pull complete [2022-04-26T20:11:43.791Z] daebc70d1ce1: Pull complete [2022-04-26T20:11:46.331Z] 0e18a0eac166: Pull complete [2022-04-26T20:11:46.331Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T20:11:46.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T20:11:46.331Z] ---> f018257e8ee9 [2022-04-26T20:11:46.331Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T20:11:47.723Z] ---> Running in 3a30ffb72060 [2022-04-26T20:11:47.723Z] Removing intermediate container 3a30ffb72060 [2022-04-26T20:11:47.723Z] ---> 2104876fb490 [2022-04-26T20:11:47.723Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T20:11:47.991Z] ---> Running in b460828a97dc [2022-04-26T20:11:47.991Z] Removing intermediate container b460828a97dc [2022-04-26T20:11:47.991Z] ---> a753f4ffc51d [2022-04-26T20:11:47.991Z] Step 5/11 : WORKDIR /device-gpio [2022-04-26T20:11:47.991Z] ---> Running in 536ba714171e [2022-04-26T20:11:47.991Z] Removing intermediate container 536ba714171e [2022-04-26T20:11:47.991Z] ---> 1c4e35788012 [2022-04-26T20:11:47.991Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:11:48.250Z] ---> Running in 156e0be36a10 [2022-04-26T20:11:48.826Z] Removing intermediate container 156e0be36a10 [2022-04-26T20:11:48.826Z] ---> 14303f257a04 [2022-04-26T20:11:48.826Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T20:11:48.826Z] ---> Running in c710d98eae63 [2022-04-26T20:11:49.089Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T20:11:50.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T20:11:50.296Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T20:11:50.296Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T20:11:50.563Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T20:11:50.563Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T20:11:50.563Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T20:11:50.563Z] OK: 224 MiB in 56 packages [2022-04-26T20:11:51.135Z] Removing intermediate container c710d98eae63 [2022-04-26T20:11:51.135Z] ---> 74c7a6658e2c [2022-04-26T20:11:51.135Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T20:11:51.398Z] ---> 31b5b083f943 [2022-04-26T20:11:51.398Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T20:11:51.398Z] ---> Running in 076167e31fa7 [2022-04-26T20:11:51.697Z] Still waiting to schedule task [2022-04-26T20:11:51.698Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33364’ [2022-04-26T20:12:23.519Z] Removing intermediate container 076167e31fa7 [2022-04-26T20:12:23.519Z] ---> 91eabfd638b9 [2022-04-26T20:12:23.519Z] Step 10/11 : COPY . . [2022-04-26T20:12:23.519Z] ---> 4e5598894ff5 [2022-04-26T20:12:23.519Z] Step 11/11 : RUN ${MAKE} [2022-04-26T20:12:23.519Z] ---> Running in 89dcdda10a3d [2022-04-26T20:12:23.519Z] Removing intermediate container 89dcdda10a3d [2022-04-26T20:12:23.519Z] ---> 6284c7f55634 [2022-04-26T20:12:23.519Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-26T20:12:23.519Z] Successfully built 6284c7f55634 [2022-04-26T20:12:23.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:12:23.832Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T20:12:23.832Z] . [Pipeline] withDockerContainer [2022-04-26T20:12:23.913Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:12:23.954Z] $ 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-04-26T20:12:24.375Z] $ docker top c7e638cfe54d036e293eba9e8c37cfc5928bbebfd4e4fd51a8504744658670ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T20:12:24.739Z] + go version [2022-04-26T20:12:24.739Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T20:12:24.759Z] $ docker stop --time=1 c7e638cfe54d036e293eba9e8c37cfc5928bbebfd4e4fd51a8504744658670ba [2022-04-26T20:12:26.067Z] $ docker rm -f c7e638cfe54d036e293eba9e8c37cfc5928bbebfd4e4fd51a8504744658670ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:12:26.491Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T20:12:26.491Z] . [Pipeline] withDockerContainer [2022-04-26T20:12:26.565Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:12:26.602Z] $ 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-04-26T20:12:27.007Z] $ docker top ca7a8d5cfaab05c91b4c3e088500e9abde606a58e98256785a9e8192641d3090 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T20:12:27.396Z] + make test [2022-04-26T20:12:27.396Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T20:12:27.668Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-26T20:12:34.281Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-26T20:12:34.281Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-26T20:12:40.866Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T20:12:44.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T20:12:44.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T20:12:44.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T20:12:44.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T20:12:44.204Z] $ docker stop --time=1 ca7a8d5cfaab05c91b4c3e088500e9abde606a58e98256785a9e8192641d3090 [2022-04-26T20:12:45.951Z] $ docker rm -f ca7a8d5cfaab05c91b4c3e088500e9abde606a58e98256785a9e8192641d3090 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T20:12:46.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T20:12:46.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T20:12:47.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T20:12:47.710Z] + ls -al . [2022-04-26T20:12:47.710Z] total 188 [2022-04-26T20:12:47.710Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 20:12 . [2022-04-26T20:12:47.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:11 .. [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 20:11 .dockerignore [2022-04-26T20:12:47.710Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 20:11 .git [2022-04-26T20:12:47.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:11 .github [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 20:11 .gitignore [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 20:11 .golangci.yml [2022-04-26T20:12:47.710Z] drwx------ 3 jenkins jenkins 4096 Apr 26 20:11 .semver [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 20:11 Attribution.txt [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 20:11 Dockerfile [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 20:11 GOVERNANCE.md [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 20:11 Jenkinsfile [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 20:11 LICENSE [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 20:11 Makefile [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 20:11 OWNERS.md [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 20:11 README.md [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 26 20:11 VERSION [2022-04-26T20:12:47.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:11 bin [2022-04-26T20:12:47.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:11 cmd [2022-04-26T20:12:47.710Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 20:12 coverage.out [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 20:11 go.mod [2022-04-26T20:12:47.710Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 20:11 go.sum [2022-04-26T20:12:47.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:11 internal [2022-04-26T20:12:47.711Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:11 snap [2022-04-26T20:12:47.711Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:12:48.015Z] + 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=789344be25786e147f452924c2aa2731bf7a9eb5 --label arch=amd64 --label version=2.0.0-dev.7 . [2022-04-26T20:12:48.015Z] Sending build context to Docker daemon 11.11MB [2022-04-26T20:12:48.015Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T20:12:48.015Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T20:12:48.015Z] ---> 6284c7f55634 [2022-04-26T20:12:48.015Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T20:12:48.277Z] ---> Running in 96628c639e2c [2022-04-26T20:12:48.277Z] Removing intermediate container 96628c639e2c [2022-04-26T20:12:48.277Z] ---> 702116193599 [2022-04-26T20:12:48.277Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T20:12:48.277Z] ---> Running in 4f73eba19b7c [2022-04-26T20:12:48.540Z] Removing intermediate container 4f73eba19b7c [2022-04-26T20:12:48.540Z] ---> c2e8fb9f7a6e [2022-04-26T20:12:48.540Z] Step 5/25 : WORKDIR /device-gpio [2022-04-26T20:12:48.540Z] ---> Running in bf0933290fa1 [2022-04-26T20:12:48.540Z] Removing intermediate container bf0933290fa1 [2022-04-26T20:12:48.540Z] ---> 88959a1bd086 [2022-04-26T20:12:48.540Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:12:48.540Z] ---> Running in 1d7a6bf942be [2022-04-26T20:12:49.113Z] Removing intermediate container 1d7a6bf942be [2022-04-26T20:12:49.113Z] ---> ada5de6c02b2 [2022-04-26T20:12:49.113Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T20:12:49.113Z] ---> Running in 303ad0d32dad [2022-04-26T20:12:49.685Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T20:12:50.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T20:12:50.831Z] OK: 224 MiB in 56 packages [2022-04-26T20:12:51.091Z] Removing intermediate container 303ad0d32dad [2022-04-26T20:12:51.091Z] ---> 5e8ebda111b1 [2022-04-26T20:12:51.091Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T20:12:51.091Z] ---> 0c921c1f7ff9 [2022-04-26T20:12:51.091Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T20:12:51.091Z] ---> Running in 0b08dc6c8b18 [2022-04-26T20:12:52.041Z] Removing intermediate container 0b08dc6c8b18 [2022-04-26T20:12:52.041Z] ---> afda45ddfe8c [2022-04-26T20:12:52.041Z] Step 10/25 : COPY . . [2022-04-26T20:12:52.302Z] ---> 2ce6e28d2fe7 [2022-04-26T20:12:52.302Z] Step 11/25 : RUN ${MAKE} [2022-04-26T20:12:52.302Z] ---> Running in 8719da2081f3 [2022-04-26T20:12:52.875Z] Removing intermediate container 8719da2081f3 [2022-04-26T20:12:52.875Z] ---> 0a64ee6c174c [2022-04-26T20:12:52.875Z] Step 12/25 : FROM alpine:3.15 [2022-04-26T20:12:53.447Z] 3.15: Pulling from library/alpine [2022-04-26T20:12:53.709Z] df9b9388f04a: Pulling fs layer [2022-04-26T20:12:53.982Z] df9b9388f04a: Verifying Checksum [2022-04-26T20:12:53.982Z] df9b9388f04a: Download complete [2022-04-26T20:12:53.982Z] df9b9388f04a: Pull complete [2022-04-26T20:12:53.982Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-26T20:12:53.982Z] Status: Downloaded newer image for alpine:3.15 [2022-04-26T20:12:53.982Z] ---> 0ac33e5f5afa [2022-04-26T20:12:53.982Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-26T20:12:54.243Z] ---> Running in 6deb69b4cda3 [2022-04-26T20:12:54.243Z] Removing intermediate container 6deb69b4cda3 [2022-04-26T20:12:54.243Z] ---> 157bdaa9b006 [2022-04-26T20:12:54.243Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:12:54.243Z] ---> Running in 49a391bde0d8 [2022-04-26T20:12:54.817Z] Removing intermediate container 49a391bde0d8 [2022-04-26T20:12:54.817Z] ---> af022320561c [2022-04-26T20:12:54.817Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T20:12:54.817Z] ---> Running in efbd7d465379 [2022-04-26T20:12:55.388Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T20:12:55.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T20:12:56.536Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-26T20:12:56.536Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T20:12:56.536Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-26T20:12:56.797Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T20:12:56.797Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T20:12:56.797Z] Executing busybox-1.34.1-r5.trigger [2022-04-26T20:12:56.797Z] OK: 8 MiB in 19 packages [2022-04-26T20:12:57.369Z] Removing intermediate container efbd7d465379 [2022-04-26T20:12:57.369Z] ---> 66e2254cc602 [2022-04-26T20:12:57.369Z] Step 16/25 : WORKDIR / [2022-04-26T20:12:57.369Z] ---> Running in fcff8e46343b [2022-04-26T20:12:57.369Z] Removing intermediate container fcff8e46343b [2022-04-26T20:12:57.369Z] ---> 49ea13270223 [2022-04-26T20:12:57.369Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-26T20:12:57.630Z] ---> f6272ec881af [2022-04-26T20:12:57.630Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-26T20:12:57.630Z] ---> 3f395dc995ce [2022-04-26T20:12:57.630Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-26T20:12:57.896Z] ---> 7af05e037722 [2022-04-26T20:12:57.896Z] Step 20/25 : EXPOSE 59910 [2022-04-26T20:12:57.896Z] ---> Running in e0fef1cfd9d2 [2022-04-26T20:12:58.160Z] Removing intermediate container e0fef1cfd9d2 [2022-04-26T20:12:58.160Z] ---> 3c1022b0ec2f [2022-04-26T20:12:58.160Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-26T20:12:58.160Z] ---> Running in c12a49779136 [2022-04-26T20:12:58.160Z] Removing intermediate container c12a49779136 [2022-04-26T20:12:58.160Z] ---> f8f7279f226b [2022-04-26T20:12:58.160Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T20:12:58.160Z] ---> Running in 5f62aeee978c [2022-04-26T20:12:58.421Z] Removing intermediate container 5f62aeee978c [2022-04-26T20:12:58.421Z] ---> 002727e4e212 [2022-04-26T20:12:58.421Z] Step 23/25 : LABEL arch=amd64 [2022-04-26T20:12:58.421Z] ---> Running in cbc8961ebfc2 [2022-04-26T20:12:58.421Z] Removing intermediate container cbc8961ebfc2 [2022-04-26T20:12:58.421Z] ---> 5eb7b507f64c [2022-04-26T20:12:58.421Z] Step 24/25 : LABEL git_sha=789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:12:58.421Z] ---> Running in 34ea0cbbdc39 [2022-04-26T20:12:58.683Z] Removing intermediate container 34ea0cbbdc39 [2022-04-26T20:12:58.683Z] ---> 24b4072d1c5b [2022-04-26T20:12:58.683Z] Step 25/25 : LABEL version=2.0.0-dev.7 [2022-04-26T20:12:58.683Z] ---> Running in 219b2a84dc50 [2022-04-26T20:12:58.683Z] Removing intermediate container 219b2a84dc50 [2022-04-26T20:12:58.683Z] ---> 22743b727a95 [2022-04-26T20:12:58.683Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-26T20:12:58.683Z] Successfully built 22743b727a95 [2022-04-26T20:12:58.683Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:12:58.751Z] provisioning config files... [2022-04-26T20:12:58.763Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6339599040616108884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:12:59.066Z] ---> docker-login.sh [2022-04-26T20:12:59.066Z] nexus3.edgexfoundry.org:10001 [2022-04-26T20:12:59.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:12:59.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:12:59.066Z] Configure a credential helper to remove this warning. See [2022-04-26T20:12:59.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:12:59.066Z] [2022-04-26T20:12:59.066Z] Login Succeeded [2022-04-26T20:12:59.066Z] nexus3.edgexfoundry.org:10002 [2022-04-26T20:12:59.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:12:59.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:12:59.326Z] Configure a credential helper to remove this warning. See [2022-04-26T20:12:59.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:12:59.326Z] [2022-04-26T20:12:59.326Z] Login Succeeded [2022-04-26T20:12:59.326Z] nexus3.edgexfoundry.org:10003 [2022-04-26T20:12:59.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:12:59.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:12:59.326Z] Configure a credential helper to remove this warning. See [2022-04-26T20:12:59.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:12:59.326Z] [2022-04-26T20:12:59.326Z] Login Succeeded [2022-04-26T20:12:59.326Z] nexus3.edgexfoundry.org:10004 [2022-04-26T20:12:59.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:12:59.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:12:59.586Z] Configure a credential helper to remove this warning. See [2022-04-26T20:12:59.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:12:59.586Z] [2022-04-26T20:12:59.586Z] Login Succeeded [2022-04-26T20:12:59.586Z] docker.io [2022-04-26T20:12:59.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:12:59.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:12:59.847Z] Configure a credential helper to remove this warning. See [2022-04-26T20:12:59.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:12:59.847Z] [2022-04-26T20:12:59.847Z] Login Succeeded [2022-04-26T20:12:59.847Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T20:12:59.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T20:12:59.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T20:12:59.905Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-04-26T20:12:59.905Z] 789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:12:59.905Z] latest [2022-04-26T20:12:59.905Z] 2.0.0-dev.7 [2022-04-26T20:12:59.905Z] 789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:12:59.905Z] main [2022-04-26T20:12:59.905Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:00.222Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:00.527Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:13:00.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-26T20:13:00.527Z] 4ae0e28c0749: Preparing [2022-04-26T20:13:00.527Z] 99c5a4d97c62: Preparing [2022-04-26T20:13:00.527Z] 916fb263a15f: Preparing [2022-04-26T20:13:00.527Z] 35eb5b7a153b: Preparing [2022-04-26T20:13:00.527Z] bc08cf3caa7f: Preparing [2022-04-26T20:13:00.527Z] 4fc242d58285: Preparing [2022-04-26T20:13:00.527Z] 4fc242d58285: Waiting [2022-04-26T20:13:00.527Z] 916fb263a15f: Pushed [2022-04-26T20:13:00.527Z] 99c5a4d97c62: Pushed [2022-04-26T20:13:00.527Z] bc08cf3caa7f: Pushed [2022-04-26T20:13:00.527Z] 4ae0e28c0749: Pushed [2022-04-26T20:13:00.527Z] 4fc242d58285: Layer already exists [2022-04-26T20:13:00.788Z] 35eb5b7a153b: Pushed [2022-04-26T20:13:01.049Z] 789344be25786e147f452924c2aa2731bf7a9eb5: digest: sha256:e634800da3d0b2eb9f0a1e30bbf58a123bdcf2d2d5eb9a2b531ebd446bd89cd5 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:01.350Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:01.649Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-26T20:13:01.649Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-26T20:13:01.649Z] 4ae0e28c0749: Preparing [2022-04-26T20:13:01.649Z] 99c5a4d97c62: Preparing [2022-04-26T20:13:01.649Z] 916fb263a15f: Preparing [2022-04-26T20:13:01.649Z] 35eb5b7a153b: Preparing [2022-04-26T20:13:01.649Z] bc08cf3caa7f: Preparing [2022-04-26T20:13:01.649Z] 4fc242d58285: Preparing [2022-04-26T20:13:01.649Z] 4fc242d58285: Waiting [2022-04-26T20:13:01.649Z] 4ae0e28c0749: Layer already exists [2022-04-26T20:13:01.649Z] 35eb5b7a153b: Layer already exists [2022-04-26T20:13:01.650Z] 99c5a4d97c62: Layer already exists [2022-04-26T20:13:01.650Z] bc08cf3caa7f: Layer already exists [2022-04-26T20:13:01.650Z] 916fb263a15f: Layer already exists [2022-04-26T20:13:01.650Z] 4fc242d58285: Layer already exists [2022-04-26T20:13:01.650Z] latest: digest: sha256:e634800da3d0b2eb9f0a1e30bbf58a123bdcf2d2d5eb9a2b531ebd446bd89cd5 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:01.951Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:02.249Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.7 [2022-04-26T20:13:02.249Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-26T20:13:02.249Z] 4ae0e28c0749: Preparing [2022-04-26T20:13:02.249Z] 99c5a4d97c62: Preparing [2022-04-26T20:13:02.249Z] 916fb263a15f: Preparing [2022-04-26T20:13:02.249Z] 35eb5b7a153b: Preparing [2022-04-26T20:13:02.249Z] bc08cf3caa7f: Preparing [2022-04-26T20:13:02.249Z] 4fc242d58285: Preparing [2022-04-26T20:13:02.249Z] 916fb263a15f: Layer already exists [2022-04-26T20:13:02.249Z] 4ae0e28c0749: Layer already exists [2022-04-26T20:13:02.249Z] bc08cf3caa7f: Layer already exists [2022-04-26T20:13:02.249Z] 35eb5b7a153b: Layer already exists [2022-04-26T20:13:02.249Z] 99c5a4d97c62: Layer already exists [2022-04-26T20:13:02.249Z] 4fc242d58285: Layer already exists [2022-04-26T20:13:02.249Z] 2.0.0-dev.7: digest: sha256:e634800da3d0b2eb9f0a1e30bbf58a123bdcf2d2d5eb9a2b531ebd446bd89cd5 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:02.557Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:02.857Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:13:02.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-26T20:13:02.857Z] 4ae0e28c0749: Preparing [2022-04-26T20:13:02.857Z] 99c5a4d97c62: Preparing [2022-04-26T20:13:02.857Z] 916fb263a15f: Preparing [2022-04-26T20:13:02.857Z] 35eb5b7a153b: Preparing [2022-04-26T20:13:02.857Z] bc08cf3caa7f: Preparing [2022-04-26T20:13:02.857Z] 4fc242d58285: Preparing [2022-04-26T20:13:02.857Z] 4fc242d58285: Waiting [2022-04-26T20:13:02.857Z] 916fb263a15f: Layer already exists [2022-04-26T20:13:02.857Z] 99c5a4d97c62: Layer already exists [2022-04-26T20:13:02.857Z] bc08cf3caa7f: Layer already exists [2022-04-26T20:13:02.857Z] 35eb5b7a153b: Layer already exists [2022-04-26T20:13:02.857Z] 4ae0e28c0749: Layer already exists [2022-04-26T20:13:02.857Z] 4fc242d58285: Layer already exists [2022-04-26T20:13:02.857Z] 789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7: digest: sha256:e634800da3d0b2eb9f0a1e30bbf58a123bdcf2d2d5eb9a2b531ebd446bd89cd5 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:03.169Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:03.468Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-04-26T20:13:03.468Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-26T20:13:03.468Z] 4ae0e28c0749: Preparing [2022-04-26T20:13:03.468Z] 99c5a4d97c62: Preparing [2022-04-26T20:13:03.468Z] 916fb263a15f: Preparing [2022-04-26T20:13:03.468Z] 35eb5b7a153b: Preparing [2022-04-26T20:13:03.468Z] bc08cf3caa7f: Preparing [2022-04-26T20:13:03.468Z] 4fc242d58285: Preparing [2022-04-26T20:13:03.468Z] 4fc242d58285: Waiting [2022-04-26T20:13:03.468Z] 35eb5b7a153b: Layer already exists [2022-04-26T20:13:03.468Z] 99c5a4d97c62: Layer already exists [2022-04-26T20:13:03.468Z] 916fb263a15f: Layer already exists [2022-04-26T20:13:03.468Z] bc08cf3caa7f: Layer already exists [2022-04-26T20:13:03.468Z] 4ae0e28c0749: Layer already exists [2022-04-26T20:13:03.468Z] 4fc242d58285: Layer already exists [2022-04-26T20:13:03.468Z] main: digest: sha256:e634800da3d0b2eb9f0a1e30bbf58a123bdcf2d2d5eb9a2b531ebd446bd89cd5 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T20:13:03.508Z] ===================================================== [Pipeline] echo [2022-04-26T20:13:03.518Z] taggedImages: [2022-04-26T20:13:03.518Z] - nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:13:03.518Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-26T20:13:03.518Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.7 [2022-04-26T20:13:03.518Z] - nexus3.edgexfoundry.org:10004/device-gpio:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:13:03.518Z] - 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-04-26T20:13:03.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T20:13:03.888Z] [2022-04-26T20:13:03.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:13:04.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T20:13:04.200Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T20:13:04.200Z] 5eb5b503b376: Pulling fs layer [2022-04-26T20:13:04.200Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T20:13:04.200Z] ec43610c2a17: Pulling fs layer [2022-04-26T20:13:04.200Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T20:13:04.200Z] 33b1e0a273af: Pulling fs layer [2022-04-26T20:13:04.200Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T20:13:04.200Z] 2f39f015ded8: Pulling fs layer [2022-04-26T20:13:04.200Z] 33b1e0a273af: Waiting [2022-04-26T20:13:04.200Z] 5d3b04190fa2: Waiting [2022-04-26T20:13:04.200Z] 2f39f015ded8: Waiting [2022-04-26T20:13:04.200Z] 3a2ae6a8a46f: Waiting [2022-04-26T20:13:04.200Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T20:13:04.200Z] 5c69ac0246d0: Download complete [2022-04-26T20:13:04.200Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T20:13:04.200Z] 3a2ae6a8a46f: Download complete [2022-04-26T20:13:04.200Z] 33b1e0a273af: Verifying Checksum [2022-04-26T20:13:04.200Z] 33b1e0a273af: Download complete [2022-04-26T20:13:04.200Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T20:13:04.200Z] 5d3b04190fa2: Download complete [2022-04-26T20:13:04.200Z] ec43610c2a17: Download complete [2022-04-26T20:13:04.461Z] 5eb5b503b376: Verifying Checksum [2022-04-26T20:13:04.461Z] 5eb5b503b376: Download complete [2022-04-26T20:13:05.031Z] 2f39f015ded8: Download complete [2022-04-26T20:13:05.599Z] 5eb5b503b376: Pull complete [2022-04-26T20:13:05.859Z] 5c69ac0246d0: Pull complete [2022-04-26T20:13:06.428Z] ec43610c2a17: Pull complete [2022-04-26T20:13:06.428Z] 3a2ae6a8a46f: Pull complete [2022-04-26T20:13:06.688Z] 33b1e0a273af: Pull complete [2022-04-26T20:13:06.688Z] 5d3b04190fa2: Pull complete [2022-04-26T20:13:11.966Z] 2f39f015ded8: Pull complete [2022-04-26T20:13:11.966Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T20:13:11.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T20:13:11.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T20:13:12.039Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:13:12.080Z] $ 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-04-26T20:13:14.267Z] $ docker top 438afc843cfb78d671abe510a3a75efaa71bc0fb21ec7d2eb51645710b1b60da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:13:14.678Z] ---> job-cost.sh [2022-04-26T20:13:14.679Z] lf-activate-venv: SKIPPING [2022-04-26T20:13:14.679Z] INFO: No Stack... [2022-04-26T20:13:14.939Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T20:13:15.512Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T20:13:15.808Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-04-26T20:13:15.808Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T20:13:15.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [2022-04-26T20:13:15.833Z] Resource [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] did not exist. Created. [2022-04-26T20:13:15.833Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T20:13:16.135Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T20:13:16.212Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T20:13:16.219Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T20:13:16.246Z] $ docker stop --time=1 438afc843cfb78d671abe510a3a75efaa71bc0fb21ec7d2eb51645710b1b60da [2022-04-26T20:13:17.453Z] $ docker rm -f 438afc843cfb78d671abe510a3a75efaa71bc0fb21ec7d2eb51645710b1b60da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T20:13:48.444Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33370 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-04-26T20:13:48.460Z] Running in /w/workspace/device-gpio/18 [Pipeline] { [Pipeline] checkout [2022-04-26T20:13:48.819Z] The recommended git tool is: git [2022-04-26T20:13:54.740Z] using credential edgex-jenkins-ssh [2022-04-26T20:13:54.757Z] Cloning the remote Git repository [2022-04-26T20:13:54.814Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-26T20:13:54.891Z] > git init /w/workspace/device-gpio/18 # timeout=10 [2022-04-26T20:13:54.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-26T20:13:54.981Z] > git --version # timeout=10 [2022-04-26T20:13:54.999Z] > git --version # 'git version 2.25.1' [2022-04-26T20:13:55.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T20:13:55.113Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T20:13:56.385Z] Avoid second fetch [2022-04-26T20:13:56.385Z] Checking out Revision 789344be25786e147f452924c2aa2731bf7a9eb5 (main) [2022-04-26T20:13:56.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-26T20:13:56.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T20:13:56.409Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T20:13:56.429Z] > git checkout -f 789344be25786e147f452924c2aa2731bf7a9eb5 # timeout=10 [2022-04-26T20:14:00.577Z] Commit message: "Merge pull request #25 from MonicaisHer/EDGEX-425-integrate-env-var-injection-with-device-gpio-snap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T20:14:01.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T20:14:01.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T20:14:01.472Z] Dload Upload Total Spent Left Speed [2022-04-26T20:14:01.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 72213 0 --:--:-- --:--:-- --:--:-- 72213 [Pipeline] sh [2022-04-26T20:14:02.006Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T20:14:02.351Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T20:14:02.351Z] sudo tee /etc/docker/daemon.new [2022-04-26T20:14:02.351Z] { [2022-04-26T20:14:02.351Z] "registry-mirrors": [ [2022-04-26T20:14:02.351Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T20:14:02.351Z] ], [2022-04-26T20:14:02.351Z] "bip": "10.250.0.254/24", [2022-04-26T20:14:02.351Z] "hosts": [ [2022-04-26T20:14:02.351Z] "tcp://0.0.0.0:5555", [2022-04-26T20:14:02.351Z] "unix:///var/run/docker.sock" [2022-04-26T20:14:02.351Z] ], [2022-04-26T20:14:02.351Z] "mtu": 1458, [2022-04-26T20:14:02.351Z] "selinux-enabled": true, [2022-04-26T20:14:02.351Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T20:14:02.351Z] } [Pipeline] sh [2022-04-26T20:14:02.707Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T20:14:03.053Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:14:21.412Z] provisioning config files... [2022-04-26T20:14:21.437Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/18@tmp/config2166797245065414524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:14:21.855Z] ---> docker-login.sh [2022-04-26T20:14:21.855Z] nexus3.edgexfoundry.org:10001 [2022-04-26T20:14:22.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:14:22.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:14:22.726Z] Configure a credential helper to remove this warning. See [2022-04-26T20:14:22.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:14:22.726Z] [2022-04-26T20:14:22.726Z] Login Succeeded [2022-04-26T20:14:22.726Z] nexus3.edgexfoundry.org:10002 [2022-04-26T20:14:22.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:14:23.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:14:23.267Z] Configure a credential helper to remove this warning. See [2022-04-26T20:14:23.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:14:23.267Z] [2022-04-26T20:14:23.267Z] Login Succeeded [2022-04-26T20:14:23.267Z] nexus3.edgexfoundry.org:10003 [2022-04-26T20:14:23.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:14:23.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:14:23.539Z] Configure a credential helper to remove this warning. See [2022-04-26T20:14:23.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:14:23.539Z] [2022-04-26T20:14:23.539Z] Login Succeeded [2022-04-26T20:14:23.539Z] nexus3.edgexfoundry.org:10004 [2022-04-26T20:14:23.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:14:24.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:14:24.085Z] Configure a credential helper to remove this warning. See [2022-04-26T20:14:24.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:14:24.085Z] [2022-04-26T20:14:24.085Z] Login Succeeded [2022-04-26T20:14:24.085Z] docker.io [2022-04-26T20:14:24.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:14:24.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:14:24.626Z] Configure a credential helper to remove this warning. See [2022-04-26T20:14:24.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:14:24.626Z] [2022-04-26T20:14:24.626Z] Login Succeeded [2022-04-26T20:14:24.626Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T20:14:24.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T20:14:25.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T20:14:25.093Z] ========================================================= [2022-04-26T20:14:25.093Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T20:14:25.093Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:14:25.442Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T20:14:25.714Z] Sending build context to Docker daemon 5.635MB [2022-04-26T20:14:25.714Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T20:14:25.714Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T20:14:25.986Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T20:14:25.986Z] 9b3977197b4f: Pulling fs layer [2022-04-26T20:14:25.986Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T20:14:25.986Z] 94645a83ff95: Pulling fs layer [2022-04-26T20:14:25.986Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T20:14:25.986Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T20:14:25.986Z] 3096ccb668a1: Pulling fs layer [2022-04-26T20:14:25.986Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T20:14:25.986Z] 3f3a8bcf1eab: Waiting [2022-04-26T20:14:25.986Z] 0c92f367c5e7: Waiting [2022-04-26T20:14:25.986Z] 3096ccb668a1: Waiting [2022-04-26T20:14:25.986Z] a4caa8a26152: Pulling fs layer [2022-04-26T20:14:25.986Z] e8cf19c19ddd: Waiting [2022-04-26T20:14:25.986Z] a4caa8a26152: Waiting [2022-04-26T20:14:25.986Z] 94645a83ff95: Verifying Checksum [2022-04-26T20:14:25.986Z] 94645a83ff95: Download complete [2022-04-26T20:14:25.986Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T20:14:25.986Z] 1a89e8eeedd5: Download complete [2022-04-26T20:14:25.986Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T20:14:25.986Z] 0c92f367c5e7: Download complete [2022-04-26T20:14:25.986Z] 3096ccb668a1: Verifying Checksum [2022-04-26T20:14:25.986Z] 3096ccb668a1: Download complete [2022-04-26T20:14:25.986Z] 9b3977197b4f: Download complete [2022-04-26T20:14:25.986Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T20:14:25.986Z] e8cf19c19ddd: Download complete [2022-04-26T20:14:26.586Z] 9b3977197b4f: Pull complete [2022-04-26T20:14:27.198Z] 1a89e8eeedd5: Pull complete [2022-04-26T20:14:27.479Z] 94645a83ff95: Pull complete [2022-04-26T20:14:28.080Z] a4caa8a26152: Verifying Checksum [2022-04-26T20:14:28.080Z] a4caa8a26152: Download complete [2022-04-26T20:14:28.354Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T20:14:28.354Z] 3f3a8bcf1eab: Download complete [2022-04-26T20:14:40.768Z] 3f3a8bcf1eab: Pull complete [2022-04-26T20:14:40.768Z] 0c92f367c5e7: Pull complete [2022-04-26T20:14:40.768Z] 3096ccb668a1: Pull complete [2022-04-26T20:14:41.041Z] e8cf19c19ddd: Pull complete [2022-04-26T20:14:47.763Z] a4caa8a26152: Pull complete [2022-04-26T20:14:47.763Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T20:14:47.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T20:14:47.763Z] ---> 725f1c02e7f9 [2022-04-26T20:14:47.763Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T20:14:48.741Z] ---> Running in b1b6a6fdfeb5 [2022-04-26T20:14:49.023Z] Removing intermediate container b1b6a6fdfeb5 [2022-04-26T20:14:49.023Z] ---> b1e931dd27e0 [2022-04-26T20:14:49.023Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T20:14:49.023Z] ---> Running in 54eef1eeb6f4 [2022-04-26T20:14:49.300Z] Removing intermediate container 54eef1eeb6f4 [2022-04-26T20:14:49.300Z] ---> 3536f5c04c20 [2022-04-26T20:14:49.300Z] Step 5/11 : WORKDIR /device-gpio [2022-04-26T20:14:49.582Z] ---> Running in d23ba978aaed [2022-04-26T20:14:49.856Z] Removing intermediate container d23ba978aaed [2022-04-26T20:14:49.856Z] ---> 5f7261b39db4 [2022-04-26T20:14:49.856Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:14:49.856Z] ---> Running in 31bf10ee004e [2022-04-26T20:14:51.850Z] Removing intermediate container 31bf10ee004e [2022-04-26T20:14:51.850Z] ---> d98fac16f2d4 [2022-04-26T20:14:51.850Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T20:14:51.850Z] ---> Running in dd39aa4cedbf [2022-04-26T20:14:52.837Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T20:14:53.433Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T20:14:54.422Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T20:14:54.422Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T20:14:54.700Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T20:14:54.700Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T20:14:54.975Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T20:14:54.975Z] OK: 224 MiB in 56 packages [2022-04-26T20:14:55.963Z] Removing intermediate container dd39aa4cedbf [2022-04-26T20:14:55.963Z] ---> b63294d98b32 [2022-04-26T20:14:55.963Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T20:14:56.564Z] ---> 18661cebafc4 [2022-04-26T20:14:56.564Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T20:14:56.564Z] ---> Running in 2a85fe80e732 [2022-04-26T20:16:18.401Z] Removing intermediate container 2a85fe80e732 [2022-04-26T20:16:18.401Z] ---> 18c86339c8b5 [2022-04-26T20:16:18.401Z] Step 10/11 : COPY . . [2022-04-26T20:16:18.401Z] ---> f3cd37e92c13 [2022-04-26T20:16:18.401Z] Step 11/11 : RUN ${MAKE} [2022-04-26T20:16:18.401Z] ---> Running in cc568925189d [2022-04-26T20:16:18.401Z] Removing intermediate container cc568925189d [2022-04-26T20:16:18.401Z] ---> 03ddef4efc09 [2022-04-26T20:16:18.401Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-26T20:16:18.401Z] Successfully built 03ddef4efc09 [2022-04-26T20:16:18.401Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:16:18.751Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T20:16:18.751Z] . [Pipeline] withDockerContainer [2022-04-26T20:16:18.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-33370 does not seem to be running inside a container [2022-04-26T20:16:19.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/18 -v /w/workspace/device-gpio/18:/w/workspace/device-gpio/18:rw,z -v /w/workspace/device-gpio/18@tmp:/w/workspace/device-gpio/18@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-04-26T20:16:20.335Z] $ docker top c1782493654d115aa6c176b5e335f3459a002596a15597ba48697f01458add7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T20:16:21.252Z] + go version [2022-04-26T20:16:21.252Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T20:16:21.280Z] $ docker stop --time=1 c1782493654d115aa6c176b5e335f3459a002596a15597ba48697f01458add7c [2022-04-26T20:16:22.950Z] $ docker rm -f c1782493654d115aa6c176b5e335f3459a002596a15597ba48697f01458add7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:16:23.571Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T20:16:23.571Z] . [Pipeline] withDockerContainer [2022-04-26T20:16:23.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-33370 does not seem to be running inside a container [2022-04-26T20:16:24.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/18 -v /w/workspace/device-gpio/18:/w/workspace/device-gpio/18:rw,z -v /w/workspace/device-gpio/18@tmp:/w/workspace/device-gpio/18@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-04-26T20:16:25.388Z] $ docker top 75d55cb3b61412bde05903aded3af915c325abf5bab2a403ae4a0da3548e04a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T20:16:26.321Z] + make test [2022-04-26T20:16:26.321Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T20:16:27.767Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-26T20:17:14.830Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-26T20:17:14.830Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-26T20:17:14.830Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T20:17:14.830Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T20:17:29.946Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T20:17:29.946Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T20:17:29.946Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T20:17:31.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T20:17:31.975Z] $ docker stop --time=1 75d55cb3b61412bde05903aded3af915c325abf5bab2a403ae4a0da3548e04a0 [2022-04-26T20:17:33.734Z] $ docker rm -f 75d55cb3b61412bde05903aded3af915c325abf5bab2a403ae4a0da3548e04a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T20:17:34.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T20:17:34.573Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T20:17:35.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T20:17:35.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T20:17:35.759Z] + ls -al . [2022-04-26T20:17:35.759Z] total 184 [2022-04-26T20:17:35.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 20:17 . [2022-04-26T20:17:35.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:13 .. [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 20:13 .dockerignore [2022-04-26T20:17:35.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 20:14 .git [2022-04-26T20:17:35.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:13 .github [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 20:13 .gitignore [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 20:13 .golangci.yml [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 20:13 Attribution.txt [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 20:13 Dockerfile [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 20:13 GOVERNANCE.md [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 20:13 Jenkinsfile [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 20:13 LICENSE [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 20:13 Makefile [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 20:13 OWNERS.md [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 20:13 README.md [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 26 20:11 VERSION [2022-04-26T20:17:35.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:13 bin [2022-04-26T20:17:35.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:13 cmd [2022-04-26T20:17:35.759Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 20:16 coverage.out [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 20:13 go.mod [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 20:13 go.sum [2022-04-26T20:17:35.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:13 internal [2022-04-26T20:17:35.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:13 snap [2022-04-26T20:17:35.759Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:17:36.101Z] + 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=789344be25786e147f452924c2aa2731bf7a9eb5 --label arch=arm64 --label version=2.0.0-dev.7 . [2022-04-26T20:17:36.373Z] Sending build context to Docker daemon 5.636MB [2022-04-26T20:17:36.373Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T20:17:36.373Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T20:17:36.373Z] ---> 03ddef4efc09 [2022-04-26T20:17:36.373Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T20:17:36.648Z] ---> Running in 582ac9a7afc8 [2022-04-26T20:17:36.932Z] Removing intermediate container 582ac9a7afc8 [2022-04-26T20:17:36.932Z] ---> 45ba7861087a [2022-04-26T20:17:36.932Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T20:17:36.932Z] ---> Running in 179c59567366 [2022-04-26T20:17:37.210Z] Removing intermediate container 179c59567366 [2022-04-26T20:17:37.210Z] ---> 63352840ceae [2022-04-26T20:17:37.210Z] Step 5/25 : WORKDIR /device-gpio [2022-04-26T20:17:37.491Z] ---> Running in 0a879780861a [2022-04-26T20:17:37.766Z] Removing intermediate container 0a879780861a [2022-04-26T20:17:37.766Z] ---> 4268e5228d6b [2022-04-26T20:17:37.766Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:17:37.766Z] ---> Running in 4284f7af72cc [2022-04-26T20:17:39.746Z] Removing intermediate container 4284f7af72cc [2022-04-26T20:17:39.746Z] ---> 5dea6a85d3cd [2022-04-26T20:17:39.746Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T20:17:39.746Z] ---> Running in 412ad13cc5a8 [2022-04-26T20:17:40.345Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T20:17:41.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T20:17:42.315Z] OK: 224 MiB in 56 packages [2022-04-26T20:17:42.919Z] Removing intermediate container 412ad13cc5a8 [2022-04-26T20:17:42.919Z] ---> eebb744e49e8 [2022-04-26T20:17:42.919Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T20:17:43.516Z] ---> 3c50629f583b [2022-04-26T20:17:43.516Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T20:17:43.516Z] ---> Running in 2a8c5b136dce [2022-04-26T20:17:45.502Z] Removing intermediate container 2a8c5b136dce [2022-04-26T20:17:45.502Z] ---> 4fbd1a546df6 [2022-04-26T20:17:45.502Z] Step 10/25 : COPY . . [2022-04-26T20:17:46.476Z] ---> c6955133f1c8 [2022-04-26T20:17:46.477Z] Step 11/25 : RUN ${MAKE} [2022-04-26T20:17:46.477Z] ---> Running in 7424b233ff2d [2022-04-26T20:17:47.911Z] Removing intermediate container 7424b233ff2d [2022-04-26T20:17:47.911Z] ---> 5edace9fee0b [2022-04-26T20:17:47.911Z] Step 12/25 : FROM alpine:3.15 [2022-04-26T20:17:48.883Z] 3.15: Pulling from library/alpine [2022-04-26T20:17:48.883Z] 9981e73032c8: Pulling fs layer [2022-04-26T20:17:49.156Z] 9981e73032c8: Download complete [2022-04-26T20:17:49.753Z] 9981e73032c8: Pull complete [2022-04-26T20:17:49.753Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-26T20:17:49.753Z] Status: Downloaded newer image for alpine:3.15 [2022-04-26T20:17:49.753Z] ---> 3fb3c9af89a9 [2022-04-26T20:17:49.753Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-26T20:17:49.753Z] ---> Running in 17599f3dc61a [2022-04-26T20:17:50.359Z] Removing intermediate container 17599f3dc61a [2022-04-26T20:17:50.359Z] ---> a33dd2783c70 [2022-04-26T20:17:50.359Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T20:17:50.359Z] ---> Running in cbe4fab5c79f [2022-04-26T20:17:51.801Z] Removing intermediate container cbe4fab5c79f [2022-04-26T20:17:51.801Z] ---> e2d63bcec7a8 [2022-04-26T20:17:51.801Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T20:17:51.801Z] ---> Running in 0197ae1fde4d [2022-04-26T20:17:52.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T20:17:53.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T20:17:54.364Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-26T20:17:54.641Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T20:17:54.641Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-26T20:17:54.919Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T20:17:54.919Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T20:17:54.919Z] Executing busybox-1.34.1-r5.trigger [2022-04-26T20:17:54.919Z] OK: 8 MiB in 19 packages [2022-04-26T20:17:55.908Z] Removing intermediate container 0197ae1fde4d [2022-04-26T20:17:55.908Z] ---> 55cb0af1bc5c [2022-04-26T20:17:55.908Z] Step 16/25 : WORKDIR / [2022-04-26T20:17:55.908Z] ---> Running in 0f9efeb929bf [2022-04-26T20:17:56.183Z] Removing intermediate container 0f9efeb929bf [2022-04-26T20:17:56.183Z] ---> 73719adae242 [2022-04-26T20:17:56.183Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-26T20:17:56.782Z] ---> 9c2521056fa1 [2022-04-26T20:17:56.782Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-26T20:17:57.384Z] ---> 3b8c604670be [2022-04-26T20:17:57.384Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-26T20:17:57.985Z] ---> 9305160a20be [2022-04-26T20:17:57.985Z] Step 20/25 : EXPOSE 59910 [2022-04-26T20:17:57.985Z] ---> Running in 554447c2eab7 [2022-04-26T20:17:58.261Z] Removing intermediate container 554447c2eab7 [2022-04-26T20:17:58.261Z] ---> a527e740fb20 [2022-04-26T20:17:58.261Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-26T20:17:58.261Z] ---> Running in 330e8b06a983 [2022-04-26T20:17:58.866Z] Removing intermediate container 330e8b06a983 [2022-04-26T20:17:58.866Z] ---> ec179276b1ba [2022-04-26T20:17:58.866Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T20:17:58.866Z] ---> Running in 1c6d7e458bb4 [2022-04-26T20:17:59.141Z] Removing intermediate container 1c6d7e458bb4 [2022-04-26T20:17:59.141Z] ---> 4790ac06f5e4 [2022-04-26T20:17:59.141Z] Step 23/25 : LABEL arch=arm64 [2022-04-26T20:17:59.141Z] ---> Running in 9e8c4eee23ee [2022-04-26T20:17:59.417Z] Removing intermediate container 9e8c4eee23ee [2022-04-26T20:17:59.417Z] ---> fae86ee5d212 [2022-04-26T20:17:59.417Z] Step 24/25 : LABEL git_sha=789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:17:59.417Z] ---> Running in 10d7797000de [2022-04-26T20:17:59.706Z] Removing intermediate container 10d7797000de [2022-04-26T20:17:59.706Z] ---> 77786abcb0cb [2022-04-26T20:17:59.706Z] Step 25/25 : LABEL version=2.0.0-dev.7 [2022-04-26T20:17:59.982Z] ---> Running in 6376ab9b4cb3 [2022-04-26T20:18:00.257Z] Removing intermediate container 6376ab9b4cb3 [2022-04-26T20:18:00.257Z] ---> d4caed2213d1 [2022-04-26T20:18:00.257Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-26T20:18:00.257Z] Successfully built d4caed2213d1 [2022-04-26T20:18:00.257Z] 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-04-26T20:18:00.365Z] provisioning config files... [2022-04-26T20:18:00.386Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/18@tmp/config6254095695839243070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:18:00.746Z] ---> docker-login.sh [2022-04-26T20:18:00.746Z] nexus3.edgexfoundry.org:10001 [2022-04-26T20:18:01.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:18:01.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:18:01.023Z] Configure a credential helper to remove this warning. See [2022-04-26T20:18:01.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:18:01.023Z] [2022-04-26T20:18:01.023Z] Login Succeeded [2022-04-26T20:18:01.023Z] nexus3.edgexfoundry.org:10002 [2022-04-26T20:18:01.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:18:01.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:18:01.624Z] Configure a credential helper to remove this warning. See [2022-04-26T20:18:01.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:18:01.624Z] [2022-04-26T20:18:01.624Z] Login Succeeded [2022-04-26T20:18:01.624Z] nexus3.edgexfoundry.org:10003 [2022-04-26T20:18:01.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:18:02.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:18:02.169Z] Configure a credential helper to remove this warning. See [2022-04-26T20:18:02.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:18:02.169Z] [2022-04-26T20:18:02.169Z] Login Succeeded [2022-04-26T20:18:02.169Z] nexus3.edgexfoundry.org:10004 [2022-04-26T20:18:02.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:18:02.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:18:02.442Z] Configure a credential helper to remove this warning. See [2022-04-26T20:18:02.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:18:02.442Z] [2022-04-26T20:18:02.442Z] Login Succeeded [2022-04-26T20:18:02.442Z] docker.io [2022-04-26T20:18:03.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T20:18:03.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T20:18:03.314Z] Configure a credential helper to remove this warning. See [2022-04-26T20:18:03.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T20:18:03.314Z] [2022-04-26T20:18:03.314Z] Login Succeeded [2022-04-26T20:18:03.314Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T20:18:03.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T20:18:03.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T20:18:03.399Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-04-26T20:18:03.399Z] 789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:18:03.399Z] latest [2022-04-26T20:18:03.399Z] 2.0.0-dev.7 [2022-04-26T20:18:03.399Z] 789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:18:03.399Z] main [2022-04-26T20:18:03.399Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:03.774Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:04.128Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:18:04.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-26T20:18:04.128Z] f29ed90fbfc0: Preparing [2022-04-26T20:18:04.128Z] 9b4d54193739: Preparing [2022-04-26T20:18:04.128Z] 3d91476319f5: Preparing [2022-04-26T20:18:04.128Z] fe5d80442e6b: Preparing [2022-04-26T20:18:04.128Z] 57fe142e4722: Preparing [2022-04-26T20:18:04.128Z] 4f4ce317c6bb: Preparing [2022-04-26T20:18:04.128Z] 4f4ce317c6bb: Waiting [2022-04-26T20:18:04.411Z] 3d91476319f5: Pushed [2022-04-26T20:18:04.411Z] 9b4d54193739: Pushed [2022-04-26T20:18:04.411Z] 57fe142e4722: Pushed [2022-04-26T20:18:04.411Z] f29ed90fbfc0: Pushed [2022-04-26T20:18:04.411Z] 4f4ce317c6bb: Layer already exists [2022-04-26T20:18:05.016Z] fe5d80442e6b: Pushed [2022-04-26T20:18:05.288Z] 789344be25786e147f452924c2aa2731bf7a9eb5: digest: sha256:0899a73dda406ff7f04d35579c2271094e60097b658be154fc80b5f2918b1da7 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:05.639Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:05.985Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-26T20:18:05.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-26T20:18:05.985Z] f29ed90fbfc0: Preparing [2022-04-26T20:18:05.985Z] 9b4d54193739: Preparing [2022-04-26T20:18:05.985Z] 3d91476319f5: Preparing [2022-04-26T20:18:05.985Z] fe5d80442e6b: Preparing [2022-04-26T20:18:05.985Z] 57fe142e4722: Preparing [2022-04-26T20:18:05.985Z] 4f4ce317c6bb: Preparing [2022-04-26T20:18:05.985Z] 4f4ce317c6bb: Waiting [2022-04-26T20:18:05.985Z] 3d91476319f5: Layer already exists [2022-04-26T20:18:05.985Z] 57fe142e4722: Layer already exists [2022-04-26T20:18:05.985Z] f29ed90fbfc0: Layer already exists [2022-04-26T20:18:05.985Z] fe5d80442e6b: Layer already exists [2022-04-26T20:18:05.985Z] 9b4d54193739: Layer already exists [2022-04-26T20:18:05.985Z] 4f4ce317c6bb: Layer already exists [2022-04-26T20:18:06.259Z] latest: digest: sha256:0899a73dda406ff7f04d35579c2271094e60097b658be154fc80b5f2918b1da7 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:06.606Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:06.957Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.7 [2022-04-26T20:18:06.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-26T20:18:06.957Z] f29ed90fbfc0: Preparing [2022-04-26T20:18:06.957Z] 9b4d54193739: Preparing [2022-04-26T20:18:06.957Z] 3d91476319f5: Preparing [2022-04-26T20:18:06.957Z] fe5d80442e6b: Preparing [2022-04-26T20:18:06.957Z] 57fe142e4722: Preparing [2022-04-26T20:18:06.957Z] 4f4ce317c6bb: Preparing [2022-04-26T20:18:06.957Z] 4f4ce317c6bb: Waiting [2022-04-26T20:18:06.957Z] fe5d80442e6b: Layer already exists [2022-04-26T20:18:06.957Z] f29ed90fbfc0: Layer already exists [2022-04-26T20:18:06.957Z] 57fe142e4722: Layer already exists [2022-04-26T20:18:06.957Z] 3d91476319f5: Layer already exists [2022-04-26T20:18:06.957Z] 9b4d54193739: Layer already exists [2022-04-26T20:18:06.957Z] 4f4ce317c6bb: Layer already exists [2022-04-26T20:18:07.230Z] 2.0.0-dev.7: digest: sha256:0899a73dda406ff7f04d35579c2271094e60097b658be154fc80b5f2918b1da7 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:07.595Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:07.942Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:18:07.942Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-26T20:18:07.942Z] f29ed90fbfc0: Preparing [2022-04-26T20:18:07.942Z] 9b4d54193739: Preparing [2022-04-26T20:18:07.942Z] 3d91476319f5: Preparing [2022-04-26T20:18:07.942Z] fe5d80442e6b: Preparing [2022-04-26T20:18:07.942Z] 57fe142e4722: Preparing [2022-04-26T20:18:07.942Z] 4f4ce317c6bb: Preparing [2022-04-26T20:18:07.942Z] 4f4ce317c6bb: Waiting [2022-04-26T20:18:07.942Z] 3d91476319f5: Layer already exists [2022-04-26T20:18:07.942Z] fe5d80442e6b: Layer already exists [2022-04-26T20:18:07.942Z] 57fe142e4722: Layer already exists [2022-04-26T20:18:07.942Z] f29ed90fbfc0: Layer already exists [2022-04-26T20:18:07.942Z] 9b4d54193739: Layer already exists [2022-04-26T20:18:07.942Z] 4f4ce317c6bb: Layer already exists [2022-04-26T20:18:08.215Z] 789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7: digest: sha256:0899a73dda406ff7f04d35579c2271094e60097b658be154fc80b5f2918b1da7 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:08.565Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:08.909Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-04-26T20:18:08.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-26T20:18:08.909Z] f29ed90fbfc0: Preparing [2022-04-26T20:18:08.909Z] 9b4d54193739: Preparing [2022-04-26T20:18:08.909Z] 3d91476319f5: Preparing [2022-04-26T20:18:08.909Z] fe5d80442e6b: Preparing [2022-04-26T20:18:08.909Z] 57fe142e4722: Preparing [2022-04-26T20:18:08.909Z] 4f4ce317c6bb: Preparing [2022-04-26T20:18:08.909Z] 4f4ce317c6bb: Waiting [2022-04-26T20:18:08.909Z] fe5d80442e6b: Layer already exists [2022-04-26T20:18:08.909Z] 3d91476319f5: Layer already exists [2022-04-26T20:18:08.909Z] f29ed90fbfc0: Layer already exists [2022-04-26T20:18:08.909Z] 57fe142e4722: Layer already exists [2022-04-26T20:18:08.909Z] 9b4d54193739: Layer already exists [2022-04-26T20:18:08.909Z] 4f4ce317c6bb: Layer already exists [2022-04-26T20:18:09.182Z] main: digest: sha256:0899a73dda406ff7f04d35579c2271094e60097b658be154fc80b5f2918b1da7 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T20:18:09.233Z] ===================================================== [Pipeline] echo [2022-04-26T20:18:09.244Z] taggedImages: [2022-04-26T20:18:09.244Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5 [2022-04-26T20:18:09.244Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-26T20:18:09.244Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.7 [2022-04-26T20:18:09.244Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:789344be25786e147f452924c2aa2731bf7a9eb5-2.0.0-dev.7 [2022-04-26T20:18:09.244Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:09.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T20:18:09.618Z] [2022-04-26T20:18:09.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:09.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T20:18:09.971Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T20:18:09.971Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T20:18:09.971Z] 04944245beec: Pulling fs layer [2022-04-26T20:18:09.971Z] 699f458cf7ca: Pulling fs layer [2022-04-26T20:18:09.971Z] 765212b225bb: Pulling fs layer [2022-04-26T20:18:09.971Z] f23df028b6ca: Pulling fs layer [2022-04-26T20:18:09.971Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T20:18:09.971Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T20:18:09.971Z] 765212b225bb: Waiting [2022-04-26T20:18:09.971Z] f23df028b6ca: Waiting [2022-04-26T20:18:09.971Z] d65c8cfc05b1: Waiting [2022-04-26T20:18:09.971Z] 2437ff75d9bd: Waiting [2022-04-26T20:18:10.249Z] 04944245beec: Verifying Checksum [2022-04-26T20:18:10.249Z] 04944245beec: Download complete [2022-04-26T20:18:10.249Z] 765212b225bb: Verifying Checksum [2022-04-26T20:18:10.249Z] 765212b225bb: Download complete [2022-04-26T20:18:10.249Z] f23df028b6ca: Verifying Checksum [2022-04-26T20:18:10.249Z] f23df028b6ca: Download complete [2022-04-26T20:18:10.249Z] d65c8cfc05b1: Download complete [2022-04-26T20:18:10.525Z] 699f458cf7ca: Verifying Checksum [2022-04-26T20:18:10.525Z] 699f458cf7ca: Download complete [2022-04-26T20:18:10.800Z] 8998bd30e6a1: Download complete [2022-04-26T20:18:13.428Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T20:18:13.428Z] 2437ff75d9bd: Download complete [2022-04-26T20:18:15.409Z] 8998bd30e6a1: Pull complete [2022-04-26T20:18:15.684Z] 04944245beec: Pull complete [2022-04-26T20:18:17.125Z] 699f458cf7ca: Pull complete [2022-04-26T20:18:17.397Z] 765212b225bb: Pull complete [2022-04-26T20:18:18.383Z] f23df028b6ca: Pull complete [2022-04-26T20:18:18.383Z] d65c8cfc05b1: Pull complete [2022-04-26T20:18:33.488Z] 2437ff75d9bd: Pull complete [2022-04-26T20:18:33.488Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T20:18:33.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T20:18:33.488Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T20:18:33.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-33370 does not seem to be running inside a container [2022-04-26T20:18:33.823Z] $ 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/18 -v /w/workspace/device-gpio/18:/w/workspace/device-gpio/18:rw,z -v /w/workspace/device-gpio/18@tmp:/w/workspace/device-gpio/18@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-04-26T20:18:36.288Z] $ docker top 19f33f493e37d0f27df10fc2f22db345dd9ac206c4a10379643dde944f8b9524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:18:37.223Z] ---> job-cost.sh [2022-04-26T20:18:37.223Z] lf-activate-venv: SKIPPING [2022-04-26T20:18:37.223Z] INFO: No Stack... [2022-04-26T20:18:37.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T20:18:38.477Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T20:18:39.147Z] + cat /w/workspace/device-gpio/18/archives/cost.csv [2022-04-26T20:18:39.147Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T20:18:39.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [2022-04-26T20:18:39.232Z] Resource [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] did not exist. Created. [2022-04-26T20:18:39.232Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T20:18:39.906Z] /w/workspace/device-gpio/18@tmp/durable-6a41e975/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T20:18:40.586Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T20:18:40.616Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T20:18:40.664Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T20:18:40.672Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T20:18:40.695Z] $ docker stop --time=1 19f33f493e37d0f27df10fc2f22db345dd9ac206c4a10379643dde944f8b9524 [2022-04-26T20:18:42.195Z] $ docker rm -f 19f33f493e37d0f27df10fc2f22db345dd9ac206c4a10379643dde944f8b9524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-26T20:18:42.630Z] provisioning config files... [2022-04-26T20:18:42.639Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7422983379604870179tmp [Pipeline] { [Pipeline] sh [2022-04-26T20:18:42.937Z] + set +x [2022-04-26T20:18:42.937Z] + curl -s https://codecov.io/bash [2022-04-26T20:18:42.937Z] + bash -s -- [2022-04-26T20:18:42.937Z] [2022-04-26T20:18:42.937Z] _____ _ [2022-04-26T20:18:42.937Z] / ____| | | [2022-04-26T20:18:42.937Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T20:18:42.937Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T20:18:42.937Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T20:18:42.937Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T20:18:42.937Z] Bash-1.0.6 [2022-04-26T20:18:42.937Z] [2022-04-26T20:18:42.937Z] [2022-04-26T20:18:42.937Z] ==> git version 2.25.1 found [2022-04-26T20:18:42.937Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-26T20:18:42.937Z] Release-Date: 2020-01-08 [2022-04-26T20:18:42.937Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T20:18:42.937Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T20:18:42.937Z] ==> Jenkins CI detected. [2022-04-26T20:18:42.937Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:18:42.937Z] project root: . [2022-04-26T20:18:42.937Z] --> token set from env [2022-04-26T20:18:42.937Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T20:18:42.937Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T20:18:42.937Z] ==> Python coveragepy not found [2022-04-26T20:18:42.937Z] ==> Searching for coverage reports in: [2022-04-26T20:18:42.937Z] + . [2022-04-26T20:18:42.937Z] -> Found 1 reports [2022-04-26T20:18:42.937Z] ==> Detecting git/mercurial file structure [2022-04-26T20:18:42.937Z] ==> Reading reports [2022-04-26T20:18:42.937Z] + ./coverage.out bytes=10 [2022-04-26T20:18:42.937Z] ==> Appending adjustments [2022-04-26T20:18:42.937Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T20:18:43.199Z] + Found adjustments [2022-04-26T20:18:43.199Z] ==> Gzipping contents [2022-04-26T20:18:43.199Z] 4.0K /tmp/codecov.0YTkJI.gz [2022-04-26T20:18:43.199Z] ==> Uploading reports [2022-04-26T20:18:43.199Z] url: https://codecov.io [2022-04-26T20:18:43.199Z] query: branch=main&commit=789344be25786e147f452924c2aa2731bf7a9eb5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T20:18:43.199Z] -> Pinging Codecov [2022-04-26T20:18:43.199Z] 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=789344be25786e147f452924c2aa2731bf7a9eb5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T20:18:43.460Z] -> Uploading to [2022-04-26T20:18:43.460Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/789344be25786e147f452924c2aa2731bf7a9eb5/ff5b4e4e-6590-43f0-afb2-858d39950ef9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T201843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9bbdcada978ad070fdd10d873c045d4760e42dc201a99c8151e65f33c0625da [2022-04-26T20:18:43.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T20:18:43.460Z] Dload Upload Total Spent Left Speed [2022-04-26T20:18:43.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 2950 --:--:-- --:--:-- --:--:-- 2960 [2022-04-26T20:18:43.721Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] } [2022-04-26T20:18:43.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-26T20:18:44.007Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-26T20:18:44.018Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:44.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T20:18:44.311Z] [2022-04-26T20:18:44.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:18:44.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T20:18:44.615Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-26T20:18:44.615Z] 188c0c94c7c5: Pulling fs layer [2022-04-26T20:18:44.615Z] 0ef7d3d256c8: Pulling fs layer [2022-04-26T20:18:44.615Z] de9db76c5a1d: Pulling fs layer [2022-04-26T20:18:44.615Z] 0eba1c9be4d2: Pulling fs layer [2022-04-26T20:18:44.615Z] 0d57e429df01: Pulling fs layer [2022-04-26T20:18:44.615Z] 4e4be7b47b0d: Pulling fs layer [2022-04-26T20:18:44.615Z] e1f770b5df2f: Pulling fs layer [2022-04-26T20:18:44.615Z] 85a0685a4137: Pulling fs layer [2022-04-26T20:18:44.615Z] 0d57e429df01: Waiting [2022-04-26T20:18:44.615Z] 0eba1c9be4d2: Waiting [2022-04-26T20:18:44.615Z] 85a0685a4137: Waiting [2022-04-26T20:18:44.615Z] de9db76c5a1d: Verifying Checksum [2022-04-26T20:18:44.615Z] de9db76c5a1d: Download complete [2022-04-26T20:18:44.615Z] 0ef7d3d256c8: Download complete [2022-04-26T20:18:44.615Z] 0d57e429df01: Download complete [2022-04-26T20:18:44.615Z] 4e4be7b47b0d: Download complete [2022-04-26T20:18:44.615Z] 188c0c94c7c5: Verifying Checksum [2022-04-26T20:18:44.615Z] 188c0c94c7c5: Download complete [2022-04-26T20:18:44.874Z] 188c0c94c7c5: Pull complete [2022-04-26T20:18:44.874Z] e1f770b5df2f: Verifying Checksum [2022-04-26T20:18:44.874Z] 0ef7d3d256c8: Pull complete [2022-04-26T20:18:44.874Z] de9db76c5a1d: Pull complete [2022-04-26T20:18:45.444Z] 0eba1c9be4d2: Verifying Checksum [2022-04-26T20:18:45.444Z] 0eba1c9be4d2: Download complete [2022-04-26T20:18:45.444Z] 85a0685a4137: Verifying Checksum [2022-04-26T20:18:45.444Z] 85a0685a4137: Download complete [2022-04-26T20:18:48.735Z] 0eba1c9be4d2: Pull complete [2022-04-26T20:18:48.735Z] 0d57e429df01: Pull complete [2022-04-26T20:18:48.735Z] 4e4be7b47b0d: Pull complete [2022-04-26T20:18:49.305Z] e1f770b5df2f: Pull complete [2022-04-26T20:18:53.505Z] 85a0685a4137: Pull complete [2022-04-26T20:18:53.505Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-26T20:18:53.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T20:18:53.505Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-26T20:18:53.580Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:18:53.624Z] $ 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-04-26T20:18:55.883Z] $ docker top 4f9442d0001814e329db49fe5d273a40e5694236d3c81214d8bd50b53e040157 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-26T20:18:55.974Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-26T20:18:56.259Z] + set -o pipefail [2022-04-26T20:18:56.259Z] + snyk monitor '--org=edgex-jenkins' [2022-04-26T20:19:00.467Z] [2022-04-26T20:19:00.467Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-04-26T20:19:00.467Z] [2022-04-26T20:19:00.467Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/03dd27d4-efa0-469d-9603-125458606e5c [2022-04-26T20:19:00.467Z] [2022-04-26T20:19:00.467Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-26T20:19:00.467Z] [2022-04-26T20:19:00.467Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-26T20:19:00.467Z] [2022-04-26T20:19:00.467Z] [Pipeline] } [2022-04-26T20:19:00.486Z] $ docker stop --time=1 4f9442d0001814e329db49fe5d273a40e5694236d3c81214d8bd50b53e040157 [2022-04-26T20:19:02.237Z] $ docker rm -f 4f9442d0001814e329db49fe5d273a40e5694236d3c81214d8bd50b53e040157 [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-04-26T20:19:02.918Z] + git log --format=format:%s -1 789344be25786e147f452924c2aa2731bf7a9eb5 [Pipeline] sh [2022-04-26T20:19:03.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T20:19:03.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:03.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:19:03.512Z] . [Pipeline] withDockerContainer [2022-04-26T20:19:03.585Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:19:03.626Z] $ 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-04-26T20:19:04.059Z] $ docker top b2ed067e0c08d492082fce5d35f79e5e33af4715fa42dfeffb646e8b487fe3ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T20:19:04.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T20:19:04.165Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T20:19:04.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T20:19:04.302Z] $ docker exec b2ed067e0c08d492082fce5d35f79e5e33af4715fa42dfeffb646e8b487fe3ce ssh-agent [2022-04-26T20:19:04.432Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGojgDE/agent.15 [2022-04-26T20:19:04.432Z] SSH_AGENT_PID=21 [2022-04-26T20:19:04.438Z] Running ssh-add (command line suppressed) [2022-04-26T20:19:04.556Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4847393276875276000.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4847393276875276000.key) [2022-04-26T20:19:04.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T20:19:04.859Z] + git semver tag [2022-04-26T20:19:04.859Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T20:19:04.859Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-26T20:19:04.859Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:19:04.859Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T20:19:04.859Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T20:19:04.859Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T20:19:04.859Z] # $SEMVER_BRANCH = main [2022-04-26T20:19:04.859Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-26T20:19:04.859Z] # 789344be25786e147f452924c2aa2731bf7a9eb5 HEAD [2022-04-26T20:19:04.859Z] # -> Force: false [2022-04-26T20:19:04.859Z] # 6e5218b353ba6d2488bb31eb9f59765482e4eb70 refs/tags/v2.0.0-dev.7 [Pipeline] } [2022-04-26T20:19:04.874Z] $ docker exec --env ******** --env ******** b2ed067e0c08d492082fce5d35f79e5e33af4715fa42dfeffb646e8b487fe3ce ssh-agent -k [2022-04-26T20:19:04.997Z] unset SSH_AUTH_SOCK; [2022-04-26T20:19:04.997Z] unset SSH_AGENT_PID; [2022-04-26T20:19:04.997Z] echo Agent pid 21 killed; [2022-04-26T20:19:05.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T20:19:05.318Z] + git semver [Pipeline] } [2022-04-26T20:19:05.338Z] $ docker stop --time=1 b2ed067e0c08d492082fce5d35f79e5e33af4715fa42dfeffb646e8b487fe3ce [2022-04-26T20:19:06.677Z] $ docker rm -f b2ed067e0c08d492082fce5d35f79e5e33af4715fa42dfeffb646e8b487fe3ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:07.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T20:19:07.080Z] [2022-04-26T20:19:07.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:07.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T20:19:07.386Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-26T20:19:07.386Z] ab5ef0e58194: Pulling fs layer [2022-04-26T20:19:07.386Z] 9712f1f96733: Pulling fs layer [2022-04-26T20:19:07.386Z] 63f879dbbcfc: Pulling fs layer [2022-04-26T20:19:07.386Z] 0d9ebad4ef96: Pulling fs layer [2022-04-26T20:19:07.386Z] e9a5061849ea: Pulling fs layer [2022-04-26T20:19:07.386Z] 0d9ebad4ef96: Waiting [2022-04-26T20:19:07.386Z] d747dcd14b5f: Pulling fs layer [2022-04-26T20:19:07.386Z] 2de7ff778b66: Pulling fs layer [2022-04-26T20:19:07.386Z] e9a5061849ea: Waiting [2022-04-26T20:19:07.386Z] 2de7ff778b66: Waiting [2022-04-26T20:19:07.386Z] 9712f1f96733: Download complete [2022-04-26T20:19:07.647Z] 63f879dbbcfc: Verifying Checksum [2022-04-26T20:19:07.647Z] 63f879dbbcfc: Download complete [2022-04-26T20:19:07.907Z] e9a5061849ea: Verifying Checksum [2022-04-26T20:19:07.907Z] e9a5061849ea: Download complete [2022-04-26T20:19:07.907Z] d747dcd14b5f: Verifying Checksum [2022-04-26T20:19:07.907Z] d747dcd14b5f: Download complete [2022-04-26T20:19:07.907Z] 0d9ebad4ef96: Verifying Checksum [2022-04-26T20:19:07.907Z] 0d9ebad4ef96: Download complete [2022-04-26T20:19:07.907Z] ab5ef0e58194: Verifying Checksum [2022-04-26T20:19:07.907Z] ab5ef0e58194: Download complete [2022-04-26T20:19:07.907Z] 2de7ff778b66: Verifying Checksum [2022-04-26T20:19:07.907Z] 2de7ff778b66: Download complete [2022-04-26T20:19:11.197Z] ab5ef0e58194: Pull complete [2022-04-26T20:19:11.197Z] 9712f1f96733: Pull complete [2022-04-26T20:19:11.834Z] 63f879dbbcfc: Pull complete [2022-04-26T20:19:16.037Z] 0d9ebad4ef96: Pull complete [2022-04-26T20:19:16.037Z] e9a5061849ea: Pull complete [2022-04-26T20:19:16.037Z] d747dcd14b5f: Pull complete [2022-04-26T20:19:17.416Z] 2de7ff778b66: Pull complete [2022-04-26T20:19:17.416Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-26T20:19:17.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T20:19:17.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-26T20:19:17.483Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:19:17.521Z] $ 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-04-26T20:19:19.973Z] $ docker top 0360b62c8c227399a5d37a1c7249dba48ff4fbd3e23542f44172c4d589dbe522 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:19:20.061Z] provisioning config files... [2022-04-26T20:19:20.070Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4981006267534403868tmp [2022-04-26T20:19:20.083Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3465033893886854616tmp [2022-04-26T20:19:20.094Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1086545398934562025tmp [Pipeline] { [Pipeline] echo [2022-04-26T20:19:20.111Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:20.394Z] ---> sigul-configuration.sh [2022-04-26T20:19:20.394Z] gpg: directory `/root/.gnupg' created [2022-04-26T20:19:20.394Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-26T20:19:20.394Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-26T20:19:20.394Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-26T20:19:20.394Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-26T20:19:20.394Z] gpg: CAST5 encrypted data [2022-04-26T20:19:20.394Z] gpg: encrypted with 1 passphrase [2022-04-26T20:19:20.394Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-26T20:19:20.686Z] + mkdir /home/jenkins [2022-04-26T20:19:20.687Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-26T20:19:20.981Z] + 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-04-26T20:19:20.992Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:21.280Z] ---> sigul-install.sh [2022-04-26T20:19:21.281Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-26T20:19:21.572Z] + git tag --list [2022-04-26T20:19:21.572Z] v0.0.0 [2022-04-26T20:19:21.572Z] v1.0.0 [2022-04-26T20:19:21.572Z] v1.0.1-dev.1 [2022-04-26T20:19:21.572Z] v1.0.1-dev.2 [2022-04-26T20:19:21.572Z] v1.0.1-dev.3 [2022-04-26T20:19:21.572Z] v1.0.1-dev.4 [2022-04-26T20:19:21.573Z] v1.0.1-dev.5 [2022-04-26T20:19:21.573Z] v1.0.1-dev.6 [2022-04-26T20:19:21.573Z] v2.0.0-dev.1 [2022-04-26T20:19:21.573Z] v2.0.0-dev.2 [2022-04-26T20:19:21.573Z] v2.0.0-dev.3 [2022-04-26T20:19:21.573Z] v2.0.0-dev.4 [2022-04-26T20:19:21.573Z] v2.0.0-dev.5 [2022-04-26T20:19:21.573Z] v2.0.0-dev.6 [2022-04-26T20:19:21.573Z] v2.0.0-dev.7 [Pipeline] sh [2022-04-26T20:19:21.863Z] + lftools sign git-tag v2.0.0-dev.7 [2022-04-26T20:19:22.442Z] Signing Git tag with Sigul... [2022-04-26T20:19:22.442Z] Signing v2.0.0-dev.7 [Pipeline] echo [2022-04-26T20:19:23.026Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:23.318Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-26T20:19:23.327Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-26T20:19:23.353Z] $ docker stop --time=1 0360b62c8c227399a5d37a1c7249dba48ff4fbd3e23542f44172c4d589dbe522 [2022-04-26T20:19:24.681Z] $ docker rm -f 0360b62c8c227399a5d37a1c7249dba48ff4fbd3e23542f44172c4d589dbe522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-26T20:19:25.124Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T20:19:25.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:25.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:19:25.424Z] . [Pipeline] withDockerContainer [2022-04-26T20:19:25.495Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:19:25.536Z] $ 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-04-26T20:19:26.002Z] $ docker top d48ccccc50367a1be2af2b61714b111e8838eef90653b72e560652c059d422d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T20:19:26.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T20:19:26.107Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T20:19:26.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T20:19:26.249Z] $ docker exec d48ccccc50367a1be2af2b61714b111e8838eef90653b72e560652c059d422d1 ssh-agent [2022-04-26T20:19:26.379Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGMLBHJ/agent.15 [2022-04-26T20:19:26.379Z] SSH_AGENT_PID=21 [2022-04-26T20:19:26.385Z] Running ssh-add (command line suppressed) [2022-04-26T20:19:26.521Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5805105317845606475.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5805105317845606475.key) [2022-04-26T20:19:26.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T20:19:26.822Z] + git semver bump pre [2022-04-26T20:19:26.822Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T20:19:26.822Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-26T20:19:26.822Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:19:26.822Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T20:19:26.822Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T20:19:26.822Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T20:19:26.822Z] # $SEMVER_BRANCH = main [2022-04-26T20:19:26.822Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-26T20:19:26.822Z] 2.0.0-dev.8 [Pipeline] } [2022-04-26T20:19:26.838Z] $ docker exec --env ******** --env ******** d48ccccc50367a1be2af2b61714b111e8838eef90653b72e560652c059d422d1 ssh-agent -k [2022-04-26T20:19:26.951Z] unset SSH_AUTH_SOCK; [2022-04-26T20:19:26.951Z] unset SSH_AGENT_PID; [2022-04-26T20:19:26.951Z] echo Agent pid 21 killed; [2022-04-26T20:19:26.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T20:19:27.274Z] + git semver [Pipeline] } [2022-04-26T20:19:27.294Z] $ docker stop --time=1 d48ccccc50367a1be2af2b61714b111e8838eef90653b72e560652c059d422d1 [2022-04-26T20:19:28.618Z] $ docker rm -f d48ccccc50367a1be2af2b61714b111e8838eef90653b72e560652c059d422d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T20:19:28.967Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T20:19:28.967Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:29.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T20:19:29.267Z] . [Pipeline] withDockerContainer [2022-04-26T20:19:29.343Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:19:29.387Z] $ 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-04-26T20:19:29.796Z] $ docker top 7fffccbce8404173e4d39b9d47e664f97c3bac7e2bd789b09ce8ea9ff1b01afe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T20:19:29.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T20:19:29.894Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T20:19:30.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T20:19:30.045Z] $ docker exec 7fffccbce8404173e4d39b9d47e664f97c3bac7e2bd789b09ce8ea9ff1b01afe ssh-agent [2022-04-26T20:19:30.174Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCpLfP/agent.14 [2022-04-26T20:19:30.174Z] SSH_AGENT_PID=21 [2022-04-26T20:19:30.180Z] Running ssh-add (command line suppressed) [2022-04-26T20:19:30.311Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5862345993590893465.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5862345993590893465.key) [2022-04-26T20:19:30.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T20:19:30.615Z] + git semver push [2022-04-26T20:19:30.615Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T20:19:30.615Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-26T20:19:30.615Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:19:30.615Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T20:19:30.615Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T20:19:30.615Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T20:19:30.615Z] # $SEMVER_BRANCH = main [2022-04-26T20:19:30.615Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-26T20:19:32.019Z] $ docker exec --env ******** --env ******** 7fffccbce8404173e4d39b9d47e664f97c3bac7e2bd789b09ce8ea9ff1b01afe ssh-agent -k [2022-04-26T20:19:32.120Z] unset SSH_AUTH_SOCK; [2022-04-26T20:19:32.120Z] unset SSH_AGENT_PID; [2022-04-26T20:19:32.120Z] echo Agent pid 21 killed; [2022-04-26T20:19:32.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T20:19:32.439Z] + git semver [Pipeline] } [2022-04-26T20:19:32.459Z] $ docker stop --time=1 7fffccbce8404173e4d39b9d47e664f97c3bac7e2bd789b09ce8ea9ff1b01afe [2022-04-26T20:19:33.743Z] $ docker rm -f 7fffccbce8404173e4d39b9d47e664f97c3bac7e2bd789b09ce8ea9ff1b01afe [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-04-26T20:19:34.327Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-04-26T20:19:34.327Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-26T20:19:34.327Z] total 16 [2022-04-26T20:19:34.327Z] drwxr-xr-x 3 root root 4096 Apr 26 20:13 . [2022-04-26T20:19:34.327Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 20:19 .. [2022-04-26T20:19:34.327Z] drwxr-xr-x 2 root root 4096 Apr 26 20:13 cost [2022-04-26T20:19:34.327Z] -rw-r--r-- 1 root root 81 Apr 26 20:13 cost.csv [2022-04-26T20:19:34.327Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-26T20:19:34.327Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-26T20:19:34.327Z] total 16 [2022-04-26T20:19:34.327Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 20:13 . [2022-04-26T20:19:34.327Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 20:19 .. [2022-04-26T20:19:34.327Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 20:13 cost [2022-04-26T20:19:34.327Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 26 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:34.622Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:35.488Z] ---> package-listing.sh [2022-04-26T20:19:35.488Z] ++ facter osfamily [2022-04-26T20:19:35.488Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T20:19:35.749Z] + OS_FAMILY=debian [2022-04-26T20:19:35.749Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-04-26T20:19:35.749Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T20:19:35.749Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T20:19:35.749Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T20:19:35.749Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T20:19:35.749Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-26T20:19:35.749Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T20:19:35.749Z] + case "${OS_FAMILY}" in [2022-04-26T20:19:35.749Z] + dpkg -l [2022-04-26T20:19:35.749Z] + grep '^ii' [2022-04-26T20:19:35.749Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T20:19:35.749Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T20:19:35.749Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T20:19:35.749Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-26T20:19:35.749Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-04-26T20:19:35.749Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-04-26T20:19:35.761Z] 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-04-26T20:19:36.100Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T20:19:36.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T20:19:36.659Z] . [Pipeline] withDockerContainer [2022-04-26T20:19:36.723Z] prd-ubuntu20.04-docker-8c-8g-33369 does not seem to be running inside a container [2022-04-26T20:19:36.762Z] $ 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-04-26T20:19:37.033Z] $ docker top 6d3813480079122853a1cad14d258d550a24dccd9bc9358a7397690c67902f66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T20:19:37.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T20:19:37.684Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T20:19:37.974Z] + ls /var/log/sa-host [2022-04-26T20:19:37.974Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T20:19:38.060Z] provisioning config files... [2022-04-26T20:19:38.068Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7331937537744080501tmp [Pipeline] { [Pipeline] echo [2022-04-26T20:19:38.081Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:38.366Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T20:19:38.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:38.703Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T20:19:38.712Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:38.999Z] ---> sudo-logs.sh [2022-04-26T20:19:38.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T20:19:39.024Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:39.313Z] ---> job-cost.sh [2022-04-26T20:19:39.313Z] lf-activate-venv: SKIPPING [2022-04-26T20:19:39.313Z] DEBUG: total: 0.2199999988079071 [2022-04-26T20:19:39.313Z] INFO: Retrieving Stack Cost... [2022-04-26T20:19:40.258Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T20:19:40.521Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T20:19:40.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T20:19:40.823Z] ---> logs-deploy.sh [2022-04-26T20:19:40.823Z] lf-activate-venv: SKIPPING [2022-04-26T20:19:40.823Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/18 [2022-04-26T20:19:40.823Z] INFO: archiving workspace using pattern(s): [2022-04-26T20:19:41.767Z] Archives upload complete. [2022-04-26T20:19:42.028Z] INFO: archiving logs to Nexus