Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccc7c8b3ba967118ae25d51feb931af0a88af0c7 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-ssh6290287963058160943.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1468132107612761187.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4864715975158950877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12464144171736260892.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-ssh6645300627576173194.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.20 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-ubuntu20.04-docker-8c-8g-8761’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8763 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 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 (main) Commit message: "Merge pull request #153 from jim-wang-intel/fix-dir-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 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 # timeout=10 > git rev-list --no-walk 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T18:46:59.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T18:46:59.114Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T18:46:59.128Z] ========================================================= [2023-04-17T18:46:59.128Z] EdgeX Global Pipelines Version Info [2023-04-17T18:46:59.128Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:46:59.836Z] ------------------- [2023-04-17T18:46:59.837Z] stable info: [2023-04-17T18:46:59.837Z] ------------------- [2023-04-17T18:46:59.837Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T18:46:59.837Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:46:59.837Z] Message: update stable to v1.0.248 [2023-04-17T18:47:00.408Z] ------------------- [2023-04-17T18:47:00.408Z] experimental info: [2023-04-17T18:47:00.408Z] ------------------- [2023-04-17T18:47:00.408Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T18:47:00.408Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:47:00.408Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T18:47:00.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-17T18:47:00.593Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-17T18:47:00.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T18:47:00.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T18:47:00.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T18:47:00.640Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T18:47:00.654Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T18:47:00.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T18:47:00.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T18:47:00.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T18:47:00.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T18:47:00.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-17T18:47:00.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T18:47:00.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T18:47:00.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:47:00.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:47:00.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:47:00.821Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:47:00.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T18:47:00.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T18:47:00.854Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T18:47:00.864Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T18:47:00.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T18:47:00.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T18:47:00.900Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T18:47:00.911Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T18:47:00.924Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T18:47:00.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-17T18:47:00.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-17T18:47:00.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-17T18:47:00.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] echo [2023-04-17T18:47:00.986Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccc7c8b [Pipeline] echo [2023-04-17T18:47:00.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:47:01.040Z] provisioning config files... [2023-04-17T18:47:01.053Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17561134354796241280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:47:01.351Z] ---> docker-login.sh [2023-04-17T18:47:01.351Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:47:01.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:01.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:01.611Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:01.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:01.611Z] [2023-04-17T18:47:01.611Z] Login Succeeded [2023-04-17T18:47:01.611Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:47:01.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:01.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:01.611Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:01.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:01.611Z] [2023-04-17T18:47:01.611Z] Login Succeeded [2023-04-17T18:47:01.870Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:47:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:01.870Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:01.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:01.870Z] [2023-04-17T18:47:01.870Z] Login Succeeded [2023-04-17T18:47:01.870Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:47:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:01.870Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:01.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:01.870Z] [2023-04-17T18:47:01.870Z] Login Succeeded [2023-04-17T18:47:01.870Z] docker.io [2023-04-17T18:47:02.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:02.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:02.131Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:02.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:02.131Z] [2023-04-17T18:47:02.131Z] Login Succeeded [2023-04-17T18:47:02.131Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:47:02.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T18:47:02.482Z] + git rev-list -1 --merges ccc7c8b3ba967118ae25d51feb931af0a88af0c7~1..ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] echo [2023-04-17T18:47:02.526Z] -----------> git rev-list -1 --merges ccc7c8b3ba967118ae25d51feb931af0a88af0c7~1..ccc7c8b3ba967118ae25d51feb931af0a88af0c7 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:47:02.526Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [false] [Pipeline] sh [2023-04-17T18:47:02.810Z] + git log --format=format:%s -1 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] echo [2023-04-17T18:47:02.823Z] ========================================================= [2023-04-17T18:47:02.823Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T18:47:02.823Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:47:03.138Z] + git log --format=format:%s -1 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] echo [2023-04-17T18:47:03.148Z] [semverPrep] GIT_COMMIT: ccc7c8b3ba967118ae25d51feb931af0a88af0c7, Commit Message: Merge pull request #153 from jim-wang-intel/fix-dir-config [Pipeline] echo [2023-04-17T18:47:03.158Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T18:47:03.525Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:47:03.525Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T18:47:03.525Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T18:47:03.525Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T18:47:03.525Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T18:47:03.525Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T18:47:03.525Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:47:03.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:47:03.940Z] [2023-04-17T18:47:03.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:47:04.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:47:04.237Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T18:47:04.237Z] b85a868b505f: Pulling fs layer [2023-04-17T18:47:04.237Z] e2be974225ed: Pulling fs layer [2023-04-17T18:47:04.237Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T18:47:04.237Z] 988bab9f4d93: Pulling fs layer [2023-04-17T18:47:04.237Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T18:47:04.237Z] eaf3925da568: Pulling fs layer [2023-04-17T18:47:04.237Z] bab4dde63d76: Pulling fs layer [2023-04-17T18:47:04.237Z] bde34c3a00c8: Pulling fs layer [2023-04-17T18:47:04.237Z] b352a97aabf1: Pulling fs layer [2023-04-17T18:47:04.237Z] 4872d77fe225: Pulling fs layer [2023-04-17T18:47:04.237Z] 5851b861e8e6: Pulling fs layer [2023-04-17T18:47:04.237Z] 4872d77fe225: Waiting [2023-04-17T18:47:04.237Z] 988bab9f4d93: Waiting [2023-04-17T18:47:04.237Z] bab4dde63d76: Waiting [2023-04-17T18:47:04.237Z] eaf3925da568: Waiting [2023-04-17T18:47:04.237Z] bde34c3a00c8: Waiting [2023-04-17T18:47:04.237Z] b352a97aabf1: Waiting [2023-04-17T18:47:04.237Z] 1469e6f7b9e6: Waiting [2023-04-17T18:47:04.237Z] e2be974225ed: Verifying Checksum [2023-04-17T18:47:04.237Z] e2be974225ed: Download complete [2023-04-17T18:47:04.237Z] 988bab9f4d93: Verifying Checksum [2023-04-17T18:47:04.237Z] 988bab9f4d93: Download complete [2023-04-17T18:47:04.237Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T18:47:04.237Z] 339a4e72a1f5: Download complete [2023-04-17T18:47:04.237Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T18:47:04.237Z] 1469e6f7b9e6: Download complete [2023-04-17T18:47:04.237Z] eaf3925da568: Verifying Checksum [2023-04-17T18:47:04.237Z] eaf3925da568: Download complete [2023-04-17T18:47:04.495Z] bde34c3a00c8: Download complete [2023-04-17T18:47:04.495Z] b352a97aabf1: Download complete [2023-04-17T18:47:04.495Z] 4872d77fe225: Verifying Checksum [2023-04-17T18:47:04.495Z] 4872d77fe225: Download complete [2023-04-17T18:47:04.495Z] 5851b861e8e6: Verifying Checksum [2023-04-17T18:47:04.495Z] 5851b861e8e6: Download complete [2023-04-17T18:47:04.495Z] b85a868b505f: Verifying Checksum [2023-04-17T18:47:04.495Z] b85a868b505f: Download complete [2023-04-17T18:47:04.753Z] bab4dde63d76: Verifying Checksum [2023-04-17T18:47:04.753Z] bab4dde63d76: Download complete [2023-04-17T18:47:05.688Z] b85a868b505f: Pull complete [2023-04-17T18:47:05.946Z] e2be974225ed: Pull complete [2023-04-17T18:47:06.206Z] 339a4e72a1f5: Pull complete [2023-04-17T18:47:06.465Z] 988bab9f4d93: Pull complete [2023-04-17T18:47:06.724Z] 1469e6f7b9e6: Pull complete [2023-04-17T18:47:06.724Z] eaf3925da568: Pull complete [2023-04-17T18:47:08.648Z] bab4dde63d76: Pull complete [2023-04-17T18:47:08.648Z] bde34c3a00c8: Pull complete [2023-04-17T18:47:08.648Z] b352a97aabf1: Pull complete [2023-04-17T18:47:08.648Z] 4872d77fe225: Pull complete [2023-04-17T18:47:08.648Z] 5851b861e8e6: Pull complete [2023-04-17T18:47:08.907Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T18:47:08.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:47:08.907Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:47:09.070Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:47:09.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:47:11.878Z] $ docker top a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 -eo pid,comm [2023-04-17T18:47:11.933Z] 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-04-17T18:47:11.933Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:47:11.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:47:11.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:47:12.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:47:12.096Z] $ docker exec a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 ssh-agent [2023-04-17T18:47:12.206Z] SSH_AUTH_SOCK=/tmp/ssh-8WExTv84ejtQ/agent.33 [2023-04-17T18:47:12.206Z] SSH_AGENT_PID=39 [2023-04-17T18:47:12.212Z] Running ssh-add (command line suppressed) [2023-04-17T18:47:12.318Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10542168610797533248.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10542168610797533248.key) [2023-04-17T18:47:12.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:47:12.618Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T18:47:12.636Z] $ docker exec --env ******** --env ******** a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 ssh-agent -k [2023-04-17T18:47:12.737Z] unset SSH_AUTH_SOCK; [2023-04-17T18:47:12.737Z] unset SSH_AGENT_PID; [2023-04-17T18:47:12.738Z] echo Agent pid 39 killed; [2023-04-17T18:47:12.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T18:47:12.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:47:12.768Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:47:12.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:47:12.884Z] $ docker exec a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 ssh-agent [2023-04-17T18:47:13.004Z] SSH_AUTH_SOCK=/tmp/ssh-MAwW30x3YTHB/agent.71 [2023-04-17T18:47:13.004Z] SSH_AGENT_PID=77 [2023-04-17T18:47:13.009Z] Running ssh-add (command line suppressed) [2023-04-17T18:47:13.121Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9116039497062422979.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9116039497062422979.key) [2023-04-17T18:47:13.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:47:13.420Z] + git semver init [2023-04-17T18:47:13.681Z] 2023-04-17 18:47:13,583 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T18:47:13.681Z] 2023-04-17 18:47:13,584 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-17T18:47:13.681Z] 2023-04-17 18:47:13,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-17T18:47:13.681Z] 2023-04-17 18:47:13,585 [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-04-17T18:47:14.624Z] 2023-04-17 18:47:14,556 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-04-17T18:47:14.624Z] 2023-04-17 18:47:14,556 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-04-17T18:47:14.624Z] 2023-04-17 18:47:14,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:47:14.624Z] 2023-04-17 18:47:14,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:47:14.624Z] 3.0.0-dev.18 [Pipeline] } [2023-04-17T18:47:14.634Z] $ docker exec --env ******** --env ******** a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 ssh-agent -k [2023-04-17T18:47:14.725Z] unset SSH_AUTH_SOCK; [2023-04-17T18:47:14.726Z] unset SSH_AGENT_PID; [2023-04-17T18:47:14.726Z] echo Agent pid 77 killed; [2023-04-17T18:47:14.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:47:15.034Z] + git semver [Pipeline] } [2023-04-17T18:47:15.307Z] $ docker stop --time=1 a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 [2023-04-17T18:47:16.621Z] $ docker rm -f --volumes a082a144e0297d6bf1f427c4783f64d7bd74f7706960b27f8e85bbff57a602e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:47:16.957Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T18:47:17.159Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T18:47:17.161Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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-04-17T18:47:17.269Z] provisioning config files... [2023-04-17T18:47:17.279Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18139074257292111608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:47:17.573Z] ---> docker-login.sh [2023-04-17T18:47:17.573Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:47:17.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:17.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:17.573Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:17.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:17.573Z] [2023-04-17T18:47:17.573Z] Login Succeeded [2023-04-17T18:47:17.573Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:47:17.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:17.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:17.573Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:17.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:17.573Z] [2023-04-17T18:47:17.573Z] Login Succeeded [2023-04-17T18:47:17.573Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:47:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:17.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:17.833Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:17.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:17.833Z] [2023-04-17T18:47:17.833Z] Login Succeeded [2023-04-17T18:47:17.833Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:47:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:17.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:17.833Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:17.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:17.833Z] [2023-04-17T18:47:17.833Z] Login Succeeded [2023-04-17T18:47:17.833Z] docker.io [2023-04-17T18:47:18.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:47:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:47:18.092Z] Configure a credential helper to remove this warning. See [2023-04-17T18:47:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:47:18.092Z] [2023-04-17T18:47:18.092Z] Login Succeeded [2023-04-17T18:47:18.092Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:47:18.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:47:18.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:47:18.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:47:18.169Z] ========================================================= [2023-04-17T18:47:18.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T18:47:18.169Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:47:18.477Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:47:18.477Z] Sending build context to Docker daemon 16.05MB [2023-04-17T18:47:18.477Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:47:18.477Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:47:18.477Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T18:47:18.477Z] 63b65145d645: Pulling fs layer [2023-04-17T18:47:18.477Z] a2d21d5440eb: Pulling fs layer [2023-04-17T18:47:18.477Z] 935e6c44a52c: Pulling fs layer [2023-04-17T18:47:18.477Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T18:47:18.477Z] 30dea6a524f1: Pulling fs layer [2023-04-17T18:47:18.477Z] a2aff8979fd8: Pulling fs layer [2023-04-17T18:47:18.477Z] 6808be2612f2: Pulling fs layer [2023-04-17T18:47:18.477Z] f25807f1079a: Pulling fs layer [2023-04-17T18:47:18.477Z] 94cc34f8dd06: Waiting [2023-04-17T18:47:18.477Z] 30dea6a524f1: Waiting [2023-04-17T18:47:18.477Z] a2aff8979fd8: Waiting [2023-04-17T18:47:18.477Z] 6808be2612f2: Waiting [2023-04-17T18:47:18.477Z] f25807f1079a: Waiting [2023-04-17T18:47:18.477Z] a2d21d5440eb: Download complete [2023-04-17T18:47:18.737Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T18:47:18.737Z] 94cc34f8dd06: Download complete [2023-04-17T18:47:18.737Z] 30dea6a524f1: Download complete [2023-04-17T18:47:18.737Z] 63b65145d645: Download complete [2023-04-17T18:47:18.737Z] a2aff8979fd8: Verifying Checksum [2023-04-17T18:47:18.737Z] a2aff8979fd8: Download complete [2023-04-17T18:47:18.737Z] 63b65145d645: Pull complete [2023-04-17T18:47:18.996Z] a2d21d5440eb: Pull complete [2023-04-17T18:47:18.996Z] f25807f1079a: Verifying Checksum [2023-04-17T18:47:18.996Z] f25807f1079a: Download complete [2023-04-17T18:47:19.255Z] 935e6c44a52c: Verifying Checksum [2023-04-17T18:47:19.255Z] 935e6c44a52c: Download complete [2023-04-17T18:47:19.255Z] 6808be2612f2: Verifying Checksum [2023-04-17T18:47:19.255Z] 6808be2612f2: Download complete [2023-04-17T18:47:22.533Z] 935e6c44a52c: Pull complete [2023-04-17T18:47:22.533Z] 94cc34f8dd06: Pull complete [2023-04-17T18:47:22.533Z] 30dea6a524f1: Pull complete [2023-04-17T18:47:22.533Z] a2aff8979fd8: Pull complete [2023-04-17T18:47:25.068Z] 6808be2612f2: Pull complete [2023-04-17T18:47:25.633Z] f25807f1079a: Pull complete [2023-04-17T18:47:25.633Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T18:47:25.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T18:47:25.633Z] ---> 3b553350e43f [2023-04-17T18:47:25.633Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:47:29.839Z] ---> Running in e581080b1d2d [2023-04-17T18:47:29.839Z] Removing intermediate container e581080b1d2d [2023-04-17T18:47:29.839Z] ---> a765a7d596ae [2023-04-17T18:47:29.839Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:47:29.839Z] ---> Running in a251fa69cfc5 [2023-04-17T18:47:29.839Z] Removing intermediate container a251fa69cfc5 [2023-04-17T18:47:29.839Z] ---> 873e2efdb37c [2023-04-17T18:47:29.839Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-17T18:47:29.839Z] ---> Running in 67f6c126e5f5 [2023-04-17T18:47:29.839Z] Removing intermediate container 67f6c126e5f5 [2023-04-17T18:47:29.839Z] ---> f05f5836aa17 [2023-04-17T18:47:29.839Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:47:29.839Z] ---> Running in 1d37ac53df47 [2023-04-17T18:47:29.839Z] Removing intermediate container 1d37ac53df47 [2023-04-17T18:47:29.839Z] ---> 67eb7f49329c [2023-04-17T18:47:29.839Z] Step 7/12 : WORKDIR /device-gpio [2023-04-17T18:47:29.839Z] ---> Running in 9d1f95b76279 [2023-04-17T18:47:29.839Z] Removing intermediate container 9d1f95b76279 [2023-04-17T18:47:29.839Z] ---> d906716a07ab [2023-04-17T18:47:29.839Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:47:29.839Z] ---> Running in 80d2b56365f3 [2023-04-17T18:47:29.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:47:30.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:47:30.358Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:47:30.358Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:47:30.358Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:47:30.358Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:47:30.358Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:47:30.358Z] OK: 269 MiB in 57 packages [2023-04-17T18:47:30.925Z] Removing intermediate container 80d2b56365f3 [2023-04-17T18:47:30.925Z] ---> 3cc769d09e53 [2023-04-17T18:47:30.925Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:47:30.925Z] ---> 1dc667287576 [2023-04-17T18:47:30.925Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:47:30.925Z] ---> Running in c27e2867794f [2023-04-17T18:47:32.235Z] Still waiting to schedule task [2023-04-17T18:47:32.235Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-17T18:48:03.035Z] Removing intermediate container c27e2867794f [2023-04-17T18:48:03.035Z] ---> 14226b1b802d [2023-04-17T18:48:03.036Z] Step 11/12 : COPY . . [2023-04-17T18:48:03.036Z] ---> af657d4d9f79 [2023-04-17T18:48:03.036Z] Step 12/12 : RUN ${MAKE} [2023-04-17T18:48:03.036Z] ---> Running in 1cc00e175931 [2023-04-17T18:48:03.036Z] noop [2023-04-17T18:48:03.036Z] Removing intermediate container 1cc00e175931 [2023-04-17T18:48:03.036Z] ---> 8109b40569d0 [2023-04-17T18:48:03.036Z] Successfully built 8109b40569d0 [2023-04-17T18:48:03.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:48:03.365Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:48:03.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:48:03.439Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:48:03.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:48:03.830Z] $ docker top 3d7bd1415429e56850bc6742dcb72f5b1c1315bec17c62cbf9fedaf0eccebb34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:48:04.166Z] + go version [2023-04-17T18:48:04.166Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T18:48:04.181Z] $ docker stop --time=1 3d7bd1415429e56850bc6742dcb72f5b1c1315bec17c62cbf9fedaf0eccebb34 [2023-04-17T18:48:05.471Z] $ docker rm -f --volumes 3d7bd1415429e56850bc6742dcb72f5b1c1315bec17c62cbf9fedaf0eccebb34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:48:05.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:48:05.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:48:05.933Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:48:05.966Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:48:06.300Z] $ docker top 1cb46d6beb819e010bb3ccb22fe74bafe361d4ed515889c085a24b9679fad8a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:48:06.639Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:48:06.930Z] + make test [2023-04-17T18:48:06.930Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:48:12.198Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-17T18:48:22.161Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-17T18:48:22.161Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-17T18:48:27.415Z] go vet ./... [2023-04-17T18:48:30.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:48:30.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:48:30.702Z] ./bin/test-attribution-txt.sh [2023-04-17T18:48:30.702Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:48:30.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:48:30.988Z] $ docker stop --time=1 1cb46d6beb819e010bb3ccb22fe74bafe361d4ed515889c085a24b9679fad8a1 [2023-04-17T18:48:33.805Z] $ docker rm -f --volumes 1cb46d6beb819e010bb3ccb22fe74bafe361d4ed515889c085a24b9679fad8a1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:48:34.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:48:34.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T18:48:34.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:48:35.076Z] + ls -al . [2023-04-17T18:48:35.077Z] total 156 [2023-04-17T18:48:35.077Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:48 . [2023-04-17T18:48:35.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:46 .. [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 17 18:46 .dockerignore [2023-04-17T18:48:35.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:47 .git [2023-04-17T18:48:35.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:46 .github [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 17 18:46 .gitignore [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:46 .golangci.yml [2023-04-17T18:48:35.077Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:47 .semver [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 9573 Apr 17 18:46 Attribution.txt [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 17 18:46 CHANGELOG.md [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 17 18:46 Dockerfile [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:46 GOVERNANCE.md [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 17 18:46 Jenkinsfile [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:46 LICENSE [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 17 18:46 Makefile [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 18:46 OWNERS.md [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 17 18:46 README.md [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 18:47 VERSION [2023-04-17T18:48:35.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:46 bin [2023-04-17T18:48:35.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:46 cmd [2023-04-17T18:48:35.077Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 17 18:48 coverage.out [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 17 18:46 go.mod [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 17 18:46 go.sum [2023-04-17T18:48:35.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:46 internal [2023-04-17T18:48:35.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:46 snap [2023-04-17T18:48:35.077Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 17 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:48:35.375Z] + 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=ccc7c8b3ba967118ae25d51feb931af0a88af0c7 --label arch=amd64 --label version=3.0.0-dev.18 . [2023-04-17T18:48:35.375Z] Sending build context to Docker daemon 16.05MB [2023-04-17T18:48:35.375Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:48:35.375Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T18:48:35.375Z] ---> 8109b40569d0 [2023-04-17T18:48:35.375Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:48:35.635Z] ---> Running in cbe0b610d8d8 [2023-04-17T18:48:35.635Z] Removing intermediate container cbe0b610d8d8 [2023-04-17T18:48:35.635Z] ---> 403993f75152 [2023-04-17T18:48:35.635Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:48:35.635Z] ---> Running in 5e3e8c560962 [2023-04-17T18:48:35.635Z] Removing intermediate container 5e3e8c560962 [2023-04-17T18:48:35.635Z] ---> 1549153cbf9d [2023-04-17T18:48:35.635Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-17T18:48:35.895Z] ---> Running in 65c8c25078e7 [2023-04-17T18:48:35.895Z] Removing intermediate container 65c8c25078e7 [2023-04-17T18:48:35.895Z] ---> 8226aa3c47fc [2023-04-17T18:48:35.895Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:48:35.895Z] ---> Running in 4c47cbe8032c [2023-04-17T18:48:35.895Z] Removing intermediate container 4c47cbe8032c [2023-04-17T18:48:35.895Z] ---> 671ac07a6208 [2023-04-17T18:48:35.895Z] Step 7/25 : WORKDIR /device-gpio [2023-04-17T18:48:35.895Z] ---> Running in 3fbb4039d78d [2023-04-17T18:48:35.895Z] Removing intermediate container 3fbb4039d78d [2023-04-17T18:48:35.895Z] ---> 53bc87adba52 [2023-04-17T18:48:35.895Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:48:36.155Z] ---> Running in 5097ab5f3d5e [2023-04-17T18:48:36.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:48:36.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:48:36.672Z] OK: 269 MiB in 57 packages [2023-04-17T18:48:36.931Z] Removing intermediate container 5097ab5f3d5e [2023-04-17T18:48:36.931Z] ---> 71f6329a7c91 [2023-04-17T18:48:36.931Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T18:48:36.931Z] ---> aa66f1554319 [2023-04-17T18:48:36.931Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:48:36.931Z] ---> Running in 18895680ea14 [2023-04-17T18:48:37.867Z] Removing intermediate container 18895680ea14 [2023-04-17T18:48:37.867Z] ---> e7b87f3ba944 [2023-04-17T18:48:37.867Z] Step 11/25 : COPY . . [2023-04-17T18:48:38.125Z] ---> 10e48b24ed84 [2023-04-17T18:48:38.125Z] Step 12/25 : RUN ${MAKE} [2023-04-17T18:48:38.125Z] ---> Running in f18b24119d83 [2023-04-17T18:48:38.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-17T18:48:56.508Z] Removing intermediate container f18b24119d83 [2023-04-17T18:48:56.508Z] ---> 5d4d2db053c3 [2023-04-17T18:48:56.508Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T18:48:56.508Z] 3.17: Pulling from library/alpine [2023-04-17T18:48:56.508Z] f56be85fc22e: Pulling fs layer [2023-04-17T18:48:56.508Z] f56be85fc22e: Verifying Checksum [2023-04-17T18:48:56.508Z] f56be85fc22e: Download complete [2023-04-17T18:48:56.508Z] f56be85fc22e: Pull complete [2023-04-17T18:48:56.508Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:48:56.508Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:48:56.508Z] ---> 9ed4aefc74f6 [2023-04-17T18:48:56.508Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-17T18:48:56.766Z] ---> Running in 391b607991e0 [2023-04-17T18:48:56.766Z] Removing intermediate container 391b607991e0 [2023-04-17T18:48:56.766Z] ---> dc44b9cc91b1 [2023-04-17T18:48:56.766Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-17T18:48:56.766Z] ---> Running in a8486cf63968 [2023-04-17T18:48:57.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:48:57.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:48:57.362Z] OK: 7 MiB in 15 packages [2023-04-17T18:48:57.637Z] Removing intermediate container a8486cf63968 [2023-04-17T18:48:57.637Z] ---> 2023e4765875 [2023-04-17T18:48:57.637Z] Step 16/25 : WORKDIR / [2023-04-17T18:48:57.637Z] ---> Running in 0d95b0fd5624 [2023-04-17T18:48:57.910Z] Removing intermediate container 0d95b0fd5624 [2023-04-17T18:48:57.910Z] ---> d474efb95ddb [2023-04-17T18:48:57.910Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-17T18:48:57.910Z] ---> 6e7a337e0c65 [2023-04-17T18:48:57.910Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-17T18:48:57.910Z] ---> de6c3dc8fbac [2023-04-17T18:48:57.910Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-17T18:48:58.517Z] ---> 0c3b0a5910e6 [2023-04-17T18:48:58.517Z] Step 20/25 : EXPOSE 59910 [2023-04-17T18:48:58.517Z] ---> Running in 53affe699694 [2023-04-17T18:48:58.775Z] Removing intermediate container 53affe699694 [2023-04-17T18:48:58.776Z] ---> 40e5610217e0 [2023-04-17T18:48:58.776Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-17T18:48:58.776Z] ---> Running in eb269d200702 [2023-04-17T18:48:58.776Z] Removing intermediate container eb269d200702 [2023-04-17T18:48:58.776Z] ---> 7f207c1d850d [2023-04-17T18:48:58.776Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T18:48:58.776Z] ---> Running in c37b1fe13f39 [2023-04-17T18:48:58.776Z] Removing intermediate container c37b1fe13f39 [2023-04-17T18:48:58.776Z] ---> 13f6eef8f23c [2023-04-17T18:48:58.776Z] Step 23/25 : LABEL arch=amd64 [2023-04-17T18:48:58.776Z] ---> Running in 6f8acda86059 [2023-04-17T18:48:59.036Z] Removing intermediate container 6f8acda86059 [2023-04-17T18:48:59.036Z] ---> ed37e6e1b813 [2023-04-17T18:48:59.036Z] Step 24/25 : LABEL git_sha=ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:48:59.036Z] ---> Running in dbbbf24a478a [2023-04-17T18:48:59.036Z] Removing intermediate container dbbbf24a478a [2023-04-17T18:48:59.036Z] ---> 6e4a3d7d9df6 [2023-04-17T18:48:59.036Z] Step 25/25 : LABEL version=3.0.0-dev.18 [2023-04-17T18:48:59.036Z] ---> Running in 90e862fcbcec [2023-04-17T18:48:59.036Z] Removing intermediate container 90e862fcbcec [2023-04-17T18:48:59.036Z] ---> 381f45e7ad12 [2023-04-17T18:48:59.036Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:48:59.036Z] Successfully built 381f45e7ad12 [2023-04-17T18:48:59.036Z] 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-04-17T18:48:59.142Z] provisioning config files... [2023-04-17T18:48:59.151Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2031572778944558383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:48:59.444Z] ---> docker-login.sh [2023-04-17T18:48:59.444Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:48:59.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:48:59.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:48:59.444Z] Configure a credential helper to remove this warning. See [2023-04-17T18:48:59.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:48:59.444Z] [2023-04-17T18:48:59.444Z] Login Succeeded [2023-04-17T18:48:59.444Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:48:59.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:48:59.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:48:59.444Z] Configure a credential helper to remove this warning. See [2023-04-17T18:48:59.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:48:59.444Z] [2023-04-17T18:48:59.444Z] Login Succeeded [2023-04-17T18:48:59.444Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:48:59.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:48:59.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:48:59.703Z] Configure a credential helper to remove this warning. See [2023-04-17T18:48:59.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:48:59.703Z] [2023-04-17T18:48:59.703Z] Login Succeeded [2023-04-17T18:48:59.703Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:48:59.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:48:59.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:48:59.703Z] Configure a credential helper to remove this warning. See [2023-04-17T18:48:59.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:48:59.703Z] [2023-04-17T18:48:59.703Z] Login Succeeded [2023-04-17T18:48:59.703Z] docker.io [2023-04-17T18:48:59.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:48:59.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:48:59.962Z] Configure a credential helper to remove this warning. See [2023-04-17T18:48:59.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:48:59.962Z] [2023-04-17T18:48:59.962Z] Login Succeeded [2023-04-17T18:48:59.962Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:48:59.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T18:48:59.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:49:00.009Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-04-17T18:49:00.009Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:49:00.009Z] latest [2023-04-17T18:49:00.009Z] 3.0.0-dev.18 [2023-04-17T18:49:00.009Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:49:00.009Z] main [2023-04-17T18:49:00.009Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:00.312Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:00.621Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:49:00.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-17T18:49:00.621Z] 47c92e1032a9: Preparing [2023-04-17T18:49:00.621Z] c19f66befb26: Preparing [2023-04-17T18:49:00.621Z] f30ec13a4fb9: Preparing [2023-04-17T18:49:00.621Z] c065317f07ba: Preparing [2023-04-17T18:49:00.621Z] f1417ff83b31: Preparing [2023-04-17T18:49:00.621Z] f1417ff83b31: Layer already exists [2023-04-17T18:49:00.621Z] f30ec13a4fb9: Pushed [2023-04-17T18:49:00.621Z] c19f66befb26: Pushed [2023-04-17T18:49:00.621Z] c065317f07ba: Pushed [2023-04-17T18:49:03.178Z] 47c92e1032a9: Pushed [2023-04-17T18:49:03.178Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7: digest: sha256:f15b933fa9ddc64d8bd4980d2772fa77d4bddfdbf0ac2a143eb02f5ab1221249 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:03.488Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:03.807Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-17T18:49:03.807Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-17T18:49:03.807Z] 47c92e1032a9: Preparing [2023-04-17T18:49:03.807Z] c19f66befb26: Preparing [2023-04-17T18:49:03.807Z] f30ec13a4fb9: Preparing [2023-04-17T18:49:03.807Z] c065317f07ba: Preparing [2023-04-17T18:49:03.807Z] f1417ff83b31: Preparing [2023-04-17T18:49:03.807Z] c065317f07ba: Layer already exists [2023-04-17T18:49:03.807Z] f30ec13a4fb9: Layer already exists [2023-04-17T18:49:03.807Z] f1417ff83b31: Layer already exists [2023-04-17T18:49:03.807Z] c19f66befb26: Layer already exists [2023-04-17T18:49:03.807Z] 47c92e1032a9: Layer already exists [2023-04-17T18:49:03.807Z] latest: digest: sha256:f15b933fa9ddc64d8bd4980d2772fa77d4bddfdbf0ac2a143eb02f5ab1221249 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:04.112Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:04.416Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.18 [2023-04-17T18:49:04.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-17T18:49:04.416Z] 47c92e1032a9: Preparing [2023-04-17T18:49:04.416Z] c19f66befb26: Preparing [2023-04-17T18:49:04.416Z] f30ec13a4fb9: Preparing [2023-04-17T18:49:04.416Z] c065317f07ba: Preparing [2023-04-17T18:49:04.416Z] f1417ff83b31: Preparing [2023-04-17T18:49:04.416Z] c19f66befb26: Layer already exists [2023-04-17T18:49:04.416Z] 47c92e1032a9: Layer already exists [2023-04-17T18:49:04.416Z] c065317f07ba: Layer already exists [2023-04-17T18:49:04.416Z] f30ec13a4fb9: Layer already exists [2023-04-17T18:49:04.416Z] f1417ff83b31: Layer already exists [2023-04-17T18:49:04.416Z] 3.0.0-dev.18: digest: sha256:f15b933fa9ddc64d8bd4980d2772fa77d4bddfdbf0ac2a143eb02f5ab1221249 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:04.731Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:05.042Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:49:05.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-17T18:49:05.042Z] 47c92e1032a9: Preparing [2023-04-17T18:49:05.042Z] c19f66befb26: Preparing [2023-04-17T18:49:05.042Z] f30ec13a4fb9: Preparing [2023-04-17T18:49:05.042Z] c065317f07ba: Preparing [2023-04-17T18:49:05.042Z] f1417ff83b31: Preparing [2023-04-17T18:49:05.042Z] c19f66befb26: Layer already exists [2023-04-17T18:49:05.042Z] 47c92e1032a9: Layer already exists [2023-04-17T18:49:05.042Z] c065317f07ba: Layer already exists [2023-04-17T18:49:05.042Z] f1417ff83b31: Layer already exists [2023-04-17T18:49:05.042Z] f30ec13a4fb9: Layer already exists [2023-04-17T18:49:05.042Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18: digest: sha256:f15b933fa9ddc64d8bd4980d2772fa77d4bddfdbf0ac2a143eb02f5ab1221249 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:05.359Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:05.669Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-04-17T18:49:05.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-17T18:49:05.669Z] 47c92e1032a9: Preparing [2023-04-17T18:49:05.669Z] c19f66befb26: Preparing [2023-04-17T18:49:05.669Z] f30ec13a4fb9: Preparing [2023-04-17T18:49:05.669Z] c065317f07ba: Preparing [2023-04-17T18:49:05.669Z] f1417ff83b31: Preparing [2023-04-17T18:49:05.669Z] 47c92e1032a9: Layer already exists [2023-04-17T18:49:05.669Z] f1417ff83b31: Layer already exists [2023-04-17T18:49:05.669Z] c065317f07ba: Layer already exists [2023-04-17T18:49:05.669Z] c19f66befb26: Layer already exists [2023-04-17T18:49:05.669Z] f30ec13a4fb9: Layer already exists [2023-04-17T18:49:05.669Z] main: digest: sha256:f15b933fa9ddc64d8bd4980d2772fa77d4bddfdbf0ac2a143eb02f5ab1221249 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T18:49:05.706Z] ===================================================== [Pipeline] echo [2023-04-17T18:49:05.711Z] taggedImages: [2023-04-17T18:49:05.711Z] - nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:49:05.711Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-17T18:49:05.711Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.18 [2023-04-17T18:49:05.711Z] - nexus3.edgexfoundry.org:10004/device-gpio:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:49:05.711Z] - 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-04-17T18:49:06.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:49:06.059Z] [2023-04-17T18:49:06.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:06.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:49:06.351Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T18:49:06.351Z] 5eb5b503b376: Pulling fs layer [2023-04-17T18:49:06.351Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T18:49:06.351Z] ec43610c2a17: Pulling fs layer [2023-04-17T18:49:06.351Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T18:49:06.351Z] 33b1e0a273af: Pulling fs layer [2023-04-17T18:49:06.351Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T18:49:06.351Z] 2f39f015ded8: Pulling fs layer [2023-04-17T18:49:06.351Z] 33b1e0a273af: Waiting [2023-04-17T18:49:06.351Z] 3a2ae6a8a46f: Waiting [2023-04-17T18:49:06.351Z] 5d3b04190fa2: Waiting [2023-04-17T18:49:06.351Z] 2f39f015ded8: Waiting [2023-04-17T18:49:06.351Z] 5c69ac0246d0: Download complete [2023-04-17T18:49:06.351Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T18:49:06.351Z] 3a2ae6a8a46f: Download complete [2023-04-17T18:49:06.351Z] 33b1e0a273af: Verifying Checksum [2023-04-17T18:49:06.351Z] 33b1e0a273af: Download complete [2023-04-17T18:49:06.351Z] ec43610c2a17: Verifying Checksum [2023-04-17T18:49:06.351Z] ec43610c2a17: Download complete [2023-04-17T18:49:06.351Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T18:49:06.351Z] 5d3b04190fa2: Download complete [2023-04-17T18:49:06.609Z] 5eb5b503b376: Verifying Checksum [2023-04-17T18:49:06.609Z] 5eb5b503b376: Download complete [2023-04-17T18:49:07.180Z] 2f39f015ded8: Download complete [2023-04-17T18:49:07.744Z] 5eb5b503b376: Pull complete [2023-04-17T18:49:08.001Z] 5c69ac0246d0: Pull complete [2023-04-17T18:49:08.258Z] ec43610c2a17: Pull complete [2023-04-17T18:49:08.515Z] 3a2ae6a8a46f: Pull complete [2023-04-17T18:49:08.515Z] 33b1e0a273af: Pull complete [2023-04-17T18:49:08.773Z] 5d3b04190fa2: Pull complete [2023-04-17T18:49:10.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8764 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-04-17T18:49:10.572Z] Running in /w/workspace/device-gpio/71 [Pipeline] { [Pipeline] checkout [2023-04-17T18:49:10.609Z] The recommended git tool is: git [2023-04-17T18:49:12.962Z] 2f39f015ded8: Pull complete [2023-04-17T18:49:12.962Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T18:49:12.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:49:12.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:49:13.044Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:49:13.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:49:15.870Z] using credential edgex-jenkins-ssh [2023-04-17T18:49:15.888Z] Cloning the remote Git repository [2023-04-17T18:49:16.405Z] $ docker top d6ebb47105feb5ccf2a78718aaad8079508e7ce6fdf12a548e8174497c18caf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:49:16.820Z] ---> job-cost.sh [2023-04-17T18:49:16.820Z] lf-activate-venv: SKIPPING [2023-04-17T18:49:16.820Z] INFO: No Stack... [2023-04-17T18:49:15.929Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-17T18:49:16.029Z] > git init /w/workspace/device-gpio/71 # timeout=10 [2023-04-17T18:49:16.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-17T18:49:16.179Z] > git --version # timeout=10 [2023-04-17T18:49:16.198Z] > git --version # 'git version 2.25.1' [2023-04-17T18:49:16.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:49:16.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:49:17.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:49:17.338Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:49:17.626Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-04-17T18:49:17.626Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:49:17.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [2023-04-17T18:49:17.647Z] Resource [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] did not exist. Created. [2023-04-17T18:49:17.647Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:49:17.962Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T18:49:17.988Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:49:17.994Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:49:18.013Z] $ docker stop --time=1 d6ebb47105feb5ccf2a78718aaad8079508e7ce6fdf12a548e8174497c18caf5 [2023-04-17T18:49:17.906Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-17T18:49:17.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:49:18.811Z] Avoid second fetch [2023-04-17T18:49:18.811Z] Checking out Revision ccc7c8b3ba967118ae25d51feb931af0a88af0c7 (main) [2023-04-17T18:49:19.180Z] $ docker rm -f --volumes d6ebb47105feb5ccf2a78718aaad8079508e7ce6fdf12a548e8174497c18caf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:49:19.350Z] Commit message: "Merge pull request #153 from jim-wang-intel/fix-dir-config" [2023-04-17T18:49:18.823Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:49:18.893Z] > git checkout -f ccc7c8b3ba967118ae25d51feb931af0a88af0c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:49:20.258Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T18:49:20.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:49:20.258Z] Dload Upload Total Spent Left Speed [2023-04-17T18:49:20.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-04-17T18:49:20.883Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T18:49:21.206Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T18:49:21.206Z] + sudo tee /etc/docker/daemon.new [2023-04-17T18:49:21.206Z] { [2023-04-17T18:49:21.206Z] "registry-mirrors": [ [2023-04-17T18:49:21.206Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T18:49:21.206Z] ], [2023-04-17T18:49:21.206Z] "bip": "10.250.0.254/24", [2023-04-17T18:49:21.206Z] "hosts": [ [2023-04-17T18:49:21.206Z] "tcp://0.0.0.0:5555", [2023-04-17T18:49:21.206Z] "unix:///var/run/docker.sock" [2023-04-17T18:49:21.206Z] ], [2023-04-17T18:49:21.206Z] "mtu": 1458, [2023-04-17T18:49:21.206Z] "selinux-enabled": true, [2023-04-17T18:49:21.206Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T18:49:21.206Z] } [Pipeline] sh [2023-04-17T18:49:21.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T18:49:21.876Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:49:40.139Z] provisioning config files... [2023-04-17T18:49:40.162Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/71@tmp/config12844438338449490243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:49:40.516Z] ---> docker-login.sh [2023-04-17T18:49:40.516Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:49:40.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:49:41.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:49:41.053Z] Configure a credential helper to remove this warning. See [2023-04-17T18:49:41.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:49:41.053Z] [2023-04-17T18:49:41.053Z] Login Succeeded [2023-04-17T18:49:41.053Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:49:41.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:49:41.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:49:41.595Z] Configure a credential helper to remove this warning. See [2023-04-17T18:49:41.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:49:41.595Z] [2023-04-17T18:49:41.595Z] Login Succeeded [2023-04-17T18:49:41.595Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:49:41.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:49:41.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:49:41.866Z] Configure a credential helper to remove this warning. See [2023-04-17T18:49:41.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:49:41.866Z] [2023-04-17T18:49:41.866Z] Login Succeeded [2023-04-17T18:49:41.866Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:49:42.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:49:42.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:49:42.137Z] Configure a credential helper to remove this warning. See [2023-04-17T18:49:42.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:49:42.137Z] [2023-04-17T18:49:42.137Z] Login Succeeded [2023-04-17T18:49:42.137Z] docker.io [2023-04-17T18:49:42.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:49:42.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:49:42.675Z] Configure a credential helper to remove this warning. See [2023-04-17T18:49:42.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:49:42.675Z] [2023-04-17T18:49:42.675Z] Login Succeeded [2023-04-17T18:49:42.675Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:49:42.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:49:42.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:49:42.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:49:42.975Z] ========================================================= [2023-04-17T18:49:42.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T18:49:42.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:49:43.324Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:49:43.592Z] Sending build context to Docker daemon 8.103MB [2023-04-17T18:49:43.592Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:49:43.592Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:49:43.865Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T18:49:43.865Z] af6eaf76a39c: Pulling fs layer [2023-04-17T18:49:43.865Z] 55522c791124: Pulling fs layer [2023-04-17T18:49:43.865Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T18:49:43.865Z] 169dfbe0d373: Pulling fs layer [2023-04-17T18:49:43.865Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T18:49:43.865Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T18:49:43.865Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T18:49:43.865Z] 169dfbe0d373: Waiting [2023-04-17T18:49:43.865Z] e1ff8fa3b103: Waiting [2023-04-17T18:49:43.865Z] 52ebb69f0ebf: Waiting [2023-04-17T18:49:43.865Z] 5abe8eddf0d5: Waiting [2023-04-17T18:49:43.865Z] 55522c791124: Download complete [2023-04-17T18:49:43.865Z] 169dfbe0d373: Verifying Checksum [2023-04-17T18:49:43.865Z] 169dfbe0d373: Download complete [2023-04-17T18:49:43.865Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T18:49:43.865Z] e1ff8fa3b103: Download complete [2023-04-17T18:49:43.865Z] af6eaf76a39c: Verifying Checksum [2023-04-17T18:49:43.865Z] af6eaf76a39c: Download complete [2023-04-17T18:49:44.866Z] af6eaf76a39c: Pull complete [2023-04-17T18:49:45.146Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T18:49:45.146Z] 5abe8eddf0d5: Download complete [2023-04-17T18:49:45.429Z] 55522c791124: Pull complete [2023-04-17T18:49:46.397Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T18:49:46.397Z] 52ebb69f0ebf: Download complete [2023-04-17T18:49:46.397Z] ce5c4a1c91eb: Download complete [2023-04-17T18:49:56.492Z] ce5c4a1c91eb: Pull complete [2023-04-17T18:49:56.760Z] 169dfbe0d373: Pull complete [2023-04-17T18:49:57.028Z] e1ff8fa3b103: Pull complete [2023-04-17T18:50:03.676Z] 52ebb69f0ebf: Pull complete [2023-04-17T18:50:05.638Z] 5abe8eddf0d5: Pull complete [2023-04-17T18:50:05.638Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T18:50:05.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T18:50:05.638Z] ---> 6cb57ee374ae [2023-04-17T18:50:05.638Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:50:07.050Z] ---> Running in 60bc45f23a77 [2023-04-17T18:50:07.635Z] Removing intermediate container 60bc45f23a77 [2023-04-17T18:50:07.635Z] ---> 65241b1289fd [2023-04-17T18:50:07.635Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:50:07.635Z] ---> Running in dc8de3278299 [2023-04-17T18:50:07.903Z] Removing intermediate container dc8de3278299 [2023-04-17T18:50:07.903Z] ---> c8de93c44d56 [2023-04-17T18:50:07.903Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-17T18:50:07.903Z] ---> Running in 80607059f3ea [2023-04-17T18:50:08.172Z] Removing intermediate container 80607059f3ea [2023-04-17T18:50:08.172Z] ---> 4f853a3449bd [2023-04-17T18:50:08.172Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:50:08.443Z] ---> Running in 3c62192742d7 [2023-04-17T18:50:08.711Z] Removing intermediate container 3c62192742d7 [2023-04-17T18:50:08.711Z] ---> 8f6d7c0be726 [2023-04-17T18:50:08.711Z] Step 7/12 : WORKDIR /device-gpio [2023-04-17T18:50:08.711Z] ---> Running in 417afdfb4d64 [2023-04-17T18:50:08.978Z] Removing intermediate container 417afdfb4d64 [2023-04-17T18:50:08.978Z] ---> 33c53ae24d24 [2023-04-17T18:50:08.978Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:50:08.978Z] ---> Running in afe7d2bdd26c [2023-04-17T18:50:10.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:50:10.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:50:11.608Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:50:11.608Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:50:11.608Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:50:11.875Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:50:11.875Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:50:11.875Z] OK: 268 MiB in 57 packages [2023-04-17T18:50:12.844Z] Removing intermediate container afe7d2bdd26c [2023-04-17T18:50:12.844Z] ---> 81136d8d804c [2023-04-17T18:50:12.844Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:50:13.433Z] ---> e0ca1f0e7332 [2023-04-17T18:50:13.433Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:50:13.433Z] ---> Running in d05db68c3f64 [2023-04-17T18:51:50.208Z] Removing intermediate container d05db68c3f64 [2023-04-17T18:51:50.208Z] ---> 3e72bb4524ed [2023-04-17T18:51:50.208Z] Step 11/12 : COPY . . [2023-04-17T18:51:50.208Z] ---> ce0200510762 [2023-04-17T18:51:50.208Z] Step 12/12 : RUN ${MAKE} [2023-04-17T18:51:50.208Z] ---> Running in c0ef71bb0c68 [2023-04-17T18:51:50.208Z] noop [2023-04-17T18:51:50.208Z] Removing intermediate container c0ef71bb0c68 [2023-04-17T18:51:50.208Z] ---> 8c88cd75b4ce [2023-04-17T18:51:50.208Z] Successfully built 8c88cd75b4ce [2023-04-17T18:51:50.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:51:50.568Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:51:50.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:51:50.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-8764 does not seem to be running inside a container [2023-04-17T18:51:50.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/71 -v /w/workspace/device-gpio/71:/w/workspace/device-gpio/71:rw,z -v /w/workspace/device-gpio/71@tmp:/w/workspace/device-gpio/71@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-04-17T18:51:52.155Z] $ docker top aceb18065940899490bab4d7240495abdc7eea487d4e3665062280a6584739ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:51:52.989Z] + go version [2023-04-17T18:51:52.989Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T18:51:53.018Z] $ docker stop --time=1 aceb18065940899490bab4d7240495abdc7eea487d4e3665062280a6584739ef [2023-04-17T18:51:54.663Z] $ docker rm -f --volumes aceb18065940899490bab4d7240495abdc7eea487d4e3665062280a6584739ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:51:55.212Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:51:55.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:51:55.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-8764 does not seem to be running inside a container [2023-04-17T18:51:55.477Z] $ 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/71 -v /w/workspace/device-gpio/71:/w/workspace/device-gpio/71:rw,z -v /w/workspace/device-gpio/71@tmp:/w/workspace/device-gpio/71@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-04-17T18:51:56.629Z] $ docker top f471164dfe5651318bd1716f2fc55ab2e94831cbe5eacfa99167775452d96513 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:51:57.452Z] + git config --global --add safe.directory /w/workspace/device-gpio/71 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:51:57.780Z] + make test [2023-04-17T18:51:58.054Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:52:30.282Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-17T18:54:21.944Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-17T18:54:21.944Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-17T18:54:22.527Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T18:54:22.527Z] go vet ./... [2023-04-17T18:55:01.396Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:55:01.396Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:55:01.396Z] ./bin/test-attribution-txt.sh [2023-04-17T18:55:01.396Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:55:01.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:55:01.435Z] $ docker stop --time=1 f471164dfe5651318bd1716f2fc55ab2e94831cbe5eacfa99167775452d96513 [2023-04-17T18:55:04.202Z] $ docker rm -f --volumes f471164dfe5651318bd1716f2fc55ab2e94831cbe5eacfa99167775452d96513 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:55:05.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:55:05.247Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T18:55:05.628Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:55:05.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:55:06.307Z] + ls -al . [2023-04-17T18:55:06.307Z] total 152 [2023-04-17T18:55:06.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:52 . [2023-04-17T18:55:06.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:49 .. [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 17 18:49 .dockerignore [2023-04-17T18:55:06.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:49 .git [2023-04-17T18:55:06.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:49 .github [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 17 18:49 .gitignore [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:49 .golangci.yml [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 9573 Apr 17 18:49 Attribution.txt [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 17 18:49 CHANGELOG.md [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 17 18:49 Dockerfile [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:49 GOVERNANCE.md [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 17 18:49 Jenkinsfile [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:49 LICENSE [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 17 18:49 Makefile [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 18:49 OWNERS.md [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 17 18:49 README.md [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 18:47 VERSION [2023-04-17T18:55:06.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:49 bin [2023-04-17T18:55:06.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:49 cmd [2023-04-17T18:55:06.307Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 17 18:52 coverage.out [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 17 18:49 go.mod [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 17 18:49 go.sum [2023-04-17T18:55:06.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:49 internal [2023-04-17T18:55:06.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:49 snap [2023-04-17T18:55:06.307Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 17 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:55:06.644Z] + 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=ccc7c8b3ba967118ae25d51feb931af0a88af0c7 --label arch=arm64 --label version=3.0.0-dev.18 . [2023-04-17T18:55:06.911Z] Sending build context to Docker daemon 8.104MB [2023-04-17T18:55:06.911Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:55:06.911Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T18:55:06.911Z] ---> 8c88cd75b4ce [2023-04-17T18:55:06.911Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:55:07.178Z] ---> Running in bd9981dee6b1 [2023-04-17T18:55:07.450Z] Removing intermediate container bd9981dee6b1 [2023-04-17T18:55:07.450Z] ---> 6a5e05f54ea2 [2023-04-17T18:55:07.450Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:55:07.450Z] ---> Running in 46575e182056 [2023-04-17T18:55:07.718Z] Removing intermediate container 46575e182056 [2023-04-17T18:55:07.718Z] ---> 258c8cdcb762 [2023-04-17T18:55:07.718Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-17T18:55:07.718Z] ---> Running in 769f30c9ec05 [2023-04-17T18:55:07.986Z] Removing intermediate container 769f30c9ec05 [2023-04-17T18:55:07.986Z] ---> 648cfb5c7575 [2023-04-17T18:55:07.986Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:55:08.254Z] ---> Running in ebe5f74c8f07 [2023-04-17T18:55:08.254Z] Removing intermediate container ebe5f74c8f07 [2023-04-17T18:55:08.254Z] ---> e33b11b97f89 [2023-04-17T18:55:08.254Z] Step 7/25 : WORKDIR /device-gpio [2023-04-17T18:55:08.522Z] ---> Running in 0a57ec6cc23c [2023-04-17T18:55:08.790Z] Removing intermediate container 0a57ec6cc23c [2023-04-17T18:55:08.790Z] ---> 048930757240 [2023-04-17T18:55:08.790Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:55:08.790Z] ---> Running in 742fbc0ab72e [2023-04-17T18:55:09.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:55:10.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:55:11.288Z] OK: 268 MiB in 57 packages [2023-04-17T18:55:12.246Z] Removing intermediate container 742fbc0ab72e [2023-04-17T18:55:12.246Z] ---> 3c7f8e175796 [2023-04-17T18:55:12.246Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T18:55:12.513Z] ---> 29629ebd0c64 [2023-04-17T18:55:12.513Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:55:12.513Z] ---> Running in 87b5c02bb62c [2023-04-17T18:55:15.095Z] Removing intermediate container 87b5c02bb62c [2023-04-17T18:55:15.095Z] ---> cb172ea6408d [2023-04-17T18:55:15.095Z] Step 11/25 : COPY . . [2023-04-17T18:55:17.038Z] ---> 49755686a619 [2023-04-17T18:55:17.038Z] Step 12/25 : RUN ${MAKE} [2023-04-17T18:55:17.038Z] ---> Running in 49b89c70da94 [2023-04-17T18:55:17.623Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-17T18:57:24.309Z] Removing intermediate container 49b89c70da94 [2023-04-17T18:57:24.310Z] ---> 023062e6b227 [2023-04-17T18:57:24.310Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T18:57:24.310Z] 3.17: Pulling from library/alpine [2023-04-17T18:57:24.310Z] c41833b44d91: Pulling fs layer [2023-04-17T18:57:24.310Z] c41833b44d91: Download complete [2023-04-17T18:57:24.310Z] c41833b44d91: Pull complete [2023-04-17T18:57:24.310Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:57:24.310Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:57:24.310Z] ---> 51e60588ff2c [2023-04-17T18:57:24.310Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-17T18:57:24.310Z] ---> Running in 39505107e980 [2023-04-17T18:57:24.310Z] Removing intermediate container 39505107e980 [2023-04-17T18:57:24.310Z] ---> 535d49500000 [2023-04-17T18:57:24.310Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-17T18:57:24.310Z] ---> Running in 3c7713b3f925 [2023-04-17T18:57:25.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:57:25.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:57:26.825Z] OK: 7 MiB in 15 packages [2023-04-17T18:57:28.785Z] Removing intermediate container 3c7713b3f925 [2023-04-17T18:57:28.785Z] ---> d243c1ff1fa8 [2023-04-17T18:57:28.785Z] Step 16/25 : WORKDIR / [2023-04-17T18:57:28.785Z] ---> Running in 1f82c9f540e2 [2023-04-17T18:57:28.785Z] Removing intermediate container 1f82c9f540e2 [2023-04-17T18:57:28.785Z] ---> 60a474709b40 [2023-04-17T18:57:28.785Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-17T18:57:29.383Z] ---> 53ccfd636f79 [2023-04-17T18:57:29.383Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-17T18:57:29.650Z] ---> 038e2c488b0b [2023-04-17T18:57:29.650Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-17T18:57:31.063Z] ---> bbc9026f00f2 [2023-04-17T18:57:31.063Z] Step 20/25 : EXPOSE 59910 [2023-04-17T18:57:31.336Z] ---> Running in 50ab0302a246 [2023-04-17T18:57:31.607Z] Removing intermediate container 50ab0302a246 [2023-04-17T18:57:31.607Z] ---> 0859d6d77875 [2023-04-17T18:57:31.607Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-17T18:57:31.607Z] ---> Running in 916b10520f6b [2023-04-17T18:57:31.875Z] Removing intermediate container 916b10520f6b [2023-04-17T18:57:31.875Z] ---> 7e836d3054dc [2023-04-17T18:57:31.875Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T18:57:31.875Z] ---> Running in d5266f465af6 [2023-04-17T18:57:32.463Z] Removing intermediate container d5266f465af6 [2023-04-17T18:57:32.463Z] ---> 2256fa155056 [2023-04-17T18:57:32.463Z] Step 23/25 : LABEL arch=arm64 [2023-04-17T18:57:32.463Z] ---> Running in 997b34915dd7 [2023-04-17T18:57:32.730Z] Removing intermediate container 997b34915dd7 [2023-04-17T18:57:32.730Z] ---> 8324788cf172 [2023-04-17T18:57:32.730Z] Step 24/25 : LABEL git_sha=ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:57:32.730Z] ---> Running in fc44f1ab0a74 [2023-04-17T18:57:32.997Z] Removing intermediate container fc44f1ab0a74 [2023-04-17T18:57:32.997Z] ---> d573b24e338b [2023-04-17T18:57:32.997Z] Step 25/25 : LABEL version=3.0.0-dev.18 [2023-04-17T18:57:32.997Z] ---> Running in 8ea22b5c67c5 [2023-04-17T18:57:33.266Z] Removing intermediate container 8ea22b5c67c5 [2023-04-17T18:57:33.266Z] ---> fac5defc3bdb [2023-04-17T18:57:33.266Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:57:33.535Z] Successfully built fac5defc3bdb [2023-04-17T18:57:33.535Z] 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-04-17T18:57:33.657Z] provisioning config files... [2023-04-17T18:57:33.675Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/71@tmp/config8140912922853297170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:57:34.020Z] ---> docker-login.sh [2023-04-17T18:57:34.020Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:57:34.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:57:34.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:57:34.288Z] Configure a credential helper to remove this warning. See [2023-04-17T18:57:34.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:57:34.288Z] [2023-04-17T18:57:34.288Z] Login Succeeded [2023-04-17T18:57:34.288Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:57:34.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:57:34.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:57:34.556Z] Configure a credential helper to remove this warning. See [2023-04-17T18:57:34.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:57:34.556Z] [2023-04-17T18:57:34.556Z] Login Succeeded [2023-04-17T18:57:34.556Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:57:34.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:57:35.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:57:35.087Z] Configure a credential helper to remove this warning. See [2023-04-17T18:57:35.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:57:35.087Z] [2023-04-17T18:57:35.087Z] Login Succeeded [2023-04-17T18:57:35.087Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:57:35.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:57:35.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:57:35.355Z] Configure a credential helper to remove this warning. See [2023-04-17T18:57:35.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:57:35.355Z] [2023-04-17T18:57:35.355Z] Login Succeeded [2023-04-17T18:57:35.355Z] docker.io [2023-04-17T18:57:35.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:57:35.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:57:35.887Z] Configure a credential helper to remove this warning. See [2023-04-17T18:57:35.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:57:35.887Z] [2023-04-17T18:57:35.887Z] Login Succeeded [2023-04-17T18:57:35.887Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:57:35.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T18:57:35.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:57:35.944Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-04-17T18:57:35.944Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:57:35.944Z] latest [2023-04-17T18:57:35.944Z] 3.0.0-dev.18 [2023-04-17T18:57:35.944Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:57:35.944Z] main [2023-04-17T18:57:35.944Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:36.276Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:36.628Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:57:36.628Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-17T18:57:36.628Z] 2f72acfc636d: Preparing [2023-04-17T18:57:36.628Z] bb1f0001a3f4: Preparing [2023-04-17T18:57:36.628Z] 42d6de9e7203: Preparing [2023-04-17T18:57:36.628Z] 89266d7b678b: Preparing [2023-04-17T18:57:36.628Z] 26cbea5cba74: Preparing [2023-04-17T18:57:36.628Z] 26cbea5cba74: Layer already exists [2023-04-17T18:57:36.896Z] 89266d7b678b: Pushed [2023-04-17T18:57:36.896Z] bb1f0001a3f4: Pushed [2023-04-17T18:57:36.896Z] 42d6de9e7203: Pushed [2023-04-17T18:57:45.084Z] 2f72acfc636d: Pushed [2023-04-17T18:57:45.084Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7: digest: sha256:59c2138c4131eb4d873da30fcf493fdea83bd5073cc62a8f339e2ffaf38fcf77 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:45.416Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:45.749Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-17T18:57:45.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-17T18:57:45.749Z] 2f72acfc636d: Preparing [2023-04-17T18:57:45.749Z] bb1f0001a3f4: Preparing [2023-04-17T18:57:45.749Z] 42d6de9e7203: Preparing [2023-04-17T18:57:45.749Z] 89266d7b678b: Preparing [2023-04-17T18:57:45.749Z] 26cbea5cba74: Preparing [2023-04-17T18:57:45.749Z] bb1f0001a3f4: Layer already exists [2023-04-17T18:57:45.749Z] 42d6de9e7203: Layer already exists [2023-04-17T18:57:45.749Z] 2f72acfc636d: Layer already exists [2023-04-17T18:57:45.749Z] 89266d7b678b: Layer already exists [2023-04-17T18:57:45.749Z] 26cbea5cba74: Layer already exists [2023-04-17T18:57:46.015Z] latest: digest: sha256:59c2138c4131eb4d873da30fcf493fdea83bd5073cc62a8f339e2ffaf38fcf77 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:46.348Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:46.681Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.18 [2023-04-17T18:57:46.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-17T18:57:46.681Z] 2f72acfc636d: Preparing [2023-04-17T18:57:46.681Z] bb1f0001a3f4: Preparing [2023-04-17T18:57:46.681Z] 42d6de9e7203: Preparing [2023-04-17T18:57:46.681Z] 89266d7b678b: Preparing [2023-04-17T18:57:46.681Z] 26cbea5cba74: Preparing [2023-04-17T18:57:46.681Z] bb1f0001a3f4: Layer already exists [2023-04-17T18:57:46.681Z] 42d6de9e7203: Layer already exists [2023-04-17T18:57:46.681Z] 2f72acfc636d: Layer already exists [2023-04-17T18:57:46.681Z] 26cbea5cba74: Layer already exists [2023-04-17T18:57:46.681Z] 89266d7b678b: Layer already exists [2023-04-17T18:57:46.681Z] 3.0.0-dev.18: digest: sha256:59c2138c4131eb4d873da30fcf493fdea83bd5073cc62a8f339e2ffaf38fcf77 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:47.023Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:47.360Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:57:47.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-17T18:57:47.360Z] 2f72acfc636d: Preparing [2023-04-17T18:57:47.360Z] bb1f0001a3f4: Preparing [2023-04-17T18:57:47.360Z] 42d6de9e7203: Preparing [2023-04-17T18:57:47.360Z] 89266d7b678b: Preparing [2023-04-17T18:57:47.360Z] 26cbea5cba74: Preparing [2023-04-17T18:57:47.360Z] bb1f0001a3f4: Layer already exists [2023-04-17T18:57:47.360Z] 26cbea5cba74: Layer already exists [2023-04-17T18:57:47.360Z] 42d6de9e7203: Layer already exists [2023-04-17T18:57:47.360Z] 2f72acfc636d: Layer already exists [2023-04-17T18:57:47.360Z] 89266d7b678b: Layer already exists [2023-04-17T18:57:47.360Z] ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18: digest: sha256:59c2138c4131eb4d873da30fcf493fdea83bd5073cc62a8f339e2ffaf38fcf77 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:47.695Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:48.027Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-04-17T18:57:48.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-17T18:57:48.027Z] 2f72acfc636d: Preparing [2023-04-17T18:57:48.027Z] bb1f0001a3f4: Preparing [2023-04-17T18:57:48.027Z] 42d6de9e7203: Preparing [2023-04-17T18:57:48.027Z] 89266d7b678b: Preparing [2023-04-17T18:57:48.027Z] 26cbea5cba74: Preparing [2023-04-17T18:57:48.027Z] 42d6de9e7203: Layer already exists [2023-04-17T18:57:48.027Z] bb1f0001a3f4: Layer already exists [2023-04-17T18:57:48.027Z] 89266d7b678b: Layer already exists [2023-04-17T18:57:48.027Z] 26cbea5cba74: Layer already exists [2023-04-17T18:57:48.027Z] 2f72acfc636d: Layer already exists [2023-04-17T18:57:48.292Z] main: digest: sha256:59c2138c4131eb4d873da30fcf493fdea83bd5073cc62a8f339e2ffaf38fcf77 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T18:57:48.341Z] ===================================================== [Pipeline] echo [2023-04-17T18:57:48.348Z] taggedImages: [2023-04-17T18:57:48.348Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [2023-04-17T18:57:48.348Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-17T18:57:48.348Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.18 [2023-04-17T18:57:48.348Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:ccc7c8b3ba967118ae25d51feb931af0a88af0c7-3.0.0-dev.18 [2023-04-17T18:57:48.348Z] - 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-04-17T18:57:48.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:57:48.712Z] [2023-04-17T18:57:48.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:57:49.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:57:49.046Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T18:57:49.046Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T18:57:49.046Z] 04944245beec: Pulling fs layer [2023-04-17T18:57:49.046Z] 699f458cf7ca: Pulling fs layer [2023-04-17T18:57:49.046Z] 765212b225bb: Pulling fs layer [2023-04-17T18:57:49.046Z] f23df028b6ca: Pulling fs layer [2023-04-17T18:57:49.046Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T18:57:49.046Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T18:57:49.046Z] f23df028b6ca: Waiting [2023-04-17T18:57:49.046Z] d65c8cfc05b1: Waiting [2023-04-17T18:57:49.046Z] 2437ff75d9bd: Waiting [2023-04-17T18:57:49.046Z] 765212b225bb: Waiting [2023-04-17T18:57:49.315Z] 04944245beec: Verifying Checksum [2023-04-17T18:57:49.315Z] 04944245beec: Download complete [2023-04-17T18:57:49.315Z] 765212b225bb: Verifying Checksum [2023-04-17T18:57:49.315Z] 765212b225bb: Download complete [2023-04-17T18:57:49.315Z] f23df028b6ca: Verifying Checksum [2023-04-17T18:57:49.315Z] f23df028b6ca: Download complete [2023-04-17T18:57:49.315Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T18:57:49.315Z] d65c8cfc05b1: Download complete [2023-04-17T18:57:49.315Z] 699f458cf7ca: Verifying Checksum [2023-04-17T18:57:49.315Z] 699f458cf7ca: Download complete [2023-04-17T18:57:49.904Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T18:57:49.904Z] 8998bd30e6a1: Download complete [2023-04-17T18:57:51.849Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T18:57:51.849Z] 2437ff75d9bd: Download complete [2023-04-17T18:57:53.796Z] 8998bd30e6a1: Pull complete [2023-04-17T18:57:54.394Z] 04944245beec: Pull complete [2023-04-17T18:57:55.815Z] 699f458cf7ca: Pull complete [2023-04-17T18:57:56.084Z] 765212b225bb: Pull complete [2023-04-17T18:57:56.665Z] f23df028b6ca: Pull complete [2023-04-17T18:57:56.983Z] d65c8cfc05b1: Pull complete [2023-04-17T18:58:12.169Z] 2437ff75d9bd: Pull complete [2023-04-17T18:58:12.169Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T18:58:12.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:58:12.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:58:12.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-8764 does not seem to be running inside a container [2023-04-17T18:58:12.442Z] $ 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/71 -v /w/workspace/device-gpio/71:/w/workspace/device-gpio/71:rw,z -v /w/workspace/device-gpio/71@tmp:/w/workspace/device-gpio/71@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-04-17T18:58:14.963Z] $ docker top 454883e2e971eb8496151c91e664a994470259d71136988d9722d3897cef637a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:58:15.801Z] ---> job-cost.sh [2023-04-17T18:58:15.801Z] lf-activate-venv: SKIPPING [2023-04-17T18:58:15.801Z] INFO: No Stack... [2023-04-17T18:58:16.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T18:58:16.963Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:58:17.280Z] + cat /w/workspace/device-gpio/71/archives/cost.csv [2023-04-17T18:58:17.280Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:58:17.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [2023-04-17T18:58:17.348Z] Resource [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] did not exist. Created. [2023-04-17T18:58:17.348Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:58:17.994Z] /w/workspace/device-gpio/71@tmp/durable-52a5505b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T18:58:18.329Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T18:58:18.351Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T18:58:18.401Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:58:18.408Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:58:18.438Z] $ docker stop --time=1 454883e2e971eb8496151c91e664a994470259d71136988d9722d3897cef637a [2023-04-17T18:58:19.922Z] $ docker rm -f --volumes 454883e2e971eb8496151c91e664a994470259d71136988d9722d3897cef637a [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-04-17T18:58:20.243Z] provisioning config files... [2023-04-17T18:58:20.250Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6294697531322759782tmp [Pipeline] { [Pipeline] sh [2023-04-17T18:58:20.539Z] + set +x [2023-04-17T18:58:20.539Z] + curl -s https://codecov.io/bash [2023-04-17T18:58:20.539Z] + bash -s -- [2023-04-17T18:58:20.539Z] [2023-04-17T18:58:20.539Z] _____ _ [2023-04-17T18:58:20.539Z] / ____| | | [2023-04-17T18:58:20.539Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T18:58:20.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T18:58:20.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T18:58:20.540Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T18:58:20.540Z] Bash-1.0.6 [2023-04-17T18:58:20.540Z] [2023-04-17T18:58:20.540Z] [2023-04-17T18:58:20.540Z] ==> git version 2.25.1 found [2023-04-17T18:58:20.540Z] ==> 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-04-17T18:58:20.540Z] Release-Date: 2020-01-08 [2023-04-17T18:58:20.540Z] 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-04-17T18:58:20.540Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T18:58:20.540Z] ==> Jenkins CI detected. [2023-04-17T18:58:20.540Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-04-17T18:58:20.540Z] project root: . [2023-04-17T18:58:20.540Z] --> token set from env [2023-04-17T18:58:20.540Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T18:58:20.540Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T18:58:20.540Z] ==> Python coveragepy not found [2023-04-17T18:58:20.540Z] ==> Searching for coverage reports in: [2023-04-17T18:58:20.540Z] + . [2023-04-17T18:58:20.540Z] -> Found 1 reports [2023-04-17T18:58:20.540Z] ==> Detecting git/mercurial file structure [2023-04-17T18:58:20.799Z] ==> Reading reports [2023-04-17T18:58:20.799Z] + ./coverage.out bytes=10 [2023-04-17T18:58:20.799Z] ==> Appending adjustments [2023-04-17T18:58:20.799Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T18:58:20.799Z] + Found adjustments [2023-04-17T18:58:20.799Z] ==> Gzipping contents [2023-04-17T18:58:20.799Z] 4.0K /tmp/codecov.runtwg.gz [2023-04-17T18:58:20.799Z] ==> Uploading reports [2023-04-17T18:58:20.799Z] url: https://codecov.io [2023-04-17T18:58:20.799Z] query: branch=main&commit=ccc7c8b3ba967118ae25d51feb931af0a88af0c7&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T18:58:20.799Z] -> Pinging Codecov [2023-04-17T18:58:20.799Z] 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=ccc7c8b3ba967118ae25d51feb931af0a88af0c7&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T18:58:21.059Z] -> Uploading to [2023-04-17T18:58:21.059Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ccc7c8b3ba967118ae25d51feb931af0a88af0c7/b64fa239-b04f-4d41-a3d8-afab105e016d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T185820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a1732be3da984dcb7e3b99c9b75b2a5cb85f7c4b2b25fcf7e51fe4c03a31465 [2023-04-17T18:58:21.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:58:21.059Z] Dload Upload Total Spent Left Speed [2023-04-17T18:58:21.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 2796 --:--:-- --:--:-- --:--:-- 2796 [2023-04-17T18:58:21.318Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] } [2023-04-17T18:58:21.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-17T18:58:21.493Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-17T18:58:21.501Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:58:21.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T18:58:21.797Z] [2023-04-17T18:58:21.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:58:22.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T18:58:22.094Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-17T18:58:22.094Z] df9b9388f04a: Pulling fs layer [2023-04-17T18:58:22.094Z] 52dc419b0ee2: Pulling fs layer [2023-04-17T18:58:22.094Z] 25bc292e5bac: Pulling fs layer [2023-04-17T18:58:22.094Z] 114826534d7a: Pulling fs layer [2023-04-17T18:58:22.094Z] 4657fd5d0bcf: Pulling fs layer [2023-04-17T18:58:22.094Z] 6ad1cebc031e: Pulling fs layer [2023-04-17T18:58:22.094Z] 8a3aa393b2d8: Pulling fs layer [2023-04-17T18:58:22.094Z] 6ad1cebc031e: Waiting [2023-04-17T18:58:22.094Z] 8a3aa393b2d8: Waiting [2023-04-17T18:58:22.094Z] 114826534d7a: Waiting [2023-04-17T18:58:22.094Z] 4657fd5d0bcf: Waiting [2023-04-17T18:58:22.094Z] 25bc292e5bac: Verifying Checksum [2023-04-17T18:58:22.094Z] 25bc292e5bac: Download complete [2023-04-17T18:58:22.094Z] 52dc419b0ee2: Download complete [2023-04-17T18:58:22.094Z] 4657fd5d0bcf: Verifying Checksum [2023-04-17T18:58:22.094Z] 4657fd5d0bcf: Download complete [2023-04-17T18:58:22.094Z] df9b9388f04a: Verifying Checksum [2023-04-17T18:58:22.094Z] df9b9388f04a: Download complete [2023-04-17T18:58:22.352Z] 6ad1cebc031e: Verifying Checksum [2023-04-17T18:58:22.352Z] 6ad1cebc031e: Download complete [2023-04-17T18:58:22.352Z] df9b9388f04a: Pull complete [2023-04-17T18:58:22.352Z] 52dc419b0ee2: Pull complete [2023-04-17T18:58:22.352Z] 25bc292e5bac: Pull complete [2023-04-17T18:58:22.919Z] 114826534d7a: Verifying Checksum [2023-04-17T18:58:22.919Z] 114826534d7a: Download complete [2023-04-17T18:58:22.919Z] 8a3aa393b2d8: Verifying Checksum [2023-04-17T18:58:22.919Z] 8a3aa393b2d8: Download complete [2023-04-17T18:58:26.207Z] 114826534d7a: Pull complete [2023-04-17T18:58:26.207Z] 4657fd5d0bcf: Pull complete [2023-04-17T18:58:26.464Z] 6ad1cebc031e: Pull complete [2023-04-17T18:58:28.989Z] 8a3aa393b2d8: Pull complete [2023-04-17T18:58:28.989Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-17T18:58:28.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T18:58:28.989Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:58:29.064Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:58:29.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-17T18:58:33.229Z] $ docker top 21b315612a966486f5eb5d447733dfe41f42c315a5744b5de07b7102a7aa657b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-17T18:58:33.290Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-04-17T18:58:33.568Z] + set -o pipefail [2023-04-17T18:58:33.568Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/273c2007-13cf-4cec-b78b-1312532a8c68 [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] [2023-04-17T18:58:37.750Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-17T18:58:37.750Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-17T18:58:37.750Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-17T18:58:37.766Z] $ docker stop --time=1 21b315612a966486f5eb5d447733dfe41f42c315a5744b5de07b7102a7aa657b [2023-04-17T18:58:41.112Z] $ docker rm -f --volumes 21b315612a966486f5eb5d447733dfe41f42c315a5744b5de07b7102a7aa657b [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-04-17T18:58:41.778Z] + git log --format=format:%s -1 ccc7c8b3ba967118ae25d51feb931af0a88af0c7 [Pipeline] sh [2023-04-17T18:58:42.061Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:58:42.061Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:58:42.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:58:42.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:58:42.423Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:58:42.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:58:42.975Z] $ docker top 168befb1e2f53974b45dc4b0284afabe802f03c38653dc2d67b264dfc777e075 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:58:43.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:58:43.056Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:58:43.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:58:43.181Z] $ docker exec 168befb1e2f53974b45dc4b0284afabe802f03c38653dc2d67b264dfc777e075 ssh-agent [2023-04-17T18:58:43.281Z] SSH_AUTH_SOCK=/tmp/ssh-gHmntMrzTrsw/agent.32 [2023-04-17T18:58:43.281Z] SSH_AGENT_PID=38 [2023-04-17T18:58:43.286Z] Running ssh-add (command line suppressed) [2023-04-17T18:58:43.400Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7441736076581474269.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7441736076581474269.key) [2023-04-17T18:58:43.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:58:43.690Z] + git semver tag [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,912 [run_tag] DEBUG tag force:False [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,912 [check_head_tag] DEBUG check head tag [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,913 [execute] INFO git cat-file --batch-check [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,918 [execute] INFO git cat-file --batch [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,936 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,936 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,936 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:58:43.948Z] 2023-04-17 18:58:43,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:58:43.948Z] 3.0.0-dev.18 [Pipeline] } [2023-04-17T18:58:44.222Z] $ docker exec --env ******** --env ******** 168befb1e2f53974b45dc4b0284afabe802f03c38653dc2d67b264dfc777e075 ssh-agent -k [2023-04-17T18:58:44.321Z] unset SSH_AUTH_SOCK; [2023-04-17T18:58:44.321Z] unset SSH_AGENT_PID; [2023-04-17T18:58:44.321Z] echo Agent pid 38 killed; [2023-04-17T18:58:44.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:58:44.631Z] + git semver [Pipeline] } [2023-04-17T18:58:44.909Z] $ docker stop --time=1 168befb1e2f53974b45dc4b0284afabe802f03c38653dc2d67b264dfc777e075 [2023-04-17T18:58:46.153Z] $ docker rm -f --volumes 168befb1e2f53974b45dc4b0284afabe802f03c38653dc2d67b264dfc777e075 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:58:46.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T18:58:46.534Z] [2023-04-17T18:58:46.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:58:46.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T18:58:46.836Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-17T18:58:46.836Z] ab5ef0e58194: Pulling fs layer [2023-04-17T18:58:46.836Z] 9712f1f96733: Pulling fs layer [2023-04-17T18:58:46.836Z] 63f879dbbcfc: Pulling fs layer [2023-04-17T18:58:46.836Z] 0d9ebad4ef96: Pulling fs layer [2023-04-17T18:58:46.836Z] e9a5061849ea: Pulling fs layer [2023-04-17T18:58:46.836Z] d747dcd14b5f: Pulling fs layer [2023-04-17T18:58:46.836Z] 2de7ff778b66: Pulling fs layer [2023-04-17T18:58:46.836Z] 0d9ebad4ef96: Waiting [2023-04-17T18:58:46.836Z] e9a5061849ea: Waiting [2023-04-17T18:58:46.836Z] 2de7ff778b66: Waiting [2023-04-17T18:58:46.836Z] d747dcd14b5f: Waiting [2023-04-17T18:58:46.836Z] 9712f1f96733: Verifying Checksum [2023-04-17T18:58:46.836Z] 9712f1f96733: Download complete [2023-04-17T18:58:47.099Z] 63f879dbbcfc: Verifying Checksum [2023-04-17T18:58:47.099Z] 63f879dbbcfc: Download complete [2023-04-17T18:58:47.359Z] e9a5061849ea: Verifying Checksum [2023-04-17T18:58:47.359Z] e9a5061849ea: Download complete [2023-04-17T18:58:47.359Z] d747dcd14b5f: Verifying Checksum [2023-04-17T18:58:47.359Z] d747dcd14b5f: Download complete [2023-04-17T18:58:47.359Z] 0d9ebad4ef96: Verifying Checksum [2023-04-17T18:58:47.359Z] 0d9ebad4ef96: Download complete [2023-04-17T18:58:47.359Z] ab5ef0e58194: Verifying Checksum [2023-04-17T18:58:47.359Z] ab5ef0e58194: Download complete [2023-04-17T18:58:47.359Z] 2de7ff778b66: Verifying Checksum [2023-04-17T18:58:47.359Z] 2de7ff778b66: Download complete [2023-04-17T18:58:50.659Z] ab5ef0e58194: Pull complete [2023-04-17T18:58:50.659Z] 9712f1f96733: Pull complete [2023-04-17T18:58:51.226Z] 63f879dbbcfc: Pull complete [2023-04-17T18:58:55.409Z] 0d9ebad4ef96: Pull complete [2023-04-17T18:58:55.409Z] e9a5061849ea: Pull complete [2023-04-17T18:58:55.409Z] d747dcd14b5f: Pull complete [2023-04-17T18:58:56.341Z] 2de7ff778b66: Pull complete [2023-04-17T18:58:56.341Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-17T18:58:56.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T18:58:56.341Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:58:56.416Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:58:56.449Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-17T18:59:00.907Z] $ docker top c16f37bf4c7c37ab191b3469ffd0c84a6446d0d83fcff71674c9e118c2ccca0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:59:00.975Z] provisioning config files... [2023-04-17T18:59:00.981Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1287437866462408150tmp [2023-04-17T18:59:00.989Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6893778314739126597tmp [2023-04-17T18:59:00.996Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10660153703720657132tmp [Pipeline] { [Pipeline] echo [2023-04-17T18:59:01.008Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:01.288Z] ---> sigul-configuration.sh [2023-04-17T18:59:01.288Z] gpg: directory `/root/.gnupg' created [2023-04-17T18:59:01.288Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-17T18:59:01.288Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-17T18:59:01.288Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-17T18:59:01.288Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-17T18:59:01.288Z] gpg: CAST5 encrypted data [2023-04-17T18:59:01.288Z] gpg: encrypted with 1 passphrase [2023-04-17T18:59:01.288Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-17T18:59:01.573Z] + mkdir /home/jenkins [2023-04-17T18:59:01.573Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-17T18:59:01.854Z] + 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-04-17T18:59:01.862Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:02.142Z] ---> sigul-install.sh [2023-04-17T18:59:02.142Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-17T18:59:02.427Z] + git tag --list [2023-04-17T18:59:02.427Z] v1.0.0 [2023-04-17T18:59:02.427Z] v2.1.0 [2023-04-17T18:59:02.427Z] v2.1.1 [2023-04-17T18:59:02.427Z] v2.1.1-dev.1 [2023-04-17T18:59:02.427Z] v2.2.0 [2023-04-17T18:59:02.427Z] v2.2.1-dev.1 [2023-04-17T18:59:02.427Z] v2.2.1-dev.2 [2023-04-17T18:59:02.427Z] v2.2.1-dev.3 [2023-04-17T18:59:02.427Z] v2.2.1-dev.4 [2023-04-17T18:59:02.427Z] v2.3.0 [2023-04-17T18:59:02.427Z] v2.3.0-dev.10 [2023-04-17T18:59:02.427Z] v2.3.0-dev.11 [2023-04-17T18:59:02.427Z] v2.3.0-dev.12 [2023-04-17T18:59:02.427Z] v2.3.0-dev.13 [2023-04-17T18:59:02.427Z] v2.3.0-dev.14 [2023-04-17T18:59:02.427Z] v2.3.0-dev.15 [2023-04-17T18:59:02.427Z] v2.3.0-dev.16 [2023-04-17T18:59:02.427Z] v2.3.0-dev.17 [2023-04-17T18:59:02.427Z] v2.3.0-dev.18 [2023-04-17T18:59:02.427Z] v2.3.0-dev.19 [2023-04-17T18:59:02.427Z] v2.3.0-dev.20 [2023-04-17T18:59:02.427Z] v2.3.0-dev.4 [2023-04-17T18:59:02.427Z] v2.3.0-dev.5 [2023-04-17T18:59:02.427Z] v2.3.0-dev.6 [2023-04-17T18:59:02.427Z] v2.3.0-dev.7 [2023-04-17T18:59:02.427Z] v2.3.0-dev.8 [2023-04-17T18:59:02.427Z] v2.3.0-dev.9 [2023-04-17T18:59:02.427Z] v3.0.0-dev.1 [2023-04-17T18:59:02.427Z] v3.0.0-dev.10 [2023-04-17T18:59:02.427Z] v3.0.0-dev.11 [2023-04-17T18:59:02.427Z] v3.0.0-dev.12 [2023-04-17T18:59:02.427Z] v3.0.0-dev.13 [2023-04-17T18:59:02.427Z] v3.0.0-dev.14 [2023-04-17T18:59:02.427Z] v3.0.0-dev.15 [2023-04-17T18:59:02.427Z] v3.0.0-dev.16 [2023-04-17T18:59:02.427Z] v3.0.0-dev.17 [2023-04-17T18:59:02.427Z] v3.0.0-dev.18 [2023-04-17T18:59:02.427Z] v3.0.0-dev.2 [2023-04-17T18:59:02.427Z] v3.0.0-dev.3 [2023-04-17T18:59:02.427Z] v3.0.0-dev.4 [2023-04-17T18:59:02.427Z] v3.0.0-dev.5 [2023-04-17T18:59:02.427Z] v3.0.0-dev.6 [2023-04-17T18:59:02.427Z] v3.0.0-dev.7 [2023-04-17T18:59:02.427Z] v3.0.0-dev.8 [2023-04-17T18:59:02.427Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-17T18:59:02.714Z] + lftools sign git-tag v3.0.0-dev.18 [2023-04-17T18:59:03.281Z] Signing Git tag with Sigul... [2023-04-17T18:59:03.281Z] Signing v3.0.0-dev.18 [Pipeline] echo [2023-04-17T18:59:03.548Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:03.834Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-17T18:59:03.841Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-17T18:59:03.866Z] $ docker stop --time=1 c16f37bf4c7c37ab191b3469ffd0c84a6446d0d83fcff71674c9e118c2ccca0c [2023-04-17T18:59:05.155Z] $ docker rm -f --volumes c16f37bf4c7c37ab191b3469ffd0c84a6446d0d83fcff71674c9e118c2ccca0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-17T18:59:05.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:59:05.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:59:05.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:59:05.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:59:05.890Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:59:05.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:59:06.239Z] $ docker top a6c4bf0d5f1790da91962c9838db8dd3a2503f8739d747e9cca6e2089e0f57d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:59:06.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:59:06.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:59:06.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:59:06.452Z] $ docker exec a6c4bf0d5f1790da91962c9838db8dd3a2503f8739d747e9cca6e2089e0f57d4 ssh-agent [2023-04-17T18:59:06.561Z] SSH_AUTH_SOCK=/tmp/ssh-mwPa7AWmWmwA/agent.32 [2023-04-17T18:59:06.561Z] SSH_AGENT_PID=38 [2023-04-17T18:59:06.566Z] Running ssh-add (command line suppressed) [2023-04-17T18:59:06.670Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8207809182260173576.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8207809182260173576.key) [2023-04-17T18:59:06.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:59:06.955Z] + git semver bump pre [2023-04-17T18:59:07.214Z] 2023-04-17 18:59:07,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,142 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,142 [bump_version] DEBUG bumped version:3.0.0-dev.19 [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,143 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,143 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,145 [execute] INFO git cat-file --batch-check [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,151 [execute] INFO git cat-file --batch [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:59:07.215Z] 2023-04-17 18:59:07,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:59:07.215Z] 3.0.0-dev.19 [Pipeline] } [2023-04-17T18:59:07.229Z] $ docker exec --env ******** --env ******** a6c4bf0d5f1790da91962c9838db8dd3a2503f8739d747e9cca6e2089e0f57d4 ssh-agent -k [2023-04-17T18:59:07.324Z] unset SSH_AUTH_SOCK; [2023-04-17T18:59:07.324Z] unset SSH_AGENT_PID; [2023-04-17T18:59:07.324Z] echo Agent pid 38 killed; [2023-04-17T18:59:07.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:59:07.634Z] + git semver [Pipeline] } [2023-04-17T18:59:07.911Z] $ docker stop --time=1 a6c4bf0d5f1790da91962c9838db8dd3a2503f8739d747e9cca6e2089e0f57d4 [2023-04-17T18:59:09.170Z] $ docker rm -f --volumes a6c4bf0d5f1790da91962c9838db8dd3a2503f8739d747e9cca6e2089e0f57d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:59:09.518Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:59:09.519Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:59:09.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:59:09.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:59:09.876Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:59:09.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:59:10.257Z] $ docker top c039b4abf065ae759af279579c09af67aa593e8e4dc1f5a587b0424b9035b3ea -eo pid,comm [2023-04-17T18:59:10.302Z] 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-04-17T18:59:10.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:59:10.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:59:10.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:59:10.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:59:10.464Z] $ docker exec c039b4abf065ae759af279579c09af67aa593e8e4dc1f5a587b0424b9035b3ea ssh-agent [2023-04-17T18:59:10.549Z] SSH_AUTH_SOCK=/tmp/ssh-2uKXDDinN7Cp/agent.32 [2023-04-17T18:59:10.549Z] SSH_AGENT_PID=38 [2023-04-17T18:59:10.553Z] Running ssh-add (command line suppressed) [2023-04-17T18:59:10.661Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17687891623883831980.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17687891623883831980.key) [2023-04-17T18:59:10.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:59:10.957Z] + git semver push [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,139 [run_push] DEBUG push [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,140 [execute] INFO git cat-file --batch-check [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,143 [execute] INFO git rev-list 5595dc732183398cf02f11b1aea1d7413356a7e1 -- [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,144 [execute] DEBUG Popen(['git', 'rev-list', '5595dc732183398cf02f11b1aea1d7413356a7e1', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,150 [execute] INFO git fetch -v origin [2023-04-17T18:59:11.215Z] 2023-04-17 18:59:11,150 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-17T18:59:11.783Z] 2023-04-17 18:59:11,625 [run_push] DEBUG no remote changes detected [2023-04-17T18:59:11.783Z] 2023-04-17 18:59:11,626 [execute] INFO git push origin semver [2023-04-17T18:59:11.783Z] 2023-04-17 18:59:11,626 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:59:12.718Z] 2023-04-17 18:59:12,427 [run_push] DEBUG push all version tags [2023-04-17T18:59:12.718Z] 2023-04-17 18:59:12,428 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-17T18:59:12.718Z] 2023-04-17 18:59:12,428 [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-04-17T18:59:13.288Z] 2023-04-17 18:59:13,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-17T18:59:13.288Z] 3.0.0-dev.19 [Pipeline] } [2023-04-17T18:59:13.304Z] $ docker exec --env ******** --env ******** c039b4abf065ae759af279579c09af67aa593e8e4dc1f5a587b0424b9035b3ea ssh-agent -k [2023-04-17T18:59:13.391Z] unset SSH_AUTH_SOCK; [2023-04-17T18:59:13.392Z] unset SSH_AGENT_PID; [2023-04-17T18:59:13.392Z] echo Agent pid 38 killed; [2023-04-17T18:59:13.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:59:13.692Z] + git semver [Pipeline] } [2023-04-17T18:59:13.971Z] $ docker stop --time=1 c039b4abf065ae759af279579c09af67aa593e8e4dc1f5a587b0424b9035b3ea [2023-04-17T18:59:15.253Z] $ docker rm -f --volumes c039b4abf065ae759af279579c09af67aa593e8e4dc1f5a587b0424b9035b3ea [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-04-17T18:59:15.830Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-04-17T18:59:15.830Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-17T18:59:15.830Z] total 16 [2023-04-17T18:59:15.830Z] drwxr-xr-x 3 root root 4096 Apr 17 18:49 . [2023-04-17T18:59:15.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:59 .. [2023-04-17T18:59:15.830Z] drwxr-xr-x 2 root root 4096 Apr 17 18:49 cost [2023-04-17T18:59:15.830Z] -rw-r--r-- 1 root root 82 Apr 17 18:49 cost.csv [2023-04-17T18:59:15.830Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-17T18:59:15.830Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-17T18:59:15.830Z] total 16 [2023-04-17T18:59:15.830Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:49 . [2023-04-17T18:59:15.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:59 .. [2023-04-17T18:59:15.830Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:49 cost [2023-04-17T18:59:15.830Z] -rw-r--r-- 1 jenkins jenkins 82 Apr 17 18:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:16.120Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:16.971Z] ---> package-listing.sh [2023-04-17T18:59:16.971Z] ++ facter osfamily [2023-04-17T18:59:16.971Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T18:59:17.229Z] + OS_FAMILY=debian [2023-04-17T18:59:17.229Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-04-17T18:59:17.229Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T18:59:17.229Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T18:59:17.229Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T18:59:17.229Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T18:59:17.229Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-17T18:59:17.229Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T18:59:17.229Z] + case "${OS_FAMILY}" in [2023-04-17T18:59:17.229Z] + dpkg -l [2023-04-17T18:59:17.229Z] + grep '^ii' [2023-04-17T18:59:17.229Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T18:59:17.229Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T18:59:17.229Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T18:59:17.229Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-17T18:59:17.229Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-04-17T18:59:17.229Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-04-17T18:59:17.238Z] 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-04-17T18:59:17.512Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:59:18.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:59:18.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:59:18.133Z] prd-ubuntu20.04-docker-8c-8g-8763 does not seem to be running inside a container [2023-04-17T18:59:18.171Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:59:18.449Z] $ docker top 3df4c5bb463126669bbefb98ff0d7c63f9aaaaa668ad019d28de56d79a374280 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:59:18.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T18:59:19.169Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T18:59:19.499Z] + ls /var/log/sa-host [2023-04-17T18:59:19.499Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:59:19.640Z] provisioning config files... [2023-04-17T18:59:19.648Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12585683886166324746tmp [Pipeline] { [Pipeline] echo [2023-04-17T18:59:19.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:19.943Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T18:59:19.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:20.268Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T18:59:20.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:20.557Z] ---> sudo-logs.sh [2023-04-17T18:59:20.557Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T18:59:20.578Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:20.857Z] ---> job-cost.sh [2023-04-17T18:59:20.857Z] lf-activate-venv: SKIPPING [2023-04-17T18:59:20.857Z] DEBUG: total: 0.2199999988079071 [2023-04-17T18:59:20.857Z] INFO: Retrieving Stack Cost... [2023-04-17T18:59:21.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:59:21.682Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T18:59:21.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:21.974Z] ---> logs-deploy.sh [2023-04-17T18:59:21.974Z] lf-activate-venv: SKIPPING [2023-04-17T18:59:21.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/71 [2023-04-17T18:59:21.974Z] INFO: archiving workspace using pattern(s): [2023-04-17T18:59:22.910Z] Archives upload complete. [2023-04-17T18:59:22.910Z] INFO: archiving logs to Nexus