Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5484f883e7ca8c4d12e7326cabafe33807e184e7 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-ssh15296191049083263391.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4028195467565975460.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16492541044669112958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh14888605887665068304.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8100595820383749865.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [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-15666 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 5484f883e7ca8c4d12e7326cabafe33807e184e7 (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 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 Commit message: "Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T02:05:21.382Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T02:05:21.434Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T02:05:21.454Z] ========================================================= [2022-06-27T02:05:21.454Z] EdgeX Global Pipelines Version Info [2022-06-27T02:05:21.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:22.214Z] ------------------- [2022-06-27T02:05:22.214Z] stable info: [2022-06-27T02:05:22.214Z] ------------------- [2022-06-27T02:05:22.214Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T02:05:22.214Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:05:22.214Z] Message: update stable to v1.0.234 [2022-06-27T02:05:22.786Z] ------------------- [2022-06-27T02:05:22.786Z] experimental info: [2022-06-27T02:05:22.786Z] ------------------- [2022-06-27T02:05:22.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T02:05:22.786Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:05:22.786Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T02:05:23.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-27T02:05:23.062Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-27T02:05:23.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T02:05:23.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T02:05:23.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T02:05:23.108Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T02:05:23.120Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T02:05:23.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T02:05:23.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T02:05:23.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T02:05:23.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T02:05:23.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-27T02:05:23.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T02:05:23.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T02:05:23.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:05:23.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:05:23.250Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:05:23.261Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:05:23.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T02:05:23.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T02:05:23.295Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T02:05:23.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T02:05:23.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T02:05:23.332Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T02:05:23.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T02:05:23.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T02:05:23.364Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T02:05:23.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-27T02:05:23.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-27T02:05:23.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-27T02:05:23.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo [2022-06-27T02:05:23.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5484f88 [Pipeline] echo [2022-06-27T02:05:23.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:05:23.479Z] provisioning config files... [2022-06-27T02:05:23.491Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5998172054348761181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:23.806Z] ---> docker-login.sh [2022-06-27T02:05:23.806Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:05:24.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:24.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:24.070Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:24.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:24.070Z] [2022-06-27T02:05:24.070Z] Login Succeeded [2022-06-27T02:05:24.070Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:05:24.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:24.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:24.333Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:24.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:24.333Z] [2022-06-27T02:05:24.333Z] Login Succeeded [2022-06-27T02:05:24.333Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:05:24.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:24.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:24.594Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:24.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:24.594Z] [2022-06-27T02:05:24.594Z] Login Succeeded [2022-06-27T02:05:24.594Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:05:24.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:24.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:24.594Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:24.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:24.594Z] [2022-06-27T02:05:24.594Z] Login Succeeded [2022-06-27T02:05:24.594Z] docker.io [2022-06-27T02:05:24.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:25.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:25.165Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:25.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:25.165Z] [2022-06-27T02:05:25.165Z] Login Succeeded [2022-06-27T02:05:25.165Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:05:25.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T02:05:25.539Z] + git rev-list -1 --merges 5484f883e7ca8c4d12e7326cabafe33807e184e7~1..5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo [2022-06-27T02:05:25.569Z] -----------> git rev-list -1 --merges 5484f883e7ca8c4d12e7326cabafe33807e184e7~1..5484f883e7ca8c4d12e7326cabafe33807e184e7 5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:05:25.569Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7 [false] [Pipeline] sh [2022-06-27T02:05:25.866Z] + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo [2022-06-27T02:05:25.880Z] ========================================================= [2022-06-27T02:05:25.880Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T02:05:25.880Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:05:26.215Z] + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo [2022-06-27T02:05:26.227Z] [semverPrep] GIT_COMMIT: 5484f883e7ca8c4d12e7326cabafe33807e184e7, Commit Message: Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo [2022-06-27T02:05:26.236Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T02:05:26.584Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T02:05:26.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T02:05:26.584Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T02:05:26.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T02:05:26.584Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T02:05:26.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T02:05:26.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:26.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:26.942Z] [2022-06-27T02:05:26.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:27.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:27.253Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T02:05:27.253Z] 42c077c10790: Pulling fs layer [2022-06-27T02:05:27.253Z] f63e77b7563a: Pulling fs layer [2022-06-27T02:05:27.253Z] bd5fdadae976: Pulling fs layer [2022-06-27T02:05:27.253Z] 205491f53016: Pulling fs layer [2022-06-27T02:05:27.253Z] df18705c85c3: Pulling fs layer [2022-06-27T02:05:27.253Z] bdb3f477010e: Pulling fs layer [2022-06-27T02:05:27.253Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T02:05:27.253Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T02:05:27.253Z] bdb8f0575790: Pulling fs layer [2022-06-27T02:05:27.253Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T02:05:27.253Z] 2343380bae48: Pulling fs layer [2022-06-27T02:05:27.253Z] c8a8fc8e1c8f: Waiting [2022-06-27T02:05:27.253Z] bdb8f0575790: Waiting [2022-06-27T02:05:27.253Z] 2c6e9b1d212d: Waiting [2022-06-27T02:05:27.253Z] 205491f53016: Waiting [2022-06-27T02:05:27.253Z] 386e3cb2ff24: Waiting [2022-06-27T02:05:27.253Z] bdb3f477010e: Waiting [2022-06-27T02:05:27.253Z] df18705c85c3: Waiting [2022-06-27T02:05:27.253Z] 2343380bae48: Waiting [2022-06-27T02:05:27.253Z] f63e77b7563a: Download complete [2022-06-27T02:05:27.253Z] 205491f53016: Verifying Checksum [2022-06-27T02:05:27.253Z] 205491f53016: Download complete [2022-06-27T02:05:27.253Z] df18705c85c3: Verifying Checksum [2022-06-27T02:05:27.253Z] df18705c85c3: Download complete [2022-06-27T02:05:27.514Z] bd5fdadae976: Verifying Checksum [2022-06-27T02:05:27.514Z] bd5fdadae976: Download complete [2022-06-27T02:05:27.514Z] bdb3f477010e: Download complete [2022-06-27T02:05:27.514Z] 2c6e9b1d212d: Download complete [2022-06-27T02:05:27.514Z] bdb8f0575790: Verifying Checksum [2022-06-27T02:05:27.514Z] bdb8f0575790: Download complete [2022-06-27T02:05:27.514Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T02:05:27.514Z] 386e3cb2ff24: Download complete [2022-06-27T02:05:27.514Z] 2343380bae48: Download complete [2022-06-27T02:05:27.514Z] 42c077c10790: Verifying Checksum [2022-06-27T02:05:27.514Z] 42c077c10790: Download complete [2022-06-27T02:05:27.775Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T02:05:27.776Z] c8a8fc8e1c8f: Download complete [2022-06-27T02:05:29.155Z] 42c077c10790: Pull complete [2022-06-27T02:05:29.155Z] f63e77b7563a: Pull complete [2022-06-27T02:05:29.722Z] bd5fdadae976: Pull complete [2022-06-27T02:05:29.722Z] 205491f53016: Pull complete [2022-06-27T02:05:29.983Z] df18705c85c3: Pull complete [2022-06-27T02:05:30.242Z] bdb3f477010e: Pull complete [2022-06-27T02:05:32.153Z] c8a8fc8e1c8f: Pull complete [2022-06-27T02:05:32.153Z] 2c6e9b1d212d: Pull complete [2022-06-27T02:05:32.415Z] bdb8f0575790: Pull complete [2022-06-27T02:05:32.415Z] 386e3cb2ff24: Pull complete [2022-06-27T02:05:32.415Z] 2343380bae48: Pull complete [2022-06-27T02:05:32.415Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T02:05:32.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:32.677Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:05:32.788Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:05:32.827Z] $ 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:0.1.4 cat [2022-06-27T02:05:34.562Z] $ docker top caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 -eo pid,comm [2022-06-27T02:05:34.632Z] 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-06-27T02:05:34.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T02:05:34.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:05:34.668Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:05:34.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:05:34.813Z] $ docker exec caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent [2022-06-27T02:05:34.937Z] SSH_AUTH_SOCK=/tmp/ssh-MoUUokLWSzBy/agent.33 [2022-06-27T02:05:34.937Z] SSH_AGENT_PID=39 [2022-06-27T02:05:34.944Z] Running ssh-add (command line suppressed) [2022-06-27T02:05:35.073Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2654145428348662366.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2654145428348662366.key) [2022-06-27T02:05:35.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:05:35.380Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T02:05:35.405Z] $ docker exec --env ******** --env ******** caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent -k [2022-06-27T02:05:35.534Z] unset SSH_AUTH_SOCK; [2022-06-27T02:05:35.535Z] unset SSH_AGENT_PID; [2022-06-27T02:05:35.535Z] echo Agent pid 39 killed; [2022-06-27T02:05:35.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T02:05:35.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:05:35.571Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:05:35.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:05:35.701Z] $ docker exec caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent [2022-06-27T02:05:35.830Z] SSH_AUTH_SOCK=/tmp/ssh-iQr3139E4U4z/agent.72 [2022-06-27T02:05:35.830Z] SSH_AGENT_PID=78 [2022-06-27T02:05:35.835Z] Running ssh-add (command line suppressed) [2022-06-27T02:05:35.962Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1600742300180419414.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1600742300180419414.key) [2022-06-27T02:05:35.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:05:36.278Z] + git semver init [2022-06-27T02:05:36.541Z] 2022-06-27 02:05:36,493 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T02:05:36.541Z] 2022-06-27 02:05:36,494 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-27T02:05:36.541Z] 2022-06-27 02:05:36,494 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-27T02:05:36.541Z] 2022-06-27 02:05:36,495 [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-06-27T02:05:37.481Z] 2022-06-27 02:05:37,319 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-06-27T02:05:37.481Z] 2022-06-27 02:05:37,320 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-06-27T02:05:37.481Z] 2022-06-27 02:05:37,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-27T02:05:37.481Z] 2022-06-27 02:05:37,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-27T02:05:37.481Z] 2.2.1-dev.1 [Pipeline] } [2022-06-27T02:05:37.495Z] $ docker exec --env ******** --env ******** caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent -k [2022-06-27T02:05:37.622Z] unset SSH_AUTH_SOCK; [2022-06-27T02:05:37.622Z] unset SSH_AGENT_PID; [2022-06-27T02:05:37.622Z] echo Agent pid 78 killed; [2022-06-27T02:05:37.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T02:05:37.935Z] + git semver [Pipeline] } [2022-06-27T02:05:38.215Z] $ docker stop --time=1 caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 [2022-06-27T02:05:39.595Z] $ docker rm -f caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:05:39.941Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T02:05:40.217Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T02:05:40.219Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:05:40.370Z] provisioning config files... [2022-06-27T02:05:40.380Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2473218597352348517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:40.677Z] ---> docker-login.sh [2022-06-27T02:05:40.677Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:05:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:40.677Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:40.677Z] [2022-06-27T02:05:40.677Z] Login Succeeded [2022-06-27T02:05:40.677Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:05:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:40.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:40.938Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:40.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:40.938Z] [2022-06-27T02:05:40.938Z] Login Succeeded [2022-06-27T02:05:40.938Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:05:40.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:40.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:40.938Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:40.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:40.939Z] [2022-06-27T02:05:40.939Z] Login Succeeded [2022-06-27T02:05:40.939Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:05:40.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:41.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:41.199Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:41.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:41.199Z] [2022-06-27T02:05:41.199Z] Login Succeeded [2022-06-27T02:05:41.199Z] docker.io [2022-06-27T02:05:41.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:41.464Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:41.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:41.464Z] [2022-06-27T02:05:41.464Z] Login Succeeded [2022-06-27T02:05:41.464Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:05:41.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:05:41.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:05:41.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:05:41.555Z] ========================================================= [2022-06-27T02:05:41.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T02:05:41.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:41.884Z] + 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-06-27T02:05:41.884Z] Sending build context to Docker daemon 15.74MB [2022-06-27T02:05:41.884Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:05:41.884Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:05:41.884Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T02:05:41.884Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T02:05:41.884Z] 666ba61612fd: Pulling fs layer [2022-06-27T02:05:41.884Z] 8ed8ca486205: Pulling fs layer [2022-06-27T02:05:41.884Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T02:05:41.884Z] c516ae0d96e1: Pulling fs layer [2022-06-27T02:05:41.884Z] 684cea983483: Pulling fs layer [2022-06-27T02:05:41.884Z] dd3240ac7de5: Pulling fs layer [2022-06-27T02:05:41.884Z] b1e948a4e11c: Pulling fs layer [2022-06-27T02:05:41.884Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T02:05:41.884Z] 646ad004c059: Pulling fs layer [2022-06-27T02:05:41.884Z] cc1cd167ecdc: Waiting [2022-06-27T02:05:41.884Z] c516ae0d96e1: Waiting [2022-06-27T02:05:41.884Z] 684cea983483: Waiting [2022-06-27T02:05:41.884Z] dd3240ac7de5: Waiting [2022-06-27T02:05:41.884Z] b1e948a4e11c: Waiting [2022-06-27T02:05:41.884Z] a8fd76ee1af6: Waiting [2022-06-27T02:05:41.884Z] 646ad004c059: Waiting [2022-06-27T02:05:42.146Z] 8ed8ca486205: Download complete [2022-06-27T02:05:42.146Z] 666ba61612fd: Download complete [2022-06-27T02:05:42.146Z] c516ae0d96e1: Verifying Checksum [2022-06-27T02:05:42.146Z] c516ae0d96e1: Download complete [2022-06-27T02:05:42.146Z] 684cea983483: Download complete [2022-06-27T02:05:42.146Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T02:05:42.146Z] 59bf1c3509f3: Download complete [2022-06-27T02:05:42.146Z] b1e948a4e11c: Verifying Checksum [2022-06-27T02:05:42.146Z] b1e948a4e11c: Download complete [2022-06-27T02:05:42.146Z] 59bf1c3509f3: Pull complete [2022-06-27T02:05:42.407Z] 666ba61612fd: Pull complete [2022-06-27T02:05:42.407Z] 8ed8ca486205: Pull complete [2022-06-27T02:05:42.407Z] 646ad004c059: Download complete [2022-06-27T02:05:42.668Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T02:05:42.668Z] a8fd76ee1af6: Download complete [2022-06-27T02:05:42.928Z] cc1cd167ecdc: Download complete [2022-06-27T02:05:47.130Z] cc1cd167ecdc: Pull complete [2022-06-27T02:05:47.130Z] c516ae0d96e1: Pull complete [2022-06-27T02:05:47.130Z] 684cea983483: Pull complete [2022-06-27T02:05:47.130Z] dd3240ac7de5: Pull complete [2022-06-27T02:05:47.130Z] b1e948a4e11c: Pull complete [2022-06-27T02:05:49.664Z] a8fd76ee1af6: Pull complete [2022-06-27T02:05:49.925Z] 646ad004c059: Pull complete [2022-06-27T02:05:49.925Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T02:05:49.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T02:05:49.925Z] ---> 8f69c11f6b0c [2022-06-27T02:05:49.925Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T02:05:51.843Z] ---> Running in 90b266c8c6da [2022-06-27T02:05:52.103Z] Removing intermediate container 90b266c8c6da [2022-06-27T02:05:52.103Z] ---> ea50e5fdc4a6 [2022-06-27T02:05:52.103Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:05:52.103Z] ---> Running in cdc1079afa44 [2022-06-27T02:05:52.103Z] Removing intermediate container cdc1079afa44 [2022-06-27T02:05:52.103Z] ---> 812d16750dae [2022-06-27T02:05:52.103Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:05:52.363Z] ---> Running in 5e202484b5a8 [2022-06-27T02:05:52.364Z] Removing intermediate container 5e202484b5a8 [2022-06-27T02:05:52.364Z] ---> 9822001647df [2022-06-27T02:05:52.364Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T02:05:52.364Z] ---> Running in 257e8b4478c9 [2022-06-27T02:05:52.364Z] Removing intermediate container 257e8b4478c9 [2022-06-27T02:05:52.364Z] ---> 881de55d8ec8 [2022-06-27T02:05:52.364Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:05:52.624Z] ---> Running in a68234cef709 [2022-06-27T02:05:53.194Z] Removing intermediate container a68234cef709 [2022-06-27T02:05:53.194Z] ---> ae6459f89470 [2022-06-27T02:05:53.194Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:05:53.194Z] ---> Running in 050f928b51d1 [2022-06-27T02:05:53.455Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:05:54.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:05:54.665Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:05:54.665Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:05:54.665Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:05:54.940Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:05:54.940Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:05:54.940Z] OK: 224 MiB in 56 packages [2022-06-27T02:05:55.326Z] Still waiting to schedule task [2022-06-27T02:05:55.327Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-27T02:05:55.526Z] Removing intermediate container 050f928b51d1 [2022-06-27T02:05:55.526Z] ---> 7288f4fe412e [2022-06-27T02:05:55.526Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T02:05:55.526Z] ---> d4aa2ee0dd53 [2022-06-27T02:05:55.526Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:05:55.526Z] ---> Running in 74e6e41d6a57 [2022-06-27T02:06:13.659Z] Removing intermediate container 74e6e41d6a57 [2022-06-27T02:06:13.659Z] ---> ff7da94aaf5a [2022-06-27T02:06:13.659Z] Step 11/12 : COPY . . [2022-06-27T02:06:13.659Z] ---> 99490adfecb8 [2022-06-27T02:06:13.659Z] Step 12/12 : RUN ${MAKE} [2022-06-27T02:06:13.659Z] ---> Running in 54fdee2f2cfd [2022-06-27T02:06:13.659Z] noop [2022-06-27T02:06:13.919Z] Removing intermediate container 54fdee2f2cfd [2022-06-27T02:06:13.919Z] ---> 57171c725bff [2022-06-27T02:06:13.919Z] Successfully built 57171c725bff [2022-06-27T02:06:13.919Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:14.241Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:06:14.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:06:14.318Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:06:14.357Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T02:06:14.715Z] $ docker top a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:06:15.072Z] + go version [2022-06-27T02:06:15.072Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T02:06:15.087Z] $ docker stop --time=1 a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba [2022-06-27T02:06:16.356Z] $ docker rm -f a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:16.765Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:06:16.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:06:16.842Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:06:16.877Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T02:06:17.262Z] $ docker top 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:06:17.631Z] + make test [2022-06-27T02:06:17.631Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:06:17.891Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T02:06:27.870Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T02:06:27.870Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T02:06:33.146Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:06:37.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:06:37.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:06:37.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:06:37.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:06:37.371Z] $ docker stop --time=1 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 [2022-06-27T02:06:39.228Z] $ docker rm -f 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:06:39.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:06:39.720Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T02:06:40.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:06:40.471Z] + ls -al . [2022-06-27T02:06:40.471Z] total 172 [2022-06-27T02:06:40.471Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 02:06 . [2022-06-27T02:06:40.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:05 .. [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:05 .dockerignore [2022-06-27T02:06:40.471Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:05 .git [2022-06-27T02:06:40.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 .github [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:05 .gitignore [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:05 .golangci.yml [2022-06-27T02:06:40.471Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:05 .semver [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:05 Attribution.txt [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:05 CHANGELOG.md [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:05 Dockerfile [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:05 GOVERNANCE.md [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:05 Jenkinsfile [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:05 LICENSE [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:05 Makefile [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:05 OWNERS.md [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:05 README.md [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:05 VERSION [2022-06-27T02:06:40.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:05 bin [2022-06-27T02:06:40.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 cmd [2022-06-27T02:06:40.471Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:06 coverage.out [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:05 go.mod [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 02:05 go.sum [2022-06-27T02:06:40.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 internal [2022-06-27T02:06:40.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 snap [2022-06-27T02:06:40.471Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:40.784Z] + 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=5484f883e7ca8c4d12e7326cabafe33807e184e7 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-06-27T02:06:40.784Z] Sending build context to Docker daemon 15.74MB [2022-06-27T02:06:40.784Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:06:40.784Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T02:06:40.784Z] ---> 57171c725bff [2022-06-27T02:06:40.784Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T02:06:41.047Z] ---> Running in 3d87fa02a7e4 [2022-06-27T02:06:41.047Z] Removing intermediate container 3d87fa02a7e4 [2022-06-27T02:06:41.047Z] ---> 9222de549748 [2022-06-27T02:06:41.047Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:06:41.047Z] ---> Running in 4e09d682de45 [2022-06-27T02:06:41.307Z] Removing intermediate container 4e09d682de45 [2022-06-27T02:06:41.307Z] ---> 9ef7b3c53858 [2022-06-27T02:06:41.307Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:06:41.307Z] ---> Running in d25bc224848d [2022-06-27T02:06:41.307Z] Removing intermediate container d25bc224848d [2022-06-27T02:06:41.307Z] ---> 7a6a5f02eaa7 [2022-06-27T02:06:41.307Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T02:06:41.307Z] ---> Running in 515d3f87234a [2022-06-27T02:06:41.566Z] Removing intermediate container 515d3f87234a [2022-06-27T02:06:41.566Z] ---> ce1fba4417da [2022-06-27T02:06:41.566Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:06:41.566Z] ---> Running in ef6a5e0fb94c [2022-06-27T02:06:42.137Z] Removing intermediate container ef6a5e0fb94c [2022-06-27T02:06:42.137Z] ---> cd55bdc44ef0 [2022-06-27T02:06:42.137Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:06:42.137Z] ---> Running in 8019dcfd3a2b [2022-06-27T02:06:42.397Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:06:43.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:06:43.338Z] OK: 224 MiB in 56 packages [2022-06-27T02:06:43.907Z] Removing intermediate container 8019dcfd3a2b [2022-06-27T02:06:43.907Z] ---> 34f96f8314df [2022-06-27T02:06:43.907Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T02:06:43.907Z] ---> 36efa4f6950b [2022-06-27T02:06:43.907Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:06:43.907Z] ---> Running in 36fcb422adbd [2022-06-27T02:06:44.487Z] Removing intermediate container 36fcb422adbd [2022-06-27T02:06:44.487Z] ---> 24c4077f7f4d [2022-06-27T02:06:44.487Z] Step 11/26 : COPY . . [2022-06-27T02:06:45.061Z] ---> 26f64a293673 [2022-06-27T02:06:45.061Z] Step 12/26 : RUN ${MAKE} [2022-06-27T02:06:45.061Z] ---> Running in fe5fce80caeb [2022-06-27T02:06:45.322Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T02:07:07.283Z] Removing intermediate container fe5fce80caeb [2022-06-27T02:07:07.283Z] ---> 908b84850b40 [2022-06-27T02:07:07.283Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T02:07:07.283Z] 3.15: Pulling from library/alpine [2022-06-27T02:07:07.283Z] df9b9388f04a: Pulling fs layer [2022-06-27T02:07:07.283Z] df9b9388f04a: Download complete [2022-06-27T02:07:07.543Z] df9b9388f04a: Pull complete [2022-06-27T02:07:07.543Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T02:07:07.543Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T02:07:07.543Z] ---> 0ac33e5f5afa [2022-06-27T02:07:07.543Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T02:07:07.543Z] ---> Running in 98b7b636a448 [2022-06-27T02:07:07.803Z] Removing intermediate container 98b7b636a448 [2022-06-27T02:07:07.803Z] ---> 8370e5557371 [2022-06-27T02:07:07.803Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:07:07.803Z] ---> Running in 83e1e4b6800c [2022-06-27T02:07:08.377Z] Removing intermediate container 83e1e4b6800c [2022-06-27T02:07:08.377Z] ---> 75cb5e793bd2 [2022-06-27T02:07:08.377Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T02:07:08.377Z] ---> Running in b0f2036d45eb [2022-06-27T02:07:08.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:09.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:09.839Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T02:07:09.839Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T02:07:09.839Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T02:07:10.099Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T02:07:10.099Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T02:07:10.389Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T02:07:10.389Z] OK: 8 MiB in 19 packages [2022-06-27T02:07:10.651Z] Removing intermediate container b0f2036d45eb [2022-06-27T02:07:10.651Z] ---> 94481fde6b63 [2022-06-27T02:07:10.651Z] Step 17/26 : WORKDIR / [2022-06-27T02:07:10.651Z] ---> Running in 51e0de8fd5b9 [2022-06-27T02:07:10.911Z] Removing intermediate container 51e0de8fd5b9 [2022-06-27T02:07:10.911Z] ---> c5a04f9b548c [2022-06-27T02:07:10.911Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T02:07:10.911Z] ---> 9b7f9ccec1ed [2022-06-27T02:07:10.911Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T02:07:11.171Z] ---> 42f809f0bc72 [2022-06-27T02:07:11.171Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T02:07:11.762Z] ---> dc8d57078446 [2022-06-27T02:07:11.762Z] Step 21/26 : EXPOSE 59910 [2022-06-27T02:07:11.762Z] ---> Running in d281e213a76c [2022-06-27T02:07:11.762Z] Removing intermediate container d281e213a76c [2022-06-27T02:07:11.762Z] ---> a5dc33d9e380 [2022-06-27T02:07:11.762Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T02:07:12.022Z] ---> Running in ce8d198944de [2022-06-27T02:07:12.022Z] Removing intermediate container ce8d198944de [2022-06-27T02:07:12.022Z] ---> 4c8d08ac1192 [2022-06-27T02:07:12.022Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:07:12.022Z] ---> Running in ebb97a3de8c0 [2022-06-27T02:07:12.282Z] Removing intermediate container ebb97a3de8c0 [2022-06-27T02:07:12.282Z] ---> 7eeb3321517c [2022-06-27T02:07:12.282Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T02:07:12.282Z] ---> Running in 7210624a7f6f [2022-06-27T02:07:12.282Z] Removing intermediate container 7210624a7f6f [2022-06-27T02:07:12.282Z] ---> 7ea2b9fb24a3 [2022-06-27T02:07:12.282Z] Step 25/26 : LABEL git_sha=5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:07:12.282Z] ---> Running in 2fd2585f1ee4 [2022-06-27T02:07:12.542Z] Removing intermediate container 2fd2585f1ee4 [2022-06-27T02:07:12.542Z] ---> bdef31e74df1 [2022-06-27T02:07:12.542Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-27T02:07:12.542Z] ---> Running in d7a98b44a42f [2022-06-27T02:07:12.542Z] Removing intermediate container d7a98b44a42f [2022-06-27T02:07:12.542Z] ---> 8396152a8968 [2022-06-27T02:07:12.542Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:07:12.543Z] Successfully built 8396152a8968 [2022-06-27T02:07:12.543Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:07:12.638Z] provisioning config files... [2022-06-27T02:07:12.649Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5796416434461064113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:07:12.942Z] ---> docker-login.sh [2022-06-27T02:07:12.942Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:07:12.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:07:12.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:07:12.942Z] Configure a credential helper to remove this warning. See [2022-06-27T02:07:12.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:07:12.942Z] [2022-06-27T02:07:12.942Z] Login Succeeded [2022-06-27T02:07:12.942Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:07:12.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:07:13.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:07:13.202Z] Configure a credential helper to remove this warning. See [2022-06-27T02:07:13.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:07:13.202Z] [2022-06-27T02:07:13.202Z] Login Succeeded [2022-06-27T02:07:13.202Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:07:13.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:07:13.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:07:13.202Z] Configure a credential helper to remove this warning. See [2022-06-27T02:07:13.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:07:13.202Z] [2022-06-27T02:07:13.202Z] Login Succeeded [2022-06-27T02:07:13.202Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:07:13.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:07:13.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:07:13.462Z] Configure a credential helper to remove this warning. See [2022-06-27T02:07:13.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:07:13.462Z] [2022-06-27T02:07:13.462Z] Login Succeeded [2022-06-27T02:07:13.462Z] docker.io [2022-06-27T02:07:13.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:07:13.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:07:13.723Z] Configure a credential helper to remove this warning. See [2022-06-27T02:07:13.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:07:13.723Z] [2022-06-27T02:07:13.723Z] Login Succeeded [2022-06-27T02:07:13.723Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:07:13.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T02:07:13.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:07:13.780Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-06-27T02:07:13.780Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:07:13.780Z] latest [2022-06-27T02:07:13.780Z] 2.2.1-dev.1 [2022-06-27T02:07:13.780Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:07:13.780Z] main [2022-06-27T02:07:13.780Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:14.093Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:14.405Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:07:14.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-27T02:07:14.405Z] 135f23c8f71c: Preparing [2022-06-27T02:07:14.405Z] 372dbdd5cf85: Preparing [2022-06-27T02:07:14.405Z] 63b67015927d: Preparing [2022-06-27T02:07:14.405Z] a66aea98617d: Preparing [2022-06-27T02:07:14.405Z] 651d68d00a2f: Preparing [2022-06-27T02:07:14.405Z] 4fc242d58285: Preparing [2022-06-27T02:07:14.405Z] 4fc242d58285: Waiting [2022-06-27T02:07:14.405Z] 372dbdd5cf85: Pushed [2022-06-27T02:07:14.405Z] 63b67015927d: Pushed [2022-06-27T02:07:14.405Z] 651d68d00a2f: Pushed [2022-06-27T02:07:14.405Z] 4fc242d58285: Layer already exists [2022-06-27T02:07:14.665Z] a66aea98617d: Pushed [2022-06-27T02:07:17.214Z] 135f23c8f71c: Pushed [2022-06-27T02:07:17.474Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:17.788Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:18.102Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-27T02:07:18.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-27T02:07:18.102Z] 135f23c8f71c: Preparing [2022-06-27T02:07:18.102Z] 372dbdd5cf85: Preparing [2022-06-27T02:07:18.102Z] 63b67015927d: Preparing [2022-06-27T02:07:18.102Z] a66aea98617d: Preparing [2022-06-27T02:07:18.102Z] 651d68d00a2f: Preparing [2022-06-27T02:07:18.102Z] 4fc242d58285: Preparing [2022-06-27T02:07:18.102Z] 4fc242d58285: Waiting [2022-06-27T02:07:18.102Z] 135f23c8f71c: Layer already exists [2022-06-27T02:07:18.102Z] a66aea98617d: Layer already exists [2022-06-27T02:07:18.102Z] 651d68d00a2f: Layer already exists [2022-06-27T02:07:18.103Z] 63b67015927d: Layer already exists [2022-06-27T02:07:18.103Z] 372dbdd5cf85: Layer already exists [2022-06-27T02:07:18.103Z] 4fc242d58285: Layer already exists [2022-06-27T02:07:18.103Z] latest: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:18.443Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:18.813Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-27T02:07:18.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-27T02:07:18.813Z] 135f23c8f71c: Preparing [2022-06-27T02:07:18.813Z] 372dbdd5cf85: Preparing [2022-06-27T02:07:18.813Z] 63b67015927d: Preparing [2022-06-27T02:07:18.813Z] a66aea98617d: Preparing [2022-06-27T02:07:18.813Z] 651d68d00a2f: Preparing [2022-06-27T02:07:18.813Z] 4fc242d58285: Preparing [2022-06-27T02:07:18.813Z] 4fc242d58285: Waiting [2022-06-27T02:07:18.813Z] 651d68d00a2f: Layer already exists [2022-06-27T02:07:18.813Z] 135f23c8f71c: Layer already exists [2022-06-27T02:07:18.813Z] 63b67015927d: Layer already exists [2022-06-27T02:07:18.813Z] a66aea98617d: Layer already exists [2022-06-27T02:07:18.813Z] 372dbdd5cf85: Layer already exists [2022-06-27T02:07:18.813Z] 4fc242d58285: Layer already exists [2022-06-27T02:07:18.813Z] 2.2.1-dev.1: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:19.157Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:19.466Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:07:19.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-27T02:07:19.466Z] 135f23c8f71c: Preparing [2022-06-27T02:07:19.466Z] 372dbdd5cf85: Preparing [2022-06-27T02:07:19.466Z] 63b67015927d: Preparing [2022-06-27T02:07:19.466Z] a66aea98617d: Preparing [2022-06-27T02:07:19.466Z] 651d68d00a2f: Preparing [2022-06-27T02:07:19.466Z] 4fc242d58285: Preparing [2022-06-27T02:07:19.466Z] 4fc242d58285: Waiting [2022-06-27T02:07:19.466Z] 63b67015927d: Layer already exists [2022-06-27T02:07:19.466Z] 372dbdd5cf85: Layer already exists [2022-06-27T02:07:19.466Z] 651d68d00a2f: Layer already exists [2022-06-27T02:07:19.466Z] a66aea98617d: Layer already exists [2022-06-27T02:07:19.466Z] 135f23c8f71c: Layer already exists [2022-06-27T02:07:19.466Z] 4fc242d58285: Layer already exists [2022-06-27T02:07:19.466Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:19.785Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:20.104Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-06-27T02:07:20.104Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-27T02:07:20.104Z] 135f23c8f71c: Preparing [2022-06-27T02:07:20.104Z] 372dbdd5cf85: Preparing [2022-06-27T02:07:20.104Z] 63b67015927d: Preparing [2022-06-27T02:07:20.104Z] a66aea98617d: Preparing [2022-06-27T02:07:20.104Z] 651d68d00a2f: Preparing [2022-06-27T02:07:20.104Z] 4fc242d58285: Preparing [2022-06-27T02:07:20.104Z] 4fc242d58285: Waiting [2022-06-27T02:07:20.104Z] 372dbdd5cf85: Layer already exists [2022-06-27T02:07:20.104Z] a66aea98617d: Layer already exists [2022-06-27T02:07:20.104Z] 651d68d00a2f: Layer already exists [2022-06-27T02:07:20.104Z] 63b67015927d: Layer already exists [2022-06-27T02:07:20.104Z] 135f23c8f71c: Layer already exists [2022-06-27T02:07:20.104Z] 4fc242d58285: Layer already exists [2022-06-27T02:07:20.104Z] main: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T02:07:20.142Z] ===================================================== [Pipeline] echo [2022-06-27T02:07:20.150Z] taggedImages: [2022-06-27T02:07:20.150Z] - nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:07:20.150Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-27T02:07:20.150Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-27T02:07:20.150Z] - nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:07:20.150Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:20.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:20.528Z] [2022-06-27T02:07:20.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:20.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:20.830Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T02:07:20.830Z] 5eb5b503b376: Pulling fs layer [2022-06-27T02:07:20.830Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T02:07:20.830Z] ec43610c2a17: Pulling fs layer [2022-06-27T02:07:20.830Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T02:07:20.830Z] 33b1e0a273af: Pulling fs layer [2022-06-27T02:07:20.830Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T02:07:20.830Z] 2f39f015ded8: Pulling fs layer [2022-06-27T02:07:20.830Z] 3a2ae6a8a46f: Waiting [2022-06-27T02:07:20.830Z] 33b1e0a273af: Waiting [2022-06-27T02:07:20.830Z] 5d3b04190fa2: Waiting [2022-06-27T02:07:20.830Z] 2f39f015ded8: Waiting [2022-06-27T02:07:20.830Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T02:07:20.830Z] 5c69ac0246d0: Download complete [2022-06-27T02:07:20.830Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T02:07:20.830Z] 3a2ae6a8a46f: Download complete [2022-06-27T02:07:20.830Z] 33b1e0a273af: Verifying Checksum [2022-06-27T02:07:20.830Z] 33b1e0a273af: Download complete [2022-06-27T02:07:20.830Z] ec43610c2a17: Verifying Checksum [2022-06-27T02:07:20.830Z] ec43610c2a17: Download complete [2022-06-27T02:07:20.830Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T02:07:20.830Z] 5d3b04190fa2: Download complete [2022-06-27T02:07:21.090Z] 5eb5b503b376: Verifying Checksum [2022-06-27T02:07:21.090Z] 5eb5b503b376: Download complete [2022-06-27T02:07:21.658Z] 2f39f015ded8: Download complete [2022-06-27T02:07:22.227Z] 5eb5b503b376: Pull complete [2022-06-27T02:07:22.486Z] 5c69ac0246d0: Pull complete [2022-06-27T02:07:23.056Z] ec43610c2a17: Pull complete [2022-06-27T02:07:23.056Z] 3a2ae6a8a46f: Pull complete [2022-06-27T02:07:23.317Z] 33b1e0a273af: Pull complete [2022-06-27T02:07:23.317Z] 5d3b04190fa2: Pull complete [2022-06-27T02:07:28.598Z] 2f39f015ded8: Pull complete [2022-06-27T02:07:28.598Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T02:07:28.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:28.598Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:07:28.693Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:07:28.727Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T02:07:30.702Z] $ docker top 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:07:31.084Z] ---> job-cost.sh [2022-06-27T02:07:31.084Z] lf-activate-venv: SKIPPING [2022-06-27T02:07:31.084Z] INFO: No Stack... [2022-06-27T02:07:31.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:07:31.914Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:07:32.207Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-06-27T02:07:32.207Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T02:07:32.221Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [2022-06-27T02:07:32.230Z] Resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] did not exist. Created. [2022-06-27T02:07:32.231Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:07:32.539Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T02:07:32.565Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:07:32.571Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:07:32.589Z] $ docker stop --time=1 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e [2022-06-27T02:07:33.769Z] $ docker rm -f 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T02:14:42.576Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15826 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-06-27T02:14:42.585Z] Running in /w/workspace/device-gpio/29 [Pipeline] { [Pipeline] checkout [2022-06-27T02:14:42.632Z] The recommended git tool is: git [2022-06-27T02:14:50.571Z] using credential edgex-jenkins-ssh [2022-06-27T02:14:50.590Z] Cloning the remote Git repository [2022-06-27T02:14:50.660Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-27T02:14:50.754Z] > git init /w/workspace/device-gpio/29 # timeout=10 [2022-06-27T02:14:50.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T02:14:50.902Z] > git --version # timeout=10 [2022-06-27T02:14:50.931Z] > git --version # 'git version 2.25.1' [2022-06-27T02:14:50.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:51.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:52.717Z] Avoid second fetch [2022-06-27T02:14:52.717Z] Checking out Revision 5484f883e7ca8c4d12e7326cabafe33807e184e7 (main) [2022-06-27T02:14:52.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T02:14:52.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:52.744Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T02:14:52.785Z] > git checkout -f 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 [2022-06-27T02:14:57.198Z] Commit message: "Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:14:58.049Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T02:14:58.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:14:58.049Z] Dload Upload Total Spent Left Speed [2022-06-27T02:14:58.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-06-27T02:14:58.717Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T02:14:59.077Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T02:14:59.077Z] + sudo tee /etc/docker/daemon.new [2022-06-27T02:14:59.077Z] { [2022-06-27T02:14:59.077Z] "registry-mirrors": [ [2022-06-27T02:14:59.077Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T02:14:59.077Z] ], [2022-06-27T02:14:59.077Z] "bip": "10.250.0.254/24", [2022-06-27T02:14:59.077Z] "hosts": [ [2022-06-27T02:14:59.077Z] "tcp://0.0.0.0:5555", [2022-06-27T02:14:59.077Z] "unix:///var/run/docker.sock" [2022-06-27T02:14:59.077Z] ], [2022-06-27T02:14:59.077Z] "mtu": 1458, [2022-06-27T02:14:59.077Z] "selinux-enabled": true, [2022-06-27T02:14:59.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T02:14:59.077Z] } [Pipeline] sh [2022-06-27T02:14:59.429Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T02:14:59.765Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:15:18.108Z] provisioning config files... [2022-06-27T02:15:18.136Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/29@tmp/config7862377032880233005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:15:18.766Z] ---> docker-login.sh [2022-06-27T02:15:18.766Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:15:19.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:19.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:19.682Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:19.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:19.682Z] [2022-06-27T02:15:19.682Z] Login Succeeded [2022-06-27T02:15:19.682Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:15:19.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:20.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:20.233Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:20.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:20.233Z] [2022-06-27T02:15:20.233Z] Login Succeeded [2022-06-27T02:15:20.233Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:15:20.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:20.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:20.786Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:20.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:20.786Z] [2022-06-27T02:15:20.786Z] Login Succeeded [2022-06-27T02:15:20.786Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:15:21.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:21.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:21.336Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:21.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:21.336Z] [2022-06-27T02:15:21.336Z] Login Succeeded [2022-06-27T02:15:21.336Z] docker.io [2022-06-27T02:15:21.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:22.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:22.203Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:22.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:22.203Z] [2022-06-27T02:15:22.203Z] Login Succeeded [2022-06-27T02:15:22.203Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:15:22.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:15:22.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:22.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:22.775Z] ========================================================= [2022-06-27T02:15:22.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T02:15:22.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:15:23.144Z] + 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-06-27T02:15:23.421Z] Sending build context to Docker daemon 7.939MB [2022-06-27T02:15:23.697Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:15:23.697Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:15:23.697Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T02:15:23.697Z] 9b3977197b4f: Pulling fs layer [2022-06-27T02:15:23.697Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T02:15:23.697Z] 94645a83ff95: Pulling fs layer [2022-06-27T02:15:23.697Z] e6fb740bc735: Pulling fs layer [2022-06-27T02:15:23.697Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T02:15:23.697Z] 355e64cbe906: Pulling fs layer [2022-06-27T02:15:23.697Z] 63ab81a10011: Pulling fs layer [2022-06-27T02:15:23.697Z] 555d1d1c4555: Pulling fs layer [2022-06-27T02:15:23.697Z] 7d9057610161: Pulling fs layer [2022-06-27T02:15:23.697Z] e6fb740bc735: Waiting [2022-06-27T02:15:23.697Z] 3a77bd46dcc9: Waiting [2022-06-27T02:15:23.697Z] 355e64cbe906: Waiting [2022-06-27T02:15:23.697Z] 63ab81a10011: Waiting [2022-06-27T02:15:23.697Z] 555d1d1c4555: Waiting [2022-06-27T02:15:23.697Z] 7d9057610161: Waiting [2022-06-27T02:15:23.697Z] 94645a83ff95: Verifying Checksum [2022-06-27T02:15:23.697Z] 94645a83ff95: Download complete [2022-06-27T02:15:23.697Z] 1a89e8eeedd5: Download complete [2022-06-27T02:15:23.989Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T02:15:23.989Z] 3a77bd46dcc9: Download complete [2022-06-27T02:15:23.989Z] 355e64cbe906: Verifying Checksum [2022-06-27T02:15:23.989Z] 355e64cbe906: Download complete [2022-06-27T02:15:23.989Z] 9b3977197b4f: Verifying Checksum [2022-06-27T02:15:23.989Z] 9b3977197b4f: Download complete [2022-06-27T02:15:23.989Z] 63ab81a10011: Verifying Checksum [2022-06-27T02:15:23.989Z] 63ab81a10011: Download complete [2022-06-27T02:15:25.015Z] 9b3977197b4f: Pull complete [2022-06-27T02:15:25.301Z] 7d9057610161: Verifying Checksum [2022-06-27T02:15:25.301Z] 7d9057610161: Download complete [2022-06-27T02:15:25.587Z] 1a89e8eeedd5: Pull complete [2022-06-27T02:15:25.875Z] 94645a83ff95: Pull complete [2022-06-27T02:15:27.379Z] 555d1d1c4555: Verifying Checksum [2022-06-27T02:15:27.379Z] 555d1d1c4555: Download complete [2022-06-27T02:15:27.987Z] e6fb740bc735: Verifying Checksum [2022-06-27T02:15:27.987Z] e6fb740bc735: Download complete [2022-06-27T02:15:40.395Z] e6fb740bc735: Pull complete [2022-06-27T02:15:40.395Z] 3a77bd46dcc9: Pull complete [2022-06-27T02:15:40.395Z] 355e64cbe906: Pull complete [2022-06-27T02:15:40.669Z] 63ab81a10011: Pull complete [2022-06-27T02:15:47.397Z] 555d1d1c4555: Pull complete [2022-06-27T02:15:49.382Z] 7d9057610161: Pull complete [2022-06-27T02:15:49.382Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T02:15:49.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T02:15:49.382Z] ---> 819e984ddca1 [2022-06-27T02:15:49.382Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T02:15:52.024Z] ---> Running in e49ec27d85e3 [2022-06-27T02:15:53.012Z] Removing intermediate container e49ec27d85e3 [2022-06-27T02:15:53.012Z] ---> a754d9b67f7f [2022-06-27T02:15:53.012Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:15:53.012Z] ---> Running in 46f5b2edc5be [2022-06-27T02:15:53.285Z] Removing intermediate container 46f5b2edc5be [2022-06-27T02:15:53.285Z] ---> 6c2358426487 [2022-06-27T02:15:53.285Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:15:53.562Z] ---> Running in 47d562016acd [2022-06-27T02:15:53.837Z] Removing intermediate container 47d562016acd [2022-06-27T02:15:53.837Z] ---> 05ba02c9efa1 [2022-06-27T02:15:53.837Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T02:15:53.837Z] ---> Running in 2854b1c16945 [2022-06-27T02:15:54.432Z] Removing intermediate container 2854b1c16945 [2022-06-27T02:15:54.432Z] ---> 258d44835275 [2022-06-27T02:15:54.432Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:15:54.432Z] ---> Running in c65d946224ba [2022-06-27T02:15:56.420Z] Removing intermediate container c65d946224ba [2022-06-27T02:15:56.420Z] ---> 95ec678776f5 [2022-06-27T02:15:56.420Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:15:56.420Z] ---> Running in a2e87ab625bd [2022-06-27T02:15:57.412Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:15:58.398Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:15:59.378Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:15:59.651Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:15:59.651Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:15:59.927Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:15:59.927Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:15:59.927Z] OK: 224 MiB in 56 packages [2022-06-27T02:16:00.906Z] Removing intermediate container a2e87ab625bd [2022-06-27T02:16:00.906Z] ---> 74ecc5cf01a0 [2022-06-27T02:16:00.906Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T02:16:01.512Z] ---> ff6f19afa458 [2022-06-27T02:16:01.512Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:16:01.788Z] ---> Running in fc4dc5a0da18 [2022-06-27T02:17:09.835Z] Removing intermediate container fc4dc5a0da18 [2022-06-27T02:17:09.835Z] ---> 45f9fc4342ec [2022-06-27T02:17:09.835Z] Step 11/12 : COPY . . [2022-06-27T02:17:09.835Z] ---> 93d0f0be86c2 [2022-06-27T02:17:09.835Z] Step 12/12 : RUN ${MAKE} [2022-06-27T02:17:09.835Z] ---> Running in 5f38a91e967a [2022-06-27T02:17:09.835Z] noop [2022-06-27T02:17:09.835Z] Removing intermediate container 5f38a91e967a [2022-06-27T02:17:09.835Z] ---> 2dbcf2521efd [2022-06-27T02:17:09.835Z] Successfully built 2dbcf2521efd [2022-06-27T02:17:09.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:17:10.208Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:17:10.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:17:10.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container [2022-06-27T02:17:10.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T02:17:12.077Z] $ docker top 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:17:13.056Z] + go version [2022-06-27T02:17:13.056Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T02:17:13.085Z] $ docker stop --time=1 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 [2022-06-27T02:17:14.816Z] $ docker rm -f 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:17:15.481Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:17:15.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:17:15.771Z] prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container [2022-06-27T02:17:15.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T02:17:17.336Z] $ docker top 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:17:18.344Z] + make test [2022-06-27T02:17:18.344Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:17:20.361Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T02:18:57.302Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T02:18:57.303Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T02:18:57.303Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T02:18:57.303Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:19:24.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:19:24.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:19:24.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:19:26.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:19:26.083Z] $ docker stop --time=1 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e [2022-06-27T02:19:27.852Z] $ docker rm -f 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:19:28.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:19:28.861Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T02:19:29.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:19:29.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:19:30.093Z] + ls -al . [2022-06-27T02:19:30.093Z] total 168 [2022-06-27T02:19:30.093Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:19 . [2022-06-27T02:19:30.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:14 .. [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:14 .dockerignore [2022-06-27T02:19:30.093Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:14 .git [2022-06-27T02:19:30.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 .github [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:14 .gitignore [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:14 .golangci.yml [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:14 Attribution.txt [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:14 CHANGELOG.md [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:14 Dockerfile [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:14 GOVERNANCE.md [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:14 Jenkinsfile [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:14 LICENSE [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:14 Makefile [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:14 OWNERS.md [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:14 README.md [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:05 VERSION [2022-06-27T02:19:30.093Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:14 bin [2022-06-27T02:19:30.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 cmd [2022-06-27T02:19:30.093Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:17 coverage.out [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:14 go.mod [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 02:14 go.sum [2022-06-27T02:19:30.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 internal [2022-06-27T02:19:30.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 snap [2022-06-27T02:19:30.093Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:19:30.467Z] + 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=5484f883e7ca8c4d12e7326cabafe33807e184e7 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-06-27T02:19:30.738Z] Sending build context to Docker daemon 7.94MB [2022-06-27T02:19:31.010Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:19:31.010Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T02:19:31.010Z] ---> 2dbcf2521efd [2022-06-27T02:19:31.010Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T02:19:31.010Z] ---> Running in 4857dbe24255 [2022-06-27T02:19:31.282Z] Removing intermediate container 4857dbe24255 [2022-06-27T02:19:31.282Z] ---> c49af95fb8b6 [2022-06-27T02:19:31.282Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:19:31.282Z] ---> Running in dd28058ede19 [2022-06-27T02:19:31.886Z] Removing intermediate container dd28058ede19 [2022-06-27T02:19:31.886Z] ---> 6d429c4604ba [2022-06-27T02:19:31.886Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:19:31.886Z] ---> Running in e7ad8f1a73cf [2022-06-27T02:19:32.159Z] Removing intermediate container e7ad8f1a73cf [2022-06-27T02:19:32.159Z] ---> 428199f505ed [2022-06-27T02:19:32.159Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T02:19:32.159Z] ---> Running in fe30179bfaf0 [2022-06-27T02:19:32.432Z] Removing intermediate container fe30179bfaf0 [2022-06-27T02:19:32.432Z] ---> e671da7ac1c9 [2022-06-27T02:19:32.432Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:19:32.709Z] ---> Running in d97c9161f254 [2022-06-27T02:19:34.914Z] Removing intermediate container d97c9161f254 [2022-06-27T02:19:34.914Z] ---> 9d6cb8a08d96 [2022-06-27T02:19:34.914Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:19:34.914Z] ---> Running in 259412c24576 [2022-06-27T02:19:35.513Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:40.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:44.592Z] OK: 224 MiB in 56 packages [2022-06-27T02:19:45.585Z] Removing intermediate container 259412c24576 [2022-06-27T02:19:45.585Z] ---> d8e114a41d9d [2022-06-27T02:19:45.585Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T02:19:45.868Z] ---> 86da588431f5 [2022-06-27T02:19:45.868Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:19:46.146Z] ---> Running in f22f35be0d91 [2022-06-27T02:19:48.169Z] Removing intermediate container f22f35be0d91 [2022-06-27T02:19:48.169Z] ---> 3bb257a832e3 [2022-06-27T02:19:48.169Z] Step 11/26 : COPY . . [2022-06-27T02:19:49.626Z] ---> f2285e788229 [2022-06-27T02:19:49.626Z] Step 12/26 : RUN ${MAKE} [2022-06-27T02:19:49.626Z] ---> Running in b88baea09df2 [2022-06-27T02:19:50.635Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T02:22:12.757Z] Removing intermediate container b88baea09df2 [2022-06-27T02:22:12.757Z] ---> a1fefb1bf462 [2022-06-27T02:22:12.757Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T02:22:12.757Z] 3.15: Pulling from library/alpine [2022-06-27T02:22:12.757Z] 9981e73032c8: Pulling fs layer [2022-06-27T02:22:12.757Z] 9981e73032c8: Download complete [2022-06-27T02:22:12.757Z] 9981e73032c8: Pull complete [2022-06-27T02:22:12.757Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T02:22:12.757Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T02:22:12.757Z] ---> 3fb3c9af89a9 [2022-06-27T02:22:12.757Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T02:22:12.757Z] ---> Running in 4f54aed124eb [2022-06-27T02:22:12.757Z] Removing intermediate container 4f54aed124eb [2022-06-27T02:22:12.757Z] ---> 3473da4056e7 [2022-06-27T02:22:12.757Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:22:12.757Z] ---> Running in 1ac408a10f9d [2022-06-27T02:22:13.367Z] Removing intermediate container 1ac408a10f9d [2022-06-27T02:22:13.367Z] ---> 3597db1bf51e [2022-06-27T02:22:13.367Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T02:22:13.651Z] ---> Running in a5f29b49df54 [2022-06-27T02:22:14.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:22:15.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:22:16.287Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T02:22:16.566Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T02:22:16.566Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T02:22:16.843Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T02:22:17.452Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T02:22:17.452Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T02:22:17.452Z] OK: 8 MiB in 19 packages [2022-06-27T02:22:18.451Z] Removing intermediate container a5f29b49df54 [2022-06-27T02:22:18.451Z] ---> 2a3c36d3eea3 [2022-06-27T02:22:18.451Z] Step 17/26 : WORKDIR / [2022-06-27T02:22:18.451Z] ---> Running in 797d50d2677c [2022-06-27T02:22:18.736Z] Removing intermediate container 797d50d2677c [2022-06-27T02:22:18.736Z] ---> 038596751d9b [2022-06-27T02:22:18.736Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T02:22:19.346Z] ---> d6302d08a094 [2022-06-27T02:22:19.346Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T02:22:19.951Z] ---> 6e136a5771da [2022-06-27T02:22:19.951Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T02:22:21.955Z] ---> 21b3c882fc22 [2022-06-27T02:22:21.955Z] Step 21/26 : EXPOSE 59910 [2022-06-27T02:22:21.955Z] ---> Running in 8807366463ef [2022-06-27T02:22:21.955Z] Removing intermediate container 8807366463ef [2022-06-27T02:22:21.955Z] ---> 12749042e1c8 [2022-06-27T02:22:21.955Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T02:22:22.230Z] ---> Running in cdede341c46d [2022-06-27T02:22:22.506Z] Removing intermediate container cdede341c46d [2022-06-27T02:22:22.506Z] ---> d21227ba2bed [2022-06-27T02:22:22.506Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:22:22.506Z] ---> Running in dbf072584cce [2022-06-27T02:22:23.109Z] Removing intermediate container dbf072584cce [2022-06-27T02:22:23.109Z] ---> 1a42999ca442 [2022-06-27T02:22:23.109Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T02:22:23.109Z] ---> Running in 40e6cf67a243 [2022-06-27T02:22:23.385Z] Removing intermediate container 40e6cf67a243 [2022-06-27T02:22:23.385Z] ---> 82c5529ad335 [2022-06-27T02:22:23.385Z] Step 25/26 : LABEL git_sha=5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:22:23.385Z] ---> Running in f31dc116ab13 [2022-06-27T02:22:24.011Z] Removing intermediate container f31dc116ab13 [2022-06-27T02:22:24.011Z] ---> 766235a6ce3c [2022-06-27T02:22:24.011Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-27T02:22:24.011Z] ---> Running in 412bc585324d [2022-06-27T02:22:24.287Z] Removing intermediate container 412bc585324d [2022-06-27T02:22:24.287Z] ---> 196f5cd0e5ad [2022-06-27T02:22:24.287Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:22:24.287Z] Successfully built 196f5cd0e5ad [2022-06-27T02:22:24.287Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:22:24.403Z] provisioning config files... [2022-06-27T02:22:24.430Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/29@tmp/config976357188853531793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:24.815Z] ---> docker-login.sh [2022-06-27T02:22:24.815Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:22:25.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:22:25.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:22:25.093Z] Configure a credential helper to remove this warning. See [2022-06-27T02:22:25.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:22:25.093Z] [2022-06-27T02:22:25.093Z] Login Succeeded [2022-06-27T02:22:25.093Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:22:25.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:22:25.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:22:25.976Z] Configure a credential helper to remove this warning. See [2022-06-27T02:22:25.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:22:25.976Z] [2022-06-27T02:22:25.976Z] Login Succeeded [2022-06-27T02:22:25.976Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:22:26.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:22:26.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:22:26.534Z] Configure a credential helper to remove this warning. See [2022-06-27T02:22:26.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:22:26.534Z] [2022-06-27T02:22:26.534Z] Login Succeeded [2022-06-27T02:22:26.534Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:22:26.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:22:27.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:22:27.087Z] Configure a credential helper to remove this warning. See [2022-06-27T02:22:27.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:22:27.087Z] [2022-06-27T02:22:27.087Z] Login Succeeded [2022-06-27T02:22:27.088Z] docker.io [2022-06-27T02:22:27.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:22:27.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:22:27.971Z] Configure a credential helper to remove this warning. See [2022-06-27T02:22:27.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:22:27.971Z] [2022-06-27T02:22:27.971Z] Login Succeeded [2022-06-27T02:22:27.971Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:22:27.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T02:22:28.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:22:28.051Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-06-27T02:22:28.052Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:22:28.052Z] latest [2022-06-27T02:22:28.052Z] 2.2.1-dev.1 [2022-06-27T02:22:28.052Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:22:28.052Z] main [2022-06-27T02:22:28.052Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:28.435Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:28.844Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:22:28.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-27T02:22:28.844Z] cc972190b744: Preparing [2022-06-27T02:22:28.844Z] 63d0d6459ead: Preparing [2022-06-27T02:22:28.844Z] a6d3db6bb925: Preparing [2022-06-27T02:22:28.844Z] fc7eabe892bb: Preparing [2022-06-27T02:22:28.844Z] fcac84fe7d4d: Preparing [2022-06-27T02:22:28.844Z] 4f4ce317c6bb: Preparing [2022-06-27T02:22:28.844Z] 4f4ce317c6bb: Waiting [2022-06-27T02:22:29.128Z] 63d0d6459ead: Pushed [2022-06-27T02:22:29.128Z] a6d3db6bb925: Pushed [2022-06-27T02:22:29.128Z] fcac84fe7d4d: Pushed [2022-06-27T02:22:29.128Z] 4f4ce317c6bb: Layer already exists [2022-06-27T02:22:30.119Z] fc7eabe892bb: Pushed [2022-06-27T02:22:35.541Z] cc972190b744: Pushed [2022-06-27T02:22:35.812Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:36.197Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:36.565Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-27T02:22:36.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-27T02:22:36.566Z] cc972190b744: Preparing [2022-06-27T02:22:36.566Z] 63d0d6459ead: Preparing [2022-06-27T02:22:36.566Z] a6d3db6bb925: Preparing [2022-06-27T02:22:36.566Z] fc7eabe892bb: Preparing [2022-06-27T02:22:36.566Z] fcac84fe7d4d: Preparing [2022-06-27T02:22:36.566Z] 4f4ce317c6bb: Preparing [2022-06-27T02:22:36.566Z] 4f4ce317c6bb: Waiting [2022-06-27T02:22:36.566Z] fcac84fe7d4d: Layer already exists [2022-06-27T02:22:36.566Z] fc7eabe892bb: Layer already exists [2022-06-27T02:22:36.566Z] cc972190b744: Layer already exists [2022-06-27T02:22:36.566Z] 63d0d6459ead: Layer already exists [2022-06-27T02:22:36.566Z] a6d3db6bb925: Layer already exists [2022-06-27T02:22:36.838Z] 4f4ce317c6bb: Layer already exists [2022-06-27T02:22:36.838Z] latest: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:37.228Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:37.621Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-27T02:22:37.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-27T02:22:37.621Z] cc972190b744: Preparing [2022-06-27T02:22:37.621Z] 63d0d6459ead: Preparing [2022-06-27T02:22:37.621Z] a6d3db6bb925: Preparing [2022-06-27T02:22:37.621Z] fc7eabe892bb: Preparing [2022-06-27T02:22:37.621Z] fcac84fe7d4d: Preparing [2022-06-27T02:22:37.621Z] 4f4ce317c6bb: Preparing [2022-06-27T02:22:37.621Z] 4f4ce317c6bb: Waiting [2022-06-27T02:22:37.621Z] a6d3db6bb925: Layer already exists [2022-06-27T02:22:37.621Z] cc972190b744: Layer already exists [2022-06-27T02:22:37.621Z] 63d0d6459ead: Layer already exists [2022-06-27T02:22:37.621Z] fc7eabe892bb: Layer already exists [2022-06-27T02:22:37.621Z] fcac84fe7d4d: Layer already exists [2022-06-27T02:22:37.894Z] 4f4ce317c6bb: Layer already exists [2022-06-27T02:22:37.894Z] 2.2.1-dev.1: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:38.273Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:38.654Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:22:38.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-27T02:22:38.655Z] cc972190b744: Preparing [2022-06-27T02:22:38.655Z] 63d0d6459ead: Preparing [2022-06-27T02:22:38.655Z] a6d3db6bb925: Preparing [2022-06-27T02:22:38.655Z] fc7eabe892bb: Preparing [2022-06-27T02:22:38.655Z] fcac84fe7d4d: Preparing [2022-06-27T02:22:38.655Z] 4f4ce317c6bb: Preparing [2022-06-27T02:22:38.655Z] 4f4ce317c6bb: Waiting [2022-06-27T02:22:38.928Z] fcac84fe7d4d: Layer already exists [2022-06-27T02:22:38.928Z] 63d0d6459ead: Layer already exists [2022-06-27T02:22:38.928Z] fc7eabe892bb: Layer already exists [2022-06-27T02:22:38.928Z] cc972190b744: Layer already exists [2022-06-27T02:22:38.928Z] a6d3db6bb925: Layer already exists [2022-06-27T02:22:38.928Z] 4f4ce317c6bb: Layer already exists [2022-06-27T02:22:38.928Z] 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:39.307Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:39.676Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-06-27T02:22:39.676Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-27T02:22:39.676Z] cc972190b744: Preparing [2022-06-27T02:22:39.676Z] 63d0d6459ead: Preparing [2022-06-27T02:22:39.676Z] a6d3db6bb925: Preparing [2022-06-27T02:22:39.676Z] fc7eabe892bb: Preparing [2022-06-27T02:22:39.676Z] fcac84fe7d4d: Preparing [2022-06-27T02:22:39.676Z] 4f4ce317c6bb: Preparing [2022-06-27T02:22:39.676Z] 4f4ce317c6bb: Waiting [2022-06-27T02:22:39.954Z] 63d0d6459ead: Layer already exists [2022-06-27T02:22:39.954Z] fcac84fe7d4d: Layer already exists [2022-06-27T02:22:39.954Z] a6d3db6bb925: Layer already exists [2022-06-27T02:22:39.954Z] cc972190b744: Layer already exists [2022-06-27T02:22:39.954Z] fc7eabe892bb: Layer already exists [2022-06-27T02:22:39.954Z] 4f4ce317c6bb: Layer already exists [2022-06-27T02:22:39.954Z] main: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T02:22:40.013Z] ===================================================== [Pipeline] echo [2022-06-27T02:22:40.020Z] taggedImages: [2022-06-27T02:22:40.020Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 [2022-06-27T02:22:40.020Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-27T02:22:40.020Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-27T02:22:40.020Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [2022-06-27T02:22:40.020Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:40.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:40.432Z] [2022-06-27T02:22:40.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:40.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:41.085Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T02:22:41.085Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T02:22:41.085Z] 04944245beec: Pulling fs layer [2022-06-27T02:22:41.085Z] 699f458cf7ca: Pulling fs layer [2022-06-27T02:22:41.085Z] 765212b225bb: Pulling fs layer [2022-06-27T02:22:41.085Z] f23df028b6ca: Pulling fs layer [2022-06-27T02:22:41.085Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T02:22:41.085Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T02:22:41.085Z] 765212b225bb: Waiting [2022-06-27T02:22:41.085Z] f23df028b6ca: Waiting [2022-06-27T02:22:41.085Z] d65c8cfc05b1: Waiting [2022-06-27T02:22:41.085Z] 2437ff75d9bd: Waiting [2022-06-27T02:22:41.085Z] 04944245beec: Verifying Checksum [2022-06-27T02:22:41.085Z] 04944245beec: Download complete [2022-06-27T02:22:41.085Z] 765212b225bb: Download complete [2022-06-27T02:22:41.363Z] 699f458cf7ca: Verifying Checksum [2022-06-27T02:22:41.363Z] 699f458cf7ca: Download complete [2022-06-27T02:22:41.363Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T02:22:41.363Z] d65c8cfc05b1: Download complete [2022-06-27T02:22:41.363Z] f23df028b6ca: Verifying Checksum [2022-06-27T02:22:41.363Z] f23df028b6ca: Download complete [2022-06-27T02:22:41.971Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T02:22:41.971Z] 8998bd30e6a1: Download complete [2022-06-27T02:22:44.620Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T02:22:44.620Z] 2437ff75d9bd: Download complete [2022-06-27T02:22:46.609Z] 8998bd30e6a1: Pull complete [2022-06-27T02:22:47.211Z] 04944245beec: Pull complete [2022-06-27T02:22:48.659Z] 699f458cf7ca: Pull complete [2022-06-27T02:22:48.934Z] 765212b225bb: Pull complete [2022-06-27T02:22:49.535Z] f23df028b6ca: Pull complete [2022-06-27T02:22:49.811Z] d65c8cfc05b1: Pull complete [2022-06-27T02:23:04.913Z] 2437ff75d9bd: Pull complete [2022-06-27T02:23:04.913Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T02:23:04.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:23:04.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:23:05.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container [2022-06-27T02:23:05.263Z] $ 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/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T02:23:07.897Z] $ docker top ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:08.932Z] ---> job-cost.sh [2022-06-27T02:23:08.932Z] lf-activate-venv: SKIPPING [2022-06-27T02:23:08.932Z] INFO: No Stack... [2022-06-27T02:23:09.538Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T02:23:10.524Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:23:11.222Z] + cut -d, -f6 [2022-06-27T02:23:11.223Z] + cat /w/workspace/device-gpio/29/archives/cost.csv [Pipeline] lock [2022-06-27T02:23:11.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [2022-06-27T02:23:11.326Z] Resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] did not exist. Created. [2022-06-27T02:23:11.326Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:23:12.075Z] /w/workspace/device-gpio/29@tmp/durable-5c143152/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T02:23:12.801Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T02:23:12.829Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T02:23:12.883Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:23:12.891Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:23:12.911Z] $ docker stop --time=1 ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 [2022-06-27T02:23:14.442Z] $ docker rm -f ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 [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-06-27T02:23:14.829Z] provisioning config files... [2022-06-27T02:23:14.847Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6572220905469801337tmp [Pipeline] { [Pipeline] sh [2022-06-27T02:23:15.135Z] + set +x [2022-06-27T02:23:15.135Z] + curl -s https://codecov.io/bash [2022-06-27T02:23:15.135Z] + bash -s -- [2022-06-27T02:23:15.135Z] [2022-06-27T02:23:15.135Z] _____ _ [2022-06-27T02:23:15.135Z] / ____| | | [2022-06-27T02:23:15.135Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T02:23:15.135Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T02:23:15.135Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T02:23:15.135Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T02:23:15.135Z] Bash-1.0.6 [2022-06-27T02:23:15.135Z] [2022-06-27T02:23:15.135Z] [2022-06-27T02:23:15.135Z] ==> git version 2.25.1 found [2022-06-27T02:23:15.135Z] ==> 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-06-27T02:23:15.135Z] Release-Date: 2020-01-08 [2022-06-27T02:23:15.135Z] 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-06-27T02:23:15.135Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T02:23:15.135Z] ==> Jenkins CI detected. [2022-06-27T02:23:15.135Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-06-27T02:23:15.135Z] project root: . [2022-06-27T02:23:15.135Z] --> token set from env [2022-06-27T02:23:15.135Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T02:23:15.135Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T02:23:15.135Z] ==> Python coveragepy not found [2022-06-27T02:23:15.135Z] ==> Searching for coverage reports in: [2022-06-27T02:23:15.135Z] + . [2022-06-27T02:23:15.135Z] -> Found 1 reports [2022-06-27T02:23:15.135Z] ==> Detecting git/mercurial file structure [2022-06-27T02:23:15.135Z] ==> Reading reports [2022-06-27T02:23:15.135Z] + ./coverage.out bytes=10 [2022-06-27T02:23:15.135Z] ==> Appending adjustments [2022-06-27T02:23:15.135Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T02:23:15.135Z] + Found adjustments [2022-06-27T02:23:15.135Z] ==> Gzipping contents [2022-06-27T02:23:15.135Z] 4.0K /tmp/codecov.AmZowZ.gz [2022-06-27T02:23:15.135Z] ==> Uploading reports [2022-06-27T02:23:15.135Z] url: https://codecov.io [2022-06-27T02:23:15.135Z] query: branch=main&commit=5484f883e7ca8c4d12e7326cabafe33807e184e7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T02:23:15.135Z] -> Pinging Codecov [2022-06-27T02:23:15.396Z] 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=5484f883e7ca8c4d12e7326cabafe33807e184e7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T02:23:15.396Z] -> Uploading to [2022-06-27T02:23:15.396Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5484f883e7ca8c4d12e7326cabafe33807e184e7/5ab6a5b1-90b2-4ced-9685-cf9562164246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T022315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2c01e7b0909d4378cc90b6ab85ddd8fa8076fd694f34f066193b148cb5efc69 [2022-06-27T02:23:15.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:23:15.396Z] Dload Upload Total Spent Left Speed [2022-06-27T02:23:15.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3961 --:--:-- --:--:-- --:--:-- 3961 [2022-06-27T02:23:15.655Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } [2022-06-27T02:23:15.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-27T02:23:15.841Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-27T02:23:15.852Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:23:16.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T02:23:16.147Z] [2022-06-27T02:23:16.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:23:16.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T02:23:16.442Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-27T02:23:16.442Z] df9b9388f04a: Already exists [2022-06-27T02:23:16.442Z] 52dc419b0ee2: Pulling fs layer [2022-06-27T02:23:16.442Z] 25bc292e5bac: Pulling fs layer [2022-06-27T02:23:16.442Z] 114826534d7a: Pulling fs layer [2022-06-27T02:23:16.442Z] 4657fd5d0bcf: Pulling fs layer [2022-06-27T02:23:16.442Z] 6ad1cebc031e: Pulling fs layer [2022-06-27T02:23:16.442Z] 8a3aa393b2d8: Pulling fs layer [2022-06-27T02:23:16.442Z] 8a3aa393b2d8: Waiting [2022-06-27T02:23:16.442Z] 6ad1cebc031e: Waiting [2022-06-27T02:23:16.442Z] 4657fd5d0bcf: Waiting [2022-06-27T02:23:16.442Z] 25bc292e5bac: Verifying Checksum [2022-06-27T02:23:16.442Z] 25bc292e5bac: Download complete [2022-06-27T02:23:16.442Z] 52dc419b0ee2: Download complete [2022-06-27T02:23:16.442Z] 4657fd5d0bcf: Verifying Checksum [2022-06-27T02:23:16.442Z] 4657fd5d0bcf: Download complete [2022-06-27T02:23:16.703Z] 6ad1cebc031e: Verifying Checksum [2022-06-27T02:23:16.703Z] 6ad1cebc031e: Download complete [2022-06-27T02:23:16.703Z] 52dc419b0ee2: Pull complete [2022-06-27T02:23:16.703Z] 25bc292e5bac: Pull complete [2022-06-27T02:23:17.273Z] 114826534d7a: Download complete [2022-06-27T02:23:17.273Z] 8a3aa393b2d8: Verifying Checksum [2022-06-27T02:23:17.273Z] 8a3aa393b2d8: Download complete [2022-06-27T02:23:21.463Z] 114826534d7a: Pull complete [2022-06-27T02:23:21.463Z] 4657fd5d0bcf: Pull complete [2022-06-27T02:23:21.463Z] 6ad1cebc031e: Pull complete [2022-06-27T02:23:23.996Z] 8a3aa393b2d8: Pull complete [2022-06-27T02:23:23.996Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-27T02:23:23.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T02:23:23.996Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:23:24.094Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:23:24.130Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-27T02:23:27.801Z] $ docker top 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-27T02:23:27.898Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-06-27T02:23:28.189Z] + set -o pipefail [2022-06-27T02:23:28.189Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/f91644a0-2cf2-4476-ae00-b64d92cc5e9a [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] [2022-06-27T02:23:38.195Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-27T02:23:38.195Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-27T02:23:38.208Z] $ docker stop --time=1 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 [2022-06-27T02:23:45.176Z] $ docker rm -f 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 [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-06-27T02:23:46.022Z] + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] sh [2022-06-27T02:23:46.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T02:23:46.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:23:46.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:23:46.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:23:46.718Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:23:46.752Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T02:23:47.682Z] $ docker top f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 -eo pid,comm [2022-06-27T02:23:47.754Z] 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-06-27T02:23:47.755Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T02:23:47.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:23:47.809Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:23:47.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:23:47.958Z] $ docker exec f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 ssh-agent [2022-06-27T02:23:48.115Z] SSH_AUTH_SOCK=/tmp/ssh-L2Rdz7snf6nA/agent.16 [2022-06-27T02:23:48.115Z] SSH_AGENT_PID=24 [2022-06-27T02:23:48.121Z] Running ssh-add (command line suppressed) [2022-06-27T02:23:48.269Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2073976813405120674.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2073976813405120674.key) [2022-06-27T02:23:48.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:23:48.583Z] + git semver tag [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,884 [run_tag] DEBUG tag force:False [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,884 [check_head_tag] DEBUG check head tag [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,885 [execute] INFO git cat-file --batch-check [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,890 [execute] INFO git cat-file --batch [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-27T02:23:49.155Z] 2022-06-27 02:23:48,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-27T02:23:49.156Z] 2022-06-27 02:23:48,898 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-27T02:23:49.156Z] 2022-06-27 02:23:48,899 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-06-27T02:23:49.156Z] 2022-06-27 02:23:48,904 [main] ERROR Cmd('git') failed due to: exit code(128) [2022-06-27T02:23:49.156Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-27T02:23:49.156Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [2022-06-27T02:23:49.156Z] ERROR: Cmd('git') failed due to: exit code(128) [2022-06-27T02:23:49.156Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-27T02:23:49.156Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } [2022-06-27T02:23:49.168Z] $ docker exec --env ******** --env ******** f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 ssh-agent -k [2022-06-27T02:23:49.292Z] unset SSH_AUTH_SOCK; [2022-06-27T02:23:49.292Z] unset SSH_AGENT_PID; [2022-06-27T02:23:49.292Z] echo Agent pid 24 killed; [2022-06-27T02:23:49.305Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-06-27T02:23:49.339Z] $ docker stop --time=1 f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 [2022-06-27T02:23:51.042Z] $ docker rm -f f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [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-06-27T02:23:51.624Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-06-27T02:23:51.624Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-27T02:23:51.624Z] total 16 [2022-06-27T02:23:51.624Z] drwxr-xr-x 3 root root 4096 Jun 27 02:07 . [2022-06-27T02:23:51.624Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. [2022-06-27T02:23:51.624Z] drwxr-xr-x 2 root root 4096 Jun 27 02:07 cost [2022-06-27T02:23:51.624Z] -rw-r--r-- 1 root root 81 Jun 27 02:07 cost.csv [2022-06-27T02:23:51.624Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-27T02:23:51.624Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-27T02:23:51.624Z] total 16 [2022-06-27T02:23:51.624Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:07 . [2022-06-27T02:23:51.624Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. [2022-06-27T02:23:51.624Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:07 cost [2022-06-27T02:23:51.624Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 27 02:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:51.923Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:52.792Z] ---> package-listing.sh [2022-06-27T02:23:52.792Z] ++ facter osfamily [2022-06-27T02:23:52.792Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T02:23:53.055Z] + OS_FAMILY=debian [2022-06-27T02:23:53.055Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-06-27T02:23:53.055Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T02:23:53.055Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T02:23:53.055Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T02:23:53.055Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T02:23:53.055Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-27T02:23:53.055Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T02:23:53.055Z] + case "${OS_FAMILY}" in [2022-06-27T02:23:53.055Z] + dpkg -l [2022-06-27T02:23:53.055Z] + grep '^ii' [2022-06-27T02:23:53.055Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T02:23:53.055Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T02:23:53.055Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T02:23:53.055Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-27T02:23:53.055Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-06-27T02:23:53.055Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-06-27T02:23:53.068Z] 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-06-27T02:23:53.349Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:23:53.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:23:53.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:23:53.999Z] prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container [2022-06-27T02:23:54.034Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T02:23:54.296Z] $ docker top 200f205e61602875d716136e42dc2d5cf196301212ea411b8517327f97482afd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:23:54.654Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T02:23:54.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T02:23:55.232Z] + ls /var/log/sa-host [2022-06-27T02:23:55.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:23:55.296Z] provisioning config files... [2022-06-27T02:23:55.306Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7584829551735136550tmp [Pipeline] { [Pipeline] echo [2022-06-27T02:23:55.322Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:55.610Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T02:23:55.618Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:55.943Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T02:23:55.955Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:56.245Z] ---> sudo-logs.sh [2022-06-27T02:23:56.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T02:23:56.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:56.571Z] ---> job-cost.sh [2022-06-27T02:23:56.571Z] lf-activate-venv: SKIPPING [2022-06-27T02:23:56.571Z] DEBUG: total: 0.2199999988079071 [2022-06-27T02:23:56.571Z] INFO: Retrieving Stack Cost... [2022-06-27T02:23:56.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:23:57.407Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T02:23:57.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:57.707Z] ---> logs-deploy.sh [2022-06-27T02:23:57.708Z] lf-activate-venv: SKIPPING [2022-06-27T02:23:57.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/29 [2022-06-27T02:23:57.708Z] INFO: archiving workspace using pattern(s): [2022-06-27T02:23:58.652Z] Archives upload complete. [2022-06-27T02:23:58.912Z] INFO: archiving logs to Nexus