Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2ab44b8cbb16e2983b1bff117f9b859b4657c3d 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-ssh6052063855753925054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16470947187442360198.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11521999496618411882.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16269617981484618989.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh4717274806098176802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1955’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1957 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 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d (main) Commit message: "Merge pull request #77 from lenny-intel/mb-config" > 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 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 > git rev-list --no-walk 9d46b075d413968746c37768dd322ca74c72df60 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T21:50:36.182Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T21:50:36.227Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T21:50:36.242Z] ========================================================= [2023-01-11T21:50:36.242Z] EdgeX Global Pipelines Version Info [2023-01-11T21:50:36.242Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:37.104Z] ------------------- [2023-01-11T21:50:37.104Z] stable info: [2023-01-11T21:50:37.104Z] ------------------- [2023-01-11T21:50:37.104Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T21:50:37.104Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:50:37.104Z] Message: update stable to v1.0.244 [2023-01-11T21:50:37.677Z] ------------------- [2023-01-11T21:50:37.677Z] experimental info: [2023-01-11T21:50:37.677Z] ------------------- [2023-01-11T21:50:37.677Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T21:50:37.677Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:50:37.677Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T21:50:37.848Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-11T21:50:37.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-11T21:50:37.873Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T21:50:37.886Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T21:50:37.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T21:50:37.908Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T21:50:37.919Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T21:50:37.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T21:50:37.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T21:50:37.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T21:50:37.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T21:50:37.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-11T21:50:37.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T21:50:37.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T21:50:38.012Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:50:38.023Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:50:38.035Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:50:38.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:50:38.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T21:50:38.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T21:50:38.098Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T21:50:38.109Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T21:50:38.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T21:50:38.133Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T21:50:38.148Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T21:50:38.158Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T21:50:38.168Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T21:50:38.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-11T21:50:38.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-11T21:50:38.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-11T21:50:38.208Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] echo [2023-01-11T21:50:38.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2ab44b [Pipeline] echo [2023-01-11T21:50:38.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:50:38.278Z] provisioning config files... [2023-01-11T21:50:38.292Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2743283830765959436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:38.599Z] ---> docker-login.sh [2023-01-11T21:50:38.599Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:50:38.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:38.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:38.865Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:38.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:38.865Z] [2023-01-11T21:50:38.865Z] Login Succeeded [2023-01-11T21:50:38.865Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:50:39.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:39.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:39.126Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:39.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:39.126Z] [2023-01-11T21:50:39.126Z] Login Succeeded [2023-01-11T21:50:39.126Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:50:39.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:39.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:39.126Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:39.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:39.126Z] [2023-01-11T21:50:39.126Z] Login Succeeded [2023-01-11T21:50:39.126Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:50:39.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:39.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:39.385Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:39.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:39.385Z] [2023-01-11T21:50:39.385Z] Login Succeeded [2023-01-11T21:50:39.385Z] docker.io [2023-01-11T21:50:39.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:39.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:39.644Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:39.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:39.644Z] [2023-01-11T21:50:39.644Z] Login Succeeded [2023-01-11T21:50:39.644Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:50:39.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T21:50:40.017Z] + git rev-list -1 --merges d2ab44b8cbb16e2983b1bff117f9b859b4657c3d~1..d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] echo [2023-01-11T21:50:40.059Z] -----------> git rev-list -1 --merges d2ab44b8cbb16e2983b1bff117f9b859b4657c3d~1..d2ab44b8cbb16e2983b1bff117f9b859b4657c3d d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T21:50:40.059Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [false] [Pipeline] sh [2023-01-11T21:50:40.344Z] + git log --format=format:%s -1 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] echo [2023-01-11T21:50:40.359Z] ========================================================= [2023-01-11T21:50:40.359Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T21:50:40.359Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:50:40.675Z] + git log --format=format:%s -1 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] echo [2023-01-11T21:50:40.687Z] [semverPrep] GIT_COMMIT: d2ab44b8cbb16e2983b1bff117f9b859b4657c3d, Commit Message: Merge pull request #77 from lenny-intel/mb-config [Pipeline] echo [2023-01-11T21:50:40.698Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T21:50:41.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T21:50:41.041Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T21:50:41.041Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T21:50:41.041Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T21:50:41.041Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T21:50:41.041Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T21:50:41.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:41.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:41.385Z] [2023-01-11T21:50:41.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:41.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:41.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T21:50:41.690Z] b85a868b505f: Pulling fs layer [2023-01-11T21:50:41.690Z] e2be974225ed: Pulling fs layer [2023-01-11T21:50:41.690Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T21:50:41.690Z] 988bab9f4d93: Pulling fs layer [2023-01-11T21:50:41.690Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T21:50:41.690Z] eaf3925da568: Pulling fs layer [2023-01-11T21:50:41.690Z] bab4dde63d76: Pulling fs layer [2023-01-11T21:50:41.690Z] bde34c3a00c8: Pulling fs layer [2023-01-11T21:50:41.690Z] b352a97aabf1: Pulling fs layer [2023-01-11T21:50:41.690Z] 4872d77fe225: Pulling fs layer [2023-01-11T21:50:41.690Z] 5851b861e8e6: Pulling fs layer [2023-01-11T21:50:41.690Z] 988bab9f4d93: Waiting [2023-01-11T21:50:41.690Z] 1469e6f7b9e6: Waiting [2023-01-11T21:50:41.690Z] b352a97aabf1: Waiting [2023-01-11T21:50:41.690Z] eaf3925da568: Waiting [2023-01-11T21:50:41.690Z] 4872d77fe225: Waiting [2023-01-11T21:50:41.690Z] bab4dde63d76: Waiting [2023-01-11T21:50:41.690Z] 5851b861e8e6: Waiting [2023-01-11T21:50:41.690Z] bde34c3a00c8: Waiting [2023-01-11T21:50:41.690Z] e2be974225ed: Verifying Checksum [2023-01-11T21:50:41.690Z] e2be974225ed: Download complete [2023-01-11T21:50:41.690Z] 988bab9f4d93: Verifying Checksum [2023-01-11T21:50:41.690Z] 988bab9f4d93: Download complete [2023-01-11T21:50:41.949Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T21:50:41.949Z] 339a4e72a1f5: Download complete [2023-01-11T21:50:41.949Z] eaf3925da568: Verifying Checksum [2023-01-11T21:50:41.949Z] eaf3925da568: Download complete [2023-01-11T21:50:41.949Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T21:50:41.949Z] 1469e6f7b9e6: Download complete [2023-01-11T21:50:41.949Z] bde34c3a00c8: Download complete [2023-01-11T21:50:41.949Z] b352a97aabf1: Verifying Checksum [2023-01-11T21:50:41.949Z] b352a97aabf1: Download complete [2023-01-11T21:50:41.949Z] 4872d77fe225: Verifying Checksum [2023-01-11T21:50:41.949Z] 4872d77fe225: Download complete [2023-01-11T21:50:41.949Z] 5851b861e8e6: Download complete [2023-01-11T21:50:41.949Z] b85a868b505f: Verifying Checksum [2023-01-11T21:50:41.949Z] b85a868b505f: Download complete [2023-01-11T21:50:42.209Z] bab4dde63d76: Verifying Checksum [2023-01-11T21:50:42.209Z] bab4dde63d76: Download complete [2023-01-11T21:50:43.588Z] b85a868b505f: Pull complete [2023-01-11T21:50:43.588Z] e2be974225ed: Pull complete [2023-01-11T21:50:43.848Z] 339a4e72a1f5: Pull complete [2023-01-11T21:50:44.107Z] 988bab9f4d93: Pull complete [2023-01-11T21:50:44.367Z] 1469e6f7b9e6: Pull complete [2023-01-11T21:50:44.367Z] eaf3925da568: Pull complete [2023-01-11T21:50:46.281Z] bab4dde63d76: Pull complete [2023-01-11T21:50:46.281Z] bde34c3a00c8: Pull complete [2023-01-11T21:50:46.281Z] b352a97aabf1: Pull complete [2023-01-11T21:50:46.539Z] 4872d77fe225: Pull complete [2023-01-11T21:50:46.539Z] 5851b861e8e6: Pull complete [2023-01-11T21:50:46.539Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T21:50:46.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:46.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:50:46.649Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T21:50:46.684Z] $ 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 [2023-01-11T21:50:48.210Z] $ docker top f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e -eo pid,comm [2023-01-11T21:50:48.268Z] 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). [2023-01-11T21:50:48.268Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T21:50:48.309Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:50:48.309Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:50:48.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:50:48.420Z] $ docker exec f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e ssh-agent [2023-01-11T21:50:48.529Z] SSH_AUTH_SOCK=/tmp/ssh-l39SWFNTnl5X/agent.32 [2023-01-11T21:50:48.529Z] SSH_AGENT_PID=38 [2023-01-11T21:50:48.535Z] Running ssh-add (command line suppressed) [2023-01-11T21:50:48.651Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16285554526616846900.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16285554526616846900.key) [2023-01-11T21:50:48.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:50:48.948Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T21:50:48.971Z] $ docker exec --env ******** --env ******** f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e ssh-agent -k [2023-01-11T21:50:49.066Z] unset SSH_AUTH_SOCK; [2023-01-11T21:50:49.067Z] unset SSH_AGENT_PID; [2023-01-11T21:50:49.067Z] echo Agent pid 38 killed; [2023-01-11T21:50:49.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T21:50:49.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:50:49.096Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:50:49.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:50:49.227Z] $ docker exec f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e ssh-agent [2023-01-11T21:50:49.330Z] SSH_AUTH_SOCK=/tmp/ssh-kHTlqzWpJVw6/agent.71 [2023-01-11T21:50:49.330Z] SSH_AGENT_PID=77 [2023-01-11T21:50:49.334Z] Running ssh-add (command line suppressed) [2023-01-11T21:50:49.473Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16712207136832353521.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16712207136832353521.key) [2023-01-11T21:50:49.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:50:49.773Z] + git semver init [2023-01-11T21:50:50.031Z] 2023-01-11 21:50:49,950 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T21:50:50.031Z] 2023-01-11 21:50:49,952 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-11T21:50:50.031Z] 2023-01-11 21:50:49,952 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-11T21:50:50.031Z] 2023-01-11 21:50:49,953 [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) [2023-01-11T21:50:50.971Z] 2023-01-11 21:50:50,883 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-01-11T21:50:50.971Z] 2023-01-11 21:50:50,883 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-01-11T21:50:50.971Z] 2023-01-11 21:50:50,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T21:50:50.971Z] 2023-01-11 21:50:50,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T21:50:50.971Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T21:50:50.982Z] $ docker exec --env ******** --env ******** f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e ssh-agent -k [2023-01-11T21:50:51.072Z] unset SSH_AUTH_SOCK; [2023-01-11T21:50:51.073Z] unset SSH_AGENT_PID; [2023-01-11T21:50:51.073Z] echo Agent pid 77 killed; [2023-01-11T21:50:51.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T21:50:51.388Z] + git semver [Pipeline] } [2023-01-11T21:50:51.662Z] $ docker stop --time=1 f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e [2023-01-11T21:50:52.975Z] $ docker rm -f --volumes f95e67753b24e6634f6253bb45aef3ca7a45ee20032105c7db482c9b1b6d129e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:50:53.305Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T21:50:53.509Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T21:50:53.513Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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 [2023-01-11T21:50:53.626Z] provisioning config files... [2023-01-11T21:50:53.634Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4895381213078487141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:53.939Z] ---> docker-login.sh [2023-01-11T21:50:53.939Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:50:53.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:53.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:53.939Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:53.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:53.939Z] [2023-01-11T21:50:53.939Z] Login Succeeded [2023-01-11T21:50:53.939Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:50:53.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:53.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:53.939Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:53.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:53.939Z] [2023-01-11T21:50:53.939Z] Login Succeeded [2023-01-11T21:50:53.939Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:50:54.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:54.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:54.198Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:54.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:54.198Z] [2023-01-11T21:50:54.198Z] Login Succeeded [2023-01-11T21:50:54.198Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:50:54.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:54.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:54.198Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:54.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:54.198Z] [2023-01-11T21:50:54.198Z] Login Succeeded [2023-01-11T21:50:54.198Z] docker.io [2023-01-11T21:50:54.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:54.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:54.457Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:54.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:54.457Z] [2023-01-11T21:50:54.457Z] Login Succeeded [2023-01-11T21:50:54.457Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:50:54.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:50:54.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:50:54.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:50:54.551Z] ========================================================= [2023-01-11T21:50:54.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T21:50:54.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:54.861Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T21:50:54.861Z] Sending build context to Docker daemon 15.98MB [2023-01-11T21:50:54.861Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:50:54.861Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:50:55.119Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T21:50:55.119Z] 213ec9aee27d: Pulling fs layer [2023-01-11T21:50:55.119Z] 4583459ba037: Pulling fs layer [2023-01-11T21:50:55.119Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T21:50:55.119Z] 53926ce57604: Pulling fs layer [2023-01-11T21:50:55.119Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T21:50:55.119Z] 22ff95d597cd: Pulling fs layer [2023-01-11T21:50:55.119Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T21:50:55.119Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T21:50:55.119Z] a7acece74701: Pulling fs layer [2023-01-11T21:50:55.119Z] a7acece74701: Waiting [2023-01-11T21:50:55.119Z] 96b7cbca73a9: Waiting [2023-01-11T21:50:55.119Z] 22ff95d597cd: Waiting [2023-01-11T21:50:55.119Z] 12d6caf4c0d1: Waiting [2023-01-11T21:50:55.119Z] 53926ce57604: Waiting [2023-01-11T21:50:55.119Z] 21b2b0c7a3f4: Waiting [2023-01-11T21:50:55.119Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T21:50:55.119Z] 93c1e223e6f2: Download complete [2023-01-11T21:50:55.119Z] 4583459ba037: Verifying Checksum [2023-01-11T21:50:55.119Z] 4583459ba037: Download complete [2023-01-11T21:50:55.119Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T21:50:55.119Z] 21b2b0c7a3f4: Download complete [2023-01-11T21:50:55.119Z] 22ff95d597cd: Download complete [2023-01-11T21:50:55.119Z] 213ec9aee27d: Verifying Checksum [2023-01-11T21:50:55.119Z] 213ec9aee27d: Download complete [2023-01-11T21:50:55.119Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T21:50:55.119Z] 12d6caf4c0d1: Download complete [2023-01-11T21:50:55.119Z] 213ec9aee27d: Pull complete [2023-01-11T21:50:55.406Z] 4583459ba037: Pull complete [2023-01-11T21:50:55.406Z] 93c1e223e6f2: Pull complete [2023-01-11T21:50:55.680Z] a7acece74701: Verifying Checksum [2023-01-11T21:50:55.680Z] a7acece74701: Download complete [2023-01-11T21:50:55.940Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T21:50:55.940Z] 96b7cbca73a9: Download complete [2023-01-11T21:50:56.199Z] 53926ce57604: Verifying Checksum [2023-01-11T21:50:56.199Z] 53926ce57604: Download complete [2023-01-11T21:51:00.408Z] 53926ce57604: Pull complete [2023-01-11T21:51:00.408Z] 21b2b0c7a3f4: Pull complete [2023-01-11T21:51:00.408Z] 22ff95d597cd: Pull complete [2023-01-11T21:51:00.408Z] 12d6caf4c0d1: Pull complete [2023-01-11T21:51:02.372Z] 96b7cbca73a9: Pull complete [2023-01-11T21:51:02.937Z] a7acece74701: Pull complete [2023-01-11T21:51:02.937Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T21:51:02.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T21:51:02.937Z] ---> db6d94c90886 [2023-01-11T21:51:02.937Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:51:05.483Z] ---> Running in 711954fee461 [2023-01-11T21:51:05.483Z] Removing intermediate container 711954fee461 [2023-01-11T21:51:05.483Z] ---> e250dc1766f0 [2023-01-11T21:51:05.483Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:51:05.483Z] ---> Running in 20e8132cb12a [2023-01-11T21:51:05.483Z] Removing intermediate container 20e8132cb12a [2023-01-11T21:51:05.483Z] ---> af347d6b5978 [2023-01-11T21:51:05.483Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T21:51:05.744Z] ---> Running in b56158729cc5 [2023-01-11T21:51:05.744Z] Removing intermediate container b56158729cc5 [2023-01-11T21:51:05.744Z] ---> ca9ffb1ee73b [2023-01-11T21:51:05.744Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:51:05.744Z] ---> Running in 64d5589c51f6 [2023-01-11T21:51:06.003Z] Removing intermediate container 64d5589c51f6 [2023-01-11T21:51:06.003Z] ---> a2a4a3a564e7 [2023-01-11T21:51:06.003Z] Step 7/12 : WORKDIR /device-gpio [2023-01-11T21:51:06.003Z] ---> Running in 2efcf723ad20 [2023-01-11T21:51:06.003Z] Removing intermediate container 2efcf723ad20 [2023-01-11T21:51:06.003Z] ---> 305b47e2510f [2023-01-11T21:51:06.003Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:51:06.003Z] ---> Running in 7633fa880690 [2023-01-11T21:51:06.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:06.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:06.520Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:51:06.520Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:51:06.520Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:51:06.520Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:51:06.801Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:51:06.801Z] OK: 216 MiB in 55 packages [2023-01-11T21:51:07.060Z] Removing intermediate container 7633fa880690 [2023-01-11T21:51:07.060Z] ---> 0f999a8e2fca [2023-01-11T21:51:07.060Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:51:07.321Z] ---> cf248dd18a98 [2023-01-11T21:51:07.321Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:51:07.321Z] ---> Running in cb55521a592d [2023-01-11T21:51:08.596Z] Still waiting to schedule task [2023-01-11T21:51:08.596Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1954’ [2023-01-11T21:51:29.269Z] Removing intermediate container cb55521a592d [2023-01-11T21:51:29.269Z] ---> 2c05b199d3a2 [2023-01-11T21:51:29.269Z] Step 11/12 : COPY . . [2023-01-11T21:51:29.269Z] ---> 34a012156280 [2023-01-11T21:51:29.269Z] Step 12/12 : RUN ${MAKE} [2023-01-11T21:51:29.269Z] ---> Running in e248ef62d3eb [2023-01-11T21:51:29.269Z] noop [2023-01-11T21:51:29.269Z] Removing intermediate container e248ef62d3eb [2023-01-11T21:51:29.269Z] ---> f9a95a882d7e [2023-01-11T21:51:29.269Z] Successfully built f9a95a882d7e [2023-01-11T21:51:29.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:29.577Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:51:29.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:51:29.645Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T21:51:29.675Z] $ 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 [2023-01-11T21:51:30.058Z] $ docker top 6b9141171d30da8b8125ea26ea157d1ade85fc27333f97a248faea3e44157dff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:51:30.400Z] + go version [2023-01-11T21:51:30.400Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T21:51:30.411Z] $ docker stop --time=1 6b9141171d30da8b8125ea26ea157d1ade85fc27333f97a248faea3e44157dff [2023-01-11T21:51:31.701Z] $ docker rm -f --volumes 6b9141171d30da8b8125ea26ea157d1ade85fc27333f97a248faea3e44157dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:32.081Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:51:32.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:51:32.148Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T21:51:32.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-01-11T21:51:32.547Z] $ docker top 6fde9521788a1cfdf1caaec7674a5949594c6f485b5d398979d0ea3212a53fd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:51:32.892Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:51:33.187Z] + make test [2023-01-11T21:51:33.187Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T21:51:33.444Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-11T21:51:43.419Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-11T21:51:43.419Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-11T21:51:49.976Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T21:51:49.976Z] go vet ./... [2023-01-11T21:51:52.503Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T21:51:52.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T21:51:52.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T21:51:52.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T21:51:52.791Z] $ docker stop --time=1 6fde9521788a1cfdf1caaec7674a5949594c6f485b5d398979d0ea3212a53fd0 [2023-01-11T21:51:54.948Z] $ docker rm -f --volumes 6fde9521788a1cfdf1caaec7674a5949594c6f485b5d398979d0ea3212a53fd0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:51:55.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T21:51:55.451Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T21:51:55.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T21:51:56.176Z] + ls -al . [2023-01-11T21:51:56.176Z] total 168 [2023-01-11T21:51:56.176Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:51 . [2023-01-11T21:51:56.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 .. [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 21:50 .dockerignore [2023-01-11T21:51:56.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:51 .git [2023-01-11T21:51:56.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 .github [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 21:50 .gitignore [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:50 .golangci.yml [2023-01-11T21:51:56.176Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:50 .semver [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 21:50 Attribution.txt [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 21:50 CHANGELOG.md [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 21:50 Dockerfile [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:50 GOVERNANCE.md [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 21:50 Jenkinsfile [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:50 LICENSE [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 21:50 Makefile [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 21:50 OWNERS.md [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 21:50 README.md [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:50 VERSION [2023-01-11T21:51:56.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:50 bin [2023-01-11T21:51:56.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 cmd [2023-01-11T21:51:56.176Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 11 21:51 coverage.out [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 11 21:50 go.mod [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 11 21:50 go.sum [2023-01-11T21:51:56.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 internal [2023-01-11T21:51:56.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 snap [2023-01-11T21:51:56.176Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:56.488Z] + 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=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d --label arch=amd64 --label version=3.0.0-dev.5 . [2023-01-11T21:51:56.488Z] Sending build context to Docker daemon 15.98MB [2023-01-11T21:51:56.488Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:51:56.488Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T21:51:56.488Z] ---> f9a95a882d7e [2023-01-11T21:51:56.488Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:51:56.746Z] ---> Running in 1b9b83b1ac7c [2023-01-11T21:51:56.746Z] Removing intermediate container 1b9b83b1ac7c [2023-01-11T21:51:56.746Z] ---> 867f58fe250e [2023-01-11T21:51:56.746Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:51:56.746Z] ---> Running in 235e798637e5 [2023-01-11T21:51:57.006Z] Removing intermediate container 235e798637e5 [2023-01-11T21:51:57.006Z] ---> ec70628753bb [2023-01-11T21:51:57.006Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T21:51:57.006Z] ---> Running in 1321f9b827f8 [2023-01-11T21:51:57.006Z] Removing intermediate container 1321f9b827f8 [2023-01-11T21:51:57.006Z] ---> 708c83c5e129 [2023-01-11T21:51:57.006Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:51:57.006Z] ---> Running in 7973d9e9a08c [2023-01-11T21:51:57.006Z] Removing intermediate container 7973d9e9a08c [2023-01-11T21:51:57.006Z] ---> c7886707ca71 [2023-01-11T21:51:57.006Z] Step 7/25 : WORKDIR /device-gpio [2023-01-11T21:51:57.265Z] ---> Running in 5f2a5259e1ae [2023-01-11T21:51:57.265Z] Removing intermediate container 5f2a5259e1ae [2023-01-11T21:51:57.265Z] ---> 18e2f32fc5fb [2023-01-11T21:51:57.265Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:51:57.265Z] ---> Running in f03fda2d4576 [2023-01-11T21:51:57.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:57.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:58.040Z] OK: 216 MiB in 55 packages [2023-01-11T21:51:58.606Z] Removing intermediate container f03fda2d4576 [2023-01-11T21:51:58.606Z] ---> edb8db2dfd43 [2023-01-11T21:51:58.606Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T21:51:58.606Z] ---> 497358e18fe2 [2023-01-11T21:51:58.606Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:51:58.606Z] ---> Running in 454cb0cf39a0 [2023-01-11T21:51:59.559Z] Removing intermediate container 454cb0cf39a0 [2023-01-11T21:51:59.559Z] ---> b2a19ba1adf8 [2023-01-11T21:51:59.559Z] Step 11/25 : COPY . . [2023-01-11T21:51:59.817Z] ---> 4167666664aa [2023-01-11T21:51:59.817Z] Step 12/25 : RUN ${MAKE} [2023-01-11T21:51:59.817Z] ---> Running in b671b9afe83c [2023-01-11T21:52:00.077Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-11T21:52:14.961Z] Removing intermediate container b671b9afe83c [2023-01-11T21:52:14.961Z] ---> 6d1202d6a643 [2023-01-11T21:52:14.961Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T21:52:14.961Z] 3.16: Pulling from library/alpine [2023-01-11T21:52:14.961Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T21:52:14.961Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T21:52:14.961Z] ca7dd9ec2225: Download complete [2023-01-11T21:52:14.961Z] ca7dd9ec2225: Pull complete [2023-01-11T21:52:14.961Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T21:52:14.961Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T21:52:14.961Z] ---> bfe296a52501 [2023-01-11T21:52:14.961Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-11T21:52:14.961Z] ---> Running in f3a9cb975232 [2023-01-11T21:52:15.220Z] Removing intermediate container f3a9cb975232 [2023-01-11T21:52:15.220Z] ---> 2a59aa43f026 [2023-01-11T21:52:15.220Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-11T21:52:15.220Z] ---> Running in f1c2de6f3b50 [2023-01-11T21:52:15.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:15.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:15.738Z] OK: 6 MiB in 14 packages [2023-01-11T21:52:15.996Z] Removing intermediate container f1c2de6f3b50 [2023-01-11T21:52:15.996Z] ---> 112aa1f60057 [2023-01-11T21:52:15.996Z] Step 16/25 : WORKDIR / [2023-01-11T21:52:15.996Z] ---> Running in 8c30f91504db [2023-01-11T21:52:16.254Z] Removing intermediate container 8c30f91504db [2023-01-11T21:52:16.254Z] ---> 011bf39db2fe [2023-01-11T21:52:16.254Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-11T21:52:16.254Z] ---> 4928303413fb [2023-01-11T21:52:16.254Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-11T21:52:16.510Z] ---> 1b0cdc517351 [2023-01-11T21:52:16.510Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-11T21:52:17.128Z] ---> 993df5052875 [2023-01-11T21:52:17.128Z] Step 20/25 : EXPOSE 59910 [2023-01-11T21:52:17.128Z] ---> Running in 6344e55fc4e2 [2023-01-11T21:52:17.128Z] Removing intermediate container 6344e55fc4e2 [2023-01-11T21:52:17.128Z] ---> b7fd80cf2e6d [2023-01-11T21:52:17.128Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-11T21:52:17.387Z] ---> Running in fc47463fa964 [2023-01-11T21:52:17.387Z] Removing intermediate container fc47463fa964 [2023-01-11T21:52:17.387Z] ---> 5a386dd579f9 [2023-01-11T21:52:17.387Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T21:52:17.387Z] ---> Running in 74f9bf050985 [2023-01-11T21:52:17.387Z] Removing intermediate container 74f9bf050985 [2023-01-11T21:52:17.387Z] ---> 7c9c69e68b41 [2023-01-11T21:52:17.387Z] Step 23/25 : LABEL arch=amd64 [2023-01-11T21:52:17.387Z] ---> Running in f8651be35dd4 [2023-01-11T21:52:17.645Z] Removing intermediate container f8651be35dd4 [2023-01-11T21:52:17.645Z] ---> 681d4f4c4273 [2023-01-11T21:52:17.645Z] Step 24/25 : LABEL git_sha=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T21:52:17.645Z] ---> Running in 37f726826943 [2023-01-11T21:52:17.645Z] Removing intermediate container 37f726826943 [2023-01-11T21:52:17.645Z] ---> faf18d5f12e8 [2023-01-11T21:52:17.645Z] Step 25/25 : LABEL version=3.0.0-dev.5 [2023-01-11T21:52:17.645Z] ---> Running in e43ac24f64a5 [2023-01-11T21:52:17.903Z] Removing intermediate container e43ac24f64a5 [2023-01-11T21:52:17.903Z] ---> b5002c23ceae [2023-01-11T21:52:17.903Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T21:52:17.903Z] Successfully built b5002c23ceae [2023-01-11T21:52:17.903Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:52:18.092Z] provisioning config files... [2023-01-11T21:52:18.107Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8653981835371116931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:18.444Z] ---> docker-login.sh [2023-01-11T21:52:18.444Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:52:18.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:18.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:18.444Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:18.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:18.444Z] [2023-01-11T21:52:18.444Z] Login Succeeded [2023-01-11T21:52:18.444Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:52:18.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:18.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:18.444Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:18.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:18.444Z] [2023-01-11T21:52:18.444Z] Login Succeeded [2023-01-11T21:52:18.444Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:52:18.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:18.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:18.718Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:18.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:18.718Z] [2023-01-11T21:52:18.718Z] Login Succeeded [2023-01-11T21:52:18.718Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:52:18.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:18.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:18.718Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:18.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:18.718Z] [2023-01-11T21:52:18.718Z] Login Succeeded [2023-01-11T21:52:18.718Z] docker.io [2023-01-11T21:52:18.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:18.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:18.982Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:18.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:18.982Z] [2023-01-11T21:52:18.982Z] Login Succeeded [2023-01-11T21:52:18.982Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:52:18.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T21:52:19.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:52:19.107Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-01-11T21:52:19.107Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T21:52:19.107Z] latest [2023-01-11T21:52:19.107Z] 3.0.0-dev.5 [2023-01-11T21:52:19.107Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T21:52:19.107Z] main [2023-01-11T21:52:19.107Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:19.426Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:19.741Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T21:52:19.741Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-11T21:52:19.741Z] 8125fad90778: Preparing [2023-01-11T21:52:19.741Z] 2cec2f425382: Preparing [2023-01-11T21:52:19.741Z] d01a8adfec18: Preparing [2023-01-11T21:52:19.741Z] 91a86d048235: Preparing [2023-01-11T21:52:19.741Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:19.741Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:19.741Z] 91a86d048235: Pushed [2023-01-11T21:52:19.741Z] d01a8adfec18: Pushed [2023-01-11T21:52:19.741Z] 2cec2f425382: Pushed [2023-01-11T21:52:23.041Z] 8125fad90778: Pushed [2023-01-11T21:52:23.041Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d: digest: sha256:9af8f0245b2c1c213622df0c1c7fd4e22af932ddf1cecd4428e83fd873dc15d4 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:23.356Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:23.682Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-11T21:52:23.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-11T21:52:23.682Z] 8125fad90778: Preparing [2023-01-11T21:52:23.682Z] 2cec2f425382: Preparing [2023-01-11T21:52:23.682Z] d01a8adfec18: Preparing [2023-01-11T21:52:23.682Z] 91a86d048235: Preparing [2023-01-11T21:52:23.682Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:23.682Z] d01a8adfec18: Layer already exists [2023-01-11T21:52:23.682Z] 91a86d048235: Layer already exists [2023-01-11T21:52:23.682Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:23.682Z] 8125fad90778: Layer already exists [2023-01-11T21:52:23.682Z] 2cec2f425382: Layer already exists [2023-01-11T21:52:23.682Z] latest: digest: sha256:9af8f0245b2c1c213622df0c1c7fd4e22af932ddf1cecd4428e83fd873dc15d4 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:23.999Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:24.313Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.5 [2023-01-11T21:52:24.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-11T21:52:24.313Z] 8125fad90778: Preparing [2023-01-11T21:52:24.313Z] 2cec2f425382: Preparing [2023-01-11T21:52:24.313Z] d01a8adfec18: Preparing [2023-01-11T21:52:24.313Z] 91a86d048235: Preparing [2023-01-11T21:52:24.313Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:24.313Z] d01a8adfec18: Layer already exists [2023-01-11T21:52:24.313Z] 91a86d048235: Layer already exists [2023-01-11T21:52:24.313Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:24.313Z] 8125fad90778: Layer already exists [2023-01-11T21:52:24.313Z] 2cec2f425382: Layer already exists [2023-01-11T21:52:24.313Z] 3.0.0-dev.5: digest: sha256:9af8f0245b2c1c213622df0c1c7fd4e22af932ddf1cecd4428e83fd873dc15d4 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:24.631Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:24.985Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T21:52:24.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-11T21:52:24.985Z] 8125fad90778: Preparing [2023-01-11T21:52:24.985Z] 2cec2f425382: Preparing [2023-01-11T21:52:24.985Z] d01a8adfec18: Preparing [2023-01-11T21:52:24.985Z] 91a86d048235: Preparing [2023-01-11T21:52:24.985Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:24.985Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:24.985Z] 8125fad90778: Layer already exists [2023-01-11T21:52:24.985Z] d01a8adfec18: Layer already exists [2023-01-11T21:52:24.985Z] 2cec2f425382: Layer already exists [2023-01-11T21:52:24.985Z] 91a86d048235: Layer already exists [2023-01-11T21:52:24.985Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5: digest: sha256:9af8f0245b2c1c213622df0c1c7fd4e22af932ddf1cecd4428e83fd873dc15d4 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:25.355Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:25.673Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-01-11T21:52:25.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-11T21:52:25.673Z] 8125fad90778: Preparing [2023-01-11T21:52:25.673Z] 2cec2f425382: Preparing [2023-01-11T21:52:25.673Z] d01a8adfec18: Preparing [2023-01-11T21:52:25.673Z] 91a86d048235: Preparing [2023-01-11T21:52:25.673Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:25.673Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:25.673Z] 8125fad90778: Layer already exists [2023-01-11T21:52:25.673Z] d01a8adfec18: Layer already exists [2023-01-11T21:52:25.673Z] 91a86d048235: Layer already exists [2023-01-11T21:52:25.673Z] 2cec2f425382: Layer already exists [2023-01-11T21:52:25.673Z] main: digest: sha256:9af8f0245b2c1c213622df0c1c7fd4e22af932ddf1cecd4428e83fd873dc15d4 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T21:52:25.719Z] ===================================================== [Pipeline] echo [2023-01-11T21:52:25.724Z] taggedImages: [2023-01-11T21:52:25.724Z] - nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T21:52:25.724Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-11T21:52:25.724Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.5 [2023-01-11T21:52:25.724Z] - nexus3.edgexfoundry.org:10004/device-gpio:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T21:52:25.724Z] - 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 [2023-01-11T21:52:26.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:26.075Z] [2023-01-11T21:52:26.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:26.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:26.383Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T21:52:26.383Z] 5eb5b503b376: Pulling fs layer [2023-01-11T21:52:26.383Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T21:52:26.383Z] ec43610c2a17: Pulling fs layer [2023-01-11T21:52:26.383Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T21:52:26.383Z] 33b1e0a273af: Pulling fs layer [2023-01-11T21:52:26.383Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T21:52:26.383Z] 2f39f015ded8: Pulling fs layer [2023-01-11T21:52:26.383Z] 3a2ae6a8a46f: Waiting [2023-01-11T21:52:26.383Z] 33b1e0a273af: Waiting [2023-01-11T21:52:26.383Z] 5d3b04190fa2: Waiting [2023-01-11T21:52:26.383Z] 2f39f015ded8: Waiting [2023-01-11T21:52:26.383Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T21:52:26.383Z] 5c69ac0246d0: Download complete [2023-01-11T21:52:26.383Z] 3a2ae6a8a46f: Download complete [2023-01-11T21:52:26.383Z] 33b1e0a273af: Verifying Checksum [2023-01-11T21:52:26.383Z] 33b1e0a273af: Download complete [2023-01-11T21:52:26.644Z] ec43610c2a17: Verifying Checksum [2023-01-11T21:52:26.644Z] ec43610c2a17: Download complete [2023-01-11T21:52:26.644Z] 5d3b04190fa2: Download complete [2023-01-11T21:52:26.644Z] 5eb5b503b376: Verifying Checksum [2023-01-11T21:52:26.644Z] 5eb5b503b376: Download complete [2023-01-11T21:52:27.587Z] 2f39f015ded8: Download complete [2023-01-11T21:52:28.153Z] 5eb5b503b376: Pull complete [2023-01-11T21:52:28.411Z] 5c69ac0246d0: Pull complete [2023-01-11T21:52:28.988Z] ec43610c2a17: Pull complete [2023-01-11T21:52:28.988Z] 3a2ae6a8a46f: Pull complete [2023-01-11T21:52:29.250Z] 33b1e0a273af: Pull complete [2023-01-11T21:52:29.250Z] 5d3b04190fa2: Pull complete [2023-01-11T21:52:34.518Z] 2f39f015ded8: Pull complete [2023-01-11T21:52:34.518Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T21:52:34.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:34.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:52:34.610Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T21:52:34.642Z] $ 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 [2023-01-11T21:52:38.044Z] $ docker top e2432286f3fbcaf6360f5b57fe55a041c5a7b290353036d6f94c889dc52a3436 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:38.412Z] ---> job-cost.sh [2023-01-11T21:52:38.412Z] lf-activate-venv: SKIPPING [2023-01-11T21:52:38.412Z] INFO: No Stack... [2023-01-11T21:52:38.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T21:52:38.936Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T21:52:39.226Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-01-11T21:52:39.226Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T21:52:39.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [2023-01-11T21:52:39.250Z] Resource [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] did not exist. Created. [2023-01-11T21:52:39.250Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T21:52:39.554Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T21:52:39.575Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T21:52:39.582Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T21:52:39.599Z] $ docker stop --time=1 e2432286f3fbcaf6360f5b57fe55a041c5a7b290353036d6f94c889dc52a3436 [2023-01-11T21:52:40.749Z] $ docker rm -f --volumes e2432286f3fbcaf6360f5b57fe55a041c5a7b290353036d6f94c889dc52a3436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T21:54:08.726Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1966 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-01-11T21:54:08.739Z] Running in /w/workspace/device-gpio/57 [Pipeline] { [Pipeline] checkout [2023-01-11T21:54:08.798Z] The recommended git tool is: git [2023-01-11T21:54:18.131Z] using credential edgex-jenkins-ssh [2023-01-11T21:54:18.151Z] Cloning the remote Git repository [2023-01-11T21:54:18.222Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-11T21:54:18.351Z] > git init /w/workspace/device-gpio/57 # timeout=10 [2023-01-11T21:54:18.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-11T21:54:18.645Z] > git --version # timeout=10 [2023-01-11T21:54:18.694Z] > git --version # 'git version 2.25.1' [2023-01-11T21:54:18.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T21:54:18.790Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:54:20.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-11T21:54:20.595Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:54:21.760Z] Avoid second fetch [2023-01-11T21:54:21.760Z] Checking out Revision d2ab44b8cbb16e2983b1bff117f9b859b4657c3d (main) [2023-01-11T21:54:22.542Z] Commit message: "Merge pull request #77 from lenny-intel/mb-config" [2023-01-11T21:54:21.785Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T21:54:21.812Z] > git checkout -f d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:54:23.571Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T21:54:23.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T21:54:23.571Z] Dload Upload Total Spent Left Speed [2023-01-11T21:54:23.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 139k 0 --:--:-- --:--:-- --:--:-- 138k [Pipeline] sh [2023-01-11T21:54:24.286Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T21:54:24.655Z] + sudo tee /etc/docker/daemon.new [2023-01-11T21:54:24.655Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T21:54:24.655Z] { [2023-01-11T21:54:24.655Z] "registry-mirrors": [ [2023-01-11T21:54:24.655Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T21:54:24.655Z] ], [2023-01-11T21:54:24.655Z] "bip": "10.250.0.254/24", [2023-01-11T21:54:24.655Z] "hosts": [ [2023-01-11T21:54:24.655Z] "tcp://0.0.0.0:5555", [2023-01-11T21:54:24.655Z] "unix:///var/run/docker.sock" [2023-01-11T21:54:24.655Z] ], [2023-01-11T21:54:24.655Z] "mtu": 1458, [2023-01-11T21:54:24.655Z] "selinux-enabled": true, [2023-01-11T21:54:24.655Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T21:54:24.655Z] } [Pipeline] sh [2023-01-11T21:54:25.029Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T21:54:25.393Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:54:43.735Z] provisioning config files... [2023-01-11T21:54:43.767Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/57@tmp/config5188456800632529428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:54:44.140Z] ---> docker-login.sh [2023-01-11T21:54:44.140Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:54:44.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:54:45.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:54:45.008Z] Configure a credential helper to remove this warning. See [2023-01-11T21:54:45.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:54:45.008Z] [2023-01-11T21:54:45.008Z] Login Succeeded [2023-01-11T21:54:45.008Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:54:45.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:54:45.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:54:45.558Z] Configure a credential helper to remove this warning. See [2023-01-11T21:54:45.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:54:45.558Z] [2023-01-11T21:54:45.558Z] Login Succeeded [2023-01-11T21:54:45.558Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:54:45.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:54:45.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:54:45.832Z] Configure a credential helper to remove this warning. See [2023-01-11T21:54:45.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:54:45.832Z] [2023-01-11T21:54:45.832Z] Login Succeeded [2023-01-11T21:54:45.832Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:54:46.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:54:46.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:54:46.383Z] Configure a credential helper to remove this warning. See [2023-01-11T21:54:46.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:54:46.383Z] [2023-01-11T21:54:46.383Z] Login Succeeded [2023-01-11T21:54:46.383Z] docker.io [2023-01-11T21:54:46.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:54:46.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:54:46.925Z] Configure a credential helper to remove this warning. See [2023-01-11T21:54:46.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:54:46.925Z] [2023-01-11T21:54:46.925Z] Login Succeeded [2023-01-11T21:54:46.925Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:54:46.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:54:47.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:54:47.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:54:47.280Z] ========================================================= [2023-01-11T21:54:47.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T21:54:47.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:54:47.635Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T21:54:47.905Z] Sending build context to Docker daemon 8.022MB [2023-01-11T21:54:47.905Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:54:47.905Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:54:48.178Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T21:54:48.179Z] 9b18e9b68314: Pulling fs layer [2023-01-11T21:54:48.179Z] 35d82f9e3411: Pulling fs layer [2023-01-11T21:54:48.179Z] e16973657156: Pulling fs layer [2023-01-11T21:54:48.179Z] fc693d55d65f: Pulling fs layer [2023-01-11T21:54:48.179Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T21:54:48.179Z] dda99020689f: Pulling fs layer [2023-01-11T21:54:48.179Z] fc693d55d65f: Waiting [2023-01-11T21:54:48.179Z] 7e9fc2657dce: Waiting [2023-01-11T21:54:48.179Z] db1c61fa0a46: Pulling fs layer [2023-01-11T21:54:48.179Z] 891c053d2c06: Pulling fs layer [2023-01-11T21:54:48.179Z] db1c61fa0a46: Waiting [2023-01-11T21:54:48.179Z] 891c053d2c06: Waiting [2023-01-11T21:54:48.179Z] e16973657156: Verifying Checksum [2023-01-11T21:54:48.179Z] 35d82f9e3411: Verifying Checksum [2023-01-11T21:54:48.179Z] 35d82f9e3411: Download complete [2023-01-11T21:54:48.460Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T21:54:48.461Z] 7e9fc2657dce: Download complete [2023-01-11T21:54:48.461Z] dda99020689f: Verifying Checksum [2023-01-11T21:54:48.461Z] dda99020689f: Download complete [2023-01-11T21:54:48.461Z] 9b18e9b68314: Verifying Checksum [2023-01-11T21:54:48.461Z] 9b18e9b68314: Download complete [2023-01-11T21:54:49.456Z] 9b18e9b68314: Pull complete [2023-01-11T21:54:49.730Z] 891c053d2c06: Verifying Checksum [2023-01-11T21:54:49.730Z] 891c053d2c06: Download complete [2023-01-11T21:54:50.010Z] 35d82f9e3411: Pull complete [2023-01-11T21:54:50.608Z] e16973657156: Pull complete [2023-01-11T21:54:50.884Z] db1c61fa0a46: Verifying Checksum [2023-01-11T21:54:50.884Z] db1c61fa0a46: Download complete [2023-01-11T21:54:51.478Z] fc693d55d65f: Verifying Checksum [2023-01-11T21:54:51.478Z] fc693d55d65f: Download complete [2023-01-11T21:55:03.849Z] fc693d55d65f: Pull complete [2023-01-11T21:55:03.849Z] 7e9fc2657dce: Pull complete [2023-01-11T21:55:03.849Z] dda99020689f: Pull complete [2023-01-11T21:55:09.256Z] db1c61fa0a46: Pull complete [2023-01-11T21:55:11.225Z] 891c053d2c06: Pull complete [2023-01-11T21:55:11.225Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T21:55:11.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T21:55:11.225Z] ---> f96f9c87975a [2023-01-11T21:55:11.225Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:55:13.220Z] ---> Running in 4f4ee5253979 [2023-01-11T21:55:13.491Z] Removing intermediate container 4f4ee5253979 [2023-01-11T21:55:13.491Z] ---> 455ae8b8fc5f [2023-01-11T21:55:13.491Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:55:13.491Z] ---> Running in 83a8347067c5 [2023-01-11T21:55:14.084Z] Removing intermediate container 83a8347067c5 [2023-01-11T21:55:14.084Z] ---> 01c993575bce [2023-01-11T21:55:14.084Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T21:55:14.084Z] ---> Running in fb7d27262d69 [2023-01-11T21:55:14.354Z] Removing intermediate container fb7d27262d69 [2023-01-11T21:55:14.354Z] ---> 098dc8feccb6 [2023-01-11T21:55:14.354Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:55:14.354Z] ---> Running in e82f6e64d692 [2023-01-11T21:55:14.945Z] Removing intermediate container e82f6e64d692 [2023-01-11T21:55:14.945Z] ---> 47ec010d3f8e [2023-01-11T21:55:14.945Z] Step 7/12 : WORKDIR /device-gpio [2023-01-11T21:55:14.945Z] ---> Running in 41c8adc0e66f [2023-01-11T21:55:15.218Z] Removing intermediate container 41c8adc0e66f [2023-01-11T21:55:15.218Z] ---> 3c7a39f2aba8 [2023-01-11T21:55:15.218Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:55:15.218Z] ---> Running in d339db51bc5b [2023-01-11T21:55:16.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T21:55:16.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T21:55:18.332Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:55:18.332Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:55:18.332Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:55:18.332Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:55:18.332Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:55:18.332Z] OK: 226 MiB in 55 packages [2023-01-11T21:55:19.768Z] Removing intermediate container d339db51bc5b [2023-01-11T21:55:19.768Z] ---> f8720605d0ee [2023-01-11T21:55:19.768Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:55:21.733Z] ---> 749a05260e80 [2023-01-11T21:55:21.733Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:55:21.733Z] ---> Running in 2b57bc1d3f3b [2023-01-11T21:56:29.770Z] Removing intermediate container 2b57bc1d3f3b [2023-01-11T21:56:29.770Z] ---> 1de638695b88 [2023-01-11T21:56:29.770Z] Step 11/12 : COPY . . [2023-01-11T21:56:29.770Z] ---> 6c222d0637b1 [2023-01-11T21:56:29.770Z] Step 12/12 : RUN ${MAKE} [2023-01-11T21:56:29.770Z] ---> Running in 697451edf9da [2023-01-11T21:56:29.770Z] noop [2023-01-11T21:56:29.770Z] Removing intermediate container 697451edf9da [2023-01-11T21:56:29.770Z] ---> 9b31eb74b0bd [2023-01-11T21:56:29.770Z] Successfully built 9b31eb74b0bd [2023-01-11T21:56:29.770Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:56:30.171Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:56:30.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:56:30.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-1966 does not seem to be running inside a container [2023-01-11T21:56:30.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/57 -v /w/workspace/device-gpio/57:/w/workspace/device-gpio/57:rw,z -v /w/workspace/device-gpio/57@tmp:/w/workspace/device-gpio/57@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 [2023-01-11T21:56:32.016Z] $ docker top f001adf1a48747daedf53a654ffc098575445cf078bfd19d042b5747b041ee02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:56:32.906Z] + go version [2023-01-11T21:56:32.906Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T21:56:32.929Z] $ docker stop --time=1 f001adf1a48747daedf53a654ffc098575445cf078bfd19d042b5747b041ee02 [2023-01-11T21:56:34.641Z] $ docker rm -f --volumes f001adf1a48747daedf53a654ffc098575445cf078bfd19d042b5747b041ee02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:56:35.271Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:56:35.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:56:35.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-1966 does not seem to be running inside a container [2023-01-11T21:56:35.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/57 -v /w/workspace/device-gpio/57:/w/workspace/device-gpio/57:rw,z -v /w/workspace/device-gpio/57@tmp:/w/workspace/device-gpio/57@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 [2023-01-11T21:56:36.917Z] $ docker top bbc875986aeed92aaeaf0522413198669d75d81d0814fb780dbced41a3646742 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:56:37.803Z] + git config --global --add safe.directory /w/workspace/device-gpio/57 [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:56:38.473Z] + make test [2023-01-11T21:56:38.473Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T21:56:40.444Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-11T21:58:17.205Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-11T21:58:17.205Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-11T21:58:17.205Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T21:58:17.205Z] go vet ./... [2023-01-11T21:58:43.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T21:58:43.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T21:58:43.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T21:58:43.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T21:58:43.991Z] $ docker stop --time=1 bbc875986aeed92aaeaf0522413198669d75d81d0814fb780dbced41a3646742 [2023-01-11T21:58:45.889Z] $ docker rm -f --volumes bbc875986aeed92aaeaf0522413198669d75d81d0814fb780dbced41a3646742 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:58:46.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T21:58:47.007Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T21:58:47.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:58:48.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T21:58:48.396Z] + ls -al . [2023-01-11T21:58:48.396Z] total 164 [2023-01-11T21:58:48.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:56 . [2023-01-11T21:58:48.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:54 .. [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 21:54 .dockerignore [2023-01-11T21:58:48.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:54 .git [2023-01-11T21:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:54 .github [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 21:54 .gitignore [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:54 .golangci.yml [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 21:54 Attribution.txt [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 21:54 CHANGELOG.md [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 21:54 Dockerfile [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:54 GOVERNANCE.md [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 21:54 Jenkinsfile [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:54 LICENSE [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 21:54 Makefile [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 21:54 OWNERS.md [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 21:54 README.md [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:50 VERSION [2023-01-11T21:58:48.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:54 bin [2023-01-11T21:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:54 cmd [2023-01-11T21:58:48.396Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 11 21:56 coverage.out [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 11 21:54 go.mod [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 11 21:54 go.sum [2023-01-11T21:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:54 internal [2023-01-11T21:58:48.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:54 snap [2023-01-11T21:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 21:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:58:48.754Z] + 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=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d --label arch=arm64 --label version=3.0.0-dev.5 . [2023-01-11T21:58:49.026Z] Sending build context to Docker daemon 8.023MB [2023-01-11T21:58:49.296Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:58:49.296Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T21:58:49.296Z] ---> 9b31eb74b0bd [2023-01-11T21:58:49.296Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:58:49.296Z] ---> Running in f69b102a82fa [2023-01-11T21:58:49.580Z] Removing intermediate container f69b102a82fa [2023-01-11T21:58:49.580Z] ---> 99282d9f856b [2023-01-11T21:58:49.580Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:58:49.851Z] ---> Running in 8fff1d991687 [2023-01-11T21:58:50.121Z] Removing intermediate container 8fff1d991687 [2023-01-11T21:58:50.121Z] ---> 4ef2396aca7d [2023-01-11T21:58:50.121Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T21:58:50.121Z] ---> Running in bc14409c6335 [2023-01-11T21:58:50.723Z] Removing intermediate container bc14409c6335 [2023-01-11T21:58:50.723Z] ---> 5fe17e406d77 [2023-01-11T21:58:50.723Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:58:50.723Z] ---> Running in f6d51120d188 [2023-01-11T21:58:50.994Z] Removing intermediate container f6d51120d188 [2023-01-11T21:58:50.994Z] ---> 3de7261e539d [2023-01-11T21:58:50.994Z] Step 7/25 : WORKDIR /device-gpio [2023-01-11T21:58:51.267Z] ---> Running in ca5697eeae13 [2023-01-11T21:58:51.538Z] Removing intermediate container ca5697eeae13 [2023-01-11T21:58:51.538Z] ---> 668f0f96f5ff [2023-01-11T21:58:51.538Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:58:51.538Z] ---> Running in 394cb3464950 [2023-01-11T21:58:52.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T21:58:53.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T21:58:54.675Z] OK: 226 MiB in 55 packages [2023-01-11T21:58:55.651Z] Removing intermediate container 394cb3464950 [2023-01-11T21:58:55.651Z] ---> 50ba80b89ec5 [2023-01-11T21:58:55.651Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T21:58:56.247Z] ---> e60b52c59729 [2023-01-11T21:58:56.247Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:58:56.247Z] ---> Running in 4c62fcb172a4 [2023-01-11T21:58:58.868Z] Removing intermediate container 4c62fcb172a4 [2023-01-11T21:58:58.868Z] ---> b37c3ca45dc6 [2023-01-11T21:58:58.868Z] Step 11/25 : COPY . . [2023-01-11T21:58:59.847Z] ---> 416209b48283 [2023-01-11T21:58:59.847Z] Step 12/25 : RUN ${MAKE} [2023-01-11T21:58:59.847Z] ---> Running in 5daaef6b2f76 [2023-01-11T21:59:01.315Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-11T22:00:53.111Z] Removing intermediate container 5daaef6b2f76 [2023-01-11T22:00:53.111Z] ---> f233c8ecbe09 [2023-01-11T22:00:53.111Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T22:00:53.111Z] 3.16: Pulling from library/alpine [2023-01-11T22:00:53.111Z] 6875df1f5354: Pulling fs layer [2023-01-11T22:00:53.111Z] 6875df1f5354: Verifying Checksum [2023-01-11T22:00:53.111Z] 6875df1f5354: Download complete [2023-01-11T22:00:53.111Z] 6875df1f5354: Pull complete [2023-01-11T22:00:53.111Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T22:00:53.111Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T22:00:53.111Z] ---> 2b4661558fb8 [2023-01-11T22:00:53.111Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-11T22:00:53.111Z] ---> Running in 12e4ec7c9030 [2023-01-11T22:00:53.111Z] Removing intermediate container 12e4ec7c9030 [2023-01-11T22:00:53.111Z] ---> c8c0dc55d9da [2023-01-11T22:00:53.111Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-11T22:00:53.111Z] ---> Running in 6eaeade39f62 [2023-01-11T22:00:53.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:53.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:53.111Z] OK: 5 MiB in 14 packages [2023-01-11T22:00:53.111Z] Removing intermediate container 6eaeade39f62 [2023-01-11T22:00:53.111Z] ---> 435f0c168da6 [2023-01-11T22:00:53.111Z] Step 16/25 : WORKDIR / [2023-01-11T22:00:53.111Z] ---> Running in 81cbc879b541 [2023-01-11T22:00:53.111Z] Removing intermediate container 81cbc879b541 [2023-01-11T22:00:53.111Z] ---> 4175592a5a37 [2023-01-11T22:00:53.111Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-11T22:00:53.111Z] ---> f83c6aea5f27 [2023-01-11T22:00:53.111Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-11T22:00:53.111Z] ---> fbe9a070a1a0 [2023-01-11T22:00:53.111Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-11T22:00:53.380Z] ---> 3b547417212c [2023-01-11T22:00:53.380Z] Step 20/25 : EXPOSE 59910 [2023-01-11T22:00:53.652Z] ---> Running in 0f5c38f8008f [2023-01-11T22:00:53.924Z] Removing intermediate container 0f5c38f8008f [2023-01-11T22:00:53.924Z] ---> b7ba6655b518 [2023-01-11T22:00:53.924Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-11T22:00:53.924Z] ---> Running in d84c654c56ab [2023-01-11T22:00:54.194Z] Removing intermediate container d84c654c56ab [2023-01-11T22:00:54.194Z] ---> 6d61df099807 [2023-01-11T22:00:54.194Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T22:00:54.465Z] ---> Running in 7c93a40a975c [2023-01-11T22:00:54.734Z] Removing intermediate container 7c93a40a975c [2023-01-11T22:00:54.734Z] ---> 680ed8f1da86 [2023-01-11T22:00:54.734Z] Step 23/25 : LABEL arch=arm64 [2023-01-11T22:00:54.734Z] ---> Running in dd8e397874a4 [2023-01-11T22:00:55.009Z] Removing intermediate container dd8e397874a4 [2023-01-11T22:00:55.009Z] ---> 4be1bccfe668 [2023-01-11T22:00:55.009Z] Step 24/25 : LABEL git_sha=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T22:00:55.278Z] ---> Running in 9063e9e6f1cf [2023-01-11T22:00:55.553Z] Removing intermediate container 9063e9e6f1cf [2023-01-11T22:00:55.553Z] ---> 54cce17b4bae [2023-01-11T22:00:55.553Z] Step 25/25 : LABEL version=3.0.0-dev.5 [2023-01-11T22:00:55.553Z] ---> Running in d7dc23e8c6ae [2023-01-11T22:00:55.831Z] Removing intermediate container d7dc23e8c6ae [2023-01-11T22:00:55.831Z] ---> 8676b1864f12 [2023-01-11T22:00:55.831Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T22:00:55.831Z] Successfully built 8676b1864f12 [2023-01-11T22:00:55.831Z] 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 [2023-01-11T22:00:55.962Z] provisioning config files... [2023-01-11T22:00:55.979Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/57@tmp/config16338354070880527486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:00:56.336Z] ---> docker-login.sh [2023-01-11T22:00:56.336Z] nexus3.edgexfoundry.org:10001 [2023-01-11T22:00:56.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:56.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:56.605Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:56.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:56.605Z] [2023-01-11T22:00:56.605Z] Login Succeeded [2023-01-11T22:00:56.605Z] nexus3.edgexfoundry.org:10002 [2023-01-11T22:00:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:57.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:57.149Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:57.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:57.149Z] [2023-01-11T22:00:57.149Z] Login Succeeded [2023-01-11T22:00:57.149Z] nexus3.edgexfoundry.org:10003 [2023-01-11T22:00:57.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:57.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:57.421Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:57.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:57.421Z] [2023-01-11T22:00:57.421Z] Login Succeeded [2023-01-11T22:00:57.421Z] nexus3.edgexfoundry.org:10004 [2023-01-11T22:00:57.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:57.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:57.966Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:57.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:57.966Z] [2023-01-11T22:00:57.966Z] Login Succeeded [2023-01-11T22:00:57.966Z] docker.io [2023-01-11T22:00:58.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:58.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:58.507Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:58.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:58.507Z] [2023-01-11T22:00:58.507Z] Login Succeeded [2023-01-11T22:00:58.507Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T22:00:58.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T22:00:58.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T22:00:58.588Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-01-11T22:00:58.588Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T22:00:58.588Z] latest [2023-01-11T22:00:58.588Z] 3.0.0-dev.5 [2023-01-11T22:00:58.588Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T22:00:58.588Z] main [2023-01-11T22:00:58.588Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:00:58.941Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:00:59.298Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T22:00:59.298Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-11T22:00:59.298Z] 5e3cfb311533: Preparing [2023-01-11T22:00:59.298Z] 53225d52a1b9: Preparing [2023-01-11T22:00:59.298Z] bd83a2880ca1: Preparing [2023-01-11T22:00:59.298Z] 93be0054e383: Preparing [2023-01-11T22:00:59.298Z] 17bec77d7fdc: Preparing [2023-01-11T22:00:59.298Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:00:59.567Z] bd83a2880ca1: Pushed [2023-01-11T22:00:59.567Z] 93be0054e383: Pushed [2023-01-11T22:00:59.567Z] 53225d52a1b9: Pushed [2023-01-11T22:01:04.925Z] 5e3cfb311533: Pushed [2023-01-11T22:01:04.925Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d: digest: sha256:349aab649b931632f7ac8e9a65ec65e91fedba1355f5a02ed68e76aabe608a2d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:05.290Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:05.637Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-11T22:01:05.637Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-11T22:01:05.637Z] 5e3cfb311533: Preparing [2023-01-11T22:01:05.637Z] 53225d52a1b9: Preparing [2023-01-11T22:01:05.637Z] bd83a2880ca1: Preparing [2023-01-11T22:01:05.637Z] 93be0054e383: Preparing [2023-01-11T22:01:05.637Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:05.637Z] bd83a2880ca1: Layer already exists [2023-01-11T22:01:05.637Z] 5e3cfb311533: Layer already exists [2023-01-11T22:01:05.637Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:05.637Z] 93be0054e383: Layer already exists [2023-01-11T22:01:05.637Z] 53225d52a1b9: Layer already exists [2023-01-11T22:01:05.904Z] latest: digest: sha256:349aab649b931632f7ac8e9a65ec65e91fedba1355f5a02ed68e76aabe608a2d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:06.260Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:06.614Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.5 [2023-01-11T22:01:06.615Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-11T22:01:06.615Z] 5e3cfb311533: Preparing [2023-01-11T22:01:06.615Z] 53225d52a1b9: Preparing [2023-01-11T22:01:06.615Z] bd83a2880ca1: Preparing [2023-01-11T22:01:06.615Z] 93be0054e383: Preparing [2023-01-11T22:01:06.615Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:06.615Z] 53225d52a1b9: Layer already exists [2023-01-11T22:01:06.615Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:06.615Z] bd83a2880ca1: Layer already exists [2023-01-11T22:01:06.615Z] 5e3cfb311533: Layer already exists [2023-01-11T22:01:06.615Z] 93be0054e383: Layer already exists [2023-01-11T22:01:06.882Z] 3.0.0-dev.5: digest: sha256:349aab649b931632f7ac8e9a65ec65e91fedba1355f5a02ed68e76aabe608a2d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:07.236Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:07.588Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T22:01:07.588Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-11T22:01:07.589Z] 5e3cfb311533: Preparing [2023-01-11T22:01:07.589Z] 53225d52a1b9: Preparing [2023-01-11T22:01:07.589Z] bd83a2880ca1: Preparing [2023-01-11T22:01:07.589Z] 93be0054e383: Preparing [2023-01-11T22:01:07.589Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:07.589Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:07.589Z] bd83a2880ca1: Layer already exists [2023-01-11T22:01:07.589Z] 5e3cfb311533: Layer already exists [2023-01-11T22:01:07.589Z] 93be0054e383: Layer already exists [2023-01-11T22:01:07.589Z] 53225d52a1b9: Layer already exists [2023-01-11T22:01:07.856Z] d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5: digest: sha256:349aab649b931632f7ac8e9a65ec65e91fedba1355f5a02ed68e76aabe608a2d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:08.221Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:08.621Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-01-11T22:01:08.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-11T22:01:08.621Z] 5e3cfb311533: Preparing [2023-01-11T22:01:08.621Z] 53225d52a1b9: Preparing [2023-01-11T22:01:08.621Z] bd83a2880ca1: Preparing [2023-01-11T22:01:08.621Z] 93be0054e383: Preparing [2023-01-11T22:01:08.621Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:08.621Z] bd83a2880ca1: Layer already exists [2023-01-11T22:01:08.621Z] 5e3cfb311533: Layer already exists [2023-01-11T22:01:08.621Z] 53225d52a1b9: Layer already exists [2023-01-11T22:01:08.621Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:08.621Z] 93be0054e383: Layer already exists [2023-01-11T22:01:08.621Z] main: digest: sha256:349aab649b931632f7ac8e9a65ec65e91fedba1355f5a02ed68e76aabe608a2d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T22:01:08.946Z] ===================================================== [Pipeline] echo [2023-01-11T22:01:08.952Z] taggedImages: [2023-01-11T22:01:08.952Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [2023-01-11T22:01:08.952Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-11T22:01:08.952Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.5 [2023-01-11T22:01:08.952Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2ab44b8cbb16e2983b1bff117f9b859b4657c3d-3.0.0-dev.5 [2023-01-11T22:01:08.952Z] - 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 [2023-01-11T22:01:09.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:09.320Z] [2023-01-11T22:01:09.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:09.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:09.965Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T22:01:09.965Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T22:01:09.965Z] 04944245beec: Pulling fs layer [2023-01-11T22:01:09.965Z] 699f458cf7ca: Pulling fs layer [2023-01-11T22:01:09.965Z] 765212b225bb: Pulling fs layer [2023-01-11T22:01:09.965Z] f23df028b6ca: Pulling fs layer [2023-01-11T22:01:09.965Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T22:01:09.965Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T22:01:09.965Z] f23df028b6ca: Waiting [2023-01-11T22:01:09.965Z] d65c8cfc05b1: Waiting [2023-01-11T22:01:09.965Z] 2437ff75d9bd: Waiting [2023-01-11T22:01:09.965Z] 765212b225bb: Waiting [2023-01-11T22:01:09.965Z] 04944245beec: Verifying Checksum [2023-01-11T22:01:09.965Z] 04944245beec: Download complete [2023-01-11T22:01:09.965Z] 765212b225bb: Verifying Checksum [2023-01-11T22:01:09.965Z] 765212b225bb: Download complete [2023-01-11T22:01:09.965Z] f23df028b6ca: Verifying Checksum [2023-01-11T22:01:09.965Z] f23df028b6ca: Download complete [2023-01-11T22:01:09.965Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T22:01:09.965Z] d65c8cfc05b1: Download complete [2023-01-11T22:01:10.246Z] 699f458cf7ca: Verifying Checksum [2023-01-11T22:01:10.246Z] 699f458cf7ca: Download complete [2023-01-11T22:01:10.875Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T22:01:10.875Z] 8998bd30e6a1: Download complete [2023-01-11T22:01:13.508Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T22:01:13.508Z] 2437ff75d9bd: Download complete [2023-01-11T22:01:15.471Z] 8998bd30e6a1: Pull complete [2023-01-11T22:01:15.741Z] 04944245beec: Pull complete [2023-01-11T22:01:17.159Z] 699f458cf7ca: Pull complete [2023-01-11T22:01:17.430Z] 765212b225bb: Pull complete [2023-01-11T22:01:18.401Z] f23df028b6ca: Pull complete [2023-01-11T22:01:18.670Z] d65c8cfc05b1: Pull complete [2023-01-11T22:01:36.915Z] 2437ff75d9bd: Pull complete [2023-01-11T22:01:36.915Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T22:01:36.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:36.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:01:37.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-1966 does not seem to be running inside a container [2023-01-11T22:01:37.204Z] $ 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/57 -v /w/workspace/device-gpio/57:/w/workspace/device-gpio/57:rw,z -v /w/workspace/device-gpio/57@tmp:/w/workspace/device-gpio/57@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 [2023-01-11T22:01:40.301Z] $ docker top c27a9a06e0ff335c2a4f8914c098daddeda2dfb7f6873f57ed7e9d3d6e78ef8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:01:41.185Z] ---> job-cost.sh [2023-01-11T22:01:41.185Z] lf-activate-venv: SKIPPING [2023-01-11T22:01:41.185Z] INFO: No Stack... [2023-01-11T22:01:41.453Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T22:01:42.420Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T22:01:43.078Z] + cat /w/workspace/device-gpio/57/archives/cost.csv [2023-01-11T22:01:43.078Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T22:01:43.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [2023-01-11T22:01:43.156Z] Resource [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] did not exist. Created. [2023-01-11T22:01:43.156Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T22:01:43.823Z] /w/workspace/device-gpio/57@tmp/durable-0300955d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T22:01:44.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T22:01:44.500Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T22:01:44.557Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T22:01:44.562Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T22:01:44.579Z] $ docker stop --time=1 c27a9a06e0ff335c2a4f8914c098daddeda2dfb7f6873f57ed7e9d3d6e78ef8d [2023-01-11T22:01:46.167Z] $ docker rm -f --volumes c27a9a06e0ff335c2a4f8914c098daddeda2dfb7f6873f57ed7e9d3d6e78ef8d [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 [2023-01-11T22:01:46.583Z] provisioning config files... [2023-01-11T22:01:46.601Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14324064650192285086tmp [Pipeline] { [Pipeline] sh [2023-01-11T22:01:46.912Z] + set +x [2023-01-11T22:01:46.912Z] + curl -s https://codecov.io/bash [2023-01-11T22:01:46.912Z] + bash -s -- [2023-01-11T22:01:46.912Z] [2023-01-11T22:01:46.912Z] _____ _ [2023-01-11T22:01:46.912Z] / ____| | | [2023-01-11T22:01:46.912Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T22:01:46.912Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T22:01:46.912Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T22:01:46.912Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T22:01:46.912Z] Bash-1.0.6 [2023-01-11T22:01:46.912Z] [2023-01-11T22:01:46.912Z] [2023-01-11T22:01:46.912Z] ==> git version 2.25.1 found [2023-01-11T22:01:46.912Z] ==> 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 [2023-01-11T22:01:46.912Z] Release-Date: 2020-01-08 [2023-01-11T22:01:46.912Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T22:01:46.912Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T22:01:46.912Z] ==> Jenkins CI detected. [2023-01-11T22:01:46.912Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-01-11T22:01:46.912Z] project root: . [2023-01-11T22:01:46.912Z] --> token set from env [2023-01-11T22:01:46.912Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T22:01:46.912Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T22:01:46.912Z] ==> Python coveragepy not found [2023-01-11T22:01:46.912Z] ==> Searching for coverage reports in: [2023-01-11T22:01:46.912Z] + . [2023-01-11T22:01:46.912Z] -> Found 1 reports [2023-01-11T22:01:46.912Z] ==> Detecting git/mercurial file structure [2023-01-11T22:01:46.912Z] ==> Reading reports [2023-01-11T22:01:46.912Z] + ./coverage.out bytes=10 [2023-01-11T22:01:46.912Z] ==> Appending adjustments [2023-01-11T22:01:46.912Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T22:01:47.171Z] + Found adjustments [2023-01-11T22:01:47.171Z] ==> Gzipping contents [2023-01-11T22:01:47.171Z] 4.0K /tmp/codecov.gsiW5I.gz [2023-01-11T22:01:47.171Z] ==> Uploading reports [2023-01-11T22:01:47.171Z] url: https://codecov.io [2023-01-11T22:01:47.171Z] query: branch=main&commit=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T22:01:47.171Z] -> Pinging Codecov [2023-01-11T22:01:47.171Z] 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=d2ab44b8cbb16e2983b1bff117f9b859b4657c3d&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T22:01:47.430Z] -> Uploading to [2023-01-11T22:01:47.430Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d2ab44b8cbb16e2983b1bff117f9b859b4657c3d/5f12952d-9aad-4592-9671-02a1c1cc0a68.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T220147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1e6d291cfb88d8fc3469141e8cde967b823c640a6ef1a3852c281f5ca71a7af [2023-01-11T22:01:47.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T22:01:47.430Z] Dload Upload Total Spent Left Speed [2023-01-11T22:01:47.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2992 --:--:-- --:--:-- --:--:-- 2980 100 781 0 0 100 781 0 2992 --:--:-- --:--:-- --:--:-- 2980 [2023-01-11T22:01:47.692Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] } [2023-01-11T22:01:47.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-11T22:01:47.815Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-11T22:01:47.825Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:48.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:48.142Z] [2023-01-11T22:01:48.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:48.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:48.452Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-11T22:01:48.452Z] df9b9388f04a: Pulling fs layer [2023-01-11T22:01:48.452Z] 52dc419b0ee2: Pulling fs layer [2023-01-11T22:01:48.452Z] 25bc292e5bac: Pulling fs layer [2023-01-11T22:01:48.452Z] 114826534d7a: Pulling fs layer [2023-01-11T22:01:48.452Z] 4657fd5d0bcf: Pulling fs layer [2023-01-11T22:01:48.452Z] 6ad1cebc031e: Pulling fs layer [2023-01-11T22:01:48.452Z] 8a3aa393b2d8: Pulling fs layer [2023-01-11T22:01:48.452Z] 114826534d7a: Waiting [2023-01-11T22:01:48.452Z] 4657fd5d0bcf: Waiting [2023-01-11T22:01:48.452Z] 6ad1cebc031e: Waiting [2023-01-11T22:01:48.452Z] 8a3aa393b2d8: Waiting [2023-01-11T22:01:48.452Z] 25bc292e5bac: Verifying Checksum [2023-01-11T22:01:48.452Z] 25bc292e5bac: Download complete [2023-01-11T22:01:48.452Z] 52dc419b0ee2: Verifying Checksum [2023-01-11T22:01:48.452Z] 52dc419b0ee2: Download complete [2023-01-11T22:01:48.452Z] 4657fd5d0bcf: Verifying Checksum [2023-01-11T22:01:48.452Z] 4657fd5d0bcf: Download complete [2023-01-11T22:01:48.452Z] df9b9388f04a: Download complete [2023-01-11T22:01:48.713Z] 6ad1cebc031e: Verifying Checksum [2023-01-11T22:01:48.713Z] 6ad1cebc031e: Download complete [2023-01-11T22:01:48.713Z] df9b9388f04a: Pull complete [2023-01-11T22:01:48.713Z] 52dc419b0ee2: Pull complete [2023-01-11T22:01:48.974Z] 25bc292e5bac: Pull complete [2023-01-11T22:01:50.365Z] 114826534d7a: Verifying Checksum [2023-01-11T22:01:50.365Z] 114826534d7a: Download complete [2023-01-11T22:01:50.365Z] 8a3aa393b2d8: Verifying Checksum [2023-01-11T22:01:50.365Z] 8a3aa393b2d8: Download complete [2023-01-11T22:01:53.654Z] 114826534d7a: Pull complete [2023-01-11T22:01:53.654Z] 4657fd5d0bcf: Pull complete [2023-01-11T22:01:54.226Z] 6ad1cebc031e: Pull complete [2023-01-11T22:01:57.512Z] 8a3aa393b2d8: Pull complete [2023-01-11T22:01:57.512Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-11T22:01:57.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:57.512Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:01:57.602Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:01:57.643Z] $ 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 [2023-01-11T22:02:00.218Z] $ docker top 9515db2524a53b4d8b0b92fd95fb722666aa2b5d5c09db4d91b97d296495a59a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-11T22:02:00.296Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-01-11T22:02:00.573Z] + set -o pipefail [2023-01-11T22:02:00.573Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/3e3bdf9f-b349-4846-8c6f-fc4d63e1b4cf [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] [2023-01-11T22:02:07.143Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-11T22:02:07.143Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-11T22:02:07.143Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-11T22:02:07.157Z] $ docker stop --time=1 9515db2524a53b4d8b0b92fd95fb722666aa2b5d5c09db4d91b97d296495a59a [2023-01-11T22:02:09.636Z] $ docker rm -f --volumes 9515db2524a53b4d8b0b92fd95fb722666aa2b5d5c09db4d91b97d296495a59a [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 [2023-01-11T22:02:10.378Z] + git log --format=format:%s -1 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d [Pipeline] sh [2023-01-11T22:02:10.671Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:10.671Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:10.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:10.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:11.034Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:02:11.066Z] $ 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 [2023-01-11T22:02:11.501Z] $ docker top 0d46bde7d7a1f0ca23b6994f71dec9aab2c589ec7a2d15c6ce96b4276816282a -eo pid,comm [2023-01-11T22:02:11.546Z] 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). [2023-01-11T22:02:11.546Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:11.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:11.585Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:11.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:11.705Z] $ docker exec 0d46bde7d7a1f0ca23b6994f71dec9aab2c589ec7a2d15c6ce96b4276816282a ssh-agent [2023-01-11T22:02:11.808Z] SSH_AUTH_SOCK=/tmp/ssh-GL2M9isZC3JJ/agent.32 [2023-01-11T22:02:11.808Z] SSH_AGENT_PID=38 [2023-01-11T22:02:11.813Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:11.918Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8423346507112411120.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8423346507112411120.key) [2023-01-11T22:02:11.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:12.220Z] + git semver tag [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,401 [run_tag] DEBUG tag force:False [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,401 [check_head_tag] DEBUG check head tag [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,401 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,405 [execute] INFO git cat-file --batch [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,419 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,419 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:12.480Z] 2023-01-11 22:02:12,425 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:12.480Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T22:02:12.491Z] $ docker exec --env ******** --env ******** 0d46bde7d7a1f0ca23b6994f71dec9aab2c589ec7a2d15c6ce96b4276816282a ssh-agent -k [2023-01-11T22:02:12.590Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:12.590Z] unset SSH_AGENT_PID; [2023-01-11T22:02:12.590Z] echo Agent pid 38 killed; [2023-01-11T22:02:12.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:12.903Z] + git semver [Pipeline] } [2023-01-11T22:02:13.176Z] $ docker stop --time=1 0d46bde7d7a1f0ca23b6994f71dec9aab2c589ec7a2d15c6ce96b4276816282a [2023-01-11T22:02:14.454Z] $ docker rm -f --volumes 0d46bde7d7a1f0ca23b6994f71dec9aab2c589ec7a2d15c6ce96b4276816282a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:14.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:14.833Z] [2023-01-11T22:02:14.833Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:15.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:15.130Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-11T22:02:15.130Z] ab5ef0e58194: Pulling fs layer [2023-01-11T22:02:15.130Z] 9712f1f96733: Pulling fs layer [2023-01-11T22:02:15.130Z] 63f879dbbcfc: Pulling fs layer [2023-01-11T22:02:15.130Z] 0d9ebad4ef96: Pulling fs layer [2023-01-11T22:02:15.130Z] e9a5061849ea: Pulling fs layer [2023-01-11T22:02:15.130Z] d747dcd14b5f: Pulling fs layer [2023-01-11T22:02:15.130Z] 2de7ff778b66: Pulling fs layer [2023-01-11T22:02:15.130Z] 0d9ebad4ef96: Waiting [2023-01-11T22:02:15.130Z] e9a5061849ea: Waiting [2023-01-11T22:02:15.130Z] d747dcd14b5f: Waiting [2023-01-11T22:02:15.130Z] 9712f1f96733: Verifying Checksum [2023-01-11T22:02:15.130Z] 9712f1f96733: Download complete [2023-01-11T22:02:15.699Z] 63f879dbbcfc: Verifying Checksum [2023-01-11T22:02:15.699Z] 63f879dbbcfc: Download complete [2023-01-11T22:02:15.699Z] e9a5061849ea: Verifying Checksum [2023-01-11T22:02:15.699Z] e9a5061849ea: Download complete [2023-01-11T22:02:15.699Z] d747dcd14b5f: Verifying Checksum [2023-01-11T22:02:15.699Z] d747dcd14b5f: Download complete [2023-01-11T22:02:15.958Z] ab5ef0e58194: Verifying Checksum [2023-01-11T22:02:15.958Z] ab5ef0e58194: Download complete [2023-01-11T22:02:15.958Z] 0d9ebad4ef96: Verifying Checksum [2023-01-11T22:02:15.958Z] 0d9ebad4ef96: Download complete [2023-01-11T22:02:15.958Z] 2de7ff778b66: Verifying Checksum [2023-01-11T22:02:15.958Z] 2de7ff778b66: Download complete [2023-01-11T22:02:18.484Z] ab5ef0e58194: Pull complete [2023-01-11T22:02:18.484Z] 9712f1f96733: Pull complete [2023-01-11T22:02:19.048Z] 63f879dbbcfc: Pull complete [2023-01-11T22:02:23.233Z] 0d9ebad4ef96: Pull complete [2023-01-11T22:02:23.233Z] e9a5061849ea: Pull complete [2023-01-11T22:02:23.233Z] d747dcd14b5f: Pull complete [2023-01-11T22:02:23.801Z] 2de7ff778b66: Pull complete [2023-01-11T22:02:23.801Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-11T22:02:23.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:23.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:23.878Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:02:23.910Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-11T22:02:27.008Z] $ docker top 6d7b7e5031eb100097815e407042952198d473a3c86fef70433e5d9af056e749 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:02:27.077Z] provisioning config files... [2023-01-11T22:02:27.084Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15099252842229381814tmp [2023-01-11T22:02:27.091Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2391373917196684279tmp [2023-01-11T22:02:27.099Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18426956149552374351tmp [Pipeline] { [Pipeline] echo [2023-01-11T22:02:27.115Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:27.398Z] ---> sigul-configuration.sh [2023-01-11T22:02:27.398Z] gpg: directory `/root/.gnupg' created [2023-01-11T22:02:27.398Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-11T22:02:27.398Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-11T22:02:27.398Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-11T22:02:27.398Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-11T22:02:27.398Z] gpg: CAST5 encrypted data [2023-01-11T22:02:27.398Z] gpg: encrypted with 1 passphrase [2023-01-11T22:02:27.398Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-11T22:02:27.683Z] + mkdir /home/jenkins [2023-01-11T22:02:27.683Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-11T22:02:27.967Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-11T22:02:27.976Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:28.261Z] ---> sigul-install.sh [2023-01-11T22:02:28.261Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-11T22:02:28.548Z] + git tag --list [2023-01-11T22:02:28.548Z] v1.0.0 [2023-01-11T22:02:28.548Z] v2.1.0 [2023-01-11T22:02:28.548Z] v2.1.1 [2023-01-11T22:02:28.548Z] v2.1.1-dev.1 [2023-01-11T22:02:28.548Z] v2.2.0 [2023-01-11T22:02:28.548Z] v2.2.1-dev.1 [2023-01-11T22:02:28.548Z] v2.2.1-dev.2 [2023-01-11T22:02:28.548Z] v2.2.1-dev.3 [2023-01-11T22:02:28.548Z] v2.2.1-dev.4 [2023-01-11T22:02:28.548Z] v2.3.0 [2023-01-11T22:02:28.548Z] v2.3.0-dev.10 [2023-01-11T22:02:28.548Z] v2.3.0-dev.11 [2023-01-11T22:02:28.548Z] v2.3.0-dev.12 [2023-01-11T22:02:28.548Z] v2.3.0-dev.13 [2023-01-11T22:02:28.548Z] v2.3.0-dev.14 [2023-01-11T22:02:28.548Z] v2.3.0-dev.15 [2023-01-11T22:02:28.548Z] v2.3.0-dev.16 [2023-01-11T22:02:28.548Z] v2.3.0-dev.17 [2023-01-11T22:02:28.548Z] v2.3.0-dev.18 [2023-01-11T22:02:28.548Z] v2.3.0-dev.19 [2023-01-11T22:02:28.548Z] v2.3.0-dev.20 [2023-01-11T22:02:28.548Z] v2.3.0-dev.4 [2023-01-11T22:02:28.548Z] v2.3.0-dev.5 [2023-01-11T22:02:28.548Z] v2.3.0-dev.6 [2023-01-11T22:02:28.548Z] v2.3.0-dev.7 [2023-01-11T22:02:28.548Z] v2.3.0-dev.8 [2023-01-11T22:02:28.548Z] v2.3.0-dev.9 [2023-01-11T22:02:28.548Z] v3.0.0-dev.1 [2023-01-11T22:02:28.548Z] v3.0.0-dev.2 [2023-01-11T22:02:28.548Z] v3.0.0-dev.3 [2023-01-11T22:02:28.548Z] v3.0.0-dev.4 [2023-01-11T22:02:28.548Z] v3.0.0-dev.5 [Pipeline] sh [2023-01-11T22:02:28.834Z] + lftools sign git-tag v3.0.0-dev.5 [2023-01-11T22:02:29.402Z] Signing Git tag with Sigul... [2023-01-11T22:02:29.402Z] Signing v3.0.0-dev.5 [Pipeline] echo [2023-01-11T22:02:29.670Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:29.956Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-11T22:02:29.963Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-11T22:02:29.981Z] $ docker stop --time=1 6d7b7e5031eb100097815e407042952198d473a3c86fef70433e5d9af056e749 [2023-01-11T22:02:31.304Z] $ docker rm -f --volumes 6d7b7e5031eb100097815e407042952198d473a3c86fef70433e5d9af056e749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-11T22:02:31.721Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:31.722Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:32.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:32.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:32.106Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:02:32.142Z] $ 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 [2023-01-11T22:02:32.504Z] $ docker top 0b3ace19bf94a5fef647f4c4c4f9eb9b3850e8276f56d2fe3bd0e67f8c955e62 -eo pid,comm [2023-01-11T22:02:32.549Z] 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). [2023-01-11T22:02:32.549Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:32.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:32.584Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:32.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:32.706Z] $ docker exec 0b3ace19bf94a5fef647f4c4c4f9eb9b3850e8276f56d2fe3bd0e67f8c955e62 ssh-agent [2023-01-11T22:02:32.809Z] SSH_AUTH_SOCK=/tmp/ssh-MiWInTt6rhvO/agent.31 [2023-01-11T22:02:32.809Z] SSH_AGENT_PID=37 [2023-01-11T22:02:32.814Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:32.913Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16791930888632103926.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16791930888632103926.key) [2023-01-11T22:02:32.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:33.210Z] + git semver bump pre [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [bump_version] DEBUG bumped version:3.0.0-dev.6 [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,398 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,400 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,406 [execute] INFO git cat-file --batch [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:33.470Z] 2023-01-11 22:02:33,413 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:33.470Z] 3.0.0-dev.6 [Pipeline] } [2023-01-11T22:02:33.484Z] $ docker exec --env ******** --env ******** 0b3ace19bf94a5fef647f4c4c4f9eb9b3850e8276f56d2fe3bd0e67f8c955e62 ssh-agent -k [2023-01-11T22:02:33.578Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:33.578Z] unset SSH_AGENT_PID; [2023-01-11T22:02:33.579Z] echo Agent pid 37 killed; [2023-01-11T22:02:33.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:33.885Z] + git semver [Pipeline] } [2023-01-11T22:02:34.160Z] $ docker stop --time=1 0b3ace19bf94a5fef647f4c4c4f9eb9b3850e8276f56d2fe3bd0e67f8c955e62 [2023-01-11T22:02:35.420Z] $ docker rm -f --volumes 0b3ace19bf94a5fef647f4c4c4f9eb9b3850e8276f56d2fe3bd0e67f8c955e62 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T22:02:35.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:35.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:36.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:36.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:36.115Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:02:36.149Z] $ 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 [2023-01-11T22:02:36.497Z] $ docker top 1b70a757d2198c4f25bb9a5c97520dba9d9a9b4c2b5e7d99ae974cf7f1db1faf -eo pid,comm [2023-01-11T22:02:36.544Z] 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). [2023-01-11T22:02:36.544Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:36.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:36.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:36.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:36.685Z] $ docker exec 1b70a757d2198c4f25bb9a5c97520dba9d9a9b4c2b5e7d99ae974cf7f1db1faf ssh-agent [2023-01-11T22:02:36.791Z] SSH_AUTH_SOCK=/tmp/ssh-a1QwSaI0L6Yk/agent.33 [2023-01-11T22:02:36.791Z] SSH_AGENT_PID=39 [2023-01-11T22:02:36.796Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:36.907Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13041788702453354631.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13041788702453354631.key) [2023-01-11T22:02:36.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:37.200Z] + git semver push [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,376 [run_push] DEBUG push [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,377 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,381 [execute] INFO git rev-list d40a27fddf18e65af69d957fdeb910c47d88b02a -- [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,382 [execute] DEBUG Popen(['git', 'rev-list', 'd40a27fddf18e65af69d957fdeb910c47d88b02a', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,388 [execute] INFO git fetch -v origin [2023-01-11T22:02:37.459Z] 2023-01-11 22:02:37,388 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-11T22:02:38.027Z] 2023-01-11 22:02:37,970 [run_push] DEBUG no remote changes detected [2023-01-11T22:02:38.027Z] 2023-01-11 22:02:37,970 [execute] INFO git push origin semver [2023-01-11T22:02:38.027Z] 2023-01-11 22:02:37,970 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:38.960Z] 2023-01-11 22:02:38,755 [run_push] DEBUG push all version tags [2023-01-11T22:02:38.960Z] 2023-01-11 22:02:38,755 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-11T22:02:38.960Z] 2023-01-11 22:02:38,756 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:39.896Z] 2023-01-11 22:02:39,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-11T22:02:39.896Z] 3.0.0-dev.6 [Pipeline] } [2023-01-11T22:02:39.907Z] $ docker exec --env ******** --env ******** 1b70a757d2198c4f25bb9a5c97520dba9d9a9b4c2b5e7d99ae974cf7f1db1faf ssh-agent -k [2023-01-11T22:02:39.995Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:39.995Z] unset SSH_AGENT_PID; [2023-01-11T22:02:39.995Z] echo Agent pid 39 killed; [2023-01-11T22:02:40.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:40.302Z] + git semver [Pipeline] } [2023-01-11T22:02:40.576Z] $ docker stop --time=1 1b70a757d2198c4f25bb9a5c97520dba9d9a9b4c2b5e7d99ae974cf7f1db1faf [2023-01-11T22:02:41.877Z] $ docker rm -f --volumes 1b70a757d2198c4f25bb9a5c97520dba9d9a9b4c2b5e7d99ae974cf7f1db1faf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T22:02:42.403Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-01-11T22:02:42.403Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-11T22:02:42.403Z] total 16 [2023-01-11T22:02:42.403Z] drwxr-xr-x 3 root root 4096 Jan 11 21:52 . [2023-01-11T22:02:42.403Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:02 .. [2023-01-11T22:02:42.403Z] drwxr-xr-x 2 root root 4096 Jan 11 21:52 cost [2023-01-11T22:02:42.403Z] -rw-r--r-- 1 root root 82 Jan 11 21:52 cost.csv [2023-01-11T22:02:42.403Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-11T22:02:42.403Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-11T22:02:42.403Z] total 16 [2023-01-11T22:02:42.403Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:52 . [2023-01-11T22:02:42.403Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:02 .. [2023-01-11T22:02:42.403Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 21:52 cost [2023-01-11T22:02:42.403Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 11 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:42.694Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:43.551Z] ---> package-listing.sh [2023-01-11T22:02:43.551Z] ++ facter osfamily [2023-01-11T22:02:43.551Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T22:02:43.810Z] + OS_FAMILY=debian [2023-01-11T22:02:43.810Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-01-11T22:02:43.810Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T22:02:43.810Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T22:02:43.810Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T22:02:43.810Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T22:02:43.810Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-11T22:02:43.810Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T22:02:43.810Z] + case "${OS_FAMILY}" in [2023-01-11T22:02:43.810Z] + dpkg -l [2023-01-11T22:02:43.810Z] + grep '^ii' [2023-01-11T22:02:43.810Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T22:02:43.810Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T22:02:43.810Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T22:02:43.810Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-11T22:02:43.810Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-01-11T22:02:43.810Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-01-11T22:02:43.819Z] 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 [2023-01-11T22:02:44.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:44.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T22:02:44.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:44.730Z] prd-ubuntu20.04-docker-8c-8g-1957 does not seem to be running inside a container [2023-01-11T22:02:44.764Z] $ 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 [2023-01-11T22:02:44.973Z] $ docker top c60322386992125f5cab5d4c9e8c309ef1167a2803c79c8356843d00e55a5b47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T22:02:45.313Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T22:02:45.600Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T22:02:45.886Z] + ls /var/log/sa-host [2023-01-11T22:02:45.886Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:02:45.947Z] provisioning config files... [2023-01-11T22:02:45.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10124625843051572368tmp [Pipeline] { [Pipeline] echo [2023-01-11T22:02:45.972Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:46.266Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T22:02:46.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:46.722Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T22:02:46.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:47.071Z] ---> sudo-logs.sh [2023-01-11T22:02:47.071Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T22:02:47.102Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:47.386Z] ---> job-cost.sh [2023-01-11T22:02:47.386Z] lf-activate-venv: SKIPPING [2023-01-11T22:02:47.386Z] DEBUG: total: 0.2199999988079071 [2023-01-11T22:02:47.386Z] INFO: Retrieving Stack Cost... [2023-01-11T22:02:47.645Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T22:02:48.214Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T22:02:48.228Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:48.509Z] ---> logs-deploy.sh [2023-01-11T22:02:48.509Z] lf-activate-venv: SKIPPING [2023-01-11T22:02:48.509Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/57 [2023-01-11T22:02:48.509Z] INFO: archiving workspace using pattern(s): [2023-01-11T22:02:49.444Z] Archives upload complete. [2023-01-11T22:02:49.444Z] INFO: archiving logs to Nexus