Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6fd823ac0f8050cc93c4390e8ec7789fa877825 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-ssh4568759197392337806.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-ssh1199843157018127713.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-ssh14584132235366892146.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-ssh3981427708589947164.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-ssh4652247513351610556.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16216’ Running on prd-ubuntu20.04-docker-8c-8g-16218 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 a6fd823ac0f8050cc93c4390e8ec7789fa877825 (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 a6fd823ac0f8050cc93c4390e8ec7789fa877825 # timeout=10 Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.0" > git rev-list --no-walk efe4dae0c24582ba33e01b57ef1f29d5a3a31446 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T12:07:29.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T12:07:29.591Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T12:07:29.609Z] ========================================================= [2022-06-28T12:07:29.610Z] EdgeX Global Pipelines Version Info [2022-06-28T12:07:29.610Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:07:30.361Z] ------------------- [2022-06-28T12:07:30.361Z] stable info: [2022-06-28T12:07:30.361Z] ------------------- [2022-06-28T12:07:30.361Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T12:07:30.361Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T12:07:30.361Z] Message: update stable to v1.0.234 [2022-06-28T12:07:30.933Z] ------------------- [2022-06-28T12:07:30.933Z] experimental info: [2022-06-28T12:07:30.933Z] ------------------- [2022-06-28T12:07:30.933Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T12:07:30.933Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T12:07:30.933Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T12:07:31.169Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-28T12:07:31.182Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-28T12:07:31.196Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T12:07:31.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T12:07:31.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T12:07:31.225Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T12:07:31.232Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T12:07:31.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T12:07:31.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T12:07:31.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T12:07:31.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T12:07:31.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-28T12:07:31.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T12:07:31.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T12:07:31.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T12:07:31.309Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T12:07:31.318Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T12:07:31.326Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T12:07:31.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T12:07:31.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T12:07:31.351Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T12:07:31.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T12:07:31.375Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T12:07:31.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T12:07:31.403Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T12:07:31.415Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T12:07:31.426Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T12:07:31.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T12:07:31.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T12:07:31.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T12:07:31.470Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] echo [2022-06-28T12:07:31.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6fd823 [Pipeline] echo [2022-06-28T12:07:31.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T12:07:31.536Z] provisioning config files... [2022-06-28T12:07:31.555Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config803603823639477642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:07:31.874Z] ---> docker-login.sh [2022-06-28T12:07:31.874Z] nexus3.edgexfoundry.org:10001 [2022-06-28T12:07:32.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:32.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:32.135Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:32.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:32.135Z] [2022-06-28T12:07:32.135Z] Login Succeeded [2022-06-28T12:07:32.135Z] nexus3.edgexfoundry.org:10002 [2022-06-28T12:07:32.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:32.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:32.396Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:32.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:32.396Z] [2022-06-28T12:07:32.396Z] Login Succeeded [2022-06-28T12:07:32.396Z] nexus3.edgexfoundry.org:10003 [2022-06-28T12:07:32.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:32.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:32.396Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:32.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:32.396Z] [2022-06-28T12:07:32.396Z] Login Succeeded [2022-06-28T12:07:32.396Z] nexus3.edgexfoundry.org:10004 [2022-06-28T12:07:32.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:32.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:32.658Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:32.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:32.658Z] [2022-06-28T12:07:32.658Z] Login Succeeded [2022-06-28T12:07:32.658Z] docker.io [2022-06-28T12:07:32.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:33.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:33.230Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:33.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:33.230Z] [2022-06-28T12:07:33.230Z] Login Succeeded [2022-06-28T12:07:33.230Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T12:07:33.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T12:07:33.625Z] + git rev-list -1 --merges a6fd823ac0f8050cc93c4390e8ec7789fa877825~1..a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] echo [2022-06-28T12:07:33.652Z] -----------> git rev-list -1 --merges a6fd823ac0f8050cc93c4390e8ec7789fa877825~1..a6fd823ac0f8050cc93c4390e8ec7789fa877825 a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:07:33.652Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825 [false] [Pipeline] sh [2022-06-28T12:07:33.944Z] + git log --format=format:%s -1 a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] echo [2022-06-28T12:07:33.959Z] ========================================================= [2022-06-28T12:07:33.959Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T12:07:33.959Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T12:07:34.299Z] + git log --format=format:%s -1 a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] echo [2022-06-28T12:07:34.311Z] [semverPrep] GIT_COMMIT: a6fd823ac0f8050cc93c4390e8ec7789fa877825, Commit Message: Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.0 [Pipeline] echo [2022-06-28T12:07:34.320Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T12:07:34.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T12:07:34.667Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T12:07:34.667Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T12:07:34.667Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T12:07:34.667Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-28T12:07:34.667Z] -a /etc/ssh/ssh_known_hosts [2022-06-28T12:07:34.667Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:07:35.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T12:07:35.014Z] [2022-06-28T12:07:35.014Z] 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-28T12:07:35.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T12:07:35.320Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T12:07:35.320Z] 42c077c10790: Pulling fs layer [2022-06-28T12:07:35.320Z] f63e77b7563a: Pulling fs layer [2022-06-28T12:07:35.320Z] bd5fdadae976: Pulling fs layer [2022-06-28T12:07:35.320Z] 205491f53016: Pulling fs layer [2022-06-28T12:07:35.320Z] df18705c85c3: Pulling fs layer [2022-06-28T12:07:35.320Z] bdb3f477010e: Pulling fs layer [2022-06-28T12:07:35.320Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T12:07:35.320Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T12:07:35.320Z] bdb8f0575790: Pulling fs layer [2022-06-28T12:07:35.320Z] bdb3f477010e: Waiting [2022-06-28T12:07:35.320Z] c8a8fc8e1c8f: Waiting [2022-06-28T12:07:35.320Z] 2c6e9b1d212d: Waiting [2022-06-28T12:07:35.320Z] df18705c85c3: Waiting [2022-06-28T12:07:35.320Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T12:07:35.320Z] bdb8f0575790: Waiting [2022-06-28T12:07:35.320Z] 205491f53016: Waiting [2022-06-28T12:07:35.320Z] 2343380bae48: Pulling fs layer [2022-06-28T12:07:35.320Z] 2343380bae48: Waiting [2022-06-28T12:07:35.320Z] 386e3cb2ff24: Waiting [2022-06-28T12:07:35.320Z] f63e77b7563a: Verifying Checksum [2022-06-28T12:07:35.320Z] f63e77b7563a: Download complete [2022-06-28T12:07:35.320Z] 205491f53016: Verifying Checksum [2022-06-28T12:07:35.320Z] 205491f53016: Download complete [2022-06-28T12:07:35.578Z] df18705c85c3: Verifying Checksum [2022-06-28T12:07:35.578Z] df18705c85c3: Download complete [2022-06-28T12:07:35.578Z] bd5fdadae976: Verifying Checksum [2022-06-28T12:07:35.578Z] bd5fdadae976: Download complete [2022-06-28T12:07:35.578Z] bdb3f477010e: Verifying Checksum [2022-06-28T12:07:35.578Z] bdb3f477010e: Download complete [2022-06-28T12:07:35.578Z] 2c6e9b1d212d: Download complete [2022-06-28T12:07:35.578Z] bdb8f0575790: Verifying Checksum [2022-06-28T12:07:35.578Z] bdb8f0575790: Download complete [2022-06-28T12:07:35.578Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T12:07:35.578Z] 386e3cb2ff24: Download complete [2022-06-28T12:07:35.578Z] 2343380bae48: Verifying Checksum [2022-06-28T12:07:35.578Z] 2343380bae48: Download complete [2022-06-28T12:07:35.578Z] 42c077c10790: Verifying Checksum [2022-06-28T12:07:35.578Z] 42c077c10790: Download complete [2022-06-28T12:07:35.837Z] c8a8fc8e1c8f: Download complete [2022-06-28T12:07:36.782Z] 42c077c10790: Pull complete [2022-06-28T12:07:37.042Z] f63e77b7563a: Pull complete [2022-06-28T12:07:37.613Z] bd5fdadae976: Pull complete [2022-06-28T12:07:37.613Z] 205491f53016: Pull complete [2022-06-28T12:07:37.872Z] df18705c85c3: Pull complete [2022-06-28T12:07:37.872Z] bdb3f477010e: Pull complete [2022-06-28T12:07:39.779Z] c8a8fc8e1c8f: Pull complete [2022-06-28T12:07:39.779Z] 2c6e9b1d212d: Pull complete [2022-06-28T12:07:39.779Z] bdb8f0575790: Pull complete [2022-06-28T12:07:39.779Z] 386e3cb2ff24: Pull complete [2022-06-28T12:07:40.040Z] 2343380bae48: Pull complete [2022-06-28T12:07:40.040Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T12:07:40.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T12:07:40.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:07:40.138Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:07:40.157Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T12:07:41.725Z] $ docker top dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 -eo pid,comm [2022-06-28T12:07:41.814Z] 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-28T12:07:41.814Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T12:07:41.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T12:07:41.847Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T12:07:41.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T12:07:41.958Z] $ docker exec dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 ssh-agent [2022-06-28T12:07:42.097Z] SSH_AUTH_SOCK=/tmp/ssh-KFDecf9jNU1y/agent.33 [2022-06-28T12:07:42.097Z] SSH_AGENT_PID=39 [2022-06-28T12:07:42.103Z] Running ssh-add (command line suppressed) [2022-06-28T12:07:42.211Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3935894768130959309.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3935894768130959309.key) [2022-06-28T12:07:42.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T12:07:42.535Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T12:07:42.540Z] $ docker exec --env ******** --env ******** dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 ssh-agent -k [2022-06-28T12:07:42.652Z] unset SSH_AUTH_SOCK; [2022-06-28T12:07:42.652Z] unset SSH_AGENT_PID; [2022-06-28T12:07:42.652Z] echo Agent pid 39 killed; [2022-06-28T12:07:42.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T12:07:42.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T12:07:42.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T12:07:42.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T12:07:42.813Z] $ docker exec dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 ssh-agent [2022-06-28T12:07:42.967Z] SSH_AUTH_SOCK=/tmp/ssh-wUZlCIc8R2BQ/agent.74 [2022-06-28T12:07:42.967Z] SSH_AGENT_PID=81 [2022-06-28T12:07:42.972Z] Running ssh-add (command line suppressed) [2022-06-28T12:07:43.058Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3965053990533242626.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3965053990533242626.key) [2022-06-28T12:07:43.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T12:07:43.381Z] + git semver init [2022-06-28T12:07:43.642Z] 2022-06-28 12:07:43,548 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T12:07:43.642Z] 2022-06-28 12:07:43,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-28T12:07:43.642Z] 2022-06-28 12:07:43,549 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-06-28T12:07:43.642Z] 2022-06-28 12:07:43,550 [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-28T12:07:44.583Z] 2022-06-28 12:07:44,381 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-06-28T12:07:44.583Z] 2022-06-28 12:07:44,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-06-28T12:07:44.583Z] 2022-06-28 12:07:44,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T12:07:44.583Z] 2022-06-28 12:07:44,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T12:07:44.583Z] 2.2.1-dev.1 [Pipeline] } [2022-06-28T12:07:44.581Z] $ docker exec --env ******** --env ******** dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 ssh-agent -k [2022-06-28T12:07:44.706Z] unset SSH_AUTH_SOCK; [2022-06-28T12:07:44.706Z] unset SSH_AGENT_PID; [2022-06-28T12:07:44.706Z] echo Agent pid 81 killed; [2022-06-28T12:07:44.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T12:07:45.039Z] + git semver [Pipeline] } [2022-06-28T12:07:45.303Z] $ docker stop --time=1 dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 [2022-06-28T12:07:46.627Z] $ docker rm -f dd006cf0ffe44400834b5d5f37e7d8ed2c046463eaeebc1e5e2a8ce433bc0ba5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T12:07:46.993Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T12:07:47.246Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T12:07:47.249Z] [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-28T12:07:47.410Z] provisioning config files... [2022-06-28T12:07:47.420Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3166865769019557203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:07:47.718Z] ---> docker-login.sh [2022-06-28T12:07:47.718Z] nexus3.edgexfoundry.org:10001 [2022-06-28T12:07:47.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:47.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:47.718Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:47.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:47.718Z] [2022-06-28T12:07:47.718Z] Login Succeeded [2022-06-28T12:07:47.718Z] nexus3.edgexfoundry.org:10002 [2022-06-28T12:07:47.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:47.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:47.980Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:47.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:47.980Z] [2022-06-28T12:07:47.980Z] Login Succeeded [2022-06-28T12:07:47.980Z] nexus3.edgexfoundry.org:10003 [2022-06-28T12:07:47.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:47.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:47.980Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:47.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:47.980Z] [2022-06-28T12:07:47.980Z] Login Succeeded [2022-06-28T12:07:47.980Z] nexus3.edgexfoundry.org:10004 [2022-06-28T12:07:47.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:48.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:48.241Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:48.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:48.241Z] [2022-06-28T12:07:48.241Z] Login Succeeded [2022-06-28T12:07:48.241Z] docker.io [2022-06-28T12:07:48.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:07:48.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:07:48.503Z] Configure a credential helper to remove this warning. See [2022-06-28T12:07:48.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:07:48.503Z] [2022-06-28T12:07:48.503Z] Login Succeeded [2022-06-28T12:07:48.503Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T12:07:48.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T12:07:48.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:07:48.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:07:48.594Z] ========================================================= [2022-06-28T12:07:48.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T12:07:48.594Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:07:48.918Z] + 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-28T12:07:48.918Z] Sending build context to Docker daemon 15.73MB [2022-06-28T12:07:48.918Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T12:07:48.918Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T12:07:49.180Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T12:07:49.180Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T12:07:49.180Z] 666ba61612fd: Pulling fs layer [2022-06-28T12:07:49.180Z] 8ed8ca486205: Pulling fs layer [2022-06-28T12:07:49.180Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T12:07:49.180Z] c516ae0d96e1: Pulling fs layer [2022-06-28T12:07:49.180Z] 684cea983483: Pulling fs layer [2022-06-28T12:07:49.180Z] dd3240ac7de5: Pulling fs layer [2022-06-28T12:07:49.180Z] b1e948a4e11c: Pulling fs layer [2022-06-28T12:07:49.180Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T12:07:49.180Z] 646ad004c059: Pulling fs layer [2022-06-28T12:07:49.180Z] cc1cd167ecdc: Waiting [2022-06-28T12:07:49.180Z] c516ae0d96e1: Waiting [2022-06-28T12:07:49.180Z] 684cea983483: Waiting [2022-06-28T12:07:49.180Z] b1e948a4e11c: Waiting [2022-06-28T12:07:49.180Z] a8fd76ee1af6: Waiting [2022-06-28T12:07:49.180Z] 646ad004c059: Waiting [2022-06-28T12:07:49.180Z] dd3240ac7de5: Waiting [2022-06-28T12:07:49.180Z] 8ed8ca486205: Verifying Checksum [2022-06-28T12:07:49.180Z] 8ed8ca486205: Download complete [2022-06-28T12:07:49.180Z] 666ba61612fd: Verifying Checksum [2022-06-28T12:07:49.180Z] 666ba61612fd: Download complete [2022-06-28T12:07:49.180Z] c516ae0d96e1: Verifying Checksum [2022-06-28T12:07:49.180Z] c516ae0d96e1: Download complete [2022-06-28T12:07:49.180Z] 684cea983483: Download complete [2022-06-28T12:07:49.180Z] dd3240ac7de5: Verifying Checksum [2022-06-28T12:07:49.180Z] dd3240ac7de5: Download complete [2022-06-28T12:07:49.180Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T12:07:49.180Z] 59bf1c3509f3: Download complete [2022-06-28T12:07:49.180Z] b1e948a4e11c: Verifying Checksum [2022-06-28T12:07:49.180Z] b1e948a4e11c: Download complete [2022-06-28T12:07:49.443Z] 59bf1c3509f3: Pull complete [2022-06-28T12:07:49.443Z] 666ba61612fd: Pull complete [2022-06-28T12:07:49.443Z] 8ed8ca486205: Pull complete [2022-06-28T12:07:49.703Z] 646ad004c059: Verifying Checksum [2022-06-28T12:07:49.703Z] 646ad004c059: Download complete [2022-06-28T12:07:49.703Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T12:07:49.703Z] a8fd76ee1af6: Download complete [2022-06-28T12:07:49.961Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T12:07:49.961Z] cc1cd167ecdc: Download complete [2022-06-28T12:07:53.252Z] cc1cd167ecdc: Pull complete [2022-06-28T12:07:53.252Z] c516ae0d96e1: Pull complete [2022-06-28T12:07:53.252Z] 684cea983483: Pull complete [2022-06-28T12:07:53.252Z] dd3240ac7de5: Pull complete [2022-06-28T12:07:53.511Z] b1e948a4e11c: Pull complete [2022-06-28T12:07:55.415Z] a8fd76ee1af6: Pull complete [2022-06-28T12:07:55.983Z] 646ad004c059: Pull complete [2022-06-28T12:07:55.983Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T12:07:55.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T12:07:55.983Z] ---> 8f69c11f6b0c [2022-06-28T12:07:55.983Z] Step 3/12 : ARG MAKE="make build" [2022-06-28T12:07:57.897Z] ---> Running in 722c465fc78a [2022-06-28T12:07:57.897Z] Removing intermediate container 722c465fc78a [2022-06-28T12:07:57.897Z] ---> 38d13016d6d3 [2022-06-28T12:07:57.897Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T12:07:57.897Z] ---> Running in 688e35391288 [2022-06-28T12:07:57.897Z] Removing intermediate container 688e35391288 [2022-06-28T12:07:57.897Z] ---> cf64709cee34 [2022-06-28T12:07:57.897Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T12:07:57.897Z] ---> Running in ce0c6700b1d5 [2022-06-28T12:07:58.156Z] Removing intermediate container ce0c6700b1d5 [2022-06-28T12:07:58.156Z] ---> f20254458c55 [2022-06-28T12:07:58.156Z] Step 6/12 : WORKDIR /device-gpio [2022-06-28T12:07:58.156Z] ---> Running in 926509a3f158 [2022-06-28T12:07:58.156Z] Removing intermediate container 926509a3f158 [2022-06-28T12:07:58.156Z] ---> f6d1d17a4920 [2022-06-28T12:07:58.156Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:07:58.156Z] ---> Running in 57fdd999d9b6 [2022-06-28T12:07:58.730Z] Removing intermediate container 57fdd999d9b6 [2022-06-28T12:07:58.730Z] ---> ed5fd15fa2b0 [2022-06-28T12:07:58.730Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T12:07:58.991Z] ---> Running in 80838f7a7327 [2022-06-28T12:07:59.252Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T12:08:00.193Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T12:08:00.193Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T12:08:00.452Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T12:08:00.452Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T12:08:00.452Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T12:08:00.712Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T12:08:00.712Z] OK: 224 MiB in 56 packages [2022-06-28T12:08:00.971Z] Removing intermediate container 80838f7a7327 [2022-06-28T12:08:00.971Z] ---> 01866b363f67 [2022-06-28T12:08:00.971Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T12:08:01.231Z] ---> c42fa956624c [2022-06-28T12:08:01.231Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T12:08:01.231Z] ---> Running in ac75bcbf1087 [2022-06-28T12:08:02.359Z] Still waiting to schedule task [2022-06-28T12:08:02.359Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16217’ [2022-06-28T12:08:16.134Z] Removing intermediate container ac75bcbf1087 [2022-06-28T12:08:16.134Z] ---> 229eae9688de [2022-06-28T12:08:16.134Z] Step 11/12 : COPY . . [2022-06-28T12:08:16.134Z] ---> 5567138c30d1 [2022-06-28T12:08:16.134Z] Step 12/12 : RUN ${MAKE} [2022-06-28T12:08:16.134Z] ---> Running in a2e6000b9cec [2022-06-28T12:08:16.134Z] noop [2022-06-28T12:08:16.134Z] Removing intermediate container a2e6000b9cec [2022-06-28T12:08:16.134Z] ---> a257aed4cfa6 [2022-06-28T12:08:16.134Z] Successfully built a257aed4cfa6 [2022-06-28T12:08:16.134Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:08:16.448Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T12:08:16.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:08:16.529Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:08:16.565Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T12:08:16.946Z] $ docker top 7ece30477e8f00725f29dd7edc9ce77584d0c6dc6380b71903fa0578a589211c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T12:08:17.319Z] + go version [2022-06-28T12:08:17.319Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T12:08:17.342Z] $ docker stop --time=1 7ece30477e8f00725f29dd7edc9ce77584d0c6dc6380b71903fa0578a589211c [2022-06-28T12:08:18.651Z] $ docker rm -f 7ece30477e8f00725f29dd7edc9ce77584d0c6dc6380b71903fa0578a589211c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:08:19.044Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T12:08:19.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:08:19.123Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:08:19.158Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T12:08:19.501Z] $ docker top c22ea094022387846aae41e37b9a5b66582bc8d1a881cf60c7faa5deda809eb5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T12:08:19.857Z] + make test [2022-06-28T12:08:19.857Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T12:08:20.115Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-28T12:08:28.241Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-28T12:08:28.241Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-28T12:08:34.823Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T12:08:38.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T12:08:38.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T12:08:38.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T12:08:38.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T12:08:38.403Z] $ docker stop --time=1 c22ea094022387846aae41e37b9a5b66582bc8d1a881cf60c7faa5deda809eb5 [2022-06-28T12:08:40.190Z] $ docker rm -f c22ea094022387846aae41e37b9a5b66582bc8d1a881cf60c7faa5deda809eb5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T12:08:40.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T12:08:40.665Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T12:08:41.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T12:08:41.392Z] + ls -al . [2022-06-28T12:08:41.392Z] total 172 [2022-06-28T12:08:41.392Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 12:08 . [2022-06-28T12:08:41.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 12:07 .. [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 12:07 .dockerignore [2022-06-28T12:08:41.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 12:07 .git [2022-06-28T12:08:41.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:07 .github [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 12:07 .gitignore [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 12:07 .golangci.yml [2022-06-28T12:08:41.392Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 12:07 .semver [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 12:07 Attribution.txt [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 12:07 CHANGELOG.md [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 12:07 Dockerfile [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 12:07 GOVERNANCE.md [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 12:07 Jenkinsfile [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 12:07 LICENSE [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 12:07 Makefile [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 12:07 OWNERS.md [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 12:07 README.md [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 12:07 VERSION [2022-06-28T12:08:41.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 12:07 bin [2022-06-28T12:08:41.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:07 cmd [2022-06-28T12:08:41.392Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 28 12:08 coverage.out [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 12:07 go.mod [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 48183 Jun 28 12:07 go.sum [2022-06-28T12:08:41.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:07 internal [2022-06-28T12:08:41.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:07 snap [2022-06-28T12:08:41.392Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 12:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:08:41.705Z] + 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=a6fd823ac0f8050cc93c4390e8ec7789fa877825 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-06-28T12:08:41.705Z] Sending build context to Docker daemon 15.74MB [2022-06-28T12:08:41.705Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T12:08:41.705Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T12:08:41.705Z] ---> a257aed4cfa6 [2022-06-28T12:08:41.705Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T12:08:41.966Z] ---> Running in cf84bd4cc0a4 [2022-06-28T12:08:41.966Z] Removing intermediate container cf84bd4cc0a4 [2022-06-28T12:08:41.966Z] ---> fd1a9ada62b6 [2022-06-28T12:08:41.966Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T12:08:41.966Z] ---> Running in 78c7964e5f69 [2022-06-28T12:08:41.966Z] Removing intermediate container 78c7964e5f69 [2022-06-28T12:08:41.966Z] ---> 01d059075d8d [2022-06-28T12:08:41.966Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T12:08:42.227Z] ---> Running in 99fb9cb18ade [2022-06-28T12:08:42.227Z] Removing intermediate container 99fb9cb18ade [2022-06-28T12:08:42.227Z] ---> d4d4ed4b68aa [2022-06-28T12:08:42.227Z] Step 6/26 : WORKDIR /device-gpio [2022-06-28T12:08:42.227Z] ---> Running in 9020fdafde1b [2022-06-28T12:08:42.227Z] Removing intermediate container 9020fdafde1b [2022-06-28T12:08:42.227Z] ---> 5eb78f32d312 [2022-06-28T12:08:42.227Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:08:42.487Z] ---> Running in cf3bf583de38 [2022-06-28T12:08:43.059Z] Removing intermediate container cf3bf583de38 [2022-06-28T12:08:43.059Z] ---> 2981ec58d174 [2022-06-28T12:08:43.059Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T12:08:43.059Z] ---> Running in 1c644586baab [2022-06-28T12:08:43.319Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T12:08:44.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T12:08:44.521Z] OK: 224 MiB in 56 packages [2022-06-28T12:08:44.792Z] Removing intermediate container 1c644586baab [2022-06-28T12:08:44.792Z] ---> 962b8d4fbf05 [2022-06-28T12:08:44.792Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-28T12:08:44.792Z] ---> 6d1c6485f9bd [2022-06-28T12:08:44.792Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T12:08:45.053Z] ---> Running in 1d6f0c45293c [2022-06-28T12:08:45.635Z] Removing intermediate container 1d6f0c45293c [2022-06-28T12:08:45.636Z] ---> 52687412de81 [2022-06-28T12:08:45.636Z] Step 11/26 : COPY . . [2022-06-28T12:08:45.894Z] ---> d38f668abcf9 [2022-06-28T12:08:45.894Z] Step 12/26 : RUN ${MAKE} [2022-06-28T12:08:45.894Z] ---> Running in dbc1107feb15 [2022-06-28T12:08:46.154Z] 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-28T12:09:08.128Z] Removing intermediate container dbc1107feb15 [2022-06-28T12:09:08.128Z] ---> 72c32c0c5b2c [2022-06-28T12:09:08.128Z] Step 13/26 : FROM alpine:3.15 [2022-06-28T12:09:08.128Z] 3.15: Pulling from library/alpine [2022-06-28T12:09:08.128Z] df9b9388f04a: Pulling fs layer [2022-06-28T12:09:08.128Z] df9b9388f04a: Verifying Checksum [2022-06-28T12:09:08.128Z] df9b9388f04a: Download complete [2022-06-28T12:09:08.128Z] df9b9388f04a: Pull complete [2022-06-28T12:09:08.128Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T12:09:08.128Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T12:09:08.128Z] ---> 0ac33e5f5afa [2022-06-28T12:09:08.128Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-28T12:09:08.128Z] ---> Running in 788337a909e4 [2022-06-28T12:09:08.128Z] Removing intermediate container 788337a909e4 [2022-06-28T12:09:08.128Z] ---> ba924f1ef7ea [2022-06-28T12:09:08.128Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:09:08.128Z] ---> Running in 406b44fdf223 [2022-06-28T12:09:08.128Z] Removing intermediate container 406b44fdf223 [2022-06-28T12:09:08.128Z] ---> ef1dd71b4ff6 [2022-06-28T12:09:08.128Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-28T12:09:08.128Z] ---> Running in f1c4524e4ee9 [2022-06-28T12:09:08.128Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T12:09:08.128Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T12:09:08.128Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T12:09:08.128Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-28T12:09:08.128Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T12:09:08.128Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-28T12:09:08.389Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-28T12:09:08.389Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T12:09:08.389Z] OK: 8 MiB in 19 packages [2022-06-28T12:09:08.649Z] Removing intermediate container f1c4524e4ee9 [2022-06-28T12:09:08.649Z] ---> feb358c7ce80 [2022-06-28T12:09:08.649Z] Step 17/26 : WORKDIR / [2022-06-28T12:09:08.909Z] ---> Running in 5be1fd801746 [2022-06-28T12:09:08.909Z] Removing intermediate container 5be1fd801746 [2022-06-28T12:09:08.909Z] ---> c78a8608302c [2022-06-28T12:09:08.909Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-28T12:09:08.909Z] ---> 0ab41f61dfed [2022-06-28T12:09:08.909Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-28T12:09:09.168Z] ---> bf78636af785 [2022-06-28T12:09:09.168Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-28T12:09:09.738Z] ---> ce96f41d3654 [2022-06-28T12:09:09.738Z] Step 21/26 : EXPOSE 59910 [2022-06-28T12:09:09.738Z] ---> Running in 8b9d0d3a4cac [2022-06-28T12:09:09.998Z] Removing intermediate container 8b9d0d3a4cac [2022-06-28T12:09:09.998Z] ---> 67392b8af2ad [2022-06-28T12:09:09.998Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-28T12:09:09.998Z] ---> Running in f2e9726ad612 [2022-06-28T12:09:09.998Z] Removing intermediate container f2e9726ad612 [2022-06-28T12:09:09.998Z] ---> 6ef0ca8b76cf [2022-06-28T12:09:09.998Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T12:09:09.998Z] ---> Running in 25c1000e639c [2022-06-28T12:09:09.998Z] Removing intermediate container 25c1000e639c [2022-06-28T12:09:09.998Z] ---> 87398bae571c [2022-06-28T12:09:09.998Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T12:09:10.259Z] ---> Running in 07035cccd160 [2022-06-28T12:09:10.259Z] Removing intermediate container 07035cccd160 [2022-06-28T12:09:10.259Z] ---> 025ecf235a1c [2022-06-28T12:09:10.259Z] Step 25/26 : LABEL git_sha=a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:09:10.259Z] ---> Running in 5df3f55b58c1 [2022-06-28T12:09:10.259Z] Removing intermediate container 5df3f55b58c1 [2022-06-28T12:09:10.259Z] ---> e5b7fdd04b25 [2022-06-28T12:09:10.259Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-28T12:09:10.519Z] ---> Running in b85bc20c51aa [2022-06-28T12:09:10.519Z] Removing intermediate container b85bc20c51aa [2022-06-28T12:09:10.519Z] ---> 740f6f03d87f [2022-06-28T12:09:10.519Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T12:09:10.519Z] Successfully built 740f6f03d87f [2022-06-28T12:09:10.519Z] 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-28T12:09:10.624Z] provisioning config files... [2022-06-28T12:09:10.634Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5836023248579278744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:09:10.930Z] ---> docker-login.sh [2022-06-28T12:09:10.930Z] nexus3.edgexfoundry.org:10001 [2022-06-28T12:09:10.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:09:10.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:09:10.930Z] Configure a credential helper to remove this warning. See [2022-06-28T12:09:10.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:09:10.930Z] [2022-06-28T12:09:10.930Z] Login Succeeded [2022-06-28T12:09:10.930Z] nexus3.edgexfoundry.org:10002 [2022-06-28T12:09:10.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:09:10.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:09:10.930Z] Configure a credential helper to remove this warning. See [2022-06-28T12:09:10.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:09:10.930Z] [2022-06-28T12:09:10.930Z] Login Succeeded [2022-06-28T12:09:11.191Z] nexus3.edgexfoundry.org:10003 [2022-06-28T12:09:11.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:09:11.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:09:11.191Z] Configure a credential helper to remove this warning. See [2022-06-28T12:09:11.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:09:11.191Z] [2022-06-28T12:09:11.191Z] Login Succeeded [2022-06-28T12:09:11.191Z] nexus3.edgexfoundry.org:10004 [2022-06-28T12:09:11.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:09:11.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:09:11.453Z] Configure a credential helper to remove this warning. See [2022-06-28T12:09:11.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:09:11.453Z] [2022-06-28T12:09:11.453Z] Login Succeeded [2022-06-28T12:09:11.453Z] docker.io [2022-06-28T12:09:11.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:09:11.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:09:11.713Z] Configure a credential helper to remove this warning. See [2022-06-28T12:09:11.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:09:11.713Z] [2022-06-28T12:09:11.713Z] Login Succeeded [2022-06-28T12:09:11.713Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T12:09:11.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T12:09:11.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:09:11.770Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-06-28T12:09:11.770Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:09:11.770Z] latest [2022-06-28T12:09:11.770Z] 2.2.1-dev.1 [2022-06-28T12:09:11.770Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:09:11.770Z] main [2022-06-28T12:09:11.770Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:12.096Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:12.410Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:09:12.410Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T12:09:12.410Z] 305abbb8cd9e: Preparing [2022-06-28T12:09:12.410Z] 2355dfed5f7b: Preparing [2022-06-28T12:09:12.410Z] 4af1785d49ee: Preparing [2022-06-28T12:09:12.410Z] fc7e875412e2: Preparing [2022-06-28T12:09:12.410Z] 53c1936a619a: Preparing [2022-06-28T12:09:12.410Z] 4fc242d58285: Preparing [2022-06-28T12:09:12.410Z] 4fc242d58285: Waiting [2022-06-28T12:09:12.410Z] 2355dfed5f7b: Pushed [2022-06-28T12:09:12.410Z] 4af1785d49ee: Pushed [2022-06-28T12:09:12.410Z] 53c1936a619a: Pushed [2022-06-28T12:09:12.410Z] 4fc242d58285: Layer already exists [2022-06-28T12:09:12.669Z] fc7e875412e2: Pushed [2022-06-28T12:09:15.206Z] 305abbb8cd9e: Pushed [2022-06-28T12:09:15.206Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825: digest: sha256:ed89909490846e0941b9314d4580074cecc7c0afdde055190bbea91e4a59ae25 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:15.523Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:15.842Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-28T12:09:15.842Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T12:09:15.842Z] 305abbb8cd9e: Preparing [2022-06-28T12:09:15.842Z] 2355dfed5f7b: Preparing [2022-06-28T12:09:15.842Z] 4af1785d49ee: Preparing [2022-06-28T12:09:15.842Z] fc7e875412e2: Preparing [2022-06-28T12:09:15.842Z] 53c1936a619a: Preparing [2022-06-28T12:09:15.842Z] 4fc242d58285: Preparing [2022-06-28T12:09:15.842Z] 4fc242d58285: Waiting [2022-06-28T12:09:15.842Z] 4af1785d49ee: Layer already exists [2022-06-28T12:09:15.842Z] 305abbb8cd9e: Layer already exists [2022-06-28T12:09:15.842Z] 2355dfed5f7b: Layer already exists [2022-06-28T12:09:15.842Z] fc7e875412e2: Layer already exists [2022-06-28T12:09:15.842Z] 53c1936a619a: Layer already exists [2022-06-28T12:09:15.842Z] 4fc242d58285: Layer already exists [2022-06-28T12:09:15.842Z] latest: digest: sha256:ed89909490846e0941b9314d4580074cecc7c0afdde055190bbea91e4a59ae25 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:16.151Z] + 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-28T12:09:16.460Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-28T12:09:16.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T12:09:16.460Z] 305abbb8cd9e: Preparing [2022-06-28T12:09:16.460Z] 2355dfed5f7b: Preparing [2022-06-28T12:09:16.460Z] 4af1785d49ee: Preparing [2022-06-28T12:09:16.460Z] fc7e875412e2: Preparing [2022-06-28T12:09:16.460Z] 53c1936a619a: Preparing [2022-06-28T12:09:16.460Z] 4fc242d58285: Preparing [2022-06-28T12:09:16.460Z] 4fc242d58285: Waiting [2022-06-28T12:09:16.460Z] 4af1785d49ee: Layer already exists [2022-06-28T12:09:16.460Z] 53c1936a619a: Layer already exists [2022-06-28T12:09:16.460Z] 2355dfed5f7b: Layer already exists [2022-06-28T12:09:16.460Z] 305abbb8cd9e: Layer already exists [2022-06-28T12:09:16.460Z] fc7e875412e2: Layer already exists [2022-06-28T12:09:16.460Z] 4fc242d58285: Layer already exists [2022-06-28T12:09:16.460Z] 2.2.1-dev.1: digest: sha256:ed89909490846e0941b9314d4580074cecc7c0afdde055190bbea91e4a59ae25 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:16.772Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:17.089Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:09:17.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T12:09:17.089Z] 305abbb8cd9e: Preparing [2022-06-28T12:09:17.089Z] 2355dfed5f7b: Preparing [2022-06-28T12:09:17.089Z] 4af1785d49ee: Preparing [2022-06-28T12:09:17.089Z] fc7e875412e2: Preparing [2022-06-28T12:09:17.089Z] 53c1936a619a: Preparing [2022-06-28T12:09:17.089Z] 4fc242d58285: Preparing [2022-06-28T12:09:17.089Z] 4fc242d58285: Waiting [2022-06-28T12:09:17.089Z] 305abbb8cd9e: Layer already exists [2022-06-28T12:09:17.089Z] fc7e875412e2: Layer already exists [2022-06-28T12:09:17.089Z] 2355dfed5f7b: Layer already exists [2022-06-28T12:09:17.089Z] 4af1785d49ee: Layer already exists [2022-06-28T12:09:17.089Z] 53c1936a619a: Layer already exists [2022-06-28T12:09:17.089Z] 4fc242d58285: Layer already exists [2022-06-28T12:09:17.089Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1: digest: sha256:ed89909490846e0941b9314d4580074cecc7c0afdde055190bbea91e4a59ae25 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:17.410Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:17.730Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-06-28T12:09:17.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-06-28T12:09:17.730Z] 305abbb8cd9e: Preparing [2022-06-28T12:09:17.730Z] 2355dfed5f7b: Preparing [2022-06-28T12:09:17.730Z] 4af1785d49ee: Preparing [2022-06-28T12:09:17.730Z] fc7e875412e2: Preparing [2022-06-28T12:09:17.730Z] 53c1936a619a: Preparing [2022-06-28T12:09:17.730Z] 4fc242d58285: Preparing [2022-06-28T12:09:17.730Z] 4fc242d58285: Waiting [2022-06-28T12:09:17.730Z] 4af1785d49ee: Layer already exists [2022-06-28T12:09:17.730Z] 305abbb8cd9e: Layer already exists [2022-06-28T12:09:17.730Z] 53c1936a619a: Layer already exists [2022-06-28T12:09:17.730Z] fc7e875412e2: Layer already exists [2022-06-28T12:09:17.730Z] 2355dfed5f7b: Layer already exists [2022-06-28T12:09:17.730Z] 4fc242d58285: Layer already exists [2022-06-28T12:09:17.730Z] main: digest: sha256:ed89909490846e0941b9314d4580074cecc7c0afdde055190bbea91e4a59ae25 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T12:09:17.775Z] ===================================================== [Pipeline] echo [2022-06-28T12:09:17.786Z] taggedImages: [2022-06-28T12:09:17.786Z] - nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:09:17.786Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-06-28T12:09:17.786Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [2022-06-28T12:09:17.786Z] - nexus3.edgexfoundry.org:10004/device-gpio:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:09:17.786Z] - 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-28T12:09:18.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T12:09:18.146Z] [2022-06-28T12:09:18.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:09:18.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T12:09:18.448Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T12:09:18.448Z] 5eb5b503b376: Pulling fs layer [2022-06-28T12:09:18.448Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T12:09:18.448Z] ec43610c2a17: Pulling fs layer [2022-06-28T12:09:18.448Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T12:09:18.448Z] 33b1e0a273af: Pulling fs layer [2022-06-28T12:09:18.448Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T12:09:18.448Z] 2f39f015ded8: Pulling fs layer [2022-06-28T12:09:18.448Z] 3a2ae6a8a46f: Waiting [2022-06-28T12:09:18.448Z] 33b1e0a273af: Waiting [2022-06-28T12:09:18.448Z] 5c69ac0246d0: Download complete [2022-06-28T12:09:18.448Z] 33b1e0a273af: Verifying Checksum [2022-06-28T12:09:18.448Z] 33b1e0a273af: Download complete [2022-06-28T12:09:18.448Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T12:09:18.448Z] 5d3b04190fa2: Download complete [2022-06-28T12:09:18.708Z] ec43610c2a17: Verifying Checksum [2022-06-28T12:09:18.708Z] ec43610c2a17: Download complete [2022-06-28T12:09:18.708Z] 5eb5b503b376: Verifying Checksum [2022-06-28T12:09:18.708Z] 5eb5b503b376: Download complete [2022-06-28T12:09:19.277Z] 2f39f015ded8: Download complete [2022-06-28T12:09:19.872Z] 5eb5b503b376: Pull complete [2022-06-28T12:09:20.144Z] 5c69ac0246d0: Pull complete [2022-06-28T12:09:20.455Z] ec43610c2a17: Pull complete [2022-06-28T12:09:20.455Z] 3a2ae6a8a46f: Pull complete [2022-06-28T12:09:20.752Z] 33b1e0a273af: Pull complete [2022-06-28T12:09:20.752Z] 5d3b04190fa2: Pull complete [2022-06-28T12:09:24.943Z] 2f39f015ded8: Pull complete [2022-06-28T12:09:24.943Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T12:09:24.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T12:09:24.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:09:25.037Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:09:25.078Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T12:09:26.940Z] $ docker top 200e8c0f50b93aed4579d6b76353fc74104af4c44b25186797a4e842342e785c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:09:27.313Z] ---> job-cost.sh [2022-06-28T12:09:27.313Z] lf-activate-venv: SKIPPING [2022-06-28T12:09:27.313Z] INFO: No Stack... [2022-06-28T12:09:27.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T12:09:28.144Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T12:09:28.432Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-06-28T12:09:28.432Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T12:09:28.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [2022-06-28T12:09:28.452Z] Resource [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] did not exist. Created. [2022-06-28T12:09:28.452Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T12:09:28.762Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T12:09:28.786Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T12:09:28.792Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T12:09:28.816Z] $ docker stop --time=1 200e8c0f50b93aed4579d6b76353fc74104af4c44b25186797a4e842342e785c [2022-06-28T12:09:29.988Z] $ docker rm -f 200e8c0f50b93aed4579d6b76353fc74104af4c44b25186797a4e842342e785c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T12:10:55.991Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16219 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-06-28T12:10:56.004Z] Running in /w/workspace/device-gpio/31 [Pipeline] { [Pipeline] checkout [2022-06-28T12:10:56.041Z] The recommended git tool is: git [2022-06-28T12:11:01.975Z] using credential edgex-jenkins-ssh [2022-06-28T12:11:01.994Z] Cloning the remote Git repository [2022-06-28T12:11:02.054Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-28T12:11:02.134Z] > git init /w/workspace/device-gpio/31 # timeout=10 [2022-06-28T12:11:02.206Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-28T12:11:02.207Z] > git --version # timeout=10 [2022-06-28T12:11:02.226Z] > git --version # 'git version 2.25.1' [2022-06-28T12:11:02.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T12:11:02.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T12:11:03.957Z] Avoid second fetch [2022-06-28T12:11:03.957Z] Checking out Revision a6fd823ac0f8050cc93c4390e8ec7789fa877825 (main) [2022-06-28T12:11:03.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-28T12:11:03.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T12:11:03.984Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T12:11:04.007Z] > git checkout -f a6fd823ac0f8050cc93c4390e8ec7789fa877825 # timeout=10 [2022-06-28T12:11:08.237Z] Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T12:11:09.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T12:11:09.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T12:11:09.123Z] Dload Upload Total Spent Left Speed [2022-06-28T12:11:09.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2022-06-28T12:11:09.821Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T12:11:10.171Z] + sudo tee /etc/docker/daemon.new [2022-06-28T12:11:10.171Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T12:11:10.171Z] { [2022-06-28T12:11:10.171Z] "registry-mirrors": [ [2022-06-28T12:11:10.171Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T12:11:10.171Z] ], [2022-06-28T12:11:10.171Z] "bip": "10.250.0.254/24", [2022-06-28T12:11:10.171Z] "hosts": [ [2022-06-28T12:11:10.171Z] "tcp://0.0.0.0:5555", [2022-06-28T12:11:10.171Z] "unix:///var/run/docker.sock" [2022-06-28T12:11:10.171Z] ], [2022-06-28T12:11:10.171Z] "mtu": 1458, [2022-06-28T12:11:10.171Z] "selinux-enabled": true, [2022-06-28T12:11:10.171Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T12:11:10.171Z] } [Pipeline] sh [2022-06-28T12:11:10.617Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T12:11:10.959Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T12:11:29.314Z] provisioning config files... [2022-06-28T12:11:29.338Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/31@tmp/config7924501084626842537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:11:29.862Z] ---> docker-login.sh [2022-06-28T12:11:29.862Z] nexus3.edgexfoundry.org:10001 [2022-06-28T12:11:30.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:11:30.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:11:30.732Z] Configure a credential helper to remove this warning. See [2022-06-28T12:11:30.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:11:30.732Z] [2022-06-28T12:11:30.732Z] Login Succeeded [2022-06-28T12:11:30.732Z] nexus3.edgexfoundry.org:10002 [2022-06-28T12:11:31.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:11:31.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:11:31.285Z] Configure a credential helper to remove this warning. See [2022-06-28T12:11:31.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:11:31.285Z] [2022-06-28T12:11:31.285Z] Login Succeeded [2022-06-28T12:11:31.285Z] nexus3.edgexfoundry.org:10003 [2022-06-28T12:11:31.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:11:31.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:11:31.560Z] Configure a credential helper to remove this warning. See [2022-06-28T12:11:31.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:11:31.560Z] [2022-06-28T12:11:31.560Z] Login Succeeded [2022-06-28T12:11:31.560Z] nexus3.edgexfoundry.org:10004 [2022-06-28T12:11:32.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:11:32.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:11:32.162Z] Configure a credential helper to remove this warning. See [2022-06-28T12:11:32.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:11:32.162Z] [2022-06-28T12:11:32.162Z] Login Succeeded [2022-06-28T12:11:32.162Z] docker.io [2022-06-28T12:11:32.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:11:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:11:32.710Z] Configure a credential helper to remove this warning. See [2022-06-28T12:11:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:11:32.710Z] [2022-06-28T12:11:32.710Z] Login Succeeded [2022-06-28T12:11:32.710Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T12:11:32.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T12:11:32.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:11:33.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:11:33.013Z] ========================================================= [2022-06-28T12:11:33.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T12:11:33.013Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:11:33.370Z] + 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-28T12:11:33.640Z] Sending build context to Docker daemon 7.931MB [2022-06-28T12:11:33.640Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T12:11:33.640Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T12:11:33.914Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T12:11:33.914Z] 9b3977197b4f: Pulling fs layer [2022-06-28T12:11:33.914Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T12:11:33.914Z] 94645a83ff95: Pulling fs layer [2022-06-28T12:11:33.914Z] e6fb740bc735: Pulling fs layer [2022-06-28T12:11:33.914Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T12:11:33.914Z] 355e64cbe906: Pulling fs layer [2022-06-28T12:11:33.914Z] 63ab81a10011: Pulling fs layer [2022-06-28T12:11:33.914Z] 555d1d1c4555: Pulling fs layer [2022-06-28T12:11:33.914Z] 7d9057610161: Pulling fs layer [2022-06-28T12:11:33.914Z] e6fb740bc735: Waiting [2022-06-28T12:11:33.914Z] 3a77bd46dcc9: Waiting [2022-06-28T12:11:33.914Z] 355e64cbe906: Waiting [2022-06-28T12:11:33.914Z] 63ab81a10011: Waiting [2022-06-28T12:11:33.914Z] 555d1d1c4555: Waiting [2022-06-28T12:11:33.914Z] 7d9057610161: Waiting [2022-06-28T12:11:33.914Z] 94645a83ff95: Verifying Checksum [2022-06-28T12:11:33.914Z] 94645a83ff95: Download complete [2022-06-28T12:11:33.914Z] 1a89e8eeedd5: Download complete [2022-06-28T12:11:33.914Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T12:11:33.914Z] 3a77bd46dcc9: Download complete [2022-06-28T12:11:33.914Z] 355e64cbe906: Verifying Checksum [2022-06-28T12:11:33.914Z] 355e64cbe906: Download complete [2022-06-28T12:11:33.914Z] 9b3977197b4f: Verifying Checksum [2022-06-28T12:11:33.914Z] 9b3977197b4f: Download complete [2022-06-28T12:11:33.914Z] 63ab81a10011: Verifying Checksum [2022-06-28T12:11:33.914Z] 63ab81a10011: Download complete [2022-06-28T12:11:34.907Z] 9b3977197b4f: Pull complete [2022-06-28T12:11:34.907Z] 7d9057610161: Verifying Checksum [2022-06-28T12:11:34.907Z] 7d9057610161: Download complete [2022-06-28T12:11:35.508Z] 1a89e8eeedd5: Pull complete [2022-06-28T12:11:35.788Z] 94645a83ff95: Pull complete [2022-06-28T12:11:36.384Z] 555d1d1c4555: Verifying Checksum [2022-06-28T12:11:36.384Z] 555d1d1c4555: Download complete [2022-06-28T12:11:36.979Z] e6fb740bc735: Verifying Checksum [2022-06-28T12:11:36.979Z] e6fb740bc735: Download complete [2022-06-28T12:11:49.387Z] e6fb740bc735: Pull complete [2022-06-28T12:11:49.387Z] 3a77bd46dcc9: Pull complete [2022-06-28T12:11:49.387Z] 355e64cbe906: Pull complete [2022-06-28T12:11:49.387Z] 63ab81a10011: Pull complete [2022-06-28T12:11:56.104Z] 555d1d1c4555: Pull complete [2022-06-28T12:11:57.561Z] 7d9057610161: Pull complete [2022-06-28T12:11:57.561Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T12:11:57.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T12:11:57.561Z] ---> 819e984ddca1 [2022-06-28T12:11:57.561Z] Step 3/12 : ARG MAKE="make build" [2022-06-28T12:11:59.007Z] ---> Running in 171800b7d8f3 [2022-06-28T12:11:59.285Z] Removing intermediate container 171800b7d8f3 [2022-06-28T12:11:59.285Z] ---> baa94f378968 [2022-06-28T12:11:59.285Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T12:11:59.566Z] ---> Running in 36362740e8d5 [2022-06-28T12:11:59.842Z] Removing intermediate container 36362740e8d5 [2022-06-28T12:11:59.842Z] ---> dbeb315de05d [2022-06-28T12:11:59.842Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T12:11:59.842Z] ---> Running in fa15b0a1cc2f [2022-06-28T12:12:00.119Z] Removing intermediate container fa15b0a1cc2f [2022-06-28T12:12:00.119Z] ---> 670f3e4701a2 [2022-06-28T12:12:00.119Z] Step 6/12 : WORKDIR /device-gpio [2022-06-28T12:12:00.400Z] ---> Running in 085e35d04d60 [2022-06-28T12:12:00.678Z] Removing intermediate container 085e35d04d60 [2022-06-28T12:12:00.678Z] ---> b8e5a1c5dd07 [2022-06-28T12:12:00.678Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:12:00.678Z] ---> Running in 520e02fe5212 [2022-06-28T12:12:03.321Z] Removing intermediate container 520e02fe5212 [2022-06-28T12:12:03.321Z] ---> ed726cbb359c [2022-06-28T12:12:03.321Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T12:12:03.597Z] ---> Running in 2dfcb311784b [2022-06-28T12:12:04.589Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T12:12:05.572Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T12:12:06.554Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T12:12:06.554Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T12:12:06.554Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T12:12:06.829Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T12:12:06.829Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T12:12:06.829Z] OK: 224 MiB in 56 packages [2022-06-28T12:12:07.817Z] Removing intermediate container 2dfcb311784b [2022-06-28T12:12:07.817Z] ---> 7b63e9d10e4d [2022-06-28T12:12:07.817Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T12:12:08.435Z] ---> 32110799c77c [2022-06-28T12:12:08.435Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T12:12:08.435Z] ---> Running in 993dc2a054b1 [2022-06-28T12:13:04.977Z] Removing intermediate container 993dc2a054b1 [2022-06-28T12:13:04.977Z] ---> 35bfadba9e7e [2022-06-28T12:13:04.977Z] Step 11/12 : COPY . . [2022-06-28T12:13:04.977Z] ---> 7aa3e759cbee [2022-06-28T12:13:04.977Z] Step 12/12 : RUN ${MAKE} [2022-06-28T12:13:04.977Z] ---> Running in fd77852323a5 [2022-06-28T12:13:04.977Z] noop [2022-06-28T12:13:04.977Z] Removing intermediate container fd77852323a5 [2022-06-28T12:13:04.977Z] ---> a21f2dd875bd [2022-06-28T12:13:04.977Z] Successfully built a21f2dd875bd [2022-06-28T12:13:04.977Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:13:05.345Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T12:13:05.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:13:05.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-16219 does not seem to be running inside a container [2022-06-28T12:13:05.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/31 -v /w/workspace/device-gpio/31:/w/workspace/device-gpio/31:rw,z -v /w/workspace/device-gpio/31@tmp:/w/workspace/device-gpio/31@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-28T12:13:06.969Z] $ docker top 556973cae3c322a71104575cbdda493bf907873d9f78f959fc130db945defcb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T12:13:07.885Z] + go version [2022-06-28T12:13:07.885Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T12:13:07.914Z] $ docker stop --time=1 556973cae3c322a71104575cbdda493bf907873d9f78f959fc130db945defcb8 [2022-06-28T12:13:09.579Z] $ docker rm -f 556973cae3c322a71104575cbdda493bf907873d9f78f959fc130db945defcb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:13:10.238Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T12:13:10.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:13:10.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-16219 does not seem to be running inside a container [2022-06-28T12:13:10.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/31 -v /w/workspace/device-gpio/31:/w/workspace/device-gpio/31:rw,z -v /w/workspace/device-gpio/31@tmp:/w/workspace/device-gpio/31@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-28T12:13:11.865Z] $ docker top f3a27a5e6c7177f94d31e78cfecc1b9b31f32a6614d6badab116f636f8f30ae7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T12:13:12.796Z] + make test [2022-06-28T12:13:12.796Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T12:13:14.241Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-28T12:14:36.095Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-28T12:14:36.095Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-28T12:14:36.095Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T12:14:36.095Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T12:15:02.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T12:15:02.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T12:15:02.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T12:15:02.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T12:15:02.935Z] $ docker stop --time=1 f3a27a5e6c7177f94d31e78cfecc1b9b31f32a6614d6badab116f636f8f30ae7 [2022-06-28T12:15:04.690Z] $ docker rm -f f3a27a5e6c7177f94d31e78cfecc1b9b31f32a6614d6badab116f636f8f30ae7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T12:15:05.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T12:15:05.652Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T12:15:06.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T12:15:06.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T12:15:06.845Z] + ls -al . [2022-06-28T12:15:06.845Z] total 168 [2022-06-28T12:15:06.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 12:15 . [2022-06-28T12:15:06.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 12:11 .. [2022-06-28T12:15:06.845Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 12:11 .dockerignore [2022-06-28T12:15:06.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 12:11 .git [2022-06-28T12:15:06.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:11 .github [2022-06-28T12:15:06.845Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 12:11 .gitignore [2022-06-28T12:15:06.845Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 12:11 .golangci.yml [2022-06-28T12:15:06.845Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 12:11 Attribution.txt [2022-06-28T12:15:06.845Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 12:11 CHANGELOG.md [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 12:11 Dockerfile [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 12:11 GOVERNANCE.md [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 12:11 Jenkinsfile [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 12:11 LICENSE [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 12:11 Makefile [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 12:11 OWNERS.md [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 12:11 README.md [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 12:07 VERSION [2022-06-28T12:15:06.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 12:11 bin [2022-06-28T12:15:06.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:11 cmd [2022-06-28T12:15:06.846Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 28 12:13 coverage.out [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 12:11 go.mod [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 48183 Jun 28 12:11 go.sum [2022-06-28T12:15:06.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:11 internal [2022-06-28T12:15:06.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 12:11 snap [2022-06-28T12:15:06.846Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 12:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:15:07.203Z] + 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=a6fd823ac0f8050cc93c4390e8ec7789fa877825 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-06-28T12:15:07.477Z] Sending build context to Docker daemon 7.932MB [2022-06-28T12:15:07.477Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T12:15:07.477Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T12:15:07.477Z] ---> a21f2dd875bd [2022-06-28T12:15:07.477Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T12:15:07.764Z] ---> Running in 61e134fff818 [2022-06-28T12:15:08.041Z] Removing intermediate container 61e134fff818 [2022-06-28T12:15:08.041Z] ---> c4a2ce8b7ec0 [2022-06-28T12:15:08.041Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T12:15:08.041Z] ---> Running in a0541c548a0e [2022-06-28T12:15:08.637Z] Removing intermediate container a0541c548a0e [2022-06-28T12:15:08.637Z] ---> 93769e319498 [2022-06-28T12:15:08.637Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T12:15:08.637Z] ---> Running in 53307b8c8882 [2022-06-28T12:15:08.910Z] Removing intermediate container 53307b8c8882 [2022-06-28T12:15:08.910Z] ---> 28e907228ad5 [2022-06-28T12:15:08.910Z] Step 6/26 : WORKDIR /device-gpio [2022-06-28T12:15:08.910Z] ---> Running in 40d27acfac06 [2022-06-28T12:15:09.200Z] Removing intermediate container 40d27acfac06 [2022-06-28T12:15:09.200Z] ---> 44761911ca75 [2022-06-28T12:15:09.200Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:15:09.200Z] ---> Running in a77cd41c9d10 [2022-06-28T12:15:11.186Z] Removing intermediate container a77cd41c9d10 [2022-06-28T12:15:11.186Z] ---> 8f79f131380a [2022-06-28T12:15:11.186Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T12:15:11.186Z] ---> Running in 37ad19622789 [2022-06-28T12:15:12.160Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T12:15:12.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T12:15:13.731Z] OK: 224 MiB in 56 packages [2022-06-28T12:15:14.330Z] Removing intermediate container 37ad19622789 [2022-06-28T12:15:14.330Z] ---> 4e532dcfb101 [2022-06-28T12:15:14.330Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-28T12:15:14.930Z] ---> d7542bf7550a [2022-06-28T12:15:14.930Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T12:15:15.211Z] ---> Running in e6713a8ffdc7 [2022-06-28T12:15:17.196Z] Removing intermediate container e6713a8ffdc7 [2022-06-28T12:15:17.196Z] ---> 925a8d6b9d36 [2022-06-28T12:15:17.196Z] Step 11/26 : COPY . . [2022-06-28T12:15:18.181Z] ---> 64e89f822559 [2022-06-28T12:15:18.181Z] Step 12/26 : RUN ${MAKE} [2022-06-28T12:15:18.181Z] ---> Running in 7bab0fb1d12a [2022-06-28T12:15:19.165Z] 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-28T12:17:26.053Z] Removing intermediate container 7bab0fb1d12a [2022-06-28T12:17:26.053Z] ---> 01355a8be02d [2022-06-28T12:17:26.053Z] Step 13/26 : FROM alpine:3.15 [2022-06-28T12:17:26.053Z] 3.15: Pulling from library/alpine [2022-06-28T12:17:26.053Z] 9981e73032c8: Pulling fs layer [2022-06-28T12:17:26.053Z] 9981e73032c8: Verifying Checksum [2022-06-28T12:17:26.053Z] 9981e73032c8: Download complete [2022-06-28T12:17:26.053Z] 9981e73032c8: Pull complete [2022-06-28T12:17:26.053Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T12:17:26.053Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T12:17:26.053Z] ---> 3fb3c9af89a9 [2022-06-28T12:17:26.053Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-28T12:17:26.053Z] ---> Running in 11f8b180f89c [2022-06-28T12:17:26.053Z] Removing intermediate container 11f8b180f89c [2022-06-28T12:17:26.053Z] ---> 844cf1be21cf [2022-06-28T12:17:26.053Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T12:17:26.053Z] ---> Running in 27f88f156356 [2022-06-28T12:17:26.053Z] Removing intermediate container 27f88f156356 [2022-06-28T12:17:26.053Z] ---> 2e8915074349 [2022-06-28T12:17:26.053Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-28T12:17:26.053Z] ---> Running in 27d447bc5d49 [2022-06-28T12:17:26.053Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T12:17:26.328Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T12:17:26.929Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T12:17:27.203Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-28T12:17:27.203Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T12:17:27.203Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-28T12:17:27.481Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-28T12:17:27.481Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T12:17:27.481Z] OK: 8 MiB in 19 packages [2022-06-28T12:17:28.464Z] Removing intermediate container 27d447bc5d49 [2022-06-28T12:17:28.464Z] ---> 1c62b2206b02 [2022-06-28T12:17:28.464Z] Step 17/26 : WORKDIR / [2022-06-28T12:17:28.464Z] ---> Running in c4ee26e06ecc [2022-06-28T12:17:28.738Z] Removing intermediate container c4ee26e06ecc [2022-06-28T12:17:28.738Z] ---> 5aec5c369070 [2022-06-28T12:17:28.738Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-28T12:17:29.337Z] ---> 30d82d2ddaa9 [2022-06-28T12:17:29.337Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-28T12:17:29.937Z] ---> d143bda1d428 [2022-06-28T12:17:29.937Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-28T12:17:31.382Z] ---> c535cf185967 [2022-06-28T12:17:31.382Z] Step 21/26 : EXPOSE 59910 [2022-06-28T12:17:31.382Z] ---> Running in 1917d9c484f9 [2022-06-28T12:17:31.660Z] Removing intermediate container 1917d9c484f9 [2022-06-28T12:17:31.660Z] ---> 8810ba21256a [2022-06-28T12:17:31.660Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-28T12:17:31.660Z] ---> Running in 829bc496e7be [2022-06-28T12:17:32.263Z] Removing intermediate container 829bc496e7be [2022-06-28T12:17:32.263Z] ---> f60b9a0452bb [2022-06-28T12:17:32.263Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T12:17:32.263Z] ---> Running in d058283a6e3d [2022-06-28T12:17:32.537Z] Removing intermediate container d058283a6e3d [2022-06-28T12:17:32.537Z] ---> 1f5c337c1c89 [2022-06-28T12:17:32.537Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T12:17:32.537Z] ---> Running in 4798249660de [2022-06-28T12:17:32.812Z] Removing intermediate container 4798249660de [2022-06-28T12:17:32.812Z] ---> e3b395cc47d2 [2022-06-28T12:17:32.812Z] Step 25/26 : LABEL git_sha=a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:17:32.812Z] ---> Running in 57bd293acb01 [2022-06-28T12:17:33.419Z] Removing intermediate container 57bd293acb01 [2022-06-28T12:17:33.419Z] ---> f6a34e7ea574 [2022-06-28T12:17:33.419Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-06-28T12:17:33.419Z] ---> Running in e2e9b424af5c [2022-06-28T12:17:33.693Z] Removing intermediate container e2e9b424af5c [2022-06-28T12:17:33.693Z] ---> de1d8aa7df35 [2022-06-28T12:17:33.693Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T12:17:33.693Z] Successfully built de1d8aa7df35 [2022-06-28T12:17:33.693Z] 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-28T12:17:33.789Z] provisioning config files... [2022-06-28T12:17:33.809Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/31@tmp/config5095000102909757464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:17:34.171Z] ---> docker-login.sh [2022-06-28T12:17:34.171Z] nexus3.edgexfoundry.org:10001 [2022-06-28T12:17:34.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:17:34.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:17:34.446Z] Configure a credential helper to remove this warning. See [2022-06-28T12:17:34.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:17:34.446Z] [2022-06-28T12:17:34.446Z] Login Succeeded [2022-06-28T12:17:34.720Z] nexus3.edgexfoundry.org:10002 [2022-06-28T12:17:34.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:17:34.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:17:34.995Z] Configure a credential helper to remove this warning. See [2022-06-28T12:17:34.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:17:34.995Z] [2022-06-28T12:17:34.995Z] Login Succeeded [2022-06-28T12:17:34.995Z] nexus3.edgexfoundry.org:10003 [2022-06-28T12:17:35.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:17:35.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:17:35.593Z] Configure a credential helper to remove this warning. See [2022-06-28T12:17:35.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:17:35.593Z] [2022-06-28T12:17:35.593Z] Login Succeeded [2022-06-28T12:17:35.593Z] nexus3.edgexfoundry.org:10004 [2022-06-28T12:17:35.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:17:36.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:17:36.140Z] Configure a credential helper to remove this warning. See [2022-06-28T12:17:36.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:17:36.140Z] [2022-06-28T12:17:36.140Z] Login Succeeded [2022-06-28T12:17:36.140Z] docker.io [2022-06-28T12:17:36.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T12:17:36.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T12:17:36.685Z] Configure a credential helper to remove this warning. See [2022-06-28T12:17:36.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T12:17:36.685Z] [2022-06-28T12:17:36.685Z] Login Succeeded [2022-06-28T12:17:36.685Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T12:17:36.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T12:17:36.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T12:17:36.766Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-06-28T12:17:36.766Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:17:36.766Z] latest [2022-06-28T12:17:36.766Z] 2.2.1-dev.1 [2022-06-28T12:17:36.766Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:17:36.766Z] main [2022-06-28T12:17:36.766Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:37.152Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:37.542Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:17:37.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T12:17:37.542Z] 4c3798c683d7: Preparing [2022-06-28T12:17:37.542Z] ef8797cf28e5: Preparing [2022-06-28T12:17:37.542Z] 851f2f38f2f7: Preparing [2022-06-28T12:17:37.542Z] 9e29bef763a1: Preparing [2022-06-28T12:17:37.542Z] 6882744f3d16: Preparing [2022-06-28T12:17:37.542Z] 4f4ce317c6bb: Preparing [2022-06-28T12:17:37.542Z] 4f4ce317c6bb: Waiting [2022-06-28T12:17:37.816Z] 851f2f38f2f7: Pushed [2022-06-28T12:17:37.816Z] ef8797cf28e5: Pushed [2022-06-28T12:17:37.816Z] 6882744f3d16: Pushed [2022-06-28T12:17:37.816Z] 4f4ce317c6bb: Layer already exists [2022-06-28T12:17:38.411Z] 9e29bef763a1: Pushed [2022-06-28T12:17:43.808Z] 4c3798c683d7: Pushed [2022-06-28T12:17:43.808Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825: digest: sha256:7288b3f0f3b0f186e0a469b48c9fc254f2d356916f3078bf99aeb4feb750cf10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:44.183Z] + 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-28T12:17:44.548Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-28T12:17:44.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T12:17:44.548Z] 4c3798c683d7: Preparing [2022-06-28T12:17:44.548Z] ef8797cf28e5: Preparing [2022-06-28T12:17:44.548Z] 851f2f38f2f7: Preparing [2022-06-28T12:17:44.548Z] 9e29bef763a1: Preparing [2022-06-28T12:17:44.548Z] 6882744f3d16: Preparing [2022-06-28T12:17:44.548Z] 4f4ce317c6bb: Preparing [2022-06-28T12:17:44.548Z] 4f4ce317c6bb: Waiting [2022-06-28T12:17:44.548Z] 851f2f38f2f7: Layer already exists [2022-06-28T12:17:44.548Z] 4c3798c683d7: Layer already exists [2022-06-28T12:17:44.548Z] ef8797cf28e5: Layer already exists [2022-06-28T12:17:44.548Z] 6882744f3d16: Layer already exists [2022-06-28T12:17:44.548Z] 9e29bef763a1: Layer already exists [2022-06-28T12:17:44.548Z] 4f4ce317c6bb: Layer already exists [2022-06-28T12:17:44.819Z] latest: digest: sha256:7288b3f0f3b0f186e0a469b48c9fc254f2d356916f3078bf99aeb4feb750cf10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:45.190Z] + 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-28T12:17:45.547Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-28T12:17:45.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T12:17:45.547Z] 4c3798c683d7: Preparing [2022-06-28T12:17:45.547Z] ef8797cf28e5: Preparing [2022-06-28T12:17:45.547Z] 851f2f38f2f7: Preparing [2022-06-28T12:17:45.547Z] 9e29bef763a1: Preparing [2022-06-28T12:17:45.547Z] 6882744f3d16: Preparing [2022-06-28T12:17:45.547Z] 4f4ce317c6bb: Preparing [2022-06-28T12:17:45.547Z] 4f4ce317c6bb: Waiting [2022-06-28T12:17:45.547Z] 6882744f3d16: Layer already exists [2022-06-28T12:17:45.547Z] ef8797cf28e5: Layer already exists [2022-06-28T12:17:45.547Z] 4c3798c683d7: Layer already exists [2022-06-28T12:17:45.547Z] 9e29bef763a1: Layer already exists [2022-06-28T12:17:45.547Z] 851f2f38f2f7: Layer already exists [2022-06-28T12:17:45.547Z] 4f4ce317c6bb: Layer already exists [2022-06-28T12:17:45.818Z] 2.2.1-dev.1: digest: sha256:7288b3f0f3b0f186e0a469b48c9fc254f2d356916f3078bf99aeb4feb750cf10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:46.190Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:46.551Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:17:46.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T12:17:46.551Z] 4c3798c683d7: Preparing [2022-06-28T12:17:46.551Z] ef8797cf28e5: Preparing [2022-06-28T12:17:46.551Z] 851f2f38f2f7: Preparing [2022-06-28T12:17:46.551Z] 9e29bef763a1: Preparing [2022-06-28T12:17:46.551Z] 6882744f3d16: Preparing [2022-06-28T12:17:46.551Z] 4f4ce317c6bb: Preparing [2022-06-28T12:17:46.551Z] 4f4ce317c6bb: Waiting [2022-06-28T12:17:46.551Z] 851f2f38f2f7: Layer already exists [2022-06-28T12:17:46.551Z] 9e29bef763a1: Layer already exists [2022-06-28T12:17:46.551Z] 4c3798c683d7: Layer already exists [2022-06-28T12:17:46.551Z] ef8797cf28e5: Layer already exists [2022-06-28T12:17:46.551Z] 6882744f3d16: Layer already exists [2022-06-28T12:17:46.551Z] 4f4ce317c6bb: Layer already exists [2022-06-28T12:17:46.823Z] a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1: digest: sha256:7288b3f0f3b0f186e0a469b48c9fc254f2d356916f3078bf99aeb4feb750cf10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:47.191Z] + 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-28T12:17:47.550Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-06-28T12:17:47.550Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-06-28T12:17:47.550Z] 4c3798c683d7: Preparing [2022-06-28T12:17:47.550Z] ef8797cf28e5: Preparing [2022-06-28T12:17:47.550Z] 851f2f38f2f7: Preparing [2022-06-28T12:17:47.550Z] 9e29bef763a1: Preparing [2022-06-28T12:17:47.550Z] 6882744f3d16: Preparing [2022-06-28T12:17:47.550Z] 4f4ce317c6bb: Preparing [2022-06-28T12:17:47.550Z] 4f4ce317c6bb: Waiting [2022-06-28T12:17:47.550Z] ef8797cf28e5: Layer already exists [2022-06-28T12:17:47.550Z] 4c3798c683d7: Layer already exists [2022-06-28T12:17:47.550Z] 9e29bef763a1: Layer already exists [2022-06-28T12:17:47.550Z] 851f2f38f2f7: Layer already exists [2022-06-28T12:17:47.550Z] 6882744f3d16: Layer already exists [2022-06-28T12:17:47.550Z] 4f4ce317c6bb: Layer already exists [2022-06-28T12:17:47.822Z] main: digest: sha256:7288b3f0f3b0f186e0a469b48c9fc254f2d356916f3078bf99aeb4feb750cf10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T12:17:47.882Z] ===================================================== [Pipeline] echo [2022-06-28T12:17:47.892Z] taggedImages: [2022-06-28T12:17:47.892Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825 [2022-06-28T12:17:47.892Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-06-28T12:17:47.892Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [2022-06-28T12:17:47.892Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:a6fd823ac0f8050cc93c4390e8ec7789fa877825-2.2.1-dev.1 [2022-06-28T12:17:47.892Z] - 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-28T12:17:48.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T12:17:48.259Z] [2022-06-28T12:17:48.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:17:48.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T12:17:48.886Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T12:17:48.886Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T12:17:48.886Z] 04944245beec: Pulling fs layer [2022-06-28T12:17:48.886Z] 699f458cf7ca: Pulling fs layer [2022-06-28T12:17:48.886Z] 765212b225bb: Pulling fs layer [2022-06-28T12:17:48.886Z] f23df028b6ca: Pulling fs layer [2022-06-28T12:17:48.886Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T12:17:48.886Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T12:17:48.886Z] 765212b225bb: Waiting [2022-06-28T12:17:48.886Z] f23df028b6ca: Waiting [2022-06-28T12:17:48.886Z] d65c8cfc05b1: Waiting [2022-06-28T12:17:48.886Z] 2437ff75d9bd: Waiting [2022-06-28T12:17:48.886Z] 04944245beec: Verifying Checksum [2022-06-28T12:17:48.886Z] 04944245beec: Download complete [2022-06-28T12:17:48.886Z] 765212b225bb: Verifying Checksum [2022-06-28T12:17:48.886Z] 765212b225bb: Download complete [2022-06-28T12:17:48.886Z] f23df028b6ca: Verifying Checksum [2022-06-28T12:17:48.886Z] f23df028b6ca: Download complete [2022-06-28T12:17:48.886Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T12:17:48.886Z] d65c8cfc05b1: Download complete [2022-06-28T12:17:49.162Z] 699f458cf7ca: Verifying Checksum [2022-06-28T12:17:49.162Z] 699f458cf7ca: Download complete [2022-06-28T12:17:49.438Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T12:17:49.438Z] 8998bd30e6a1: Download complete [2022-06-28T12:17:51.415Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T12:17:53.396Z] 8998bd30e6a1: Pull complete [2022-06-28T12:17:53.994Z] 04944245beec: Pull complete [2022-06-28T12:17:55.430Z] 699f458cf7ca: Pull complete [2022-06-28T12:17:55.702Z] 765212b225bb: Pull complete [2022-06-28T12:17:56.681Z] f23df028b6ca: Pull complete [2022-06-28T12:17:56.681Z] d65c8cfc05b1: Pull complete [2022-06-28T12:18:11.797Z] 2437ff75d9bd: Pull complete [2022-06-28T12:18:11.797Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T12:18:11.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T12:18:11.797Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:18:12.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-16219 does not seem to be running inside a container [2022-06-28T12:18:12.126Z] $ 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/31 -v /w/workspace/device-gpio/31:/w/workspace/device-gpio/31:rw,z -v /w/workspace/device-gpio/31@tmp:/w/workspace/device-gpio/31@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-28T12:18:14.686Z] $ docker top 5b50adace1c5643b87d8585cc561c7b027897c968bd793f09b76365f6d34a1c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:15.591Z] ---> job-cost.sh [2022-06-28T12:18:15.591Z] lf-activate-venv: SKIPPING [2022-06-28T12:18:15.591Z] INFO: No Stack... [2022-06-28T12:18:16.183Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T12:18:17.155Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T12:18:17.811Z] + cut -d, -f6 [2022-06-28T12:18:17.811Z] + cat /w/workspace/device-gpio/31/archives/cost.csv [Pipeline] lock [2022-06-28T12:18:17.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [2022-06-28T12:18:17.880Z] Resource [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] did not exist. Created. [2022-06-28T12:18:17.880Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T12:18:18.649Z] /w/workspace/device-gpio/31@tmp/durable-7beebd47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T12:18:19.335Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T12:18:19.372Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T12:18:19.429Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T12:18:19.440Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T12:18:19.459Z] $ docker stop --time=1 5b50adace1c5643b87d8585cc561c7b027897c968bd793f09b76365f6d34a1c4 [2022-06-28T12:18:20.972Z] $ docker rm -f 5b50adace1c5643b87d8585cc561c7b027897c968bd793f09b76365f6d34a1c4 [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-28T12:18:21.428Z] provisioning config files... [2022-06-28T12:18:21.435Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8344901092726427891tmp [Pipeline] { [Pipeline] sh [2022-06-28T12:18:21.725Z] + set +x [2022-06-28T12:18:21.725Z] + curl -s https://codecov.io/bash [2022-06-28T12:18:21.725Z] + bash -s -- [2022-06-28T12:18:21.725Z] [2022-06-28T12:18:21.725Z] _____ _ [2022-06-28T12:18:21.725Z] / ____| | | [2022-06-28T12:18:21.725Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T12:18:21.725Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T12:18:21.725Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T12:18:21.725Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T12:18:21.725Z] Bash-1.0.6 [2022-06-28T12:18:21.725Z] [2022-06-28T12:18:21.725Z] [2022-06-28T12:18:21.725Z] ==> git version 2.25.1 found [2022-06-28T12:18:21.725Z] ==> 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-28T12:18:21.725Z] Release-Date: 2020-01-08 [2022-06-28T12:18:21.725Z] 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-28T12:18:21.725Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T12:18:21.725Z] ==> Jenkins CI detected. [2022-06-28T12:18:21.725Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-06-28T12:18:21.725Z] project root: . [2022-06-28T12:18:21.725Z] --> token set from env [2022-06-28T12:18:21.725Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T12:18:21.725Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T12:18:21.725Z] ==> Python coveragepy not found [2022-06-28T12:18:21.725Z] ==> Searching for coverage reports in: [2022-06-28T12:18:21.725Z] + . [2022-06-28T12:18:21.725Z] -> Found 1 reports [2022-06-28T12:18:21.725Z] ==> Detecting git/mercurial file structure [2022-06-28T12:18:21.725Z] ==> Reading reports [2022-06-28T12:18:21.725Z] + ./coverage.out bytes=10 [2022-06-28T12:18:21.725Z] ==> Appending adjustments [2022-06-28T12:18:21.725Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T12:18:21.725Z] + Found adjustments [2022-06-28T12:18:21.725Z] ==> Gzipping contents [2022-06-28T12:18:21.725Z] 4.0K /tmp/codecov.gVt5L2.gz [2022-06-28T12:18:21.985Z] ==> Uploading reports [2022-06-28T12:18:21.985Z] url: https://codecov.io [2022-06-28T12:18:21.985Z] query: branch=main&commit=a6fd823ac0f8050cc93c4390e8ec7789fa877825&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T12:18:21.985Z] -> Pinging Codecov [2022-06-28T12:18:21.985Z] 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=a6fd823ac0f8050cc93c4390e8ec7789fa877825&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T12:18:22.245Z] -> Uploading to [2022-06-28T12:18:22.245Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/a6fd823ac0f8050cc93c4390e8ec7789fa877825/f74fd565-8789-46ca-a697-a3acf5255dde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T121821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed0c4635a37da994700cc5ff69b887b09acf682afc956ebb0d3f5fbe6ef6b25d [2022-06-28T12:18:22.245Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T12:18:22.245Z] Dload Upload Total Spent Left Speed [2022-06-28T12:18:22.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3224 --:--:-- --:--:-- --:--:-- 3224 [2022-06-28T12:18:22.506Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] } [2022-06-28T12:18:22.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T12:18:22.718Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T12:18:22.728Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:18:23.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T12:18:23.029Z] [2022-06-28T12:18:23.029Z] 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-28T12:18:23.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T12:18:23.332Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T12:18:23.332Z] df9b9388f04a: Already exists [2022-06-28T12:18:23.332Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T12:18:23.332Z] 25bc292e5bac: Pulling fs layer [2022-06-28T12:18:23.332Z] 114826534d7a: Pulling fs layer [2022-06-28T12:18:23.332Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T12:18:23.332Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T12:18:23.332Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T12:18:23.332Z] 4657fd5d0bcf: Waiting [2022-06-28T12:18:23.332Z] 6ad1cebc031e: Waiting [2022-06-28T12:18:23.332Z] 25bc292e5bac: Download complete [2022-06-28T12:18:23.332Z] 52dc419b0ee2: Download complete [2022-06-28T12:18:23.332Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T12:18:23.332Z] 4657fd5d0bcf: Download complete [2022-06-28T12:18:23.598Z] 52dc419b0ee2: Pull complete [2022-06-28T12:18:23.598Z] 25bc292e5bac: Pull complete [2022-06-28T12:18:23.598Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T12:18:23.598Z] 6ad1cebc031e: Download complete [2022-06-28T12:18:24.181Z] 114826534d7a: Verifying Checksum [2022-06-28T12:18:24.181Z] 114826534d7a: Download complete [2022-06-28T12:18:24.440Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T12:18:24.440Z] 8a3aa393b2d8: Download complete [2022-06-28T12:18:27.730Z] 114826534d7a: Pull complete [2022-06-28T12:18:27.730Z] 4657fd5d0bcf: Pull complete [2022-06-28T12:18:27.989Z] 6ad1cebc031e: Pull complete [2022-06-28T12:18:30.521Z] 8a3aa393b2d8: Pull complete [2022-06-28T12:18:30.521Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T12:18:30.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T12:18:30.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:18:30.610Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:18:30.659Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-28T12:18:32.693Z] $ docker top 472098a3524575eab23e35a39c1e6f772aefef8a39c56c068654371fcec2873b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T12:18:32.758Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-06-28T12:18:33.040Z] + set -o pipefail [2022-06-28T12:18:33.040Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/6047aee4-04a8-4709-8149-45ae9c188f25 [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] [2022-06-28T12:18:37.238Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T12:18:37.238Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T12:18:37.266Z] $ docker stop --time=1 472098a3524575eab23e35a39c1e6f772aefef8a39c56c068654371fcec2873b [2022-06-28T12:18:39.562Z] $ docker rm -f 472098a3524575eab23e35a39c1e6f772aefef8a39c56c068654371fcec2873b [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-28T12:18:40.291Z] + git log --format=format:%s -1 a6fd823ac0f8050cc93c4390e8ec7789fa877825 [Pipeline] sh [2022-06-28T12:18:40.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T12:18:40.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:18:40.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T12:18:40.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:18:40.960Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:18:41.071Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T12:18:41.497Z] $ docker top 073aefd4acccf73c9d6651e582bfad9f9a8d34909a1888bb5816041bdb95e218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T12:18:41.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T12:18:41.587Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T12:18:41.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T12:18:41.736Z] $ docker exec 073aefd4acccf73c9d6651e582bfad9f9a8d34909a1888bb5816041bdb95e218 ssh-agent [2022-06-28T12:18:41.840Z] SSH_AUTH_SOCK=/tmp/ssh-6Sp70uoJcYUY/agent.32 [2022-06-28T12:18:41.840Z] SSH_AGENT_PID=38 [2022-06-28T12:18:41.846Z] Running ssh-add (command line suppressed) [2022-06-28T12:18:41.971Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1257137633962551327.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1257137633962551327.key) [2022-06-28T12:18:41.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T12:18:42.260Z] + git semver tag [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,450 [run_tag] DEBUG tag force:False [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,450 [check_head_tag] DEBUG check head tag [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,450 [execute] INFO git cat-file --batch-check [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,454 [execute] INFO git cat-file --batch [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,460 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,460 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T12:18:42.519Z] 2022-06-28 12:18:42,461 [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-28T12:18:42.519Z] 2022-06-28 12:18:42,464 [main] ERROR Cmd('git') failed due to: exit code(128) [2022-06-28T12:18:42.519Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T12:18:42.519Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [2022-06-28T12:18:42.519Z] ERROR: Cmd('git') failed due to: exit code(128) [2022-06-28T12:18:42.519Z] cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-06-28T12:18:42.519Z] stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } [2022-06-28T12:18:42.544Z] $ docker exec --env ******** --env ******** 073aefd4acccf73c9d6651e582bfad9f9a8d34909a1888bb5816041bdb95e218 ssh-agent -k [2022-06-28T12:18:42.653Z] unset SSH_AUTH_SOCK; [2022-06-28T12:18:42.653Z] unset SSH_AGENT_PID; [2022-06-28T12:18:42.654Z] echo Agent pid 38 killed; [2022-06-28T12:18:42.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-06-28T12:18:42.700Z] $ docker stop --time=1 073aefd4acccf73c9d6651e582bfad9f9a8d34909a1888bb5816041bdb95e218 [2022-06-28T12:18:44.009Z] $ docker rm -f 073aefd4acccf73c9d6651e582bfad9f9a8d34909a1888bb5816041bdb95e218 [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-28T12:18:44.537Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-06-28T12:18:44.537Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T12:18:44.537Z] total 16 [2022-06-28T12:18:44.537Z] drwxr-xr-x 3 root root 4096 Jun 28 12:09 . [2022-06-28T12:18:44.537Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 12:09 .. [2022-06-28T12:18:44.537Z] drwxr-xr-x 2 root root 4096 Jun 28 12:09 cost [2022-06-28T12:18:44.537Z] -rw-r--r-- 1 root root 81 Jun 28 12:09 cost.csv [2022-06-28T12:18:44.537Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T12:18:44.537Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-06-28T12:18:44.537Z] total 16 [2022-06-28T12:18:44.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 12:09 . [2022-06-28T12:18:44.537Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 12:09 .. [2022-06-28T12:18:44.537Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 12:09 cost [2022-06-28T12:18:44.537Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 28 12:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:44.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:45.698Z] ---> package-listing.sh [2022-06-28T12:18:45.698Z] ++ facter osfamily [2022-06-28T12:18:45.698Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T12:18:45.958Z] + OS_FAMILY=debian [2022-06-28T12:18:45.958Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-06-28T12:18:45.958Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T12:18:45.958Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T12:18:45.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T12:18:45.958Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T12:18:45.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-28T12:18:45.958Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T12:18:45.958Z] + case "${OS_FAMILY}" in [2022-06-28T12:18:45.958Z] + dpkg -l [2022-06-28T12:18:45.958Z] + grep '^ii' [2022-06-28T12:18:45.958Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T12:18:45.958Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T12:18:45.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T12:18:45.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-06-28T12:18:45.958Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-06-28T12:18:45.958Z] + 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-28T12:18:45.969Z] 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-28T12:18:46.249Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T12:18:46.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T12:18:46.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T12:18:46.900Z] prd-ubuntu20.04-docker-8c-8g-16218 does not seem to be running inside a container [2022-06-28T12:18:46.953Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T12:18:47.213Z] $ docker top d3435575cc41715d1aeaa35988be6c62c74c928a0cdd615ead0b9d3dc6927ad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T12:18:47.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T12:18:47.845Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T12:18:48.137Z] + ls /var/log/sa-host [2022-06-28T12:18:48.137Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T12:18:48.209Z] provisioning config files... [2022-06-28T12:18:48.218Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5938361295636122076tmp [Pipeline] { [Pipeline] echo [2022-06-28T12:18:48.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:48.521Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T12:18:48.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:48.862Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T12:18:48.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:49.160Z] ---> sudo-logs.sh [2022-06-28T12:18:49.160Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T12:18:49.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:49.473Z] ---> job-cost.sh [2022-06-28T12:18:49.473Z] lf-activate-venv: SKIPPING [2022-06-28T12:18:49.473Z] DEBUG: total: 0.2199999988079071 [2022-06-28T12:18:49.473Z] INFO: Retrieving Stack Cost... [2022-06-28T12:18:49.733Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T12:18:50.306Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T12:18:50.318Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T12:18:50.609Z] ---> logs-deploy.sh [2022-06-28T12:18:50.609Z] lf-activate-venv: SKIPPING [2022-06-28T12:18:50.609Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/31 [2022-06-28T12:18:50.609Z] INFO: archiving workspace using pattern(s): [2022-06-28T12:18:51.550Z] Archives upload complete. [2022-06-28T12:18:51.550Z] INFO: archiving logs to Nexus