Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from efe4dae0c24582ba33e01b57ef1f29d5a3a31446 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-ssh13556678766131970568.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-ssh2365167366461699941.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-ssh12731209817663734918.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-ssh13689412543158124794.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-ssh11465985389266621532.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16207 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 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 (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 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 # timeout=10 Commit message: "Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" > git rev-list --no-walk 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T10:39:00.388Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T10:39:00.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T10:39:00.478Z] ========================================================= [2022-06-28T10:39:00.478Z] EdgeX Global Pipelines Version Info [2022-06-28T10:39:00.478Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:39:01.254Z] ------------------- [2022-06-28T10:39:01.254Z] stable info: [2022-06-28T10:39:01.254Z] ------------------- [2022-06-28T10:39:01.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T10:39:01.254Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T10:39:01.254Z] Message: update stable to v1.0.234 [2022-06-28T10:39:01.830Z] ------------------- [2022-06-28T10:39:01.830Z] experimental info: [2022-06-28T10:39:01.830Z] ------------------- [2022-06-28T10:39:01.830Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T10:39:01.830Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T10:39:01.830Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T10:39:02.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-28T10:39:02.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-28T10:39:02.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T10:39:02.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T10:39:02.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T10:39:02.158Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T10:39:02.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T10:39:02.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T10:39:02.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T10:39:02.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T10:39:02.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T10:39:02.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-28T10:39:02.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T10:39:02.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T10:39:02.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T10:39:02.276Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T10:39:02.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T10:39:02.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T10:39:02.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T10:39:02.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T10:39:02.349Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T10:39:02.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T10:39:02.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T10:39:02.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T10:39:02.403Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T10:39:02.416Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T10:39:02.433Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T10:39:02.449Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T10:39:02.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T10:39:02.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T10:39:02.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo [2022-06-28T10:39:02.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efe4dae [Pipeline] echo [2022-06-28T10:39:02.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T10:39:02.592Z] provisioning config files... [2022-06-28T10:39:02.611Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4250085156052857590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:39:02.928Z] ---> docker-login.sh [2022-06-28T10:39:02.928Z] nexus3.edgexfoundry.org:10001 [2022-06-28T10:39:03.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:03.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:03.458Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:03.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:03.458Z] [2022-06-28T10:39:03.458Z] Login Succeeded [2022-06-28T10:39:03.458Z] nexus3.edgexfoundry.org:10002 [2022-06-28T10:39:03.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:03.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:03.458Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:03.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:03.458Z] [2022-06-28T10:39:03.458Z] Login Succeeded [2022-06-28T10:39:03.721Z] nexus3.edgexfoundry.org:10003 [2022-06-28T10:39:03.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:03.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:03.721Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:03.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:03.721Z] [2022-06-28T10:39:03.721Z] Login Succeeded [2022-06-28T10:39:03.721Z] nexus3.edgexfoundry.org:10004 [2022-06-28T10:39:03.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:03.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:03.984Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:03.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:03.984Z] [2022-06-28T10:39:03.984Z] Login Succeeded [2022-06-28T10:39:03.984Z] docker.io [2022-06-28T10:39:03.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:04.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:04.245Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:04.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:04.245Z] [2022-06-28T10:39:04.245Z] Login Succeeded [2022-06-28T10:39:04.245Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T10:39:04.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T10:39:04.617Z] + git rev-list -1 --merges efe4dae0c24582ba33e01b57ef1f29d5a3a31446~1..efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo [2022-06-28T10:39:04.647Z] -----------> git rev-list -1 --merges efe4dae0c24582ba33e01b57ef1f29d5a3a31446~1..efe4dae0c24582ba33e01b57ef1f29d5a3a31446 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:39:04.647Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [false] [Pipeline] sh [2022-06-28T10:39:04.952Z] + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo [2022-06-28T10:39:04.968Z] ========================================================= [2022-06-28T10:39:04.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T10:39:04.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T10:39:05.319Z] + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo [2022-06-28T10:39:05.332Z] [semverPrep] GIT_COMMIT: efe4dae0c24582ba33e01b57ef1f29d5a3a31446, Commit Message: Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0 [Pipeline] echo [2022-06-28T10:39:05.344Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T10:39:05.709Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T10:39:05.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T10:39:05.710Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T10:39:05.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T10:39:05.710Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T10:39:05.710Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T10:39:05.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:39:06.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T10:39:06.149Z] [2022-06-28T10:39:06.149Z] 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-28T10:39:06.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T10:39:06.457Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T10:39:06.457Z] 42c077c10790: Pulling fs layer [2022-06-28T10:39:06.457Z] f63e77b7563a: Pulling fs layer [2022-06-28T10:39:06.457Z] bd5fdadae976: Pulling fs layer [2022-06-28T10:39:06.457Z] 205491f53016: Pulling fs layer [2022-06-28T10:39:06.457Z] df18705c85c3: Pulling fs layer [2022-06-28T10:39:06.457Z] bdb3f477010e: Pulling fs layer [2022-06-28T10:39:06.457Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T10:39:06.457Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T10:39:06.457Z] bdb8f0575790: Pulling fs layer [2022-06-28T10:39:06.457Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T10:39:06.457Z] 2343380bae48: Pulling fs layer [2022-06-28T10:39:06.457Z] bdb3f477010e: Waiting [2022-06-28T10:39:06.457Z] df18705c85c3: Waiting [2022-06-28T10:39:06.457Z] 2c6e9b1d212d: Waiting [2022-06-28T10:39:06.457Z] 2343380bae48: Waiting [2022-06-28T10:39:06.457Z] 205491f53016: Waiting [2022-06-28T10:39:06.457Z] bdb8f0575790: Waiting [2022-06-28T10:39:06.457Z] f63e77b7563a: Download complete [2022-06-28T10:39:06.457Z] 205491f53016: Verifying Checksum [2022-06-28T10:39:06.457Z] 205491f53016: Download complete [2022-06-28T10:39:06.717Z] df18705c85c3: Verifying Checksum [2022-06-28T10:39:06.717Z] df18705c85c3: Download complete [2022-06-28T10:39:06.717Z] bd5fdadae976: Verifying Checksum [2022-06-28T10:39:06.717Z] bd5fdadae976: Download complete [2022-06-28T10:39:06.717Z] bdb3f477010e: Download complete [2022-06-28T10:39:06.717Z] 2c6e9b1d212d: Download complete [2022-06-28T10:39:06.717Z] bdb8f0575790: Verifying Checksum [2022-06-28T10:39:06.717Z] bdb8f0575790: Download complete [2022-06-28T10:39:06.717Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T10:39:06.717Z] 386e3cb2ff24: Download complete [2022-06-28T10:39:06.717Z] 2343380bae48: Download complete [2022-06-28T10:39:06.717Z] 42c077c10790: Verifying Checksum [2022-06-28T10:39:06.717Z] 42c077c10790: Download complete [2022-06-28T10:39:06.983Z] c8a8fc8e1c8f: Download complete [2022-06-28T10:39:08.387Z] 42c077c10790: Pull complete [2022-06-28T10:39:08.387Z] f63e77b7563a: Pull complete [2022-06-28T10:39:08.961Z] bd5fdadae976: Pull complete [2022-06-28T10:39:08.961Z] 205491f53016: Pull complete [2022-06-28T10:39:09.245Z] df18705c85c3: Pull complete [2022-06-28T10:39:09.506Z] bdb3f477010e: Pull complete [2022-06-28T10:39:11.434Z] c8a8fc8e1c8f: Pull complete [2022-06-28T10:39:11.434Z] 2c6e9b1d212d: Pull complete [2022-06-28T10:39:11.696Z] bdb8f0575790: Pull complete [2022-06-28T10:39:11.696Z] 386e3cb2ff24: Pull complete [2022-06-28T10:39:11.958Z] 2343380bae48: Pull complete [2022-06-28T10:39:11.958Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T10:39:11.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T10:39:11.958Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:39:12.069Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:39:12.108Z] $ 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-28T10:39:13.774Z] $ docker top 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 -eo pid,comm [2022-06-28T10:39:13.847Z] 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-28T10:39:13.847Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T10:39:13.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T10:39:13.887Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T10:39:14.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T10:39:14.027Z] $ docker exec 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent [2022-06-28T10:39:14.170Z] SSH_AUTH_SOCK=/tmp/ssh-2roqvTZe3t8t/agent.32 [2022-06-28T10:39:14.170Z] SSH_AGENT_PID=39 [2022-06-28T10:39:14.177Z] Running ssh-add (command line suppressed) [2022-06-28T10:39:14.297Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6789098535082212924.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6789098535082212924.key) [2022-06-28T10:39:14.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T10:39:14.615Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T10:39:14.634Z] $ docker exec --env ******** --env ******** 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent -k [2022-06-28T10:39:14.749Z] unset SSH_AUTH_SOCK; [2022-06-28T10:39:14.749Z] unset SSH_AGENT_PID; [2022-06-28T10:39:14.749Z] echo Agent pid 39 killed; [2022-06-28T10:39:14.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T10:39:14.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T10:39:14.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T10:39:14.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T10:39:14.927Z] $ docker exec 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent [2022-06-28T10:39:15.055Z] SSH_AUTH_SOCK=/tmp/ssh-fIOJBjtyoigy/agent.75 [2022-06-28T10:39:15.055Z] SSH_AGENT_PID=82 [2022-06-28T10:39:15.062Z] Running ssh-add (command line suppressed) [2022-06-28T10:39:15.175Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9046006697482868714.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9046006697482868714.key) [2022-06-28T10:39:15.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T10:39:15.488Z] + git semver init [2022-06-28T10:39:15.750Z] 2022-06-28 10:39:15,706 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T10:39:15.750Z] 2022-06-28 10:39:15,707 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-28T10:39:15.750Z] 2022-06-28 10:39:15,708 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-28T10:39:15.750Z] 2022-06-28 10:39:15,708 [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-28T10:39:16.699Z] 2022-06-28 10:39:16,526 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-06-28T10:39:16.699Z] 2022-06-28 10:39:16,526 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-06-28T10:39:16.699Z] 2022-06-28 10:39:16,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T10:39:16.699Z] 2022-06-28 10:39:16,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T10:39:16.699Z] 2.2.1-dev.1 [Pipeline] } [2022-06-28T10:39:16.709Z] $ docker exec --env ******** --env ******** 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent -k [2022-06-28T10:39:16.831Z] unset SSH_AUTH_SOCK; [2022-06-28T10:39:16.832Z] unset SSH_AGENT_PID; [2022-06-28T10:39:16.832Z] echo Agent pid 82 killed; [2022-06-28T10:39:16.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T10:39:17.150Z] + git semver [Pipeline] } [2022-06-28T10:39:17.431Z] $ docker stop --time=1 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 [2022-06-28T10:39:18.793Z] $ docker rm -f 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T10:39:19.154Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T10:39:19.422Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T10:39:19.425Z] [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-28T10:39:19.549Z] provisioning config files... [2022-06-28T10:39:19.559Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8540022083699178432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:39:19.857Z] ---> docker-login.sh [2022-06-28T10:39:19.857Z] nexus3.edgexfoundry.org:10001 [2022-06-28T10:39:19.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:19.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:19.857Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:19.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:19.857Z] [2022-06-28T10:39:19.857Z] Login Succeeded [2022-06-28T10:39:19.857Z] nexus3.edgexfoundry.org:10002 [2022-06-28T10:39:20.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:20.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:20.119Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:20.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:20.119Z] [2022-06-28T10:39:20.119Z] Login Succeeded [2022-06-28T10:39:20.119Z] nexus3.edgexfoundry.org:10003 [2022-06-28T10:39:20.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:20.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:20.119Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:20.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:20.119Z] [2022-06-28T10:39:20.119Z] Login Succeeded [2022-06-28T10:39:20.119Z] nexus3.edgexfoundry.org:10004 [2022-06-28T10:39:20.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:20.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:20.381Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:20.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:20.381Z] [2022-06-28T10:39:20.381Z] Login Succeeded [2022-06-28T10:39:20.381Z] docker.io [2022-06-28T10:39:20.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:39:20.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:39:20.641Z] Configure a credential helper to remove this warning. See [2022-06-28T10:39:20.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:39:20.641Z] [2022-06-28T10:39:20.641Z] Login Succeeded [2022-06-28T10:39:20.641Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T10:39:20.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T10:39:20.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:39:20.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:39:20.734Z] ========================================================= [2022-06-28T10:39:20.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T10:39:20.734Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:39:21.063Z] + 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-28T10:39:21.063Z] Sending build context to Docker daemon 15.73MB [2022-06-28T10:39:21.064Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T10:39:21.064Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T10:39:21.064Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T10:39:21.064Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T10:39:21.064Z] 666ba61612fd: Pulling fs layer [2022-06-28T10:39:21.064Z] 8ed8ca486205: Pulling fs layer [2022-06-28T10:39:21.064Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T10:39:21.064Z] c516ae0d96e1: Pulling fs layer [2022-06-28T10:39:21.064Z] 684cea983483: Pulling fs layer [2022-06-28T10:39:21.064Z] dd3240ac7de5: Pulling fs layer [2022-06-28T10:39:21.064Z] b1e948a4e11c: Pulling fs layer [2022-06-28T10:39:21.064Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T10:39:21.064Z] 646ad004c059: Pulling fs layer [2022-06-28T10:39:21.064Z] 684cea983483: Waiting [2022-06-28T10:39:21.064Z] dd3240ac7de5: Waiting [2022-06-28T10:39:21.064Z] b1e948a4e11c: Waiting [2022-06-28T10:39:21.064Z] a8fd76ee1af6: Waiting [2022-06-28T10:39:21.064Z] 646ad004c059: Waiting [2022-06-28T10:39:21.064Z] c516ae0d96e1: Waiting [2022-06-28T10:39:21.064Z] cc1cd167ecdc: Waiting [2022-06-28T10:39:21.326Z] 8ed8ca486205: Verifying Checksum [2022-06-28T10:39:21.326Z] 8ed8ca486205: Download complete [2022-06-28T10:39:21.326Z] 666ba61612fd: Verifying Checksum [2022-06-28T10:39:21.326Z] 666ba61612fd: Download complete [2022-06-28T10:39:21.326Z] c516ae0d96e1: Verifying Checksum [2022-06-28T10:39:21.326Z] c516ae0d96e1: Download complete [2022-06-28T10:39:21.326Z] 684cea983483: Download complete [2022-06-28T10:39:21.326Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T10:39:21.326Z] 59bf1c3509f3: Download complete [2022-06-28T10:39:21.326Z] dd3240ac7de5: Download complete [2022-06-28T10:39:21.326Z] b1e948a4e11c: Verifying Checksum [2022-06-28T10:39:21.326Z] b1e948a4e11c: Download complete [2022-06-28T10:39:21.326Z] 59bf1c3509f3: Pull complete [2022-06-28T10:39:21.599Z] 666ba61612fd: Pull complete [2022-06-28T10:39:21.599Z] 8ed8ca486205: Pull complete [2022-06-28T10:39:22.183Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T10:39:22.183Z] a8fd76ee1af6: Download complete [2022-06-28T10:39:22.183Z] 646ad004c059: Verifying Checksum [2022-06-28T10:39:22.183Z] 646ad004c059: Download complete [2022-06-28T10:39:22.183Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T10:39:22.183Z] cc1cd167ecdc: Download complete [2022-06-28T10:39:26.391Z] cc1cd167ecdc: Pull complete [2022-06-28T10:39:26.391Z] c516ae0d96e1: Pull complete [2022-06-28T10:39:26.391Z] 684cea983483: Pull complete [2022-06-28T10:39:26.391Z] dd3240ac7de5: Pull complete [2022-06-28T10:39:26.651Z] b1e948a4e11c: Pull complete [2022-06-28T10:39:29.192Z] a8fd76ee1af6: Pull complete [2022-06-28T10:39:29.761Z] 646ad004c059: Pull complete [2022-06-28T10:39:29.761Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T10:39:29.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T10:39:29.761Z] ---> 8f69c11f6b0c [2022-06-28T10:39:29.761Z] Step 3/12 : ARG MAKE="make build" [2022-06-28T10:39:31.679Z] ---> Running in 0f454263eca8 [2022-06-28T10:39:31.679Z] Removing intermediate container 0f454263eca8 [2022-06-28T10:39:31.679Z] ---> 37f138a45197 [2022-06-28T10:39:31.679Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T10:39:31.679Z] ---> Running in d2b9766ee4a7 [2022-06-28T10:39:31.939Z] Removing intermediate container d2b9766ee4a7 [2022-06-28T10:39:31.939Z] ---> b685522d9475 [2022-06-28T10:39:31.939Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T10:39:31.939Z] ---> Running in 82f75b8c6dac [2022-06-28T10:39:31.939Z] Removing intermediate container 82f75b8c6dac [2022-06-28T10:39:31.939Z] ---> 3979c10db541 [2022-06-28T10:39:31.939Z] Step 6/12 : WORKDIR /device-gpio [2022-06-28T10:39:31.939Z] ---> Running in 06c7ef963438 [2022-06-28T10:39:32.198Z] Removing intermediate container 06c7ef963438 [2022-06-28T10:39:32.198Z] ---> a3e810bb5ba3 [2022-06-28T10:39:32.198Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:39:32.198Z] ---> Running in 4c1d09cf7c3e [2022-06-28T10:39:32.769Z] Removing intermediate container 4c1d09cf7c3e [2022-06-28T10:39:32.769Z] ---> 62e4ee5dd961 [2022-06-28T10:39:32.769Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T10:39:32.769Z] ---> Running in 638155f5f03e [2022-06-28T10:39:33.028Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T10:39:33.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T10:39:34.513Z] Still waiting to schedule task [2022-06-28T10:39:34.513Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T10:39:34.554Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T10:39:34.554Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T10:39:34.554Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T10:39:34.554Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T10:39:34.820Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T10:39:34.820Z] OK: 224 MiB in 56 packages [2022-06-28T10:39:35.079Z] Removing intermediate container 638155f5f03e [2022-06-28T10:39:35.079Z] ---> 8ad2bf6b5d32 [2022-06-28T10:39:35.079Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T10:39:35.340Z] ---> 8bf9c400d7b3 [2022-06-28T10:39:35.340Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T10:39:35.340Z] ---> Running in 2c7760cca06d [2022-06-28T10:39:58.261Z] Removing intermediate container 2c7760cca06d [2022-06-28T10:39:58.261Z] ---> d4eabd7ce848 [2022-06-28T10:39:58.261Z] Step 11/12 : COPY . . [2022-06-28T10:39:58.261Z] ---> 89a341587a59 [2022-06-28T10:39:58.261Z] Step 12/12 : RUN ${MAKE} [2022-06-28T10:39:58.261Z] ---> Running in 54a5495ee309 [2022-06-28T10:39:58.261Z] noop [2022-06-28T10:39:58.261Z] Removing intermediate container 54a5495ee309 [2022-06-28T10:39:58.261Z] ---> 22ce47450b9f [2022-06-28T10:39:58.261Z] Successfully built 22ce47450b9f [2022-06-28T10:39:58.261Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:39:58.582Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T10:39:58.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:39:58.661Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:39:58.702Z] $ 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-28T10:39:59.104Z] $ docker top 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T10:39:59.466Z] + go version [2022-06-28T10:39:59.466Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T10:39:59.483Z] $ docker stop --time=1 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc [2022-06-28T10:40:00.840Z] $ docker rm -f 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:40:01.267Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T10:40:01.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:40:01.353Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:40:01.397Z] $ 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-28T10:40:01.802Z] $ docker top f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T10:40:02.181Z] + make test [2022-06-28T10:40:02.182Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T10:40:02.441Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-28T10:40:12.426Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-28T10:40:12.426Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-28T10:40:19.009Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T10:40:23.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T10:40:23.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T10:40:23.210Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T10:40:23.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T10:40:23.506Z] $ docker stop --time=1 f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 [2022-06-28T10:40:25.539Z] $ docker rm -f f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T10:40:26.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T10:40:26.078Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T10:40:26.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T10:40:26.875Z] + ls -al . [2022-06-28T10:40:26.875Z] total 172 [2022-06-28T10:40:26.875Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 10:40 . [2022-06-28T10:40:26.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 10:38 .. [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 10:38 .dockerignore [2022-06-28T10:40:26.875Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:39 .git [2022-06-28T10:40:26.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 .github [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 10:38 .gitignore [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 10:38 .golangci.yml [2022-06-28T10:40:26.875Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 10:39 .semver [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 10:38 Attribution.txt [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 10:38 CHANGELOG.md [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 10:38 Dockerfile [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 10:38 GOVERNANCE.md [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 10:38 Jenkinsfile [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 10:38 LICENSE [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 10:38 Makefile [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 10:38 OWNERS.md [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 10:38 README.md [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 10:39 VERSION [2022-06-28T10:40:26.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 10:38 bin [2022-06-28T10:40:26.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 cmd [2022-06-28T10:40:26.875Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 28 10:40 coverage.out [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 10:38 go.mod [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 48076 Jun 28 10:38 go.sum [2022-06-28T10:40:26.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 internal [2022-06-28T10:40:26.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 snap [2022-06-28T10:40:26.875Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 10:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:40:27.213Z] + 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-06-28T10:40:27.213Z] Sending build context to Docker daemon 15.73MB [2022-06-28T10:40:27.213Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T10:40:27.213Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T10:40:27.213Z] ---> 22ce47450b9f [2022-06-28T10:40:27.213Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T10:40:27.473Z] ---> Running in 941fc3b6e820 [2022-06-28T10:40:27.473Z] Removing intermediate container 941fc3b6e820 [2022-06-28T10:40:27.473Z] ---> aba82e5b415e [2022-06-28T10:40:27.473Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T10:40:27.473Z] ---> Running in 34bd78563c6a [2022-06-28T10:40:27.732Z] Removing intermediate container 34bd78563c6a [2022-06-28T10:40:27.732Z] ---> 7d8f932e9b47 [2022-06-28T10:40:27.732Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T10:40:27.732Z] ---> Running in 225c91ba5d1d [2022-06-28T10:40:27.732Z] Removing intermediate container 225c91ba5d1d [2022-06-28T10:40:27.732Z] ---> b225c53e4695 [2022-06-28T10:40:27.732Z] Step 6/26 : WORKDIR /device-gpio [2022-06-28T10:40:27.997Z] ---> Running in e8b1b0624902 [2022-06-28T10:40:27.997Z] Removing intermediate container e8b1b0624902 [2022-06-28T10:40:27.997Z] ---> b726d3032472 [2022-06-28T10:40:27.997Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:40:27.997Z] ---> Running in d04305e5e5eb [2022-06-28T10:40:28.569Z] Removing intermediate container d04305e5e5eb [2022-06-28T10:40:28.569Z] ---> e95cca8f3ed4 [2022-06-28T10:40:28.569Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T10:40:28.569Z] ---> Running in e8a62d22eaf5 [2022-06-28T10:40:28.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T10:40:29.771Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T10:40:30.034Z] OK: 224 MiB in 56 packages [2022-06-28T10:40:30.607Z] Removing intermediate container e8a62d22eaf5 [2022-06-28T10:40:30.607Z] ---> 7ad71b726c54 [2022-06-28T10:40:30.607Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-28T10:40:30.607Z] ---> 4f3761a25b20 [2022-06-28T10:40:30.607Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T10:40:30.607Z] ---> Running in f98238b91e4a [2022-06-28T10:40:31.609Z] Removing intermediate container f98238b91e4a [2022-06-28T10:40:31.609Z] ---> 0fd26159d395 [2022-06-28T10:40:31.609Z] Step 11/26 : COPY . . [2022-06-28T10:40:31.870Z] ---> 7e7838afe8a3 [2022-06-28T10:40:31.870Z] Step 12/26 : RUN ${MAKE} [2022-06-28T10:40:31.870Z] ---> Running in cd9d541597c2 [2022-06-28T10:40:32.130Z] 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-28T10:40:54.081Z] Removing intermediate container cd9d541597c2 [2022-06-28T10:40:54.081Z] ---> 07f271eca318 [2022-06-28T10:40:54.081Z] Step 13/26 : FROM alpine:3.15 [2022-06-28T10:40:54.081Z] 3.15: Pulling from library/alpine [2022-06-28T10:40:54.081Z] df9b9388f04a: Pulling fs layer [2022-06-28T10:40:54.081Z] df9b9388f04a: Verifying Checksum [2022-06-28T10:40:54.081Z] df9b9388f04a: Download complete [2022-06-28T10:40:54.081Z] df9b9388f04a: Pull complete [2022-06-28T10:40:54.081Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T10:40:54.081Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T10:40:54.081Z] ---> 0ac33e5f5afa [2022-06-28T10:40:54.081Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-28T10:40:54.081Z] ---> Running in 7daabe27ff56 [2022-06-28T10:40:54.081Z] Removing intermediate container 7daabe27ff56 [2022-06-28T10:40:54.081Z] ---> f1db689111d0 [2022-06-28T10:40:54.081Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:40:54.081Z] ---> Running in f2530e2646ee [2022-06-28T10:40:54.650Z] Removing intermediate container f2530e2646ee [2022-06-28T10:40:54.650Z] ---> 52dc1660ac72 [2022-06-28T10:40:54.650Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-28T10:40:54.650Z] ---> Running in 7839eed39973 [2022-06-28T10:40:55.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T10:40:55.790Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T10:40:56.361Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T10:40:56.622Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-28T10:40:56.622Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T10:40:56.881Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-28T10:40:56.881Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-28T10:40:56.881Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T10:40:56.881Z] OK: 8 MiB in 19 packages [2022-06-28T10:40:57.450Z] Removing intermediate container 7839eed39973 [2022-06-28T10:40:57.450Z] ---> e73aebbba84f [2022-06-28T10:40:57.450Z] Step 17/26 : WORKDIR / [2022-06-28T10:40:57.450Z] ---> Running in 5fa11618a0e8 [2022-06-28T10:40:57.450Z] Removing intermediate container 5fa11618a0e8 [2022-06-28T10:40:57.450Z] ---> c477ead411c4 [2022-06-28T10:40:57.450Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-28T10:40:57.711Z] ---> 78278da3c017 [2022-06-28T10:40:57.711Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-28T10:40:57.969Z] ---> 47e37ea93132 [2022-06-28T10:40:57.969Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-28T10:40:58.539Z] ---> ffe60a0cc631 [2022-06-28T10:40:58.539Z] Step 21/26 : EXPOSE 59910 [2022-06-28T10:40:58.539Z] ---> Running in 188d652f70b6 [2022-06-28T10:40:58.539Z] Removing intermediate container 188d652f70b6 [2022-06-28T10:40:58.539Z] ---> 05e264056dff [2022-06-28T10:40:58.539Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-28T10:40:58.539Z] ---> Running in 8b9cd9e0661d [2022-06-28T10:40:58.800Z] Removing intermediate container 8b9cd9e0661d [2022-06-28T10:40:58.800Z] ---> 2893f924d6c5 [2022-06-28T10:40:58.800Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T10:40:58.800Z] ---> Running in c5f9e838293f [2022-06-28T10:40:58.800Z] Removing intermediate container c5f9e838293f [2022-06-28T10:40:58.800Z] ---> 818190ca72de [2022-06-28T10:40:58.800Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T10:40:59.085Z] ---> Running in 17b2f7df894c [2022-06-28T10:40:59.085Z] Removing intermediate container 17b2f7df894c [2022-06-28T10:40:59.085Z] ---> e956582f6fc0 [2022-06-28T10:40:59.085Z] Step 25/26 : LABEL git_sha=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:40:59.085Z] ---> Running in e7c65615893b [2022-06-28T10:40:59.085Z] Removing intermediate container e7c65615893b [2022-06-28T10:40:59.085Z] ---> c90855744857 [2022-06-28T10:40:59.085Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-28T10:40:59.345Z] ---> Running in ebcc593550f8 [2022-06-28T10:40:59.345Z] Removing intermediate container ebcc593550f8 [2022-06-28T10:40:59.345Z] ---> 6027072faaac [2022-06-28T10:40:59.345Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T10:40:59.345Z] Successfully built 6027072faaac [2022-06-28T10:40:59.345Z] 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-28T10:40:59.441Z] provisioning config files... [2022-06-28T10:40:59.450Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7326318729813972403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:40:59.750Z] ---> docker-login.sh [2022-06-28T10:40:59.750Z] nexus3.edgexfoundry.org:10001 [2022-06-28T10:40:59.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:40:59.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:40:59.750Z] Configure a credential helper to remove this warning. See [2022-06-28T10:40:59.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:40:59.750Z] [2022-06-28T10:40:59.750Z] Login Succeeded [2022-06-28T10:40:59.750Z] nexus3.edgexfoundry.org:10002 [2022-06-28T10:40:59.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:00.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:00.010Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:00.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:00.010Z] [2022-06-28T10:41:00.010Z] Login Succeeded [2022-06-28T10:41:00.010Z] nexus3.edgexfoundry.org:10003 [2022-06-28T10:41:00.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:00.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:00.010Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:00.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:00.010Z] [2022-06-28T10:41:00.010Z] Login Succeeded [2022-06-28T10:41:00.010Z] nexus3.edgexfoundry.org:10004 [2022-06-28T10:41:00.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:00.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:00.271Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:00.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:00.271Z] [2022-06-28T10:41:00.271Z] Login Succeeded [2022-06-28T10:41:00.271Z] docker.io [2022-06-28T10:41:00.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:00.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:00.531Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:00.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:00.531Z] [2022-06-28T10:41:00.531Z] Login Succeeded [2022-06-28T10:41:00.531Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T10:41:00.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T10:41:00.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:41:00.594Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-06-28T10:41:00.594Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:41:00.594Z] latest [2022-06-28T10:41:00.594Z] 2.2.1-dev.1 [2022-06-28T10:41:00.594Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:41:00.594Z] main [2022-06-28T10:41:00.594Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:00.919Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:01.236Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:41:01.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T10:41:01.236Z] dad699bb8c3d: Preparing [2022-06-28T10:41:01.236Z] 208cb1da75d7: Preparing [2022-06-28T10:41:01.236Z] e6394844a2f5: Preparing [2022-06-28T10:41:01.236Z] 2b76b485aa18: Preparing [2022-06-28T10:41:01.236Z] 7c5d3fb1ac4d: Preparing [2022-06-28T10:41:01.236Z] 4fc242d58285: Preparing [2022-06-28T10:41:01.236Z] 4fc242d58285: Waiting [2022-06-28T10:41:01.236Z] 7c5d3fb1ac4d: Pushed [2022-06-28T10:41:01.236Z] 208cb1da75d7: Pushed [2022-06-28T10:41:01.236Z] e6394844a2f5: Pushed [2022-06-28T10:41:01.498Z] 4fc242d58285: Layer already exists [2022-06-28T10:41:01.498Z] 2b76b485aa18: Pushed [2022-06-28T10:41:04.043Z] dad699bb8c3d: Pushed [2022-06-28T10:41:04.043Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:04.366Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:04.682Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-28T10:41:04.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T10:41:04.682Z] dad699bb8c3d: Preparing [2022-06-28T10:41:04.682Z] 208cb1da75d7: Preparing [2022-06-28T10:41:04.682Z] e6394844a2f5: Preparing [2022-06-28T10:41:04.682Z] 2b76b485aa18: Preparing [2022-06-28T10:41:04.682Z] 7c5d3fb1ac4d: Preparing [2022-06-28T10:41:04.682Z] 4fc242d58285: Preparing [2022-06-28T10:41:04.682Z] 4fc242d58285: Waiting [2022-06-28T10:41:04.682Z] dad699bb8c3d: Layer already exists [2022-06-28T10:41:04.682Z] e6394844a2f5: Layer already exists [2022-06-28T10:41:04.682Z] 208cb1da75d7: Layer already exists [2022-06-28T10:41:04.682Z] 2b76b485aa18: Layer already exists [2022-06-28T10:41:04.682Z] 7c5d3fb1ac4d: Layer already exists [2022-06-28T10:41:04.682Z] 4fc242d58285: Layer already exists [2022-06-28T10:41:04.682Z] latest: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:05.045Z] + 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-28T10:41:05.422Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-28T10:41:05.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T10:41:05.422Z] dad699bb8c3d: Preparing [2022-06-28T10:41:05.422Z] 208cb1da75d7: Preparing [2022-06-28T10:41:05.422Z] e6394844a2f5: Preparing [2022-06-28T10:41:05.422Z] 2b76b485aa18: Preparing [2022-06-28T10:41:05.422Z] 7c5d3fb1ac4d: Preparing [2022-06-28T10:41:05.422Z] 4fc242d58285: Preparing [2022-06-28T10:41:05.422Z] 4fc242d58285: Waiting [2022-06-28T10:41:05.422Z] 2b76b485aa18: Layer already exists [2022-06-28T10:41:05.422Z] dad699bb8c3d: Layer already exists [2022-06-28T10:41:05.422Z] 208cb1da75d7: Layer already exists [2022-06-28T10:41:05.422Z] e6394844a2f5: Layer already exists [2022-06-28T10:41:05.422Z] 7c5d3fb1ac4d: Layer already exists [2022-06-28T10:41:05.422Z] 4fc242d58285: Layer already exists [2022-06-28T10:41:05.422Z] 2.2.1-dev.1: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:05.735Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:06.043Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:41:06.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T10:41:06.043Z] dad699bb8c3d: Preparing [2022-06-28T10:41:06.043Z] 208cb1da75d7: Preparing [2022-06-28T10:41:06.043Z] e6394844a2f5: Preparing [2022-06-28T10:41:06.043Z] 2b76b485aa18: Preparing [2022-06-28T10:41:06.043Z] 7c5d3fb1ac4d: Preparing [2022-06-28T10:41:06.043Z] 4fc242d58285: Preparing [2022-06-28T10:41:06.043Z] 4fc242d58285: Waiting [2022-06-28T10:41:06.043Z] dad699bb8c3d: Layer already exists [2022-06-28T10:41:06.043Z] 2b76b485aa18: Layer already exists [2022-06-28T10:41:06.043Z] e6394844a2f5: Layer already exists [2022-06-28T10:41:06.043Z] 7c5d3fb1ac4d: Layer already exists [2022-06-28T10:41:06.043Z] 208cb1da75d7: Layer already exists [2022-06-28T10:41:06.043Z] 4fc242d58285: Layer already exists [2022-06-28T10:41:06.043Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:06.359Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:06.670Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-06-28T10:41:06.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T10:41:06.670Z] dad699bb8c3d: Preparing [2022-06-28T10:41:06.670Z] 208cb1da75d7: Preparing [2022-06-28T10:41:06.670Z] e6394844a2f5: Preparing [2022-06-28T10:41:06.670Z] 2b76b485aa18: Preparing [2022-06-28T10:41:06.670Z] 7c5d3fb1ac4d: Preparing [2022-06-28T10:41:06.670Z] 4fc242d58285: Preparing [2022-06-28T10:41:06.670Z] 4fc242d58285: Waiting [2022-06-28T10:41:06.670Z] 208cb1da75d7: Layer already exists [2022-06-28T10:41:06.670Z] dad699bb8c3d: Layer already exists [2022-06-28T10:41:06.670Z] 2b76b485aa18: Layer already exists [2022-06-28T10:41:06.670Z] e6394844a2f5: Layer already exists [2022-06-28T10:41:06.670Z] 7c5d3fb1ac4d: Layer already exists [2022-06-28T10:41:06.670Z] 4fc242d58285: Layer already exists [2022-06-28T10:41:06.670Z] main: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T10:41:06.718Z] ===================================================== [Pipeline] echo [2022-06-28T10:41:06.726Z] taggedImages: [2022-06-28T10:41:06.726Z] - nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:41:06.726Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-28T10:41:06.726Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-28T10:41:06.726Z] - nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:41:06.726Z] - 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-28T10:41:07.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T10:41:07.089Z] [2022-06-28T10:41:07.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:07.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T10:41:07.390Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T10:41:07.390Z] 5eb5b503b376: Pulling fs layer [2022-06-28T10:41:07.390Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T10:41:07.390Z] ec43610c2a17: Pulling fs layer [2022-06-28T10:41:07.390Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T10:41:07.390Z] 33b1e0a273af: Pulling fs layer [2022-06-28T10:41:07.390Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T10:41:07.390Z] 2f39f015ded8: Pulling fs layer [2022-06-28T10:41:07.390Z] 33b1e0a273af: Waiting [2022-06-28T10:41:07.390Z] 5d3b04190fa2: Waiting [2022-06-28T10:41:07.390Z] 2f39f015ded8: Waiting [2022-06-28T10:41:07.390Z] 3a2ae6a8a46f: Waiting [2022-06-28T10:41:07.390Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T10:41:07.390Z] 5c69ac0246d0: Download complete [2022-06-28T10:41:07.390Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T10:41:07.390Z] 3a2ae6a8a46f: Download complete [2022-06-28T10:41:07.390Z] 33b1e0a273af: Verifying Checksum [2022-06-28T10:41:07.390Z] 33b1e0a273af: Download complete [2022-06-28T10:41:07.650Z] 5d3b04190fa2: Download complete [2022-06-28T10:41:07.650Z] ec43610c2a17: Verifying Checksum [2022-06-28T10:41:07.650Z] ec43610c2a17: Download complete [2022-06-28T10:41:07.650Z] 5eb5b503b376: Verifying Checksum [2022-06-28T10:41:07.650Z] 5eb5b503b376: Download complete [2022-06-28T10:41:08.217Z] 2f39f015ded8: Verifying Checksum [2022-06-28T10:41:08.217Z] 2f39f015ded8: Download complete [2022-06-28T10:41:08.784Z] 5eb5b503b376: Pull complete [2022-06-28T10:41:08.784Z] 5c69ac0246d0: Pull complete [2022-06-28T10:41:09.265Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16208 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-06-28T10:41:09.278Z] Running in /w/workspace/device-gpio/30 [Pipeline] { [Pipeline] checkout [2022-06-28T10:41:09.316Z] The recommended git tool is: git [2022-06-28T10:41:09.350Z] ec43610c2a17: Pull complete [2022-06-28T10:41:09.350Z] 3a2ae6a8a46f: Pull complete [2022-06-28T10:41:09.612Z] 33b1e0a273af: Pull complete [2022-06-28T10:41:09.612Z] 5d3b04190fa2: Pull complete [2022-06-28T10:41:13.803Z] 2f39f015ded8: Pull complete [2022-06-28T10:41:13.803Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T10:41:13.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T10:41:13.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:41:13.895Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:41:13.938Z] $ 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-28T10:41:15.457Z] using credential edgex-jenkins-ssh [2022-06-28T10:41:15.474Z] Cloning the remote Git repository [2022-06-28T10:41:16.224Z] $ docker top 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:41:15.530Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-28T10:41:15.608Z] > git init /w/workspace/device-gpio/30 # timeout=10 [2022-06-28T10:41:15.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-28T10:41:15.705Z] > git --version # timeout=10 [2022-06-28T10:41:15.736Z] > git --version # 'git version 2.25.1' [2022-06-28T10:41:15.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T10:41:15.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T10:41:16.741Z] ---> job-cost.sh [2022-06-28T10:41:16.741Z] lf-activate-venv: SKIPPING [2022-06-28T10:41:16.741Z] INFO: No Stack... [2022-06-28T10:41:17.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T10:41:17.415Z] Avoid second fetch [2022-06-28T10:41:17.415Z] Checking out Revision efe4dae0c24582ba33e01b57ef1f29d5a3a31446 (main) [2022-06-28T10:41:17.570Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T10:41:17.858Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-06-28T10:41:17.858Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T10:41:17.871Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [2022-06-28T10:41:17.879Z] Resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] did not exist. Created. [2022-06-28T10:41:17.879Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T10:41:17.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-28T10:41:17.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T10:41:17.435Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T10:41:17.446Z] > git checkout -f efe4dae0c24582ba33e01b57ef1f29d5a3a31446 # timeout=10 [2022-06-28T10:41:18.185Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T10:41:18.218Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T10:41:18.224Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T10:41:18.245Z] $ docker stop --time=1 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 [2022-06-28T10:41:19.418Z] $ docker rm -f 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T10:41:21.621Z] Commit message: "Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T10:41:22.433Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T10:41:22.433Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T10:41:22.433Z] Dload Upload Total Spent Left Speed [2022-06-28T10:41:22.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 92127 [Pipeline] sh [2022-06-28T10:41:23.254Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T10:41:23.611Z] + sudo tee /etc/docker/daemon.new [2022-06-28T10:41:23.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T10:41:23.612Z] { [2022-06-28T10:41:23.612Z] "registry-mirrors": [ [2022-06-28T10:41:23.612Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T10:41:23.612Z] ], [2022-06-28T10:41:23.612Z] "bip": "10.250.0.254/24", [2022-06-28T10:41:23.612Z] "hosts": [ [2022-06-28T10:41:23.612Z] "tcp://0.0.0.0:5555", [2022-06-28T10:41:23.612Z] "unix:///var/run/docker.sock" [2022-06-28T10:41:23.612Z] ], [2022-06-28T10:41:23.612Z] "mtu": 1458, [2022-06-28T10:41:23.612Z] "selinux-enabled": true, [2022-06-28T10:41:23.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T10:41:23.612Z] } [Pipeline] sh [2022-06-28T10:41:23.962Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T10:41:24.304Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T10:41:42.644Z] provisioning config files... [2022-06-28T10:41:42.668Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/30@tmp/config3235479628931705685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:41:43.265Z] ---> docker-login.sh [2022-06-28T10:41:43.265Z] nexus3.edgexfoundry.org:10001 [2022-06-28T10:41:43.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:44.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:44.140Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:44.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:44.140Z] [2022-06-28T10:41:44.140Z] Login Succeeded [2022-06-28T10:41:44.140Z] nexus3.edgexfoundry.org:10002 [2022-06-28T10:41:44.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:44.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:44.689Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:44.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:44.689Z] [2022-06-28T10:41:44.689Z] Login Succeeded [2022-06-28T10:41:44.689Z] nexus3.edgexfoundry.org:10003 [2022-06-28T10:41:44.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:44.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:44.974Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:44.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:44.974Z] [2022-06-28T10:41:44.974Z] Login Succeeded [2022-06-28T10:41:44.974Z] nexus3.edgexfoundry.org:10004 [2022-06-28T10:41:45.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:45.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:45.582Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:45.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:45.582Z] [2022-06-28T10:41:45.582Z] Login Succeeded [2022-06-28T10:41:45.582Z] docker.io [2022-06-28T10:41:45.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:41:46.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:41:46.142Z] Configure a credential helper to remove this warning. See [2022-06-28T10:41:46.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:41:46.142Z] [2022-06-28T10:41:46.142Z] Login Succeeded [2022-06-28T10:41:46.142Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T10:41:46.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T10:41:46.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:41:46.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:41:46.452Z] ========================================================= [2022-06-28T10:41:46.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T10:41:46.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:41:46.832Z] + 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-28T10:41:47.112Z] Sending build context to Docker daemon 7.934MB [2022-06-28T10:41:47.112Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T10:41:47.112Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T10:41:47.385Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T10:41:47.385Z] 9b3977197b4f: Pulling fs layer [2022-06-28T10:41:47.385Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T10:41:47.385Z] 94645a83ff95: Pulling fs layer [2022-06-28T10:41:47.385Z] e6fb740bc735: Pulling fs layer [2022-06-28T10:41:47.385Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T10:41:47.385Z] 355e64cbe906: Pulling fs layer [2022-06-28T10:41:47.385Z] 63ab81a10011: Pulling fs layer [2022-06-28T10:41:47.385Z] e6fb740bc735: Waiting [2022-06-28T10:41:47.385Z] 555d1d1c4555: Pulling fs layer [2022-06-28T10:41:47.385Z] 7d9057610161: Pulling fs layer [2022-06-28T10:41:47.385Z] 63ab81a10011: Waiting [2022-06-28T10:41:47.385Z] 355e64cbe906: Waiting [2022-06-28T10:41:47.385Z] 555d1d1c4555: Waiting [2022-06-28T10:41:47.385Z] 7d9057610161: Waiting [2022-06-28T10:41:47.385Z] 94645a83ff95: Verifying Checksum [2022-06-28T10:41:47.385Z] 94645a83ff95: Download complete [2022-06-28T10:41:47.385Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T10:41:47.385Z] 1a89e8eeedd5: Download complete [2022-06-28T10:41:47.385Z] 3a77bd46dcc9: Download complete [2022-06-28T10:41:47.386Z] 355e64cbe906: Verifying Checksum [2022-06-28T10:41:47.386Z] 355e64cbe906: Download complete [2022-06-28T10:41:47.386Z] 9b3977197b4f: Verifying Checksum [2022-06-28T10:41:47.386Z] 9b3977197b4f: Download complete [2022-06-28T10:41:47.386Z] 63ab81a10011: Verifying Checksum [2022-06-28T10:41:47.386Z] 63ab81a10011: Download complete [2022-06-28T10:41:48.380Z] 9b3977197b4f: Pull complete [2022-06-28T10:41:48.661Z] 7d9057610161: Verifying Checksum [2022-06-28T10:41:48.661Z] 7d9057610161: Download complete [2022-06-28T10:41:48.941Z] 1a89e8eeedd5: Pull complete [2022-06-28T10:41:49.219Z] 94645a83ff95: Pull complete [2022-06-28T10:41:49.819Z] 555d1d1c4555: Verifying Checksum [2022-06-28T10:41:49.819Z] 555d1d1c4555: Download complete [2022-06-28T10:41:50.431Z] e6fb740bc735: Verifying Checksum [2022-06-28T10:41:50.431Z] e6fb740bc735: Download complete [2022-06-28T10:42:02.840Z] e6fb740bc735: Pull complete [2022-06-28T10:42:02.840Z] 3a77bd46dcc9: Pull complete [2022-06-28T10:42:02.840Z] 355e64cbe906: Pull complete [2022-06-28T10:42:03.113Z] 63ab81a10011: Pull complete [2022-06-28T10:42:09.845Z] 555d1d1c4555: Pull complete [2022-06-28T10:42:11.284Z] 7d9057610161: Pull complete [2022-06-28T10:42:11.284Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T10:42:11.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T10:42:11.284Z] ---> 819e984ddca1 [2022-06-28T10:42:11.284Z] Step 3/12 : ARG MAKE="make build" [2022-06-28T10:42:13.267Z] ---> Running in ecd535f34281 [2022-06-28T10:42:13.268Z] Removing intermediate container ecd535f34281 [2022-06-28T10:42:13.268Z] ---> a1966839b68a [2022-06-28T10:42:13.268Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T10:42:13.268Z] ---> Running in 833e0c68f305 [2022-06-28T10:42:13.539Z] Removing intermediate container 833e0c68f305 [2022-06-28T10:42:13.539Z] ---> f3877b4d619a [2022-06-28T10:42:13.539Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T10:42:13.539Z] ---> Running in e7d30a74a5d5 [2022-06-28T10:42:14.139Z] Removing intermediate container e7d30a74a5d5 [2022-06-28T10:42:14.139Z] ---> 3df7b6123c28 [2022-06-28T10:42:14.139Z] Step 6/12 : WORKDIR /device-gpio [2022-06-28T10:42:14.139Z] ---> Running in f3e51caa77e1 [2022-06-28T10:42:14.413Z] Removing intermediate container f3e51caa77e1 [2022-06-28T10:42:14.413Z] ---> 3a28cb5b8473 [2022-06-28T10:42:14.413Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:42:14.413Z] ---> Running in 2bfb1da6df02 [2022-06-28T10:42:16.387Z] Removing intermediate container 2bfb1da6df02 [2022-06-28T10:42:16.387Z] ---> a9e9fc01c19e [2022-06-28T10:42:16.387Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T10:42:16.387Z] ---> Running in 16df428345c0 [2022-06-28T10:42:17.401Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T10:42:18.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T10:42:19.002Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T10:42:19.002Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T10:42:19.002Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T10:42:19.274Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T10:42:19.547Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T10:42:19.547Z] OK: 224 MiB in 56 packages [2022-06-28T10:42:20.533Z] Removing intermediate container 16df428345c0 [2022-06-28T10:42:20.533Z] ---> d79b6054ebd3 [2022-06-28T10:42:20.533Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T10:42:21.150Z] ---> c8be01b4ed79 [2022-06-28T10:42:21.150Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T10:42:21.150Z] ---> Running in 5c8c5385e19d [2022-06-28T10:43:17.713Z] Removing intermediate container 5c8c5385e19d [2022-06-28T10:43:17.713Z] ---> df4c68624740 [2022-06-28T10:43:17.713Z] Step 11/12 : COPY . . [2022-06-28T10:43:17.713Z] ---> 64f5467d9fc3 [2022-06-28T10:43:17.713Z] Step 12/12 : RUN ${MAKE} [2022-06-28T10:43:17.713Z] ---> Running in d1141a42b9e2 [2022-06-28T10:43:17.713Z] noop [2022-06-28T10:43:18.319Z] Removing intermediate container d1141a42b9e2 [2022-06-28T10:43:18.319Z] ---> abd0f417f8db [2022-06-28T10:43:18.319Z] Successfully built abd0f417f8db [2022-06-28T10:43:18.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:43:18.967Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T10:43:18.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:43:19.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container [2022-06-28T10:43:19.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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-28T10:43:20.553Z] $ docker top 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T10:43:21.460Z] + go version [2022-06-28T10:43:21.460Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T10:43:21.485Z] $ docker stop --time=1 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 [2022-06-28T10:43:23.127Z] $ docker rm -f 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:43:23.766Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T10:43:23.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:43:24.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container [2022-06-28T10:43:24.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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-28T10:43:25.423Z] $ docker top 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T10:43:26.347Z] + make test [2022-06-28T10:43:26.347Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T10:43:27.787Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-28T10:44:49.646Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-28T10:44:49.646Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-28T10:44:49.646Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T10:44:49.646Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T10:45:11.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T10:45:11.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T10:45:11.883Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T10:45:15.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T10:45:15.312Z] $ docker stop --time=1 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e [2022-06-28T10:45:17.179Z] $ docker rm -f 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T10:45:18.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T10:45:18.219Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T10:45:18.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T10:45:19.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T10:45:19.461Z] + ls -al . [2022-06-28T10:45:19.461Z] total 168 [2022-06-28T10:45:19.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:45 . [2022-06-28T10:45:19.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 10:41 .. [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 10:41 .dockerignore [2022-06-28T10:45:19.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:41 .git [2022-06-28T10:45:19.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 .github [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 10:41 .gitignore [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 10:41 .golangci.yml [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 10:41 Attribution.txt [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 10:41 CHANGELOG.md [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 10:41 Dockerfile [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 10:41 GOVERNANCE.md [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 10:41 Jenkinsfile [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 10:41 LICENSE [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 10:41 Makefile [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 10:41 OWNERS.md [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 10:41 README.md [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 10:39 VERSION [2022-06-28T10:45:19.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 10:41 bin [2022-06-28T10:45:19.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 cmd [2022-06-28T10:45:19.461Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 28 10:43 coverage.out [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 10:41 go.mod [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 48076 Jun 28 10:41 go.sum [2022-06-28T10:45:19.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 internal [2022-06-28T10:45:19.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 snap [2022-06-28T10:45:19.461Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 10:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:45:19.831Z] + 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-06-28T10:45:20.431Z] Sending build context to Docker daemon 7.935MB [2022-06-28T10:45:20.431Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T10:45:20.431Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T10:45:20.431Z] ---> abd0f417f8db [2022-06-28T10:45:20.431Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T10:45:20.431Z] ---> Running in 2cd70f4e9343 [2022-06-28T10:45:20.711Z] Removing intermediate container 2cd70f4e9343 [2022-06-28T10:45:20.711Z] ---> 96dfc9a767fe [2022-06-28T10:45:20.711Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T10:45:20.711Z] ---> Running in a8eb73b629a6 [2022-06-28T10:45:21.308Z] Removing intermediate container a8eb73b629a6 [2022-06-28T10:45:21.308Z] ---> 11a719767656 [2022-06-28T10:45:21.308Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T10:45:21.308Z] ---> Running in 87722ffc83b8 [2022-06-28T10:45:21.583Z] Removing intermediate container 87722ffc83b8 [2022-06-28T10:45:21.583Z] ---> dd85f34e9661 [2022-06-28T10:45:21.583Z] Step 6/26 : WORKDIR /device-gpio [2022-06-28T10:45:21.583Z] ---> Running in 602e6f85352c [2022-06-28T10:45:21.859Z] Removing intermediate container 602e6f85352c [2022-06-28T10:45:21.860Z] ---> 31f8806fb8e5 [2022-06-28T10:45:21.860Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:45:22.149Z] ---> Running in 1e8b49330ac1 [2022-06-28T10:45:23.603Z] Removing intermediate container 1e8b49330ac1 [2022-06-28T10:45:23.603Z] ---> 38f16f744d45 [2022-06-28T10:45:23.603Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T10:45:23.883Z] ---> Running in 8bf0ffff86a6 [2022-06-28T10:45:24.864Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T10:45:25.848Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T10:45:26.832Z] OK: 224 MiB in 56 packages [2022-06-28T10:45:27.429Z] Removing intermediate container 8bf0ffff86a6 [2022-06-28T10:45:27.429Z] ---> 19e52b84027c [2022-06-28T10:45:27.429Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-28T10:45:28.027Z] ---> c75dab651dd0 [2022-06-28T10:45:28.027Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T10:45:28.027Z] ---> Running in 0f39840bd132 [2022-06-28T10:45:30.033Z] Removing intermediate container 0f39840bd132 [2022-06-28T10:45:30.033Z] ---> a1824071916d [2022-06-28T10:45:30.033Z] Step 11/26 : COPY . . [2022-06-28T10:45:31.497Z] ---> f5980776afb7 [2022-06-28T10:45:31.497Z] Step 12/26 : RUN ${MAKE} [2022-06-28T10:45:31.497Z] ---> Running in abebf1784df4 [2022-06-28T10:45:32.487Z] 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-28T10:47:54.387Z] Removing intermediate container abebf1784df4 [2022-06-28T10:47:54.387Z] ---> 86729e95b43f [2022-06-28T10:47:54.387Z] Step 13/26 : FROM alpine:3.15 [2022-06-28T10:47:54.387Z] 3.15: Pulling from library/alpine [2022-06-28T10:47:54.387Z] 9981e73032c8: Pulling fs layer [2022-06-28T10:47:54.387Z] 9981e73032c8: Verifying Checksum [2022-06-28T10:47:54.387Z] 9981e73032c8: Download complete [2022-06-28T10:47:54.387Z] 9981e73032c8: Pull complete [2022-06-28T10:47:54.387Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T10:47:54.387Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T10:47:54.387Z] ---> 3fb3c9af89a9 [2022-06-28T10:47:54.387Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-28T10:47:54.387Z] ---> Running in 5963cb903e81 [2022-06-28T10:47:54.387Z] Removing intermediate container 5963cb903e81 [2022-06-28T10:47:54.387Z] ---> 587dc1bae82b [2022-06-28T10:47:54.387Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T10:47:54.387Z] ---> Running in 4b66c0c6590d [2022-06-28T10:47:54.387Z] Removing intermediate container 4b66c0c6590d [2022-06-28T10:47:54.387Z] ---> b54588a65172 [2022-06-28T10:47:54.387Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-28T10:47:54.387Z] ---> Running in b24da826a185 [2022-06-28T10:47:54.387Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T10:47:54.387Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T10:47:54.387Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T10:47:54.387Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-28T10:47:54.387Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T10:47:54.387Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-28T10:47:54.387Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-28T10:47:54.387Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T10:47:54.387Z] OK: 8 MiB in 19 packages [2022-06-28T10:47:54.387Z] Removing intermediate container b24da826a185 [2022-06-28T10:47:54.387Z] ---> e7e3cd5a697c [2022-06-28T10:47:54.387Z] Step 17/26 : WORKDIR / [2022-06-28T10:47:54.387Z] ---> Running in 3dd14b6de3e4 [2022-06-28T10:47:54.387Z] Removing intermediate container 3dd14b6de3e4 [2022-06-28T10:47:54.387Z] ---> 135476629fd4 [2022-06-28T10:47:54.387Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-28T10:47:54.387Z] ---> 41ed8fc41426 [2022-06-28T10:47:54.387Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-28T10:47:54.387Z] ---> 03e02ef21891 [2022-06-28T10:47:54.387Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-28T10:47:54.387Z] ---> 95c56386bcca [2022-06-28T10:47:54.387Z] Step 21/26 : EXPOSE 59910 [2022-06-28T10:47:54.387Z] ---> Running in 368b58f0eb3f [2022-06-28T10:47:54.387Z] Removing intermediate container 368b58f0eb3f [2022-06-28T10:47:54.387Z] ---> 634018766953 [2022-06-28T10:47:54.387Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-28T10:47:54.387Z] ---> Running in f6afc1933a8b [2022-06-28T10:47:54.387Z] Removing intermediate container f6afc1933a8b [2022-06-28T10:47:54.387Z] ---> 34a1eb1605ce [2022-06-28T10:47:54.387Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T10:47:54.387Z] ---> Running in 7049345f7773 [2022-06-28T10:47:54.387Z] Removing intermediate container 7049345f7773 [2022-06-28T10:47:54.387Z] ---> b8f0b2c730a6 [2022-06-28T10:47:54.387Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T10:47:54.387Z] ---> Running in 3c9b9e1c1f00 [2022-06-28T10:47:54.662Z] Removing intermediate container 3c9b9e1c1f00 [2022-06-28T10:47:54.662Z] ---> 4bfa85858d18 [2022-06-28T10:47:54.662Z] Step 25/26 : LABEL git_sha=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:47:54.662Z] ---> Running in bc70c77e8c11 [2022-06-28T10:47:55.275Z] Removing intermediate container bc70c77e8c11 [2022-06-28T10:47:55.275Z] ---> ab906c0fcc82 [2022-06-28T10:47:55.275Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-28T10:47:55.275Z] ---> Running in 43a506032739 [2022-06-28T10:47:55.552Z] Removing intermediate container 43a506032739 [2022-06-28T10:47:55.552Z] ---> a56a66896fa1 [2022-06-28T10:47:55.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T10:47:55.552Z] Successfully built a56a66896fa1 [2022-06-28T10:47:55.552Z] 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-28T10:47:55.686Z] provisioning config files... [2022-06-28T10:47:55.707Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/30@tmp/config2960241526273448188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:47:56.067Z] ---> docker-login.sh [2022-06-28T10:47:56.067Z] nexus3.edgexfoundry.org:10001 [2022-06-28T10:47:56.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:47:56.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:47:56.341Z] Configure a credential helper to remove this warning. See [2022-06-28T10:47:56.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:47:56.341Z] [2022-06-28T10:47:56.341Z] Login Succeeded [2022-06-28T10:47:56.341Z] nexus3.edgexfoundry.org:10002 [2022-06-28T10:47:56.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:47:56.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:47:56.943Z] Configure a credential helper to remove this warning. See [2022-06-28T10:47:56.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:47:56.943Z] [2022-06-28T10:47:56.943Z] Login Succeeded [2022-06-28T10:47:56.943Z] nexus3.edgexfoundry.org:10003 [2022-06-28T10:47:57.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:47:57.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:47:57.543Z] Configure a credential helper to remove this warning. See [2022-06-28T10:47:57.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:47:57.543Z] [2022-06-28T10:47:57.543Z] Login Succeeded [2022-06-28T10:47:57.543Z] nexus3.edgexfoundry.org:10004 [2022-06-28T10:47:57.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:47:58.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:47:58.093Z] Configure a credential helper to remove this warning. See [2022-06-28T10:47:58.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:47:58.093Z] [2022-06-28T10:47:58.093Z] Login Succeeded [2022-06-28T10:47:58.093Z] docker.io [2022-06-28T10:47:58.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T10:47:58.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T10:47:58.963Z] Configure a credential helper to remove this warning. See [2022-06-28T10:47:58.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T10:47:58.963Z] [2022-06-28T10:47:58.963Z] Login Succeeded [2022-06-28T10:47:58.963Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T10:47:58.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T10:47:59.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T10:47:59.041Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-06-28T10:47:59.041Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:47:59.041Z] latest [2022-06-28T10:47:59.041Z] 2.2.1-dev.1 [2022-06-28T10:47:59.041Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:47:59.041Z] main [2022-06-28T10:47:59.041Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:47:59.407Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:47:59.778Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:47:59.778Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T10:47:59.778Z] 6026daa47fcc: Preparing [2022-06-28T10:47:59.778Z] 91abb9f23933: Preparing [2022-06-28T10:47:59.778Z] 86b6d2f66a4b: Preparing [2022-06-28T10:47:59.778Z] de16e00280ca: Preparing [2022-06-28T10:47:59.778Z] 8e9061524d9f: Preparing [2022-06-28T10:47:59.778Z] 4f4ce317c6bb: Preparing [2022-06-28T10:47:59.778Z] 4f4ce317c6bb: Waiting [2022-06-28T10:48:00.054Z] 86b6d2f66a4b: Pushed [2022-06-28T10:48:00.054Z] 8e9061524d9f: Pushed [2022-06-28T10:48:00.054Z] 91abb9f23933: Pushed [2022-06-28T10:48:00.054Z] 4f4ce317c6bb: Layer already exists [2022-06-28T10:48:00.652Z] de16e00280ca: Pushed [2022-06-28T10:48:06.056Z] 6026daa47fcc: Pushed [2022-06-28T10:48:06.056Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:06.428Z] + 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-28T10:48:06.794Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-28T10:48:06.794Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T10:48:06.794Z] 6026daa47fcc: Preparing [2022-06-28T10:48:06.794Z] 91abb9f23933: Preparing [2022-06-28T10:48:06.794Z] 86b6d2f66a4b: Preparing [2022-06-28T10:48:06.794Z] de16e00280ca: Preparing [2022-06-28T10:48:06.794Z] 8e9061524d9f: Preparing [2022-06-28T10:48:06.794Z] 4f4ce317c6bb: Preparing [2022-06-28T10:48:06.794Z] 4f4ce317c6bb: Waiting [2022-06-28T10:48:06.794Z] 6026daa47fcc: Layer already exists [2022-06-28T10:48:06.794Z] de16e00280ca: Layer already exists [2022-06-28T10:48:06.794Z] 86b6d2f66a4b: Layer already exists [2022-06-28T10:48:06.794Z] 91abb9f23933: Layer already exists [2022-06-28T10:48:06.794Z] 8e9061524d9f: Layer already exists [2022-06-28T10:48:06.794Z] 4f4ce317c6bb: Layer already exists [2022-06-28T10:48:07.067Z] latest: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:07.443Z] + 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-28T10:48:07.805Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-28T10:48:07.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T10:48:07.805Z] 6026daa47fcc: Preparing [2022-06-28T10:48:07.805Z] 91abb9f23933: Preparing [2022-06-28T10:48:07.805Z] 86b6d2f66a4b: Preparing [2022-06-28T10:48:07.805Z] de16e00280ca: Preparing [2022-06-28T10:48:07.805Z] 8e9061524d9f: Preparing [2022-06-28T10:48:07.805Z] 4f4ce317c6bb: Preparing [2022-06-28T10:48:07.805Z] 91abb9f23933: Layer already exists [2022-06-28T10:48:07.805Z] de16e00280ca: Layer already exists [2022-06-28T10:48:07.805Z] 86b6d2f66a4b: Layer already exists [2022-06-28T10:48:07.805Z] 8e9061524d9f: Layer already exists [2022-06-28T10:48:07.805Z] 6026daa47fcc: Layer already exists [2022-06-28T10:48:07.805Z] 4f4ce317c6bb: Layer already exists [2022-06-28T10:48:08.079Z] 2.2.1-dev.1: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:08.448Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:08.817Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:48:08.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T10:48:08.817Z] 6026daa47fcc: Preparing [2022-06-28T10:48:08.817Z] 91abb9f23933: Preparing [2022-06-28T10:48:08.817Z] 86b6d2f66a4b: Preparing [2022-06-28T10:48:08.817Z] de16e00280ca: Preparing [2022-06-28T10:48:08.817Z] 8e9061524d9f: Preparing [2022-06-28T10:48:08.817Z] 4f4ce317c6bb: Preparing [2022-06-28T10:48:08.817Z] 4f4ce317c6bb: Waiting [2022-06-28T10:48:08.817Z] 6026daa47fcc: Layer already exists [2022-06-28T10:48:08.817Z] 86b6d2f66a4b: Layer already exists [2022-06-28T10:48:08.817Z] de16e00280ca: Layer already exists [2022-06-28T10:48:08.817Z] 91abb9f23933: Layer already exists [2022-06-28T10:48:08.817Z] 8e9061524d9f: Layer already exists [2022-06-28T10:48:09.093Z] 4f4ce317c6bb: Layer already exists [2022-06-28T10:48:09.093Z] efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:09.467Z] + 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-28T10:48:09.836Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-06-28T10:48:09.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T10:48:09.837Z] 6026daa47fcc: Preparing [2022-06-28T10:48:09.837Z] 91abb9f23933: Preparing [2022-06-28T10:48:09.837Z] 86b6d2f66a4b: Preparing [2022-06-28T10:48:09.837Z] de16e00280ca: Preparing [2022-06-28T10:48:09.837Z] 8e9061524d9f: Preparing [2022-06-28T10:48:09.837Z] 4f4ce317c6bb: Preparing [2022-06-28T10:48:09.837Z] 4f4ce317c6bb: Waiting [2022-06-28T10:48:09.837Z] 91abb9f23933: Layer already exists [2022-06-28T10:48:09.837Z] 8e9061524d9f: Layer already exists [2022-06-28T10:48:09.837Z] 6026daa47fcc: Layer already exists [2022-06-28T10:48:09.837Z] 86b6d2f66a4b: Layer already exists [2022-06-28T10:48:09.837Z] de16e00280ca: Layer already exists [2022-06-28T10:48:09.837Z] 4f4ce317c6bb: Layer already exists [2022-06-28T10:48:10.109Z] main: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T10:48:10.172Z] ===================================================== [Pipeline] echo [2022-06-28T10:48:10.181Z] taggedImages: [2022-06-28T10:48:10.181Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [2022-06-28T10:48:10.181Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-28T10:48:10.181Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-28T10:48:10.181Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [2022-06-28T10:48:10.181Z] - 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-28T10:48:10.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T10:48:10.547Z] [2022-06-28T10:48:10.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:10.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T10:48:11.178Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T10:48:11.178Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T10:48:11.178Z] 04944245beec: Pulling fs layer [2022-06-28T10:48:11.178Z] 699f458cf7ca: Pulling fs layer [2022-06-28T10:48:11.178Z] 765212b225bb: Pulling fs layer [2022-06-28T10:48:11.178Z] f23df028b6ca: Pulling fs layer [2022-06-28T10:48:11.178Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T10:48:11.178Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T10:48:11.178Z] 765212b225bb: Waiting [2022-06-28T10:48:11.178Z] f23df028b6ca: Waiting [2022-06-28T10:48:11.178Z] d65c8cfc05b1: Waiting [2022-06-28T10:48:11.178Z] 2437ff75d9bd: Waiting [2022-06-28T10:48:11.178Z] 04944245beec: Verifying Checksum [2022-06-28T10:48:11.178Z] 04944245beec: Download complete [2022-06-28T10:48:11.178Z] 765212b225bb: Verifying Checksum [2022-06-28T10:48:11.178Z] 765212b225bb: Download complete [2022-06-28T10:48:11.178Z] f23df028b6ca: Verifying Checksum [2022-06-28T10:48:11.178Z] f23df028b6ca: Download complete [2022-06-28T10:48:11.178Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T10:48:11.178Z] d65c8cfc05b1: Download complete [2022-06-28T10:48:11.454Z] 699f458cf7ca: Verifying Checksum [2022-06-28T10:48:11.454Z] 699f458cf7ca: Download complete [2022-06-28T10:48:11.730Z] 8998bd30e6a1: Download complete [2022-06-28T10:48:14.363Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T10:48:14.363Z] 2437ff75d9bd: Download complete [2022-06-28T10:48:16.350Z] 8998bd30e6a1: Pull complete [2022-06-28T10:48:16.624Z] 04944245beec: Pull complete [2022-06-28T10:48:18.061Z] 699f458cf7ca: Pull complete [2022-06-28T10:48:18.337Z] 765212b225bb: Pull complete [2022-06-28T10:48:19.324Z] f23df028b6ca: Pull complete [2022-06-28T10:48:19.324Z] d65c8cfc05b1: Pull complete [2022-06-28T10:48:34.430Z] 2437ff75d9bd: Pull complete [2022-06-28T10:48:34.430Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T10:48:34.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T10:48:34.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:48:34.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container [2022-06-28T10:48:34.802Z] $ 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/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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-28T10:48:37.454Z] $ docker top b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:48:38.399Z] ---> job-cost.sh [2022-06-28T10:48:38.399Z] lf-activate-venv: SKIPPING [2022-06-28T10:48:38.399Z] INFO: No Stack... [2022-06-28T10:48:38.995Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T10:48:39.978Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T10:48:40.647Z] + cat /w/workspace/device-gpio/30/archives/cost.csv [2022-06-28T10:48:40.647Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T10:48:40.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [2022-06-28T10:48:40.724Z] Resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] did not exist. Created. [2022-06-28T10:48:40.724Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T10:48:41.415Z] /w/workspace/device-gpio/30@tmp/durable-84d290c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T10:48:42.105Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T10:48:42.127Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T10:48:42.180Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T10:48:42.187Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T10:48:42.209Z] $ docker stop --time=1 b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be [2022-06-28T10:48:43.720Z] $ docker rm -f b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be [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-28T10:48:44.188Z] provisioning config files... [2022-06-28T10:48:44.197Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config198156612629878010tmp [Pipeline] { [Pipeline] sh [2022-06-28T10:48:44.492Z] + set +x [2022-06-28T10:48:44.492Z] + curl -s https://codecov.io/bash [2022-06-28T10:48:44.492Z] + bash -s -- [2022-06-28T10:48:44.492Z] [2022-06-28T10:48:44.492Z] _____ _ [2022-06-28T10:48:44.492Z] / ____| | | [2022-06-28T10:48:44.492Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T10:48:44.492Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T10:48:44.492Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T10:48:44.492Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T10:48:44.492Z] Bash-1.0.6 [2022-06-28T10:48:44.492Z] [2022-06-28T10:48:44.492Z] [2022-06-28T10:48:44.492Z] ==> git version 2.25.1 found [2022-06-28T10:48:44.492Z] ==> 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-28T10:48:44.492Z] Release-Date: 2020-01-08 [2022-06-28T10:48:44.492Z] 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-28T10:48:44.492Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T10:48:44.492Z] ==> Jenkins CI detected. [2022-06-28T10:48:44.492Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-06-28T10:48:44.492Z] project root: . [2022-06-28T10:48:44.492Z] --> token set from env [2022-06-28T10:48:44.492Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T10:48:44.492Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T10:48:44.492Z] ==> Python coveragepy not found [2022-06-28T10:48:44.492Z] ==> Searching for coverage reports in: [2022-06-28T10:48:44.492Z] + . [2022-06-28T10:48:44.492Z] -> Found 1 reports [2022-06-28T10:48:44.492Z] ==> Detecting git/mercurial file structure [2022-06-28T10:48:44.492Z] ==> Reading reports [2022-06-28T10:48:44.492Z] + ./coverage.out bytes=10 [2022-06-28T10:48:44.492Z] ==> Appending adjustments [2022-06-28T10:48:44.492Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T10:48:44.754Z] + Found adjustments [2022-06-28T10:48:44.754Z] ==> Gzipping contents [2022-06-28T10:48:44.754Z] 4.0K /tmp/codecov.2qCwa2.gz [2022-06-28T10:48:44.754Z] ==> Uploading reports [2022-06-28T10:48:44.754Z] url: https://codecov.io [2022-06-28T10:48:44.754Z] query: branch=main&commit=efe4dae0c24582ba33e01b57ef1f29d5a3a31446&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T10:48:44.754Z] -> Pinging Codecov [2022-06-28T10:48:44.754Z] 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T10:48:45.014Z] -> Uploading to [2022-06-28T10:48:45.014Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/efe4dae0c24582ba33e01b57ef1f29d5a3a31446/5e6b6b0a-ad83-4da5-8712-8cd43e872414.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T104844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a5d6c8bff75b990f68888e9119a1c1e6bc1be1de98243700cd2bbf67fc774e5 [2022-06-28T10:48:45.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T10:48:45.014Z] Dload Upload Total Spent Left Speed [2022-06-28T10:48:45.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3887 --:--:-- --:--:-- --:--:-- 3887 [2022-06-28T10:48:45.276Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } [2022-06-28T10:48:45.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T10:48:45.462Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T10:48:45.473Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:48:45.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T10:48:45.768Z] [2022-06-28T10:48:45.768Z] 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-28T10:48:46.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T10:48:46.085Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T10:48:46.085Z] df9b9388f04a: Already exists [2022-06-28T10:48:46.085Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T10:48:46.085Z] 25bc292e5bac: Pulling fs layer [2022-06-28T10:48:46.085Z] 114826534d7a: Pulling fs layer [2022-06-28T10:48:46.085Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T10:48:46.085Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T10:48:46.085Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T10:48:46.085Z] 6ad1cebc031e: Waiting [2022-06-28T10:48:46.085Z] 8a3aa393b2d8: Waiting [2022-06-28T10:48:46.085Z] 25bc292e5bac: Download complete [2022-06-28T10:48:46.085Z] 52dc419b0ee2: Verifying Checksum [2022-06-28T10:48:46.085Z] 52dc419b0ee2: Download complete [2022-06-28T10:48:46.085Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T10:48:46.085Z] 4657fd5d0bcf: Download complete [2022-06-28T10:48:46.354Z] 52dc419b0ee2: Pull complete [2022-06-28T10:48:46.354Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T10:48:46.354Z] 6ad1cebc031e: Download complete [2022-06-28T10:48:46.354Z] 25bc292e5bac: Pull complete [2022-06-28T10:48:46.938Z] 114826534d7a: Verifying Checksum [2022-06-28T10:48:46.938Z] 114826534d7a: Download complete [2022-06-28T10:48:46.938Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T10:48:46.938Z] 8a3aa393b2d8: Download complete [2022-06-28T10:48:51.147Z] 114826534d7a: Pull complete [2022-06-28T10:48:51.147Z] 4657fd5d0bcf: Pull complete [2022-06-28T10:48:51.147Z] 6ad1cebc031e: Pull complete [2022-06-28T10:48:53.687Z] 8a3aa393b2d8: Pull complete [2022-06-28T10:48:53.687Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T10:48:53.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T10:48:53.687Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:48:53.784Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:48:53.840Z] $ 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-28T10:48:56.684Z] $ docker top 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T10:48:56.767Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-06-28T10:48:57.050Z] + set -o pipefail [2022-06-28T10:48:57.050Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/493ed41b-465e-45f6-ae04-49589c7a2fc8 [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] [2022-06-28T10:49:02.450Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T10:49:02.450Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T10:49:02.471Z] $ docker stop --time=1 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead [2022-06-28T10:49:04.985Z] $ docker rm -f 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead [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-28T10:49:05.682Z] + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] sh [2022-06-28T10:49:05.982Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T10:49:05.982Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:49:06.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T10:49:06.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:49:06.371Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:49:06.417Z] $ 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-28T10:49:06.870Z] $ docker top 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T10:49:06.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T10:49:06.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T10:49:07.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T10:49:07.094Z] $ docker exec 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 ssh-agent [2022-06-28T10:49:07.216Z] SSH_AUTH_SOCK=/tmp/ssh-xU4715WTb8nG/agent.33 [2022-06-28T10:49:07.216Z] SSH_AGENT_PID=39 [2022-06-28T10:49:07.225Z] Running ssh-add (command line suppressed) [2022-06-28T10:49:07.340Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1969211979004302191.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1969211979004302191.key) [2022-06-28T10:49:07.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T10:49:07.643Z] + git semver tag [2022-06-28T10:49:07.904Z] 2022-06-28 10:49:07,856 [run_tag] DEBUG tag force:False [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,856 [check_head_tag] DEBUG check head tag [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,857 [execute] INFO git cat-file --batch-check [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,860 [execute] INFO git cat-file --batch [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,866 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,866 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T10:49:07.905Z] 2022-06-28 10:49:07,866 [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-28T10:49:07.905Z] 2022-06-28 10:49:07,869 [main] ERROR Cmd('git') failed due to: exit code(128) [2022-06-28T10:49:07.905Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T10:49:07.905Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [2022-06-28T10:49:07.905Z] ERROR: Cmd('git') failed due to: exit code(128) [2022-06-28T10:49:07.905Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T10:49:07.905Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } [2022-06-28T10:49:07.924Z] $ docker exec --env ******** --env ******** 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 ssh-agent -k [2022-06-28T10:49:08.039Z] unset SSH_AUTH_SOCK; [2022-06-28T10:49:08.040Z] unset SSH_AGENT_PID; [2022-06-28T10:49:08.040Z] echo Agent pid 39 killed; [2022-06-28T10:49:08.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-06-28T10:49:08.087Z] $ docker stop --time=1 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 [2022-06-28T10:49:09.406Z] $ docker rm -f 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 [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-28T10:49:10.015Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-06-28T10:49:10.015Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T10:49:10.015Z] total 16 [2022-06-28T10:49:10.015Z] drwxr-xr-x 3 root root 4096 Jun 28 10:41 . [2022-06-28T10:49:10.015Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 10:41 .. [2022-06-28T10:49:10.015Z] drwxr-xr-x 2 root root 4096 Jun 28 10:41 cost [2022-06-28T10:49:10.015Z] -rw-r--r-- 1 root root 81 Jun 28 10:41 cost.csv [2022-06-28T10:49:10.015Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T10:49:10.015Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T10:49:10.015Z] total 16 [2022-06-28T10:49:10.015Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 10:41 . [2022-06-28T10:49:10.015Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 10:41 .. [2022-06-28T10:49:10.015Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 10:41 cost [2022-06-28T10:49:10.015Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 28 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:10.311Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:11.172Z] ---> package-listing.sh [2022-06-28T10:49:11.172Z] ++ facter osfamily [2022-06-28T10:49:11.172Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T10:49:11.432Z] + OS_FAMILY=debian [2022-06-28T10:49:11.432Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-06-28T10:49:11.432Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T10:49:11.432Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T10:49:11.432Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T10:49:11.432Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T10:49:11.432Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-28T10:49:11.432Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T10:49:11.432Z] + case "${OS_FAMILY}" in [2022-06-28T10:49:11.432Z] + dpkg -l [2022-06-28T10:49:11.432Z] + grep '^ii' [2022-06-28T10:49:11.432Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T10:49:11.432Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T10:49:11.432Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T10:49:11.432Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-28T10:49:11.432Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-06-28T10:49:11.433Z] + 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-28T10:49:11.445Z] 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-28T10:49:11.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T10:49:12.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T10:49:12.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T10:49:12.376Z] prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container [2022-06-28T10:49:12.421Z] $ 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-28T10:49:12.673Z] $ docker top 6b3df41f3e2b10eb707494b8bbd1ac9d52b16396867d9844a6fc193f720d540d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T10:49:13.026Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T10:49:13.312Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T10:49:13.597Z] + ls /var/log/sa-host [2022-06-28T10:49:13.597Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T10:49:13.734Z] provisioning config files... [2022-06-28T10:49:13.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config439476066316466678tmp [Pipeline] { [Pipeline] echo [2022-06-28T10:49:13.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:14.045Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T10:49:14.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:14.391Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T10:49:14.400Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:14.683Z] ---> sudo-logs.sh [2022-06-28T10:49:14.683Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T10:49:14.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:14.992Z] ---> job-cost.sh [2022-06-28T10:49:14.992Z] lf-activate-venv: SKIPPING [2022-06-28T10:49:14.992Z] DEBUG: total: 0.2199999988079071 [2022-06-28T10:49:14.992Z] INFO: Retrieving Stack Cost... [2022-06-28T10:49:15.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T10:49:16.137Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T10:49:16.148Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T10:49:16.433Z] ---> logs-deploy.sh [2022-06-28T10:49:16.433Z] lf-activate-venv: SKIPPING [2022-06-28T10:49:16.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/30 [2022-06-28T10:49:16.433Z] INFO: archiving workspace using pattern(s): [2022-06-28T10:49:17.373Z] Archives upload complete. [2022-06-28T10:49:17.373Z] INFO: archiving logs to Nexus