Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 62a7e374fe89ef1773f189236b5a04a3a0761fd9 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-ssh5693660351825910395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh13139010970120560202.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7700977086664213776.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh2281522323633303073.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-ssh15081516478355308304.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47568 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 62a7e374fe89ef1773f189236b5a04a3a0761fd9 (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 62a7e374fe89ef1773f189236b5a04a3a0761fd9 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#29)" > git rev-list --no-walk cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T12:14:02.283Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T12:14:02.344Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T12:14:02.360Z] ========================================================= [2022-05-10T12:14:02.360Z] EdgeX Global Pipelines Version Info [2022-05-10T12:14:02.360Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:14:03.128Z] ------------------- [2022-05-10T12:14:03.128Z] stable info: [2022-05-10T12:14:03.128Z] ------------------- [2022-05-10T12:14:03.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:14:03.128Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T12:14:03.128Z] Message: update stable to v1.0.227 [2022-05-10T12:14:03.698Z] ------------------- [2022-05-10T12:14:03.698Z] experimental info: [2022-05-10T12:14:03.698Z] ------------------- [2022-05-10T12:14:03.698Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:14:03.698Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T12:14:03.698Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T12:14:03.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-05-10T12:14:03.827Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-05-10T12:14:03.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T12:14:03.853Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T12:14:03.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T12:14:03.877Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T12:14:03.889Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T12:14:03.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T12:14:03.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T12:14:03.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T12:14:03.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T12:14:03.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-05-10T12:14:03.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T12:14:03.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T12:14:03.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:14:04.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:14:04.013Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:14:04.028Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:14:04.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T12:14:04.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T12:14:04.085Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T12:14:04.097Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T12:14:04.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T12:14:04.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T12:14:04.141Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T12:14:04.154Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T12:14:04.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T12:14:04.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T12:14:04.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T12:14:04.212Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] echo [2022-05-10T12:14:04.224Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62a7e37 [Pipeline] echo [2022-05-10T12:14:04.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:14:04.290Z] provisioning config files... [2022-05-10T12:14:04.304Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3329011230471309689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:14:04.611Z] ---> docker-login.sh [2022-05-10T12:14:04.611Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:14:04.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:04.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:04.873Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:04.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:04.873Z] [2022-05-10T12:14:04.873Z] Login Succeeded [2022-05-10T12:14:04.873Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:14:05.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:05.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:05.133Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:05.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:05.133Z] [2022-05-10T12:14:05.133Z] Login Succeeded [2022-05-10T12:14:05.133Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:14:05.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:05.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:05.133Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:05.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:05.133Z] [2022-05-10T12:14:05.133Z] Login Succeeded [2022-05-10T12:14:05.133Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:14:05.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:05.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:05.394Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:05.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:05.394Z] [2022-05-10T12:14:05.394Z] Login Succeeded [2022-05-10T12:14:05.394Z] docker.io [2022-05-10T12:14:05.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:05.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:05.971Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:05.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:05.971Z] [2022-05-10T12:14:05.971Z] Login Succeeded [2022-05-10T12:14:05.971Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:14:05.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T12:14:06.345Z] + git rev-list -1 --merges 62a7e374fe89ef1773f189236b5a04a3a0761fd9~1..62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] echo [2022-05-10T12:14:06.472Z] -----------> git rev-list -1 --merges 62a7e374fe89ef1773f189236b5a04a3a0761fd9~1..62a7e374fe89ef1773f189236b5a04a3a0761fd9 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [false] [Pipeline] sh [2022-05-10T12:14:06.771Z] + git log --format=format:%s -1 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] echo [2022-05-10T12:14:06.789Z] ========================================================= [2022-05-10T12:14:06.789Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T12:14:06.789Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:14:07.129Z] + git log --format=format:%s -1 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] echo [2022-05-10T12:14:07.143Z] [semverPrep] GIT_COMMIT: 62a7e374fe89ef1773f189236b5a04a3a0761fd9, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#29) [Pipeline] echo [2022-05-10T12:14:07.154Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T12:14:07.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:14:07.546Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T12:14:07.546Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T12:14:07.546Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T12:14:07.546Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T12:14:07.546Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T12:14:07.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:07.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:07.895Z] [2022-05-10T12:14:07.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:08.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:08.197Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T12:14:08.197Z] 1fe172e4850f: Pulling fs layer [2022-05-10T12:14:08.197Z] caf521ccaac6: Pulling fs layer [2022-05-10T12:14:08.197Z] 3ead6fa29328: Pulling fs layer [2022-05-10T12:14:08.197Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T12:14:08.197Z] a8d5f1318db7: Pulling fs layer [2022-05-10T12:14:08.197Z] c427282e49a2: Pulling fs layer [2022-05-10T12:14:08.197Z] 1827001aaf11: Pulling fs layer [2022-05-10T12:14:08.197Z] 0714d37db230: Pulling fs layer [2022-05-10T12:14:08.197Z] ac28cf19c067: Pulling fs layer [2022-05-10T12:14:08.197Z] ca983d60f3e2: Pulling fs layer [2022-05-10T12:14:08.197Z] 9f894cec8388: Pulling fs layer [2022-05-10T12:14:08.197Z] 1827001aaf11: Waiting [2022-05-10T12:14:08.197Z] 5c2a1cbceb83: Waiting [2022-05-10T12:14:08.197Z] 0714d37db230: Waiting [2022-05-10T12:14:08.197Z] a8d5f1318db7: Waiting [2022-05-10T12:14:08.197Z] ac28cf19c067: Waiting [2022-05-10T12:14:08.197Z] c427282e49a2: Waiting [2022-05-10T12:14:08.197Z] caf521ccaac6: Verifying Checksum [2022-05-10T12:14:08.197Z] caf521ccaac6: Download complete [2022-05-10T12:14:08.197Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T12:14:08.197Z] 5c2a1cbceb83: Download complete [2022-05-10T12:14:08.457Z] a8d5f1318db7: Verifying Checksum [2022-05-10T12:14:08.457Z] a8d5f1318db7: Download complete [2022-05-10T12:14:08.457Z] 3ead6fa29328: Verifying Checksum [2022-05-10T12:14:08.457Z] 3ead6fa29328: Download complete [2022-05-10T12:14:08.457Z] c427282e49a2: Download complete [2022-05-10T12:14:08.457Z] 0714d37db230: Download complete [2022-05-10T12:14:08.457Z] ac28cf19c067: Verifying Checksum [2022-05-10T12:14:08.457Z] ac28cf19c067: Download complete [2022-05-10T12:14:08.457Z] ca983d60f3e2: Verifying Checksum [2022-05-10T12:14:08.457Z] ca983d60f3e2: Download complete [2022-05-10T12:14:08.457Z] 9f894cec8388: Verifying Checksum [2022-05-10T12:14:08.457Z] 9f894cec8388: Download complete [2022-05-10T12:14:08.457Z] 1fe172e4850f: Verifying Checksum [2022-05-10T12:14:08.457Z] 1fe172e4850f: Download complete [2022-05-10T12:14:08.717Z] 1827001aaf11: Verifying Checksum [2022-05-10T12:14:08.717Z] 1827001aaf11: Download complete [2022-05-10T12:14:09.653Z] 1fe172e4850f: Pull complete [2022-05-10T12:14:09.653Z] caf521ccaac6: Pull complete [2022-05-10T12:14:10.222Z] 3ead6fa29328: Pull complete [2022-05-10T12:14:10.222Z] 5c2a1cbceb83: Pull complete [2022-05-10T12:14:10.484Z] a8d5f1318db7: Pull complete [2022-05-10T12:14:10.484Z] c427282e49a2: Pull complete [2022-05-10T12:14:12.392Z] 1827001aaf11: Pull complete [2022-05-10T12:14:12.393Z] 0714d37db230: Pull complete [2022-05-10T12:14:12.393Z] ac28cf19c067: Pull complete [2022-05-10T12:14:12.393Z] ca983d60f3e2: Pull complete [2022-05-10T12:14:12.653Z] 9f894cec8388: Pull complete [2022-05-10T12:14:12.653Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T12:14:12.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:12.653Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T12:14:12.732Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:14:12.776Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:14:14.192Z] $ docker top 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 -eo pid,comm [2022-05-10T12:14:14.255Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T12:14:14.256Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:14:14.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:14:14.292Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:14:14.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:14:14.428Z] $ docker exec 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 ssh-agent [2022-05-10T12:14:14.538Z] SSH_AUTH_SOCK=/tmp/ssh-CnAI80Hckged/agent.33 [2022-05-10T12:14:14.538Z] SSH_AGENT_PID=40 [2022-05-10T12:14:14.545Z] Running ssh-add (command line suppressed) [2022-05-10T12:14:14.672Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8633549182257389301.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8633549182257389301.key) [2022-05-10T12:14:14.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:14:14.970Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T12:14:14.988Z] $ docker exec --env ******** --env ******** 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 ssh-agent -k [2022-05-10T12:14:15.085Z] unset SSH_AUTH_SOCK; [2022-05-10T12:14:15.086Z] unset SSH_AGENT_PID; [2022-05-10T12:14:15.086Z] echo Agent pid 40 killed; [2022-05-10T12:14:15.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T12:14:15.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:14:15.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:14:15.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:14:15.245Z] $ docker exec 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 ssh-agent [2022-05-10T12:14:15.350Z] SSH_AUTH_SOCK=/tmp/ssh-34z2WWTmON5K/agent.74 [2022-05-10T12:14:15.350Z] SSH_AGENT_PID=80 [2022-05-10T12:14:15.354Z] Running ssh-add (command line suppressed) [2022-05-10T12:14:15.464Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4375578322340215956.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4375578322340215956.key) [2022-05-10T12:14:15.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:14:15.763Z] + git semver init [2022-05-10T12:14:16.024Z] 2022-05-10 12:14:15,958 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T12:14:16.024Z] 2022-05-10 12:14:15,959 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-05-10T12:14:16.024Z] 2022-05-10 12:14:15,959 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-05-10T12:14:16.024Z] 2022-05-10 12:14:15,959 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:14:16.967Z] 2022-05-10 12:14:16,893 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-05-10T12:14:16.967Z] 2022-05-10 12:14:16,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-05-10T12:14:16.967Z] 2022-05-10 12:14:16,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:14:16.967Z] 2022-05-10 12:14:16,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:14:16.967Z] 2.0.0-dev.11 [Pipeline] } [2022-05-10T12:14:16.984Z] $ docker exec --env ******** --env ******** 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 ssh-agent -k [2022-05-10T12:14:17.084Z] unset SSH_AUTH_SOCK; [2022-05-10T12:14:17.085Z] unset SSH_AGENT_PID; [2022-05-10T12:14:17.085Z] echo Agent pid 80 killed; [2022-05-10T12:14:17.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:14:17.398Z] + git semver [Pipeline] } [2022-05-10T12:14:17.679Z] $ docker stop --time=1 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 [2022-05-10T12:14:19.004Z] $ docker rm -f 888aa4214f1b3e73f9f054cf0295856ad035ad38fb15f24b8f29eb1faa1acb11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:14:19.357Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T12:14:19.675Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T12:14:19.679Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.11 [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-05-10T12:14:19.841Z] provisioning config files... [2022-05-10T12:14:19.854Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5566084679230456758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:14:20.163Z] ---> docker-login.sh [2022-05-10T12:14:20.164Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:14:20.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:20.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:20.164Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:20.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:20.164Z] [2022-05-10T12:14:20.164Z] Login Succeeded [2022-05-10T12:14:20.164Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:14:20.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:20.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:20.164Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:20.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:20.164Z] [2022-05-10T12:14:20.164Z] Login Succeeded [2022-05-10T12:14:20.422Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:14:20.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:20.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:20.422Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:20.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:20.422Z] [2022-05-10T12:14:20.422Z] Login Succeeded [2022-05-10T12:14:20.422Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:14:20.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:20.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:20.683Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:20.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:20.683Z] [2022-05-10T12:14:20.683Z] Login Succeeded [2022-05-10T12:14:20.683Z] docker.io [2022-05-10T12:14:20.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:20.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:20.946Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:20.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:20.946Z] [2022-05-10T12:14:20.946Z] Login Succeeded [2022-05-10T12:14:20.946Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:14:20.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:14:21.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:14:21.045Z] ========================================================= [2022-05-10T12:14:21.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T12:14:21.045Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:21.351Z] + 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-05-10T12:14:21.351Z] Sending build context to Docker daemon 15.57MB [2022-05-10T12:14:21.351Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:14:21.351Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T12:14:21.613Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T12:14:21.613Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T12:14:21.613Z] 666ba61612fd: Pulling fs layer [2022-05-10T12:14:21.613Z] 8ed8ca486205: Pulling fs layer [2022-05-10T12:14:21.613Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T12:14:21.613Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T12:14:21.613Z] ca2b28591e48: Pulling fs layer [2022-05-10T12:14:21.613Z] a51346096db8: Pulling fs layer [2022-05-10T12:14:21.613Z] daebc70d1ce1: Pulling fs layer [2022-05-10T12:14:21.613Z] 0e18a0eac166: Pulling fs layer [2022-05-10T12:14:21.613Z] 4fe6c5a15a65: Waiting [2022-05-10T12:14:21.613Z] 22a0e8bec74d: Waiting [2022-05-10T12:14:21.613Z] daebc70d1ce1: Waiting [2022-05-10T12:14:21.613Z] ca2b28591e48: Waiting [2022-05-10T12:14:21.613Z] 0e18a0eac166: Waiting [2022-05-10T12:14:21.613Z] a51346096db8: Waiting [2022-05-10T12:14:21.613Z] 8ed8ca486205: Download complete [2022-05-10T12:14:21.613Z] 666ba61612fd: Verifying Checksum [2022-05-10T12:14:21.613Z] 666ba61612fd: Download complete [2022-05-10T12:14:21.613Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T12:14:21.613Z] 22a0e8bec74d: Download complete [2022-05-10T12:14:21.613Z] ca2b28591e48: Verifying Checksum [2022-05-10T12:14:21.613Z] ca2b28591e48: Download complete [2022-05-10T12:14:21.613Z] a51346096db8: Verifying Checksum [2022-05-10T12:14:21.613Z] a51346096db8: Download complete [2022-05-10T12:14:21.613Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T12:14:21.613Z] 59bf1c3509f3: Download complete [2022-05-10T12:14:21.613Z] daebc70d1ce1: Verifying Checksum [2022-05-10T12:14:21.613Z] daebc70d1ce1: Download complete [2022-05-10T12:14:21.613Z] 59bf1c3509f3: Pull complete [2022-05-10T12:14:21.874Z] 666ba61612fd: Pull complete [2022-05-10T12:14:21.874Z] 8ed8ca486205: Pull complete [2022-05-10T12:14:22.136Z] 0e18a0eac166: Verifying Checksum [2022-05-10T12:14:22.136Z] 0e18a0eac166: Download complete [2022-05-10T12:14:22.396Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T12:14:22.396Z] 4fe6c5a15a65: Download complete [2022-05-10T12:14:25.686Z] 4fe6c5a15a65: Pull complete [2022-05-10T12:14:25.946Z] 22a0e8bec74d: Pull complete [2022-05-10T12:14:25.946Z] ca2b28591e48: Pull complete [2022-05-10T12:14:25.946Z] a51346096db8: Pull complete [2022-05-10T12:14:26.205Z] daebc70d1ce1: Pull complete [2022-05-10T12:14:28.109Z] 0e18a0eac166: Pull complete [2022-05-10T12:14:28.109Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T12:14:28.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T12:14:28.109Z] ---> f018257e8ee9 [2022-05-10T12:14:28.109Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:14:29.527Z] ---> Running in 250928ed6d60 [2022-05-10T12:14:29.786Z] Removing intermediate container 250928ed6d60 [2022-05-10T12:14:29.787Z] ---> d877171e059d [2022-05-10T12:14:29.787Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:14:29.787Z] ---> Running in bde61dec833e [2022-05-10T12:14:29.787Z] Removing intermediate container bde61dec833e [2022-05-10T12:14:29.787Z] ---> ba3b1784d076 [2022-05-10T12:14:29.787Z] Step 5/11 : WORKDIR /device-gpio [2022-05-10T12:14:29.787Z] ---> Running in 98e389b3d761 [2022-05-10T12:14:30.046Z] Removing intermediate container 98e389b3d761 [2022-05-10T12:14:30.046Z] ---> 5e04e3ea49ac [2022-05-10T12:14:30.046Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:14:30.046Z] ---> Running in faa590890733 [2022-05-10T12:14:30.616Z] Removing intermediate container faa590890733 [2022-05-10T12:14:30.616Z] ---> 12bdb7029bdb [2022-05-10T12:14:30.616Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:14:30.616Z] ---> Running in ed7cd9f2438b [2022-05-10T12:14:30.875Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:14:31.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:14:32.077Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:14:32.077Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:14:32.077Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:14:32.339Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:14:32.339Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:14:32.339Z] OK: 224 MiB in 56 packages [2022-05-10T12:14:32.914Z] Removing intermediate container ed7cd9f2438b [2022-05-10T12:14:32.914Z] ---> cb1c0bf583d9 [2022-05-10T12:14:32.914Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T12:14:32.914Z] ---> c9598e805d8e [2022-05-10T12:14:32.914Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:14:32.914Z] ---> Running in a2e60c4ffa68 [2022-05-10T12:14:34.786Z] Still waiting to schedule task [2022-05-10T12:14:34.786Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:34.786Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:34.786Z] ‘prd-ubuntu20.04-docker-8c-8g-47570’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:34.786Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-47567’ is offline [2022-05-10T12:14:59.479Z] Removing intermediate container a2e60c4ffa68 [2022-05-10T12:14:59.479Z] ---> 685f49352f89 [2022-05-10T12:14:59.479Z] Step 10/11 : COPY . . [2022-05-10T12:14:59.479Z] ---> b0d1812e602f [2022-05-10T12:14:59.479Z] Step 11/11 : RUN ${MAKE} [2022-05-10T12:14:59.479Z] ---> Running in ca0c0359ca0d [2022-05-10T12:14:59.479Z] Removing intermediate container ca0c0359ca0d [2022-05-10T12:14:59.479Z] ---> e04acb89449f [2022-05-10T12:14:59.479Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-10T12:14:59.479Z] Successfully built e04acb89449f [2022-05-10T12:14:59.479Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:59.794Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:14:59.794Z] . [Pipeline] withDockerContainer [2022-05-10T12:14:59.865Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:14:59.908Z] $ 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-05-10T12:15:00.314Z] $ docker top a7117437cbc524a837b866165af23c0338c05c4406328f98910d76a4fa81fa05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:15:00.674Z] + go version [2022-05-10T12:15:00.674Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T12:15:00.700Z] $ docker stop --time=1 a7117437cbc524a837b866165af23c0338c05c4406328f98910d76a4fa81fa05 [2022-05-10T12:15:02.046Z] $ docker rm -f a7117437cbc524a837b866165af23c0338c05c4406328f98910d76a4fa81fa05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:02.501Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:15:02.501Z] . [Pipeline] withDockerContainer [2022-05-10T12:15:02.565Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:15:02.607Z] $ 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-05-10T12:15:02.975Z] $ docker top 1411440b190302ccc90e5243d399c3865fc8986883481fc364301e561299d6f0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:15:03.333Z] + make test [2022-05-10T12:15:03.333Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:15:03.592Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-10T12:15:10.156Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-05-10T12:15:10.156Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-05-10T12:15:14.352Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:15:17.642Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:15:17.642Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:15:17.642Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:15:17.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:15:17.670Z] $ docker stop --time=1 1411440b190302ccc90e5243d399c3865fc8986883481fc364301e561299d6f0 [2022-05-10T12:15:19.318Z] $ docker rm -f 1411440b190302ccc90e5243d399c3865fc8986883481fc364301e561299d6f0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:15:19.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:15:19.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T12:15:20.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:15:20.546Z] + ls -al . [2022-05-10T12:15:20.546Z] total 192 [2022-05-10T12:15:20.546Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:15 . [2022-05-10T12:15:20.546Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:13 .. [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 120 May 10 12:13 .dockerignore [2022-05-10T12:15:20.546Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:14 .git [2022-05-10T12:15:20.546Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 .github [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 343 May 10 12:13 .gitignore [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:13 .golangci.yml [2022-05-10T12:15:20.546Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:14 .semver [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 7772 May 10 12:13 Attribution.txt [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 2256 May 10 12:13 CHANGELOG.md [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 1846 May 10 12:13 Dockerfile [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:13 GOVERNANCE.md [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 657 May 10 12:13 Jenkinsfile [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:13 LICENSE [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 1876 May 10 12:13 Makefile [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 617 May 10 12:13 OWNERS.md [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 11178 May 10 12:13 README.md [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION [2022-05-10T12:15:20.546Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:13 bin [2022-05-10T12:15:20.546Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 cmd [2022-05-10T12:15:20.546Z] -rw-r--r-- 1 jenkins jenkins 10 May 10 12:15 coverage.out [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 2794 May 10 12:13 go.mod [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 70652 May 10 12:13 go.sum [2022-05-10T12:15:20.546Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 internal [2022-05-10T12:15:20.546Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 snap [2022-05-10T12:15:20.546Z] -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:20.851Z] + 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=62a7e374fe89ef1773f189236b5a04a3a0761fd9 --label arch=amd64 --label version=2.0.0-dev.11 . [2022-05-10T12:15:20.851Z] Sending build context to Docker daemon 15.57MB [2022-05-10T12:15:20.851Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:15:20.851Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T12:15:20.851Z] ---> e04acb89449f [2022-05-10T12:15:20.851Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:15:20.851Z] ---> Running in 07402dbc30ac [2022-05-10T12:15:21.111Z] Removing intermediate container 07402dbc30ac [2022-05-10T12:15:21.111Z] ---> 51c9b989ebb5 [2022-05-10T12:15:21.111Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:15:21.111Z] ---> Running in cf2191e33048 [2022-05-10T12:15:21.111Z] Removing intermediate container cf2191e33048 [2022-05-10T12:15:21.111Z] ---> d6ff2abe2703 [2022-05-10T12:15:21.111Z] Step 5/25 : WORKDIR /device-gpio [2022-05-10T12:15:21.111Z] ---> Running in 1bad5768aa77 [2022-05-10T12:15:21.370Z] Removing intermediate container 1bad5768aa77 [2022-05-10T12:15:21.370Z] ---> 5f358aa21bc8 [2022-05-10T12:15:21.370Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:15:21.370Z] ---> Running in 2f768e373233 [2022-05-10T12:15:21.942Z] Removing intermediate container 2f768e373233 [2022-05-10T12:15:21.942Z] ---> 72ef44fde40b [2022-05-10T12:15:21.942Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:15:21.942Z] ---> Running in ca95a4d0be5b [2022-05-10T12:15:22.203Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:23.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:23.404Z] OK: 224 MiB in 56 packages [2022-05-10T12:15:23.664Z] Removing intermediate container ca95a4d0be5b [2022-05-10T12:15:23.664Z] ---> 238ea1425f94 [2022-05-10T12:15:23.664Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T12:15:23.924Z] ---> 0d4a262ea75e [2022-05-10T12:15:23.924Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:15:23.924Z] ---> Running in 3ee69daa4aae [2022-05-10T12:15:24.495Z] Removing intermediate container 3ee69daa4aae [2022-05-10T12:15:24.495Z] ---> afc9e5132922 [2022-05-10T12:15:24.495Z] Step 10/25 : COPY . . [2022-05-10T12:15:25.067Z] ---> 7c61a51b7a9b [2022-05-10T12:15:25.067Z] Step 11/25 : RUN ${MAKE} [2022-05-10T12:15:25.067Z] ---> Running in ec105cbcbf06 [2022-05-10T12:15:25.638Z] Removing intermediate container ec105cbcbf06 [2022-05-10T12:15:25.638Z] ---> e271a8448cc9 [2022-05-10T12:15:25.638Z] Step 12/25 : FROM alpine:3.15 [2022-05-10T12:15:26.209Z] 3.15: Pulling from library/alpine [2022-05-10T12:15:26.209Z] df9b9388f04a: Pulling fs layer [2022-05-10T12:15:26.467Z] df9b9388f04a: Verifying Checksum [2022-05-10T12:15:26.467Z] df9b9388f04a: Download complete [2022-05-10T12:15:26.728Z] df9b9388f04a: Pull complete [2022-05-10T12:15:26.728Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-10T12:15:26.728Z] Status: Downloaded newer image for alpine:3.15 [2022-05-10T12:15:26.728Z] ---> 0ac33e5f5afa [2022-05-10T12:15:26.728Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-05-10T12:15:26.728Z] ---> Running in 80bef40d9c81 [2022-05-10T12:15:26.987Z] Removing intermediate container 80bef40d9c81 [2022-05-10T12:15:26.987Z] ---> cc20c25a92e1 [2022-05-10T12:15:26.987Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:15:26.987Z] ---> Running in 528f99aa41e6 [2022-05-10T12:15:27.556Z] Removing intermediate container 528f99aa41e6 [2022-05-10T12:15:27.556Z] ---> feccab88dc9c [2022-05-10T12:15:27.556Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T12:15:27.556Z] ---> Running in 61dc1e48a764 [2022-05-10T12:15:27.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:28.757Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:29.017Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-05-10T12:15:29.017Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T12:15:29.017Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-10T12:15:29.279Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T12:15:29.279Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T12:15:29.540Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T12:15:29.540Z] OK: 8 MiB in 19 packages [2022-05-10T12:15:29.800Z] Removing intermediate container 61dc1e48a764 [2022-05-10T12:15:29.800Z] ---> d657e643b09b [2022-05-10T12:15:29.800Z] Step 16/25 : WORKDIR / [2022-05-10T12:15:29.800Z] ---> Running in 5b1abcb8c72a [2022-05-10T12:15:30.060Z] Removing intermediate container 5b1abcb8c72a [2022-05-10T12:15:30.060Z] ---> b534f06b345e [2022-05-10T12:15:30.060Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-05-10T12:15:30.060Z] ---> a890c2ea267b [2022-05-10T12:15:30.060Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-05-10T12:15:30.320Z] ---> 8ed5fd94acb8 [2022-05-10T12:15:30.320Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-05-10T12:15:30.320Z] ---> f1963754dad1 [2022-05-10T12:15:30.320Z] Step 20/25 : EXPOSE 59910 [2022-05-10T12:15:30.586Z] ---> Running in db2fc33deef8 [2022-05-10T12:15:30.586Z] Removing intermediate container db2fc33deef8 [2022-05-10T12:15:30.586Z] ---> 76bf48346376 [2022-05-10T12:15:30.586Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-05-10T12:15:30.586Z] ---> Running in 5bd256ca0800 [2022-05-10T12:15:30.586Z] Removing intermediate container 5bd256ca0800 [2022-05-10T12:15:30.586Z] ---> 6c4e4067724d [2022-05-10T12:15:30.586Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:15:30.586Z] ---> Running in 281377d3bf2e [2022-05-10T12:15:30.846Z] Removing intermediate container 281377d3bf2e [2022-05-10T12:15:30.846Z] ---> cf357fe94ba1 [2022-05-10T12:15:30.846Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T12:15:30.846Z] ---> Running in 4216b5bfa846 [2022-05-10T12:15:30.846Z] Removing intermediate container 4216b5bfa846 [2022-05-10T12:15:30.846Z] ---> c56494083eff [2022-05-10T12:15:30.846Z] Step 24/25 : LABEL git_sha=62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:15:30.846Z] ---> Running in 95e67e713e49 [2022-05-10T12:15:31.107Z] Removing intermediate container 95e67e713e49 [2022-05-10T12:15:31.107Z] ---> a290ab4a42a3 [2022-05-10T12:15:31.107Z] Step 25/25 : LABEL version=2.0.0-dev.11 [2022-05-10T12:15:31.107Z] ---> Running in ad969fa6e3cd [2022-05-10T12:15:31.107Z] Removing intermediate container ad969fa6e3cd [2022-05-10T12:15:31.107Z] ---> 102a0bf07023 [2022-05-10T12:15:31.107Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-05-10T12:15:31.107Z] Successfully built 102a0bf07023 [2022-05-10T12:15:31.107Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:15:31.215Z] provisioning config files... [2022-05-10T12:15:31.226Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4860541148331197484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:15:31.533Z] ---> docker-login.sh [2022-05-10T12:15:31.534Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:15:31.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:31.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:31.534Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:31.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:31.534Z] [2022-05-10T12:15:31.534Z] Login Succeeded [2022-05-10T12:15:31.534Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:15:31.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:31.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:31.795Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:31.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:31.795Z] [2022-05-10T12:15:31.795Z] Login Succeeded [2022-05-10T12:15:31.795Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:15:31.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:31.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:31.795Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:31.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:31.795Z] [2022-05-10T12:15:31.795Z] Login Succeeded [2022-05-10T12:15:31.795Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:15:31.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:32.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:32.056Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:32.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:32.056Z] [2022-05-10T12:15:32.056Z] Login Succeeded [2022-05-10T12:15:32.056Z] docker.io [2022-05-10T12:15:32.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:32.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:32.317Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:32.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:32.317Z] [2022-05-10T12:15:32.317Z] Login Succeeded [2022-05-10T12:15:32.317Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:15:32.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:15:32.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:15:32.382Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-05-10T12:15:32.382Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:15:32.382Z] latest [2022-05-10T12:15:32.382Z] 2.0.0-dev.11 [2022-05-10T12:15:32.382Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:15:32.382Z] main [2022-05-10T12:15:32.382Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:32.693Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:32.986Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:15:32.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-05-10T12:15:32.986Z] 20086ed32776: Preparing [2022-05-10T12:15:32.986Z] 220b76450e50: Preparing [2022-05-10T12:15:32.986Z] e1419dbd39ff: Preparing [2022-05-10T12:15:32.986Z] c2da455a4144: Preparing [2022-05-10T12:15:32.986Z] a7ed5673e2f7: Preparing [2022-05-10T12:15:32.986Z] 4fc242d58285: Preparing [2022-05-10T12:15:32.986Z] 4fc242d58285: Waiting [2022-05-10T12:15:32.986Z] 20086ed32776: Pushed [2022-05-10T12:15:32.986Z] 220b76450e50: Pushed [2022-05-10T12:15:32.986Z] e1419dbd39ff: Pushed [2022-05-10T12:15:32.986Z] a7ed5673e2f7: Pushed [2022-05-10T12:15:32.986Z] 4fc242d58285: Layer already exists [2022-05-10T12:15:33.245Z] c2da455a4144: Pushed [2022-05-10T12:15:33.508Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9: digest: sha256:398ca54bade19b38c9670a73c81f8e6af06807f4f5db542f76d4db573cac4d2d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:33.807Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:34.100Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-05-10T12:15:34.100Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-05-10T12:15:34.100Z] 20086ed32776: Preparing [2022-05-10T12:15:34.100Z] 220b76450e50: Preparing [2022-05-10T12:15:34.100Z] e1419dbd39ff: Preparing [2022-05-10T12:15:34.100Z] c2da455a4144: Preparing [2022-05-10T12:15:34.100Z] a7ed5673e2f7: Preparing [2022-05-10T12:15:34.100Z] 4fc242d58285: Preparing [2022-05-10T12:15:34.100Z] 4fc242d58285: Waiting [2022-05-10T12:15:34.100Z] a7ed5673e2f7: Layer already exists [2022-05-10T12:15:34.100Z] e1419dbd39ff: Layer already exists [2022-05-10T12:15:34.100Z] c2da455a4144: Layer already exists [2022-05-10T12:15:34.100Z] 20086ed32776: Layer already exists [2022-05-10T12:15:34.100Z] 220b76450e50: Layer already exists [2022-05-10T12:15:34.100Z] 4fc242d58285: Layer already exists [2022-05-10T12:15:34.100Z] latest: digest: sha256:398ca54bade19b38c9670a73c81f8e6af06807f4f5db542f76d4db573cac4d2d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:34.405Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:34.695Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.11 [2022-05-10T12:15:34.695Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-05-10T12:15:34.695Z] 20086ed32776: Preparing [2022-05-10T12:15:34.695Z] 220b76450e50: Preparing [2022-05-10T12:15:34.695Z] e1419dbd39ff: Preparing [2022-05-10T12:15:34.695Z] c2da455a4144: Preparing [2022-05-10T12:15:34.695Z] a7ed5673e2f7: Preparing [2022-05-10T12:15:34.695Z] 4fc242d58285: Preparing [2022-05-10T12:15:34.695Z] 4fc242d58285: Waiting [2022-05-10T12:15:34.695Z] e1419dbd39ff: Layer already exists [2022-05-10T12:15:34.695Z] 220b76450e50: Layer already exists [2022-05-10T12:15:34.695Z] a7ed5673e2f7: Layer already exists [2022-05-10T12:15:34.695Z] 20086ed32776: Layer already exists [2022-05-10T12:15:34.695Z] c2da455a4144: Layer already exists [2022-05-10T12:15:34.695Z] 4fc242d58285: Layer already exists [2022-05-10T12:15:34.695Z] 2.0.0-dev.11: digest: sha256:398ca54bade19b38c9670a73c81f8e6af06807f4f5db542f76d4db573cac4d2d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:34.997Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:35.295Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:15:35.295Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-05-10T12:15:35.295Z] 20086ed32776: Preparing [2022-05-10T12:15:35.295Z] 220b76450e50: Preparing [2022-05-10T12:15:35.295Z] e1419dbd39ff: Preparing [2022-05-10T12:15:35.295Z] c2da455a4144: Preparing [2022-05-10T12:15:35.295Z] a7ed5673e2f7: Preparing [2022-05-10T12:15:35.295Z] 4fc242d58285: Preparing [2022-05-10T12:15:35.295Z] 4fc242d58285: Waiting [2022-05-10T12:15:35.295Z] e1419dbd39ff: Layer already exists [2022-05-10T12:15:35.295Z] c2da455a4144: Layer already exists [2022-05-10T12:15:35.295Z] a7ed5673e2f7: Layer already exists [2022-05-10T12:15:35.295Z] 20086ed32776: Layer already exists [2022-05-10T12:15:35.295Z] 220b76450e50: Layer already exists [2022-05-10T12:15:35.295Z] 4fc242d58285: Layer already exists [2022-05-10T12:15:35.295Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11: digest: sha256:398ca54bade19b38c9670a73c81f8e6af06807f4f5db542f76d4db573cac4d2d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:35.589Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:35.882Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-05-10T12:15:35.882Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-05-10T12:15:35.882Z] 20086ed32776: Preparing [2022-05-10T12:15:35.882Z] 220b76450e50: Preparing [2022-05-10T12:15:35.882Z] e1419dbd39ff: Preparing [2022-05-10T12:15:35.882Z] c2da455a4144: Preparing [2022-05-10T12:15:35.882Z] a7ed5673e2f7: Preparing [2022-05-10T12:15:35.882Z] 4fc242d58285: Preparing [2022-05-10T12:15:35.882Z] 4fc242d58285: Waiting [2022-05-10T12:15:35.882Z] 220b76450e50: Layer already exists [2022-05-10T12:15:35.882Z] c2da455a4144: Layer already exists [2022-05-10T12:15:35.882Z] e1419dbd39ff: Layer already exists [2022-05-10T12:15:35.882Z] a7ed5673e2f7: Layer already exists [2022-05-10T12:15:35.882Z] 20086ed32776: Layer already exists [2022-05-10T12:15:35.882Z] 4fc242d58285: Layer already exists [2022-05-10T12:15:35.882Z] main: digest: sha256:398ca54bade19b38c9670a73c81f8e6af06807f4f5db542f76d4db573cac4d2d size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:15:35.918Z] ===================================================== [Pipeline] echo [2022-05-10T12:15:35.928Z] taggedImages: [2022-05-10T12:15:35.928Z] - nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:15:35.928Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-05-10T12:15:35.928Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.11 [2022-05-10T12:15:35.928Z] - nexus3.edgexfoundry.org:10004/device-gpio:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:15:35.928Z] - 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-05-10T12:15:36.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:36.287Z] [2022-05-10T12:15:36.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:36.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:36.591Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T12:15:36.591Z] 5eb5b503b376: Pulling fs layer [2022-05-10T12:15:36.591Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T12:15:36.591Z] ec43610c2a17: Pulling fs layer [2022-05-10T12:15:36.591Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T12:15:36.591Z] 33b1e0a273af: Pulling fs layer [2022-05-10T12:15:36.591Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T12:15:36.591Z] 2f39f015ded8: Pulling fs layer [2022-05-10T12:15:36.591Z] 3a2ae6a8a46f: Waiting [2022-05-10T12:15:36.591Z] 33b1e0a273af: Waiting [2022-05-10T12:15:36.591Z] 5d3b04190fa2: Waiting [2022-05-10T12:15:36.591Z] 5c69ac0246d0: Download complete [2022-05-10T12:15:36.591Z] 3a2ae6a8a46f: Download complete [2022-05-10T12:15:36.591Z] 33b1e0a273af: Verifying Checksum [2022-05-10T12:15:36.591Z] 33b1e0a273af: Download complete [2022-05-10T12:15:36.591Z] 5d3b04190fa2: Download complete [2022-05-10T12:15:36.852Z] ec43610c2a17: Download complete [2022-05-10T12:15:36.852Z] 5eb5b503b376: Verifying Checksum [2022-05-10T12:15:36.852Z] 5eb5b503b376: Download complete [2022-05-10T12:15:37.423Z] 2f39f015ded8: Verifying Checksum [2022-05-10T12:15:37.423Z] 2f39f015ded8: Download complete [2022-05-10T12:15:38.361Z] 5eb5b503b376: Pull complete [2022-05-10T12:15:38.361Z] 5c69ac0246d0: Pull complete [2022-05-10T12:15:38.621Z] ec43610c2a17: Pull complete [2022-05-10T12:15:38.621Z] 3a2ae6a8a46f: Pull complete [2022-05-10T12:15:38.881Z] 33b1e0a273af: Pull complete [2022-05-10T12:15:39.140Z] 5d3b04190fa2: Pull complete [2022-05-10T12:15:43.330Z] 2f39f015ded8: Pull complete [2022-05-10T12:15:43.330Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T12:15:43.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:43.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T12:15:43.391Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:15:43.465Z] $ 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-05-10T12:15:45.194Z] $ docker top 2799eacde6fe794e27b5d42ccdba7182d759a0b08cb5ab80d96fb2b76890c463 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:15:45.678Z] ---> job-cost.sh [2022-05-10T12:15:45.678Z] lf-activate-venv: SKIPPING [2022-05-10T12:15:45.678Z] INFO: No Stack... [2022-05-10T12:15:45.940Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:15:46.512Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:15:46.810Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-05-10T12:15:46.810Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:15:46.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [2022-05-10T12:15:46.841Z] Resource [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] did not exist. Created. [2022-05-10T12:15:46.841Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:15:47.144Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T12:15:47.177Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:15:47.185Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:15:47.209Z] $ docker stop --time=1 2799eacde6fe794e27b5d42ccdba7182d759a0b08cb5ab80d96fb2b76890c463 [2022-05-10T12:15:48.449Z] $ docker rm -f 2799eacde6fe794e27b5d42ccdba7182d759a0b08cb5ab80d96fb2b76890c463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T12:25:02.074Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47721 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-05-10T12:25:02.088Z] Running in /w/workspace/device-gpio/22 [Pipeline] { [Pipeline] checkout [2022-05-10T12:25:02.554Z] The recommended git tool is: git [2022-05-10T12:25:09.272Z] using credential edgex-jenkins-ssh [2022-05-10T12:25:09.288Z] Cloning the remote Git repository [2022-05-10T12:25:09.366Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-05-10T12:25:09.457Z] > git init /w/workspace/device-gpio/22 # timeout=10 [2022-05-10T12:25:09.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-05-10T12:25:09.566Z] > git --version # timeout=10 [2022-05-10T12:25:09.587Z] > git --version # 'git version 2.25.1' [2022-05-10T12:25:09.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:25:09.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:25:11.375Z] Avoid second fetch [2022-05-10T12:25:11.376Z] Checking out Revision 62a7e374fe89ef1773f189236b5a04a3a0761fd9 (main) [2022-05-10T12:25:11.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-05-10T12:25:11.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:25:11.415Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:25:11.443Z] > git checkout -f 62a7e374fe89ef1773f189236b5a04a3a0761fd9 # timeout=10 [2022-05-10T12:25:16.737Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#29)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:25:17.663Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T12:25:17.663Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:25:17.663Z] Dload Upload Total Spent Left Speed [2022-05-10T12:25:17.663Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-05-10T12:25:18.254Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T12:25:18.625Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T12:25:18.625Z] + sudo tee /etc/docker/daemon.new [2022-05-10T12:25:18.625Z] { [2022-05-10T12:25:18.625Z] "registry-mirrors": [ [2022-05-10T12:25:18.625Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T12:25:18.625Z] ], [2022-05-10T12:25:18.625Z] "bip": "10.250.0.254/24", [2022-05-10T12:25:18.625Z] "hosts": [ [2022-05-10T12:25:18.625Z] "tcp://0.0.0.0:5555", [2022-05-10T12:25:18.625Z] "unix:///var/run/docker.sock" [2022-05-10T12:25:18.625Z] ], [2022-05-10T12:25:18.625Z] "mtu": 1458, [2022-05-10T12:25:18.625Z] "selinux-enabled": true, [2022-05-10T12:25:18.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T12:25:18.625Z] } [Pipeline] sh [2022-05-10T12:25:18.998Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T12:25:19.360Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:25:37.742Z] provisioning config files... [2022-05-10T12:25:37.773Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/22@tmp/config9000140578650057289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:25:38.161Z] ---> docker-login.sh [2022-05-10T12:25:38.161Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:25:38.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:39.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:39.374Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:39.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:39.374Z] [2022-05-10T12:25:39.374Z] Login Succeeded [2022-05-10T12:25:39.374Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:25:39.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:39.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:39.925Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:39.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:39.925Z] [2022-05-10T12:25:39.925Z] Login Succeeded [2022-05-10T12:25:39.925Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:25:40.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:40.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:40.204Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:40.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:40.204Z] [2022-05-10T12:25:40.204Z] Login Succeeded [2022-05-10T12:25:40.204Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:25:40.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:40.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:40.816Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:40.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:40.816Z] [2022-05-10T12:25:40.816Z] Login Succeeded [2022-05-10T12:25:40.816Z] docker.io [2022-05-10T12:25:41.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:41.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:41.696Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:41.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:41.696Z] [2022-05-10T12:25:41.696Z] Login Succeeded [2022-05-10T12:25:41.696Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:25:41.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:25:42.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:25:42.296Z] ========================================================= [2022-05-10T12:25:42.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:25:42.296Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:25:42.686Z] + 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-05-10T12:25:43.291Z] Sending build context to Docker daemon 7.846MB [2022-05-10T12:25:43.291Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:25:43.291Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T12:25:43.584Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:25:43.584Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:25:43.584Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:25:43.584Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:25:43.584Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:25:43.584Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:25:43.584Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:25:43.584Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:25:43.584Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:25:43.584Z] e8cf19c19ddd: Waiting [2022-05-10T12:25:43.584Z] 3096ccb668a1: Waiting [2022-05-10T12:25:43.584Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:25:43.584Z] a4caa8a26152: Waiting [2022-05-10T12:25:43.584Z] 0c92f367c5e7: Waiting [2022-05-10T12:25:43.584Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:25:43.584Z] 94645a83ff95: Download complete [2022-05-10T12:25:43.584Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:25:43.584Z] 1a89e8eeedd5: Download complete [2022-05-10T12:25:43.584Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T12:25:43.584Z] 0c92f367c5e7: Download complete [2022-05-10T12:25:43.584Z] 3096ccb668a1: Verifying Checksum [2022-05-10T12:25:43.584Z] 3096ccb668a1: Download complete [2022-05-10T12:25:43.584Z] 9b3977197b4f: Verifying Checksum [2022-05-10T12:25:43.584Z] 9b3977197b4f: Download complete [2022-05-10T12:25:43.584Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T12:25:43.584Z] e8cf19c19ddd: Download complete [2022-05-10T12:25:44.610Z] 9b3977197b4f: Pull complete [2022-05-10T12:25:45.236Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:25:45.856Z] 94645a83ff95: Pull complete [2022-05-10T12:25:45.856Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:25:45.856Z] a4caa8a26152: Download complete [2022-05-10T12:25:46.852Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:25:46.852Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:26:02.002Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:26:02.002Z] 0c92f367c5e7: Pull complete [2022-05-10T12:26:02.002Z] 3096ccb668a1: Pull complete [2022-05-10T12:26:02.002Z] e8cf19c19ddd: Pull complete [2022-05-10T12:26:10.336Z] a4caa8a26152: Pull complete [2022-05-10T12:26:10.336Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:26:10.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:26:10.336Z] ---> 725f1c02e7f9 [2022-05-10T12:26:10.336Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:26:10.936Z] ---> Running in 86a5895f4cf2 [2022-05-10T12:26:11.215Z] Removing intermediate container 86a5895f4cf2 [2022-05-10T12:26:11.215Z] ---> e8f08f99447d [2022-05-10T12:26:11.215Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:26:11.491Z] ---> Running in 87745136cb5c [2022-05-10T12:26:11.766Z] Removing intermediate container 87745136cb5c [2022-05-10T12:26:11.766Z] ---> 636640a54823 [2022-05-10T12:26:11.766Z] Step 5/11 : WORKDIR /device-gpio [2022-05-10T12:26:11.766Z] ---> Running in 7023ccbd3411 [2022-05-10T12:26:12.041Z] Removing intermediate container 7023ccbd3411 [2022-05-10T12:26:12.041Z] ---> 0909dcc671c0 [2022-05-10T12:26:12.041Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:26:12.319Z] ---> Running in 271724aa12f1 [2022-05-10T12:26:14.304Z] Removing intermediate container 271724aa12f1 [2022-05-10T12:26:14.305Z] ---> 901cae35c246 [2022-05-10T12:26:14.305Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:26:14.305Z] ---> Running in d7e3578899ca [2022-05-10T12:26:15.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:26:16.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:26:17.270Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:26:17.543Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:26:17.543Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:26:17.825Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:26:17.825Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:26:17.825Z] OK: 224 MiB in 56 packages [2022-05-10T12:26:18.813Z] Removing intermediate container d7e3578899ca [2022-05-10T12:26:18.813Z] ---> 596c353c7627 [2022-05-10T12:26:18.813Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T12:26:19.414Z] ---> 31b8f5abd21b [2022-05-10T12:26:19.414Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:26:19.716Z] ---> Running in acb18283b155 [2022-05-10T12:27:56.596Z] Removing intermediate container acb18283b155 [2022-05-10T12:27:56.596Z] ---> 2d0d4dd036f5 [2022-05-10T12:27:56.596Z] Step 10/11 : COPY . . [2022-05-10T12:27:56.596Z] ---> c7bcfd1a6b63 [2022-05-10T12:27:56.596Z] Step 11/11 : RUN ${MAKE} [2022-05-10T12:27:56.596Z] ---> Running in df035fcf663b [2022-05-10T12:27:56.596Z] Removing intermediate container df035fcf663b [2022-05-10T12:27:56.596Z] ---> 88080daac195 [2022-05-10T12:27:56.596Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-10T12:27:56.596Z] Successfully built 88080daac195 [2022-05-10T12:27:56.596Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:27:56.956Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:27:56.956Z] . [Pipeline] withDockerContainer [2022-05-10T12:27:57.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-47721 does not seem to be running inside a container [2022-05-10T12:27:57.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/22 -v /w/workspace/device-gpio/22:/w/workspace/device-gpio/22:rw,z -v /w/workspace/device-gpio/22@tmp:/w/workspace/device-gpio/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:27:58.820Z] $ docker top aa4c65bbd5f3018b21507ef2ab64419e0958b87bdd1a5c8ca787c73f03da3cc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:27:59.775Z] + go version [2022-05-10T12:27:59.775Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:27:59.816Z] $ docker stop --time=1 aa4c65bbd5f3018b21507ef2ab64419e0958b87bdd1a5c8ca787c73f03da3cc9 [2022-05-10T12:28:01.560Z] $ docker rm -f aa4c65bbd5f3018b21507ef2ab64419e0958b87bdd1a5c8ca787c73f03da3cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:28:02.201Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:28:02.201Z] . [Pipeline] withDockerContainer [2022-05-10T12:28:02.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-47721 does not seem to be running inside a container [2022-05-10T12:28:02.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/22 -v /w/workspace/device-gpio/22:/w/workspace/device-gpio/22:rw,z -v /w/workspace/device-gpio/22@tmp:/w/workspace/device-gpio/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:28:03.975Z] $ docker top 0ff78625a3a1b6f3ae27be237446fe8695bee8e40821b42be0d949e883de83eb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:28:04.952Z] + make test [2022-05-10T12:28:04.952Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:28:06.419Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-10T12:29:03.071Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-05-10T12:29:03.071Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-05-10T12:29:03.071Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:29:03.071Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:29:25.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:29:25.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:29:25.277Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:29:25.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:29:25.612Z] $ docker stop --time=1 0ff78625a3a1b6f3ae27be237446fe8695bee8e40821b42be0d949e883de83eb [2022-05-10T12:29:27.418Z] $ docker rm -f 0ff78625a3a1b6f3ae27be237446fe8695bee8e40821b42be0d949e883de83eb [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:29:28.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:29:28.294Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:29:28.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:29:29.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:29:29.562Z] + ls -al . [2022-05-10T12:29:29.563Z] total 188 [2022-05-10T12:29:29.563Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:29 . [2022-05-10T12:29:29.563Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:25 .. [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 120 May 10 12:25 .dockerignore [2022-05-10T12:29:29.563Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:25 .git [2022-05-10T12:29:29.563Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 .github [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 343 May 10 12:25 .gitignore [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:25 .golangci.yml [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 7772 May 10 12:25 Attribution.txt [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 2256 May 10 12:25 CHANGELOG.md [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 1846 May 10 12:25 Dockerfile [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:25 GOVERNANCE.md [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 657 May 10 12:25 Jenkinsfile [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:25 LICENSE [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 1876 May 10 12:25 Makefile [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 617 May 10 12:25 OWNERS.md [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 11178 May 10 12:25 README.md [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION [2022-05-10T12:29:29.563Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 bin [2022-05-10T12:29:29.563Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 cmd [2022-05-10T12:29:29.563Z] -rw-r--r-- 1 jenkins jenkins 10 May 10 12:28 coverage.out [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 2794 May 10 12:25 go.mod [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 70652 May 10 12:25 go.sum [2022-05-10T12:29:29.563Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 internal [2022-05-10T12:29:29.563Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 snap [2022-05-10T12:29:29.563Z] -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:29:29.916Z] + 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=62a7e374fe89ef1773f189236b5a04a3a0761fd9 --label arch=arm64 --label version=2.0.0-dev.11 . [2022-05-10T12:29:30.191Z] Sending build context to Docker daemon 7.847MB [2022-05-10T12:29:30.467Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:29:30.467Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T12:29:30.467Z] ---> 88080daac195 [2022-05-10T12:29:30.467Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:29:30.467Z] ---> Running in 73c5bc6145ce [2022-05-10T12:29:30.747Z] Removing intermediate container 73c5bc6145ce [2022-05-10T12:29:30.747Z] ---> 9db176be19d3 [2022-05-10T12:29:30.747Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:29:31.022Z] ---> Running in 086503332ede [2022-05-10T12:29:31.293Z] Removing intermediate container 086503332ede [2022-05-10T12:29:31.293Z] ---> 5be6749361ef [2022-05-10T12:29:31.293Z] Step 5/25 : WORKDIR /device-gpio [2022-05-10T12:29:31.293Z] ---> Running in 13b1c7562da1 [2022-05-10T12:29:31.897Z] Removing intermediate container 13b1c7562da1 [2022-05-10T12:29:31.897Z] ---> 12a20d955a5e [2022-05-10T12:29:31.897Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:29:31.897Z] ---> Running in 8f8a9c25643b [2022-05-10T12:29:33.888Z] Removing intermediate container 8f8a9c25643b [2022-05-10T12:29:33.888Z] ---> da5c190b36a8 [2022-05-10T12:29:33.888Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:29:33.888Z] ---> Running in 588e43985afa [2022-05-10T12:29:34.871Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:35.845Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:36.892Z] OK: 224 MiB in 56 packages [2022-05-10T12:29:37.528Z] Removing intermediate container 588e43985afa [2022-05-10T12:29:37.528Z] ---> 2590b1749291 [2022-05-10T12:29:37.528Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T12:29:38.133Z] ---> ecae4de07317 [2022-05-10T12:29:38.133Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:29:38.414Z] ---> Running in 80089bd6162b [2022-05-10T12:29:41.100Z] Removing intermediate container 80089bd6162b [2022-05-10T12:29:41.100Z] ---> 00d94500914e [2022-05-10T12:29:41.100Z] Step 10/25 : COPY . . [2022-05-10T12:29:41.701Z] ---> e378ef7fa86c [2022-05-10T12:29:41.701Z] Step 11/25 : RUN ${MAKE} [2022-05-10T12:29:41.983Z] ---> Running in 27664d19640a [2022-05-10T12:29:43.981Z] Removing intermediate container 27664d19640a [2022-05-10T12:29:43.981Z] ---> 87ccd78e2a92 [2022-05-10T12:29:43.981Z] Step 12/25 : FROM alpine:3.15 [2022-05-10T12:29:44.255Z] 3.15: Pulling from library/alpine [2022-05-10T12:29:44.530Z] 9981e73032c8: Pulling fs layer [2022-05-10T12:29:44.805Z] 9981e73032c8: Verifying Checksum [2022-05-10T12:29:44.805Z] 9981e73032c8: Download complete [2022-05-10T12:29:45.412Z] 9981e73032c8: Pull complete [2022-05-10T12:29:45.412Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-10T12:29:45.412Z] Status: Downloaded newer image for alpine:3.15 [2022-05-10T12:29:45.412Z] ---> 3fb3c9af89a9 [2022-05-10T12:29:45.412Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-05-10T12:29:45.412Z] ---> Running in 1d1a8ba7f3b7 [2022-05-10T12:29:46.013Z] Removing intermediate container 1d1a8ba7f3b7 [2022-05-10T12:29:46.013Z] ---> a99ca1604bcd [2022-05-10T12:29:46.013Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:29:46.013Z] ---> Running in 6743a8cd6623 [2022-05-10T12:29:47.453Z] Removing intermediate container 6743a8cd6623 [2022-05-10T12:29:47.453Z] ---> 9bceb4ddf37a [2022-05-10T12:29:47.453Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T12:29:47.729Z] ---> Running in d45622013fcf [2022-05-10T12:29:48.711Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:49.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:50.671Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-05-10T12:29:50.671Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T12:29:50.671Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-10T12:29:50.946Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T12:29:50.946Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T12:29:50.946Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T12:29:50.946Z] OK: 8 MiB in 19 packages [2022-05-10T12:29:51.936Z] Removing intermediate container d45622013fcf [2022-05-10T12:29:51.936Z] ---> 84c83736c589 [2022-05-10T12:29:51.936Z] Step 16/25 : WORKDIR / [2022-05-10T12:29:51.936Z] ---> Running in bcc021139be2 [2022-05-10T12:29:52.529Z] Removing intermediate container bcc021139be2 [2022-05-10T12:29:52.529Z] ---> 4ce634f6fe57 [2022-05-10T12:29:52.529Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-05-10T12:29:53.129Z] ---> abbc064cec1c [2022-05-10T12:29:53.129Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-05-10T12:29:53.726Z] ---> 2ffefd3337a2 [2022-05-10T12:29:53.726Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-05-10T12:29:54.329Z] ---> b001c49d7963 [2022-05-10T12:29:54.329Z] Step 20/25 : EXPOSE 59910 [2022-05-10T12:29:54.329Z] ---> Running in b2433b60b0e2 [2022-05-10T12:29:54.604Z] Removing intermediate container b2433b60b0e2 [2022-05-10T12:29:54.604Z] ---> 3e29c14e0753 [2022-05-10T12:29:54.604Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-05-10T12:29:54.604Z] ---> Running in abcb54c1f51e [2022-05-10T12:29:54.877Z] Removing intermediate container abcb54c1f51e [2022-05-10T12:29:54.877Z] ---> d7a76c25d323 [2022-05-10T12:29:54.877Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:29:55.165Z] ---> Running in 812ff20e8db2 [2022-05-10T12:29:55.438Z] Removing intermediate container 812ff20e8db2 [2022-05-10T12:29:55.438Z] ---> acb8b7c13272 [2022-05-10T12:29:55.438Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T12:29:55.438Z] ---> Running in 91cc26fc0067 [2022-05-10T12:29:55.714Z] Removing intermediate container 91cc26fc0067 [2022-05-10T12:29:55.714Z] ---> 10a95111b980 [2022-05-10T12:29:55.714Z] Step 24/25 : LABEL git_sha=62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:29:55.987Z] ---> Running in 9798c8467821 [2022-05-10T12:29:56.260Z] Removing intermediate container 9798c8467821 [2022-05-10T12:29:56.260Z] ---> 976d8831b815 [2022-05-10T12:29:56.260Z] Step 25/25 : LABEL version=2.0.0-dev.11 [2022-05-10T12:29:56.260Z] ---> Running in 23a923ec0dbb [2022-05-10T12:29:56.534Z] Removing intermediate container 23a923ec0dbb [2022-05-10T12:29:56.534Z] ---> ae50fd22d843 [2022-05-10T12:29:56.534Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-05-10T12:29:56.534Z] Successfully built ae50fd22d843 [2022-05-10T12:29:56.534Z] 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-05-10T12:29:56.655Z] provisioning config files... [2022-05-10T12:29:56.676Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/22@tmp/config8102816366699391841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:29:57.028Z] ---> docker-login.sh [2022-05-10T12:29:57.028Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:29:57.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:29:57.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:29:57.302Z] Configure a credential helper to remove this warning. See [2022-05-10T12:29:57.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:29:57.302Z] [2022-05-10T12:29:57.302Z] Login Succeeded [2022-05-10T12:29:57.577Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:29:57.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:29:57.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:29:57.851Z] Configure a credential helper to remove this warning. See [2022-05-10T12:29:57.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:29:57.851Z] [2022-05-10T12:29:57.851Z] Login Succeeded [2022-05-10T12:29:58.124Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:29:58.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:29:58.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:29:58.671Z] Configure a credential helper to remove this warning. See [2022-05-10T12:29:58.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:29:58.671Z] [2022-05-10T12:29:58.671Z] Login Succeeded [2022-05-10T12:29:58.671Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:29:58.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:29:59.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:29:59.218Z] Configure a credential helper to remove this warning. See [2022-05-10T12:29:59.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:29:59.218Z] [2022-05-10T12:29:59.218Z] Login Succeeded [2022-05-10T12:29:59.218Z] docker.io [2022-05-10T12:29:59.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:30:00.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:30:00.090Z] Configure a credential helper to remove this warning. See [2022-05-10T12:30:00.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:30:00.090Z] [2022-05-10T12:30:00.090Z] Login Succeeded [2022-05-10T12:30:00.090Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:30:00.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:30:00.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:30:00.156Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-05-10T12:30:00.156Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:30:00.156Z] latest [2022-05-10T12:30:00.156Z] 2.0.0-dev.11 [2022-05-10T12:30:00.156Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:30:00.156Z] main [2022-05-10T12:30:00.156Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:00.525Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:00.874Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:30:00.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-05-10T12:30:00.875Z] d52ce96b88f4: Preparing [2022-05-10T12:30:00.875Z] dd94eabafbc1: Preparing [2022-05-10T12:30:00.875Z] 3eccb621ffbb: Preparing [2022-05-10T12:30:00.875Z] 85ba6e334a6b: Preparing [2022-05-10T12:30:00.875Z] 7c8e758d359b: Preparing [2022-05-10T12:30:00.875Z] 4f4ce317c6bb: Preparing [2022-05-10T12:30:00.875Z] 4f4ce317c6bb: Waiting [2022-05-10T12:30:01.153Z] 3eccb621ffbb: Pushed [2022-05-10T12:30:01.153Z] 4f4ce317c6bb: Layer already exists [2022-05-10T12:30:01.153Z] d52ce96b88f4: Pushed [2022-05-10T12:30:01.153Z] 7c8e758d359b: Pushed [2022-05-10T12:30:01.153Z] dd94eabafbc1: Pushed [2022-05-10T12:30:02.136Z] 85ba6e334a6b: Pushed [2022-05-10T12:30:02.136Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9: digest: sha256:ae393533f6b56a56273fcb78a2d761348cc2633f0c1eebd30e18b3878ccbc39d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:02.499Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:02.850Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-05-10T12:30:02.850Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-05-10T12:30:02.850Z] d52ce96b88f4: Preparing [2022-05-10T12:30:02.850Z] dd94eabafbc1: Preparing [2022-05-10T12:30:02.850Z] 3eccb621ffbb: Preparing [2022-05-10T12:30:02.850Z] 85ba6e334a6b: Preparing [2022-05-10T12:30:02.850Z] 7c8e758d359b: Preparing [2022-05-10T12:30:02.850Z] 4f4ce317c6bb: Preparing [2022-05-10T12:30:02.850Z] 4f4ce317c6bb: Waiting [2022-05-10T12:30:03.127Z] 7c8e758d359b: Layer already exists [2022-05-10T12:30:03.127Z] dd94eabafbc1: Layer already exists [2022-05-10T12:30:03.127Z] 85ba6e334a6b: Layer already exists [2022-05-10T12:30:03.127Z] 3eccb621ffbb: Layer already exists [2022-05-10T12:30:03.127Z] d52ce96b88f4: Layer already exists [2022-05-10T12:30:03.127Z] 4f4ce317c6bb: Layer already exists [2022-05-10T12:30:03.127Z] latest: digest: sha256:ae393533f6b56a56273fcb78a2d761348cc2633f0c1eebd30e18b3878ccbc39d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:03.488Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:03.860Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.11 [2022-05-10T12:30:03.860Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-05-10T12:30:03.860Z] d52ce96b88f4: Preparing [2022-05-10T12:30:03.860Z] dd94eabafbc1: Preparing [2022-05-10T12:30:03.860Z] 3eccb621ffbb: Preparing [2022-05-10T12:30:03.860Z] 85ba6e334a6b: Preparing [2022-05-10T12:30:03.860Z] 7c8e758d359b: Preparing [2022-05-10T12:30:03.860Z] 4f4ce317c6bb: Preparing [2022-05-10T12:30:03.860Z] 4f4ce317c6bb: Waiting [2022-05-10T12:30:04.135Z] d52ce96b88f4: Layer already exists [2022-05-10T12:30:04.136Z] 85ba6e334a6b: Layer already exists [2022-05-10T12:30:04.136Z] 7c8e758d359b: Layer already exists [2022-05-10T12:30:04.136Z] 3eccb621ffbb: Layer already exists [2022-05-10T12:30:04.136Z] dd94eabafbc1: Layer already exists [2022-05-10T12:30:04.136Z] 4f4ce317c6bb: Layer already exists [2022-05-10T12:30:04.136Z] 2.0.0-dev.11: digest: sha256:ae393533f6b56a56273fcb78a2d761348cc2633f0c1eebd30e18b3878ccbc39d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:04.500Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:04.854Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:30:04.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-05-10T12:30:04.854Z] d52ce96b88f4: Preparing [2022-05-10T12:30:04.854Z] dd94eabafbc1: Preparing [2022-05-10T12:30:04.854Z] 3eccb621ffbb: Preparing [2022-05-10T12:30:04.854Z] 85ba6e334a6b: Preparing [2022-05-10T12:30:04.854Z] 7c8e758d359b: Preparing [2022-05-10T12:30:04.854Z] 4f4ce317c6bb: Preparing [2022-05-10T12:30:04.854Z] 4f4ce317c6bb: Waiting [2022-05-10T12:30:04.854Z] dd94eabafbc1: Layer already exists [2022-05-10T12:30:04.854Z] d52ce96b88f4: Layer already exists [2022-05-10T12:30:04.854Z] 3eccb621ffbb: Layer already exists [2022-05-10T12:30:04.854Z] 7c8e758d359b: Layer already exists [2022-05-10T12:30:04.854Z] 85ba6e334a6b: Layer already exists [2022-05-10T12:30:05.128Z] 4f4ce317c6bb: Layer already exists [2022-05-10T12:30:05.128Z] 62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11: digest: sha256:ae393533f6b56a56273fcb78a2d761348cc2633f0c1eebd30e18b3878ccbc39d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:05.488Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:05.841Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-05-10T12:30:05.841Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-05-10T12:30:05.841Z] d52ce96b88f4: Preparing [2022-05-10T12:30:05.841Z] dd94eabafbc1: Preparing [2022-05-10T12:30:05.841Z] 3eccb621ffbb: Preparing [2022-05-10T12:30:05.841Z] 85ba6e334a6b: Preparing [2022-05-10T12:30:05.841Z] 7c8e758d359b: Preparing [2022-05-10T12:30:05.841Z] 4f4ce317c6bb: Preparing [2022-05-10T12:30:05.841Z] 4f4ce317c6bb: Waiting [2022-05-10T12:30:06.117Z] 85ba6e334a6b: Layer already exists [2022-05-10T12:30:06.117Z] 3eccb621ffbb: Layer already exists [2022-05-10T12:30:06.117Z] d52ce96b88f4: Layer already exists [2022-05-10T12:30:06.117Z] dd94eabafbc1: Layer already exists [2022-05-10T12:30:06.117Z] 7c8e758d359b: Layer already exists [2022-05-10T12:30:06.117Z] 4f4ce317c6bb: Layer already exists [2022-05-10T12:30:06.117Z] main: digest: sha256:ae393533f6b56a56273fcb78a2d761348cc2633f0c1eebd30e18b3878ccbc39d size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:30:06.228Z] ===================================================== [Pipeline] echo [2022-05-10T12:30:06.238Z] taggedImages: [2022-05-10T12:30:06.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9 [2022-05-10T12:30:06.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-05-10T12:30:06.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.11 [2022-05-10T12:30:06.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:62a7e374fe89ef1773f189236b5a04a3a0761fd9-2.0.0-dev.11 [2022-05-10T12:30:06.238Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:06.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:30:06.615Z] [2022-05-10T12:30:06.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:06.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:30:07.261Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:30:07.261Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:30:07.261Z] 04944245beec: Pulling fs layer [2022-05-10T12:30:07.261Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:30:07.261Z] 765212b225bb: Pulling fs layer [2022-05-10T12:30:07.261Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:30:07.261Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:30:07.261Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:30:07.261Z] 765212b225bb: Waiting [2022-05-10T12:30:07.261Z] f23df028b6ca: Waiting [2022-05-10T12:30:07.261Z] d65c8cfc05b1: Waiting [2022-05-10T12:30:07.261Z] 2437ff75d9bd: Waiting [2022-05-10T12:30:07.261Z] 04944245beec: Verifying Checksum [2022-05-10T12:30:07.261Z] 04944245beec: Download complete [2022-05-10T12:30:07.261Z] 765212b225bb: Verifying Checksum [2022-05-10T12:30:07.261Z] 765212b225bb: Download complete [2022-05-10T12:30:07.261Z] f23df028b6ca: Verifying Checksum [2022-05-10T12:30:07.261Z] f23df028b6ca: Download complete [2022-05-10T12:30:07.540Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:30:07.540Z] d65c8cfc05b1: Download complete [2022-05-10T12:30:07.540Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:30:07.540Z] 699f458cf7ca: Download complete [2022-05-10T12:30:08.139Z] 8998bd30e6a1: Download complete [2022-05-10T12:30:10.131Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T12:30:10.131Z] 2437ff75d9bd: Download complete [2022-05-10T12:30:12.762Z] 8998bd30e6a1: Pull complete [2022-05-10T12:30:13.038Z] 04944245beec: Pull complete [2022-05-10T12:30:14.483Z] 699f458cf7ca: Pull complete [2022-05-10T12:30:15.085Z] 765212b225bb: Pull complete [2022-05-10T12:30:15.687Z] f23df028b6ca: Pull complete [2022-05-10T12:30:15.961Z] d65c8cfc05b1: Pull complete [2022-05-10T12:30:34.458Z] 2437ff75d9bd: Pull complete [2022-05-10T12:30:34.458Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:30:34.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:30:34.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:30:34.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-47721 does not seem to be running inside a container [2022-05-10T12:30:34.800Z] $ 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/22 -v /w/workspace/device-gpio/22:/w/workspace/device-gpio/22:rw,z -v /w/workspace/device-gpio/22@tmp:/w/workspace/device-gpio/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T12:30:37.573Z] $ docker top 65599c8285b7dfde0314cbb03a834271b66999bdba56a5763e3a58f1c815f33e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:30:38.497Z] ---> job-cost.sh [2022-05-10T12:30:38.497Z] lf-activate-venv: SKIPPING [2022-05-10T12:30:38.497Z] INFO: No Stack... [2022-05-10T12:30:39.091Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:30:39.697Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:30:40.362Z] + cat /w/workspace/device-gpio/22/archives/cost.csv [2022-05-10T12:30:40.362Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:30:40.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [2022-05-10T12:30:40.440Z] Resource [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] did not exist. Created. [2022-05-10T12:30:40.441Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:30:41.113Z] /w/workspace/device-gpio/22@tmp/durable-97e5a003/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:30:41.796Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:30:41.826Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:30:41.877Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:30:41.888Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:30:41.931Z] $ docker stop --time=1 65599c8285b7dfde0314cbb03a834271b66999bdba56a5763e3a58f1c815f33e [2022-05-10T12:30:43.437Z] $ docker rm -f 65599c8285b7dfde0314cbb03a834271b66999bdba56a5763e3a58f1c815f33e [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-05-10T12:30:43.967Z] provisioning config files... [2022-05-10T12:30:43.975Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2999892224936907451tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:30:44.271Z] + set +x [2022-05-10T12:30:44.271Z] + bash -s -- [2022-05-10T12:30:44.271Z] + curl -s https://codecov.io/bash [2022-05-10T12:30:44.271Z] [2022-05-10T12:30:44.271Z] _____ _ [2022-05-10T12:30:44.271Z] / ____| | | [2022-05-10T12:30:44.271Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:30:44.271Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:30:44.271Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:30:44.271Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:30:44.271Z] Bash-1.0.6 [2022-05-10T12:30:44.271Z] [2022-05-10T12:30:44.271Z] [2022-05-10T12:30:44.271Z] ==> git version 2.25.1 found [2022-05-10T12:30:44.271Z] ==> 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-05-10T12:30:44.271Z] Release-Date: 2020-01-08 [2022-05-10T12:30:44.271Z] 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-05-10T12:30:44.271Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:30:44.271Z] ==> Jenkins CI detected. [2022-05-10T12:30:44.271Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-05-10T12:30:44.271Z] project root: . [2022-05-10T12:30:44.271Z] --> token set from env [2022-05-10T12:30:44.271Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:30:44.271Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:30:44.271Z] ==> Python coveragepy not found [2022-05-10T12:30:44.271Z] ==> Searching for coverage reports in: [2022-05-10T12:30:44.271Z] + . [2022-05-10T12:30:44.271Z] -> Found 1 reports [2022-05-10T12:30:44.271Z] ==> Detecting git/mercurial file structure [2022-05-10T12:30:44.271Z] ==> Reading reports [2022-05-10T12:30:44.271Z] + ./coverage.out bytes=10 [2022-05-10T12:30:44.271Z] ==> Appending adjustments [2022-05-10T12:30:44.271Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:30:44.530Z] + Found adjustments [2022-05-10T12:30:44.530Z] ==> Gzipping contents [2022-05-10T12:30:44.530Z] 4.0K /tmp/codecov.coYowX.gz [2022-05-10T12:30:44.530Z] ==> Uploading reports [2022-05-10T12:30:44.530Z] url: https://codecov.io [2022-05-10T12:30:44.530Z] query: branch=main&commit=62a7e374fe89ef1773f189236b5a04a3a0761fd9&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:30:44.530Z] -> Pinging Codecov [2022-05-10T12:30:44.530Z] 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=62a7e374fe89ef1773f189236b5a04a3a0761fd9&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:30:44.791Z] -> Uploading to [2022-05-10T12:30:44.791Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/62a7e374fe89ef1773f189236b5a04a3a0761fd9/b478452d-c01c-4ad1-b96d-e46915150ebb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T123044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8bf8dce7b666b3c232226c2955045713dfe5efce375449e22d76ecad702e53e1 [2022-05-10T12:30:44.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:30:44.791Z] Dload Upload Total Spent Left Speed [2022-05-10T12:30:45.051Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3423 --:--:-- --:--:-- --:--:-- 3423 [2022-05-10T12:30:45.051Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] } [2022-05-10T12:30:45.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T12:30:45.194Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T12:30:45.203Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:45.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:30:45.502Z] [2022-05-10T12:30:45.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:30:45.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:30:45.803Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T12:30:45.803Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T12:30:45.803Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T12:30:45.803Z] de9db76c5a1d: Pulling fs layer [2022-05-10T12:30:45.803Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T12:30:45.803Z] 0d57e429df01: Pulling fs layer [2022-05-10T12:30:45.803Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T12:30:45.803Z] e1f770b5df2f: Pulling fs layer [2022-05-10T12:30:45.803Z] 85a0685a4137: Pulling fs layer [2022-05-10T12:30:45.803Z] 0eba1c9be4d2: Waiting [2022-05-10T12:30:45.803Z] 0d57e429df01: Waiting [2022-05-10T12:30:45.803Z] 4e4be7b47b0d: Waiting [2022-05-10T12:30:45.803Z] 85a0685a4137: Waiting [2022-05-10T12:30:45.803Z] e1f770b5df2f: Waiting [2022-05-10T12:30:45.803Z] de9db76c5a1d: Verifying Checksum [2022-05-10T12:30:45.803Z] de9db76c5a1d: Download complete [2022-05-10T12:30:45.803Z] 0ef7d3d256c8: Verifying Checksum [2022-05-10T12:30:45.803Z] 0ef7d3d256c8: Download complete [2022-05-10T12:30:45.803Z] 0d57e429df01: Verifying Checksum [2022-05-10T12:30:45.803Z] 0d57e429df01: Download complete [2022-05-10T12:30:45.803Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T12:30:45.803Z] 4e4be7b47b0d: Download complete [2022-05-10T12:30:45.803Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T12:30:45.803Z] 188c0c94c7c5: Download complete [2022-05-10T12:30:46.063Z] 188c0c94c7c5: Pull complete [2022-05-10T12:30:46.063Z] e1f770b5df2f: Verifying Checksum [2022-05-10T12:30:46.063Z] e1f770b5df2f: Download complete [2022-05-10T12:30:46.063Z] 0ef7d3d256c8: Pull complete [2022-05-10T12:30:46.322Z] de9db76c5a1d: Pull complete [2022-05-10T12:30:46.584Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T12:30:46.584Z] 0eba1c9be4d2: Download complete [2022-05-10T12:30:46.844Z] 85a0685a4137: Verifying Checksum [2022-05-10T12:30:46.844Z] 85a0685a4137: Download complete [2022-05-10T12:30:50.140Z] 0eba1c9be4d2: Pull complete [2022-05-10T12:30:50.140Z] 0d57e429df01: Pull complete [2022-05-10T12:30:50.140Z] 4e4be7b47b0d: Pull complete [2022-05-10T12:30:50.140Z] e1f770b5df2f: Pull complete [2022-05-10T12:30:53.433Z] 85a0685a4137: Pull complete [2022-05-10T12:30:53.433Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T12:30:53.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:30:53.433Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T12:30:53.503Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:30:53.537Z] $ 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-05-10T12:30:56.123Z] $ docker top c58dec5b8b06d173971ebcfbf882bc8ad354c586603bd4f27e805aac95c9781b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T12:30:56.204Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T12:30:56.487Z] + set -o pipefail [2022-05-10T12:30:56.487Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T12:31:00.693Z] [2022-05-10T12:31:00.693Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-05-10T12:31:00.693Z] [2022-05-10T12:31:00.693Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/e22fd088-cbe4-4ff6-b792-c0d9a905eb1e [2022-05-10T12:31:00.693Z] [2022-05-10T12:31:00.693Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-10T12:31:00.693Z] [2022-05-10T12:31:00.693Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T12:31:00.693Z] [2022-05-10T12:31:00.693Z] [Pipeline] } [2022-05-10T12:31:00.710Z] $ docker stop --time=1 c58dec5b8b06d173971ebcfbf882bc8ad354c586603bd4f27e805aac95c9781b [2022-05-10T12:31:02.377Z] $ docker rm -f c58dec5b8b06d173971ebcfbf882bc8ad354c586603bd4f27e805aac95c9781b [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-05-10T12:31:03.051Z] + git log --format=format:%s -1 62a7e374fe89ef1773f189236b5a04a3a0761fd9 [Pipeline] sh [2022-05-10T12:31:03.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:31:03.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:03.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:31:03.654Z] . [Pipeline] withDockerContainer [2022-05-10T12:31:03.726Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:31:03.768Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:31:04.206Z] $ docker top ce13eb52f9c4a1dac0deefecf4e3e0064809843462ecf0eec4d4f59f0db2743a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:31:04.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:31:04.302Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:31:04.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:31:04.443Z] $ docker exec ce13eb52f9c4a1dac0deefecf4e3e0064809843462ecf0eec4d4f59f0db2743a ssh-agent [2022-05-10T12:31:04.575Z] SSH_AUTH_SOCK=/tmp/ssh-yHKoclii4Er5/agent.34 [2022-05-10T12:31:04.575Z] SSH_AGENT_PID=40 [2022-05-10T12:31:04.582Z] Running ssh-add (command line suppressed) [2022-05-10T12:31:04.706Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8609313626648910675.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8609313626648910675.key) [2022-05-10T12:31:04.719Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:31:05.007Z] + git semver tag [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,211 [run_tag] DEBUG tag force:False [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,211 [check_head_tag] DEBUG check head tag [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,212 [execute] INFO git cat-file --batch-check [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,217 [execute] INFO git cat-file --batch [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,228 [execute] INFO git tag -a v2.0.0-dev.11 -m v2.0.0-dev.11 [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.0.0-dev.11', '-m', 'v2.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:31:05.267Z] 2022-05-10 12:31:05,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:05.267Z] 2.0.0-dev.11 [Pipeline] } [2022-05-10T12:31:05.280Z] $ docker exec --env ******** --env ******** ce13eb52f9c4a1dac0deefecf4e3e0064809843462ecf0eec4d4f59f0db2743a ssh-agent -k [2022-05-10T12:31:05.395Z] unset SSH_AUTH_SOCK; [2022-05-10T12:31:05.395Z] unset SSH_AGENT_PID; [2022-05-10T12:31:05.395Z] echo Agent pid 40 killed; [2022-05-10T12:31:05.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:31:05.724Z] + git semver [Pipeline] } [2022-05-10T12:31:06.003Z] $ docker stop --time=1 ce13eb52f9c4a1dac0deefecf4e3e0064809843462ecf0eec4d4f59f0db2743a [2022-05-10T12:31:07.335Z] $ docker rm -f ce13eb52f9c4a1dac0deefecf4e3e0064809843462ecf0eec4d4f59f0db2743a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:07.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:31:07.772Z] [2022-05-10T12:31:07.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:08.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:31:08.072Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T12:31:08.072Z] ab5ef0e58194: Pulling fs layer [2022-05-10T12:31:08.072Z] 9712f1f96733: Pulling fs layer [2022-05-10T12:31:08.072Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T12:31:08.072Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T12:31:08.072Z] e9a5061849ea: Pulling fs layer [2022-05-10T12:31:08.072Z] d747dcd14b5f: Pulling fs layer [2022-05-10T12:31:08.072Z] 2de7ff778b66: Pulling fs layer [2022-05-10T12:31:08.072Z] e9a5061849ea: Waiting [2022-05-10T12:31:08.072Z] d747dcd14b5f: Waiting [2022-05-10T12:31:08.072Z] 2de7ff778b66: Waiting [2022-05-10T12:31:08.072Z] 0d9ebad4ef96: Waiting [2022-05-10T12:31:08.072Z] 9712f1f96733: Verifying Checksum [2022-05-10T12:31:08.072Z] 9712f1f96733: Download complete [2022-05-10T12:31:08.334Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T12:31:08.334Z] 63f879dbbcfc: Download complete [2022-05-10T12:31:08.594Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T12:31:08.594Z] 0d9ebad4ef96: Download complete [2022-05-10T12:31:08.594Z] e9a5061849ea: Verifying Checksum [2022-05-10T12:31:08.594Z] e9a5061849ea: Download complete [2022-05-10T12:31:08.594Z] d747dcd14b5f: Download complete [2022-05-10T12:31:08.594Z] ab5ef0e58194: Verifying Checksum [2022-05-10T12:31:08.594Z] ab5ef0e58194: Download complete [2022-05-10T12:31:08.854Z] 2de7ff778b66: Verifying Checksum [2022-05-10T12:31:08.854Z] 2de7ff778b66: Download complete [2022-05-10T12:31:11.389Z] ab5ef0e58194: Pull complete [2022-05-10T12:31:11.389Z] 9712f1f96733: Pull complete [2022-05-10T12:31:11.957Z] 63f879dbbcfc: Pull complete [2022-05-10T12:31:16.151Z] 0d9ebad4ef96: Pull complete [2022-05-10T12:31:16.151Z] e9a5061849ea: Pull complete [2022-05-10T12:31:16.151Z] d747dcd14b5f: Pull complete [2022-05-10T12:31:17.529Z] 2de7ff778b66: Pull complete [2022-05-10T12:31:17.529Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T12:31:17.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:31:17.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T12:31:17.591Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:31:17.625Z] $ 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-05-10T12:31:19.836Z] $ docker top b6a0ad0e57a89bfd3c31f82a95384d1b54bba3d5a079f77496251e895dfcd760 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:31:19.916Z] provisioning config files... [2022-05-10T12:31:19.924Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5857495018183253330tmp [2022-05-10T12:31:19.935Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config615330680662909403tmp [2022-05-10T12:31:19.945Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5398926888496936085tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:31:19.959Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:20.242Z] ---> sigul-configuration.sh [2022-05-10T12:31:20.242Z] gpg: directory `/root/.gnupg' created [2022-05-10T12:31:20.242Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T12:31:20.242Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T12:31:20.242Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T12:31:20.242Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T12:31:20.242Z] gpg: CAST5 encrypted data [2022-05-10T12:31:20.242Z] gpg: encrypted with 1 passphrase [2022-05-10T12:31:20.242Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T12:31:20.530Z] + mkdir /home/jenkins [2022-05-10T12:31:20.530Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T12:31:20.818Z] + 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-05-10T12:31:20.827Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:21.114Z] ---> sigul-install.sh [2022-05-10T12:31:21.114Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T12:31:21.403Z] + git tag --list [2022-05-10T12:31:21.403Z] v0.0.0 [2022-05-10T12:31:21.403Z] v1.0.0 [2022-05-10T12:31:21.403Z] v1.0.1-dev.1 [2022-05-10T12:31:21.403Z] v1.0.1-dev.2 [2022-05-10T12:31:21.403Z] v1.0.1-dev.3 [2022-05-10T12:31:21.403Z] v1.0.1-dev.4 [2022-05-10T12:31:21.403Z] v1.0.1-dev.5 [2022-05-10T12:31:21.403Z] v1.0.1-dev.6 [2022-05-10T12:31:21.403Z] v2.0.0-dev.1 [2022-05-10T12:31:21.403Z] v2.0.0-dev.10 [2022-05-10T12:31:21.403Z] v2.0.0-dev.11 [2022-05-10T12:31:21.403Z] v2.0.0-dev.2 [2022-05-10T12:31:21.403Z] v2.0.0-dev.3 [2022-05-10T12:31:21.403Z] v2.0.0-dev.4 [2022-05-10T12:31:21.403Z] v2.0.0-dev.5 [2022-05-10T12:31:21.403Z] v2.0.0-dev.6 [2022-05-10T12:31:21.403Z] v2.0.0-dev.7 [2022-05-10T12:31:21.403Z] v2.0.0-dev.8 [2022-05-10T12:31:21.403Z] v2.0.0-dev.9 [2022-05-10T12:31:21.403Z] v2.1.0 [Pipeline] sh [2022-05-10T12:31:21.695Z] + lftools sign git-tag v2.0.0-dev.11 [2022-05-10T12:31:22.266Z] Signing Git tag with Sigul... [2022-05-10T12:31:22.266Z] Signing v2.0.0-dev.11 [Pipeline] echo [2022-05-10T12:31:22.539Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:22.823Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T12:31:22.831Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T12:31:22.853Z] $ docker stop --time=1 b6a0ad0e57a89bfd3c31f82a95384d1b54bba3d5a079f77496251e895dfcd760 [2022-05-10T12:31:24.180Z] $ docker rm -f b6a0ad0e57a89bfd3c31f82a95384d1b54bba3d5a079f77496251e895dfcd760 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T12:31:24.582Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:31:24.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:24.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:31:24.881Z] . [Pipeline] withDockerContainer [2022-05-10T12:31:24.952Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:31:24.995Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:31:25.386Z] $ docker top c8e2c8003d76d54d5d95e735b50cfd7df22af5a0c2400b504c4cc3cc57f79329 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:31:25.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:31:25.477Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:31:25.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:31:25.609Z] $ docker exec c8e2c8003d76d54d5d95e735b50cfd7df22af5a0c2400b504c4cc3cc57f79329 ssh-agent [2022-05-10T12:31:25.717Z] SSH_AUTH_SOCK=/tmp/ssh-ZqKp8RYSF1D9/agent.32 [2022-05-10T12:31:25.717Z] SSH_AGENT_PID=38 [2022-05-10T12:31:25.722Z] Running ssh-add (command line suppressed) [2022-05-10T12:31:25.842Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5514657107760114227.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5514657107760114227.key) [2022-05-10T12:31:25.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:31:26.152Z] + git semver bump pre [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [bump_version] DEBUG bumping version:2.0.0-dev.11 on axis:pre with prefix:dev [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [bump_version] DEBUG bumped version:2.0.0-dev.12 [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [write_version] DEBUG write version:2.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,344 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,346 [execute] INFO git cat-file --batch-check [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,352 [execute] INFO git cat-file --batch [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:31:26.413Z] 2022-05-10 12:31:26,358 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:26.413Z] 2.0.0-dev.12 [Pipeline] } [2022-05-10T12:31:26.427Z] $ docker exec --env ******** --env ******** c8e2c8003d76d54d5d95e735b50cfd7df22af5a0c2400b504c4cc3cc57f79329 ssh-agent -k [2022-05-10T12:31:26.533Z] unset SSH_AUTH_SOCK; [2022-05-10T12:31:26.533Z] unset SSH_AGENT_PID; [2022-05-10T12:31:26.533Z] echo Agent pid 38 killed; [2022-05-10T12:31:26.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:31:26.846Z] + git semver [Pipeline] } [2022-05-10T12:31:27.123Z] $ docker stop --time=1 c8e2c8003d76d54d5d95e735b50cfd7df22af5a0c2400b504c4cc3cc57f79329 [2022-05-10T12:31:28.466Z] $ docker rm -f c8e2c8003d76d54d5d95e735b50cfd7df22af5a0c2400b504c4cc3cc57f79329 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:31:28.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:31:28.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:29.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:31:29.096Z] . [Pipeline] withDockerContainer [2022-05-10T12:31:29.160Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:31:29.195Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:31:29.561Z] $ docker top 8d4ec5286bc86336675e5d2eee7cac00c043bdceb45afcf39365c093c515295b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:31:29.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:31:29.654Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:31:29.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:31:29.776Z] $ docker exec 8d4ec5286bc86336675e5d2eee7cac00c043bdceb45afcf39365c093c515295b ssh-agent [2022-05-10T12:31:29.892Z] SSH_AUTH_SOCK=/tmp/ssh-yjSJGXaPExZV/agent.32 [2022-05-10T12:31:29.892Z] SSH_AGENT_PID=38 [2022-05-10T12:31:29.897Z] Running ssh-add (command line suppressed) [2022-05-10T12:31:30.012Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8708287802212926381.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8708287802212926381.key) [2022-05-10T12:31:30.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:31:30.315Z] + git semver push [2022-05-10T12:31:30.577Z] 2022-05-10 12:31:30,525 [run_push] DEBUG push [2022-05-10T12:31:30.577Z] 2022-05-10 12:31:30,525 [execute] INFO git push origin semver [2022-05-10T12:31:30.577Z] 2022-05-10 12:31:30,525 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:31:31.519Z] 2022-05-10 12:31:31,334 [run_push] DEBUG push all version tags [2022-05-10T12:31:31.519Z] 2022-05-10 12:31:31,334 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T12:31:31.519Z] 2022-05-10 12:31:31,334 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:31:32.461Z] 2022-05-10 12:31:32,241 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-05-10T12:31:32.461Z] 2.0.0-dev.12 [Pipeline] } [2022-05-10T12:31:32.474Z] $ docker exec --env ******** --env ******** 8d4ec5286bc86336675e5d2eee7cac00c043bdceb45afcf39365c093c515295b ssh-agent -k [2022-05-10T12:31:32.574Z] unset SSH_AUTH_SOCK; [2022-05-10T12:31:32.575Z] unset SSH_AGENT_PID; [2022-05-10T12:31:32.575Z] echo Agent pid 38 killed; [2022-05-10T12:31:32.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:31:32.887Z] + git semver [Pipeline] } [2022-05-10T12:31:33.164Z] $ docker stop --time=1 8d4ec5286bc86336675e5d2eee7cac00c043bdceb45afcf39365c093c515295b [2022-05-10T12:31:34.455Z] $ docker rm -f 8d4ec5286bc86336675e5d2eee7cac00c043bdceb45afcf39365c093c515295b [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-05-10T12:31:35.187Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-05-10T12:31:35.187Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-05-10T12:31:35.187Z] total 16 [2022-05-10T12:31:35.187Z] drwxr-xr-x 3 root root 4096 May 10 12:15 . [2022-05-10T12:31:35.187Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:31 .. [2022-05-10T12:31:35.187Z] drwxr-xr-x 2 root root 4096 May 10 12:15 cost [2022-05-10T12:31:35.187Z] -rw-r--r-- 1 root root 81 May 10 12:15 cost.csv [2022-05-10T12:31:35.187Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-05-10T12:31:35.187Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-05-10T12:31:35.187Z] total 16 [2022-05-10T12:31:35.187Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:15 . [2022-05-10T12:31:35.187Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:31 .. [2022-05-10T12:31:35.187Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:15 cost [2022-05-10T12:31:35.187Z] -rw-r--r-- 1 jenkins jenkins 81 May 10 12:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:35.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:36.348Z] ---> package-listing.sh [2022-05-10T12:31:36.348Z] ++ facter osfamily [2022-05-10T12:31:36.348Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:31:36.609Z] + OS_FAMILY=debian [2022-05-10T12:31:36.609Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-05-10T12:31:36.609Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:31:36.609Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:31:36.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:31:36.609Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:31:36.609Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-05-10T12:31:36.609Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:31:36.609Z] + case "${OS_FAMILY}" in [2022-05-10T12:31:36.609Z] + dpkg -l [2022-05-10T12:31:36.609Z] + grep '^ii' [2022-05-10T12:31:36.609Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:31:36.609Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:31:36.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:31:36.609Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-05-10T12:31:36.609Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-05-10T12:31:36.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-05-10T12:31:36.622Z] 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-05-10T12:31:36.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:31:37.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:31:37.461Z] . [Pipeline] withDockerContainer [2022-05-10T12:31:37.527Z] prd-ubuntu20.04-docker-8c-8g-47568 does not seem to be running inside a container [2022-05-10T12:31:37.569Z] $ 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-05-10T12:31:37.807Z] $ docker top 2df18da1b0ba56ae555a88160f1b21363187d051aa05224ff5a5533bb134574d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:31:38.165Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:31:38.461Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:31:38.751Z] + ls /var/log/sa-host [2022-05-10T12:31:38.751Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:31:38.962Z] provisioning config files... [2022-05-10T12:31:38.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7565176956828026159tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:31:38.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:39.270Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:31:39.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:39.630Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:31:39.640Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:39.926Z] ---> sudo-logs.sh [2022-05-10T12:31:39.926Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:31:39.947Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:40.231Z] ---> job-cost.sh [2022-05-10T12:31:40.231Z] lf-activate-venv: SKIPPING [2022-05-10T12:31:40.231Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:31:40.231Z] INFO: Retrieving Stack Cost... [2022-05-10T12:31:40.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:31:41.063Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:31:41.078Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:31:41.362Z] ---> logs-deploy.sh [2022-05-10T12:31:41.362Z] lf-activate-venv: SKIPPING [2022-05-10T12:31:41.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/22 [2022-05-10T12:31:41.363Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:31:42.307Z] Archives upload complete. [2022-05-10T12:31:42.307Z] INFO: archiving logs to Nexus