Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc7e5252a6371971a8ca64433ac86b0abda7502e 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-ssh15482745145448437122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16652711659471873465.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1446011554254699643.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17134587368645105623.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-ssh14935884297107030373.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6042 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 bc7e5252a6371971a8ca64433ac86b0abda7502e (main) Commit message: "Merge pull request #193 from lenny-intel/go-1.21" > 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 bc7e5252a6371971a8ca64433ac86b0abda7502e # timeout=10 > git rev-list --no-walk 20941c594b03f51cf34eeaee0d664e33008baa13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T22:39:15.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T22:39:15.066Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T22:39:15.084Z] ========================================================= [2023-09-12T22:39:15.084Z] EdgeX Global Pipelines Version Info [2023-09-12T22:39:15.084Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:39:15.801Z] ------------------- [2023-09-12T22:39:15.801Z] stable info: [2023-09-12T22:39:15.801Z] ------------------- [2023-09-12T22:39:15.801Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T22:39:15.801Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:39:15.801Z] Message: update stable to v1.0.254 [2023-09-12T22:39:16.370Z] ------------------- [2023-09-12T22:39:16.370Z] experimental info: [2023-09-12T22:39:16.370Z] ------------------- [2023-09-12T22:39:16.370Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T22:39:16.370Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:39:16.370Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T22:39:16.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-09-12T22:39:16.575Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-09-12T22:39:16.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T22:39:16.608Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T22:39:16.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T22:39:16.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T22:39:16.646Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T22:39:16.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T22:39:16.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T22:39:16.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T22:39:16.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T22:39:16.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-09-12T22:39:16.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T22:39:16.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T22:39:16.755Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:39:16.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:39:16.785Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:39:16.805Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:39:16.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T22:39:16.840Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T22:39:16.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T22:39:16.869Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T22:39:16.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T22:39:16.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T22:39:16.902Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T22:39:16.911Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T22:39:16.920Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T22:39:16.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T22:39:16.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T22:39:16.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T22:39:16.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] echo [2023-09-12T22:39:16.975Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc7e525 [Pipeline] echo [2023-09-12T22:39:16.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:39:17.018Z] provisioning config files... [2023-09-12T22:39:17.032Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10220677277999152483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:39:17.343Z] ---> docker-login.sh [2023-09-12T22:39:17.343Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:39:17.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:17.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:17.616Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:17.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:17.616Z] [2023-09-12T22:39:17.616Z] Login Succeeded [2023-09-12T22:39:17.616Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:39:17.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:17.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:17.616Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:17.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:17.616Z] [2023-09-12T22:39:17.616Z] Login Succeeded [2023-09-12T22:39:17.616Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:39:17.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:17.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:17.876Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:17.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:17.876Z] [2023-09-12T22:39:17.876Z] Login Succeeded [2023-09-12T22:39:17.876Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:39:17.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:17.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:17.876Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:17.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:17.876Z] [2023-09-12T22:39:17.876Z] Login Succeeded [2023-09-12T22:39:17.876Z] docker.io [2023-09-12T22:39:17.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:18.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:18.135Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:18.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:18.135Z] [2023-09-12T22:39:18.135Z] Login Succeeded [2023-09-12T22:39:18.135Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:39:18.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T22:39:18.514Z] + git rev-list -1 --merges bc7e5252a6371971a8ca64433ac86b0abda7502e~1..bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] echo [2023-09-12T22:39:18.563Z] -----------> git rev-list -1 --merges bc7e5252a6371971a8ca64433ac86b0abda7502e~1..bc7e5252a6371971a8ca64433ac86b0abda7502e bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:39:18.563Z] bc7e5252a6371971a8ca64433ac86b0abda7502e [false] [Pipeline] sh [2023-09-12T22:39:18.849Z] + git log --format=format:%s -1 bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] echo [2023-09-12T22:39:18.866Z] ========================================================= [2023-09-12T22:39:18.866Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T22:39:18.866Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:39:19.193Z] + git log --format=format:%s -1 bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] echo [2023-09-12T22:39:19.223Z] [semverPrep] GIT_COMMIT: bc7e5252a6371971a8ca64433ac86b0abda7502e, Commit Message: Merge pull request #193 from lenny-intel/go-1.21 [Pipeline] echo [2023-09-12T22:39:19.231Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T22:39:19.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:39:19.585Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T22:39:19.585Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T22:39:19.585Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T22:39:19.585Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T22:39:19.585Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T22:39:19.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:39:19.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:39:19.928Z] [2023-09-12T22:39:19.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:39:20.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:39:20.233Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T22:39:20.233Z] b85a868b505f: Pulling fs layer [2023-09-12T22:39:20.233Z] e2be974225ed: Pulling fs layer [2023-09-12T22:39:20.233Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T22:39:20.233Z] 988bab9f4d93: Pulling fs layer [2023-09-12T22:39:20.233Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T22:39:20.233Z] eaf3925da568: Pulling fs layer [2023-09-12T22:39:20.233Z] bab4dde63d76: Pulling fs layer [2023-09-12T22:39:20.233Z] bde34c3a00c8: Pulling fs layer [2023-09-12T22:39:20.233Z] b352a97aabf1: Pulling fs layer [2023-09-12T22:39:20.234Z] 4872d77fe225: Pulling fs layer [2023-09-12T22:39:20.234Z] 5851b861e8e6: Pulling fs layer [2023-09-12T22:39:20.234Z] 988bab9f4d93: Waiting [2023-09-12T22:39:20.234Z] 1469e6f7b9e6: Waiting [2023-09-12T22:39:20.234Z] eaf3925da568: Waiting [2023-09-12T22:39:20.234Z] bab4dde63d76: Waiting [2023-09-12T22:39:20.234Z] bde34c3a00c8: Waiting [2023-09-12T22:39:20.234Z] 4872d77fe225: Waiting [2023-09-12T22:39:20.234Z] b352a97aabf1: Waiting [2023-09-12T22:39:20.234Z] 5851b861e8e6: Waiting [2023-09-12T22:39:20.234Z] e2be974225ed: Verifying Checksum [2023-09-12T22:39:20.234Z] e2be974225ed: Download complete [2023-09-12T22:39:20.234Z] 988bab9f4d93: Download complete [2023-09-12T22:39:20.234Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T22:39:20.234Z] 1469e6f7b9e6: Download complete [2023-09-12T22:39:20.234Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T22:39:20.234Z] 339a4e72a1f5: Download complete [2023-09-12T22:39:20.492Z] bde34c3a00c8: Download complete [2023-09-12T22:39:20.492Z] b352a97aabf1: Verifying Checksum [2023-09-12T22:39:20.492Z] b352a97aabf1: Download complete [2023-09-12T22:39:20.492Z] 4872d77fe225: Download complete [2023-09-12T22:39:20.492Z] 5851b861e8e6: Verifying Checksum [2023-09-12T22:39:20.492Z] 5851b861e8e6: Download complete [2023-09-12T22:39:20.492Z] b85a868b505f: Verifying Checksum [2023-09-12T22:39:20.492Z] b85a868b505f: Download complete [2023-09-12T22:39:20.751Z] bab4dde63d76: Verifying Checksum [2023-09-12T22:39:20.751Z] bab4dde63d76: Download complete [2023-09-12T22:39:21.687Z] b85a868b505f: Pull complete [2023-09-12T22:39:21.687Z] e2be974225ed: Pull complete [2023-09-12T22:39:22.255Z] 339a4e72a1f5: Pull complete [2023-09-12T22:39:22.255Z] 988bab9f4d93: Pull complete [2023-09-12T22:39:22.513Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:39:22.772Z] eaf3925da568: Pull complete [2023-09-12T22:39:24.148Z] bab4dde63d76: Pull complete [2023-09-12T22:39:24.148Z] bde34c3a00c8: Pull complete [2023-09-12T22:39:24.407Z] b352a97aabf1: Pull complete [2023-09-12T22:39:24.407Z] 4872d77fe225: Pull complete [2023-09-12T22:39:24.407Z] 5851b861e8e6: Pull complete [2023-09-12T22:39:24.407Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:39:24.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:39:24.666Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:39:24.755Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:39:24.785Z] $ 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-09-12T22:39:27.773Z] $ docker top 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b -eo pid,comm [2023-09-12T22:39:27.838Z] 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-09-12T22:39:27.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:39:27.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:39:27.881Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:39:27.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:39:27.993Z] $ docker exec 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b ssh-agent [2023-09-12T22:39:28.098Z] SSH_AUTH_SOCK=/tmp/ssh-VEkLeZL1cEb5/agent.32 [2023-09-12T22:39:28.098Z] SSH_AGENT_PID=38 [2023-09-12T22:39:28.105Z] Running ssh-add (command line suppressed) [2023-09-12T22:39:28.208Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10227215675241198760.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10227215675241198760.key) [2023-09-12T22:39:28.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:39:28.516Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:39:28.530Z] $ docker exec --env ******** --env ******** 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b ssh-agent -k [2023-09-12T22:39:28.641Z] unset SSH_AUTH_SOCK; [2023-09-12T22:39:28.641Z] unset SSH_AGENT_PID; [2023-09-12T22:39:28.642Z] echo Agent pid 38 killed; [2023-09-12T22:39:28.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:39:28.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:39:28.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:39:28.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:39:28.809Z] $ docker exec 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b ssh-agent [2023-09-12T22:39:28.929Z] SSH_AUTH_SOCK=/tmp/ssh-1I7aei9Xy9zp/agent.70 [2023-09-12T22:39:28.929Z] SSH_AGENT_PID=76 [2023-09-12T22:39:28.934Z] Running ssh-add (command line suppressed) [2023-09-12T22:39:29.034Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4000150425689712619.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4000150425689712619.key) [2023-09-12T22:39:29.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:39:29.341Z] + git semver init [2023-09-12T22:39:29.602Z] 2023-09-12 22:39:29,520 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:39:29.602Z] 2023-09-12 22:39:29,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-12T22:39:29.602Z] 2023-09-12 22:39:29,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-12T22:39:29.602Z] 2023-09-12 22:39:29,521 [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-09-12T22:39:30.540Z] 2023-09-12 22:39:30,449 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-09-12T22:39:30.540Z] 2023-09-12 22:39:30,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-09-12T22:39:30.540Z] 2023-09-12 22:39:30,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:39:30.540Z] 2023-09-12 22:39:30,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:39:30.540Z] 3.1.0-dev.8 [Pipeline] } [2023-09-12T22:39:30.545Z] $ docker exec --env ******** --env ******** 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b ssh-agent -k [2023-09-12T22:39:30.642Z] unset SSH_AUTH_SOCK; [2023-09-12T22:39:30.642Z] unset SSH_AGENT_PID; [2023-09-12T22:39:30.642Z] echo Agent pid 76 killed; [2023-09-12T22:39:30.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:39:30.962Z] + git semver [Pipeline] } [2023-09-12T22:39:31.232Z] $ docker stop --time=1 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b [2023-09-12T22:39:32.532Z] $ docker rm -f --volumes 8b8aafc4bc227cd3862bd481f9e89fc26fe9b4b1d35ef16cdaced6dadba7905b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:39:32.867Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:39:33.066Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:39:33.069Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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-09-12T22:39:33.195Z] provisioning config files... [2023-09-12T22:39:33.204Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2047643373917838196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:39:33.499Z] ---> docker-login.sh [2023-09-12T22:39:33.499Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:39:33.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:33.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:33.499Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:33.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:33.499Z] [2023-09-12T22:39:33.499Z] Login Succeeded [2023-09-12T22:39:33.499Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:39:33.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:33.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:33.765Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:33.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:33.765Z] [2023-09-12T22:39:33.765Z] Login Succeeded [2023-09-12T22:39:33.765Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:39:33.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:33.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:33.765Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:33.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:33.765Z] [2023-09-12T22:39:33.765Z] Login Succeeded [2023-09-12T22:39:33.765Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:39:33.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:34.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:34.024Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:34.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:34.024Z] [2023-09-12T22:39:34.024Z] Login Succeeded [2023-09-12T22:39:34.024Z] docker.io [2023-09-12T22:39:34.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:39:34.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:39:34.283Z] Configure a credential helper to remove this warning. See [2023-09-12T22:39:34.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:39:34.283Z] [2023-09-12T22:39:34.283Z] Login Succeeded [2023-09-12T22:39:34.283Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:39:34.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:39:34.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:39:34.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:39:34.372Z] ========================================================= [2023-09-12T22:39:34.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:39:34.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:39:34.699Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T22:39:34.699Z] Sending build context to Docker daemon 16.09MB [2023-09-12T22:39:34.699Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:39:34.699Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:39:34.699Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:39:34.699Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:39:34.699Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:39:34.699Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:39:34.699Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:39:34.699Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:39:34.699Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:39:34.699Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:39:34.699Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:39:34.699Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:39:34.699Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:39:34.699Z] ad3a456e5733: Waiting [2023-09-12T22:39:34.699Z] 9e4f439ed901: Waiting [2023-09-12T22:39:34.699Z] feaf6a47b606: Waiting [2023-09-12T22:39:34.699Z] 5e8b037d7d82: Waiting [2023-09-12T22:39:34.699Z] 8ac70367396e: Waiting [2023-09-12T22:39:34.699Z] 6db16350a2e2: Waiting [2023-09-12T22:39:34.699Z] 9250d5d63582: Waiting [2023-09-12T22:39:34.959Z] c4d48a809fc2: Download complete [2023-09-12T22:39:34.959Z] ad3a456e5733: Verifying Checksum [2023-09-12T22:39:34.959Z] ad3a456e5733: Download complete [2023-09-12T22:39:34.959Z] 9e4f439ed901: Verifying Checksum [2023-09-12T22:39:34.959Z] 9e4f439ed901: Download complete [2023-09-12T22:39:34.959Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:39:34.959Z] 7264a8db6415: Download complete [2023-09-12T22:39:34.959Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:39:34.959Z] feaf6a47b606: Download complete [2023-09-12T22:39:34.959Z] 7264a8db6415: Pull complete [2023-09-12T22:39:35.219Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:39:35.219Z] 8ac70367396e: Download complete [2023-09-12T22:39:35.219Z] c4d48a809fc2: Pull complete [2023-09-12T22:39:35.219Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T22:39:35.219Z] 4f1c88b9dad5: Download complete [2023-09-12T22:39:35.477Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:39:35.477Z] 6db16350a2e2: Download complete [2023-09-12T22:39:35.477Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:39:35.477Z] 9250d5d63582: Download complete [2023-09-12T22:39:35.735Z] 5e8b037d7d82: Download complete [2023-09-12T22:39:39.016Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:39:39.016Z] ad3a456e5733: Pull complete [2023-09-12T22:39:39.016Z] 9e4f439ed901: Pull complete [2023-09-12T22:39:39.016Z] feaf6a47b606: Pull complete [2023-09-12T22:39:40.914Z] 5e8b037d7d82: Pull complete [2023-09-12T22:39:41.479Z] 8ac70367396e: Pull complete [2023-09-12T22:39:42.045Z] 6db16350a2e2: Pull complete [2023-09-12T22:39:42.609Z] 9250d5d63582: Pull complete [2023-09-12T22:39:42.609Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:39:42.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:39:42.609Z] ---> fa269f55d9b9 [2023-09-12T22:39:42.609Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:39:46.811Z] ---> Running in 62276e40e16e [2023-09-12T22:39:46.811Z] Removing intermediate container 62276e40e16e [2023-09-12T22:39:46.811Z] ---> 6de8ffd7faaa [2023-09-12T22:39:46.811Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:39:46.811Z] ---> Running in 90fb921ab009 [2023-09-12T22:39:46.811Z] Removing intermediate container 90fb921ab009 [2023-09-12T22:39:46.811Z] ---> ea60011ac0bf [2023-09-12T22:39:46.811Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-12T22:39:46.811Z] ---> Running in de6908a5901e [2023-09-12T22:39:46.811Z] Removing intermediate container de6908a5901e [2023-09-12T22:39:46.811Z] ---> e4154c74b872 [2023-09-12T22:39:46.811Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:39:46.811Z] ---> Running in 4e0bc53f0f97 [2023-09-12T22:39:47.070Z] Removing intermediate container 4e0bc53f0f97 [2023-09-12T22:39:47.070Z] ---> ab741c96dc9b [2023-09-12T22:39:47.070Z] Step 7/12 : WORKDIR /device-gpio [2023-09-12T22:39:47.070Z] ---> Running in 2e704d5e00e1 [2023-09-12T22:39:47.070Z] Removing intermediate container 2e704d5e00e1 [2023-09-12T22:39:47.070Z] ---> 2c2fab37a886 [2023-09-12T22:39:47.070Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:39:47.070Z] ---> Running in 12d21add6bc2 [2023-09-12T22:39:47.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:39:47.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:39:47.842Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:39:47.842Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:39:47.842Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:39:47.842Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:39:47.842Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:39:47.842Z] OK: 270 MiB in 60 packages [2023-09-12T22:39:48.165Z] Still waiting to schedule task [2023-09-12T22:39:48.166Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:39:48.409Z] Removing intermediate container 12d21add6bc2 [2023-09-12T22:39:48.409Z] ---> 497165cf6835 [2023-09-12T22:39:48.409Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:39:48.409Z] ---> f8410bf07e72 [2023-09-12T22:39:48.409Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:39:48.409Z] ---> Running in 34c8e96dbf59 [2023-09-12T22:40:25.466Z] Removing intermediate container 34c8e96dbf59 [2023-09-12T22:40:25.466Z] ---> a5058963a830 [2023-09-12T22:40:25.466Z] Step 11/12 : COPY . . [2023-09-12T22:40:26.400Z] ---> 99b612a7e59b [2023-09-12T22:40:26.400Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:40:26.400Z] ---> Running in e41f39355625 [2023-09-12T22:40:26.400Z] noop [2023-09-12T22:40:26.660Z] Removing intermediate container e41f39355625 [2023-09-12T22:40:26.660Z] ---> 98fccf82dea5 [2023-09-12T22:40:26.660Z] Successfully built 98fccf82dea5 [2023-09-12T22:40:26.660Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:26.979Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:40:26.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:40:27.050Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:40:27.083Z] $ 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-09-12T22:40:27.424Z] $ docker top 4422835a372a74a04fa1eed16be2b629fd0c460af50b0417a0a778acbaf65475 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:40:27.770Z] + go version [2023-09-12T22:40:27.770Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:40:27.779Z] $ docker stop --time=1 4422835a372a74a04fa1eed16be2b629fd0c460af50b0417a0a778acbaf65475 [2023-09-12T22:40:29.049Z] $ docker rm -f --volumes 4422835a372a74a04fa1eed16be2b629fd0c460af50b0417a0a778acbaf65475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:30.121Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:40:30.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:40:30.202Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:40:30.228Z] $ 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-09-12T22:40:30.571Z] $ docker top 0a78636a841b95901b0e1f026e551abb83fa9d9e472112bd709736108c356d23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:40:30.921Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:40:31.219Z] + make test [2023-09-12T22:40:31.219Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:40:32.591Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-12T22:40:42.563Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-12T22:40:42.563Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-12T22:40:49.122Z] go vet ./... [2023-09-12T22:40:53.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:40:53.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:40:53.311Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:40:53.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:40:53.333Z] $ docker stop --time=1 0a78636a841b95901b0e1f026e551abb83fa9d9e472112bd709736108c356d23 [2023-09-12T22:40:56.322Z] $ docker rm -f --volumes 0a78636a841b95901b0e1f026e551abb83fa9d9e472112bd709736108c356d23 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:40:56.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:40:56.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:40:57.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:40:57.532Z] + ls -al . [2023-09-12T22:40:57.532Z] total 168 [2023-09-12T22:40:57.532Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:40 . [2023-09-12T22:40:57.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:39 .. [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 22:39 .dockerignore [2023-09-12T22:40:57.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:40 .git [2023-09-12T22:40:57.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:39 .github [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 22:39 .gitignore [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:39 .golangci.yml [2023-09-12T22:40:57.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:39 .semver [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 12 22:39 Attribution.txt [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 12 22:39 CHANGELOG.md [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 12 22:39 Dockerfile [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:39 GOVERNANCE.md [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 22:39 Jenkinsfile [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:39 LICENSE [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 12 22:39 Makefile [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 22:39 OWNERS.md [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 12 22:39 README.md [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:39 VERSION [2023-09-12T22:40:57.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:39 bin [2023-09-12T22:40:57.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:39 cmd [2023-09-12T22:40:57.532Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 22:40 coverage.out [2023-09-12T22:40:57.532Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 12 22:39 go.mod [2023-09-12T22:40:57.533Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 12 22:39 go.sum [2023-09-12T22:40:57.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:39 internal [2023-09-12T22:40:57.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:39 snap [2023-09-12T22:40:57.533Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 22:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:40:57.837Z] + 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=bc7e5252a6371971a8ca64433ac86b0abda7502e --label arch=amd64 --label version=3.1.0-dev.8 . [2023-09-12T22:40:57.837Z] Sending build context to Docker daemon 16.09MB [2023-09-12T22:40:57.837Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:40:57.837Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:40:57.837Z] ---> 98fccf82dea5 [2023-09-12T22:40:57.837Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:40:58.094Z] ---> Running in 795705a8330d [2023-09-12T22:40:58.094Z] Removing intermediate container 795705a8330d [2023-09-12T22:40:58.094Z] ---> 6047c54e03d2 [2023-09-12T22:40:58.094Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:40:58.094Z] ---> Running in 3b82415a66c3 [2023-09-12T22:40:58.352Z] Removing intermediate container 3b82415a66c3 [2023-09-12T22:40:58.352Z] ---> 8400a3495d5f [2023-09-12T22:40:58.352Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-12T22:40:58.352Z] ---> Running in 7127a4eebd23 [2023-09-12T22:40:58.352Z] Removing intermediate container 7127a4eebd23 [2023-09-12T22:40:58.352Z] ---> 0a3cce8d267a [2023-09-12T22:40:58.352Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:40:58.352Z] ---> Running in 2b35af699487 [2023-09-12T22:40:58.352Z] Removing intermediate container 2b35af699487 [2023-09-12T22:40:58.352Z] ---> d7710893f196 [2023-09-12T22:40:58.352Z] Step 7/25 : WORKDIR /device-gpio [2023-09-12T22:40:58.352Z] ---> Running in 4c9539253031 [2023-09-12T22:40:58.352Z] Removing intermediate container 4c9539253031 [2023-09-12T22:40:58.611Z] ---> d90405f81501 [2023-09-12T22:40:58.611Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:40:58.611Z] ---> Running in df3cfc32080c [2023-09-12T22:40:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:40:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:40:59.129Z] OK: 270 MiB in 60 packages [2023-09-12T22:40:59.696Z] Removing intermediate container df3cfc32080c [2023-09-12T22:40:59.696Z] ---> ade5fe89f481 [2023-09-12T22:40:59.696Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:40:59.696Z] ---> ec47d6e7d56f [2023-09-12T22:40:59.696Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:40:59.696Z] ---> Running in bd24ef205d19 [2023-09-12T22:41:00.264Z] Removing intermediate container bd24ef205d19 [2023-09-12T22:41:00.264Z] ---> 61bc1ea41955 [2023-09-12T22:41:00.264Z] Step 11/25 : COPY . . [2023-09-12T22:41:00.833Z] ---> 718eb98e21c3 [2023-09-12T22:41:00.833Z] Step 12/25 : RUN ${MAKE} [2023-09-12T22:41:01.095Z] ---> Running in 06a465380e9a [2023-09-12T22:41:01.353Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-12T22:41:19.588Z] Removing intermediate container 06a465380e9a [2023-09-12T22:41:19.588Z] ---> 28b03a10fdc1 [2023-09-12T22:41:19.588Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:41:19.847Z] 3.18: Pulling from library/alpine [2023-09-12T22:41:19.847Z] 7264a8db6415: Already exists [2023-09-12T22:41:20.105Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:41:20.105Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:41:20.105Z] ---> 7e01a0d0a1dc [2023-09-12T22:41:20.105Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-12T22:41:20.105Z] ---> Running in f45e7bb391aa [2023-09-12T22:41:20.364Z] Removing intermediate container f45e7bb391aa [2023-09-12T22:41:20.364Z] ---> aa1680a77416 [2023-09-12T22:41:20.364Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-12T22:41:20.364Z] ---> Running in fd5c100c64d6 [2023-09-12T22:41:20.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:41:20.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:41:20.881Z] OK: 7 MiB in 15 packages [2023-09-12T22:41:21.140Z] Removing intermediate container fd5c100c64d6 [2023-09-12T22:41:21.140Z] ---> 985e79685137 [2023-09-12T22:41:21.140Z] Step 16/25 : WORKDIR / [2023-09-12T22:41:21.140Z] ---> Running in cae1cc1b2daa [2023-09-12T22:41:21.140Z] Removing intermediate container cae1cc1b2daa [2023-09-12T22:41:21.140Z] ---> 0b17c58ad1ee [2023-09-12T22:41:21.140Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-12T22:41:21.399Z] ---> 426f1a89d8bc [2023-09-12T22:41:21.399Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-12T22:41:21.399Z] ---> a5d59c4b961a [2023-09-12T22:41:21.399Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-12T22:41:22.346Z] ---> 3d56db952574 [2023-09-12T22:41:22.346Z] Step 20/25 : EXPOSE 59910 [2023-09-12T22:41:22.346Z] ---> Running in 229c36ce3343 [2023-09-12T22:41:22.346Z] Removing intermediate container 229c36ce3343 [2023-09-12T22:41:22.346Z] ---> ccb99753107d [2023-09-12T22:41:22.346Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-12T22:41:22.346Z] ---> Running in 9344321aa165 [2023-09-12T22:41:22.346Z] Removing intermediate container 9344321aa165 [2023-09-12T22:41:22.346Z] ---> 5df0ad2b09c3 [2023-09-12T22:41:22.346Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:41:22.346Z] ---> Running in 9d48e231e9cd [2023-09-12T22:41:22.346Z] Removing intermediate container 9d48e231e9cd [2023-09-12T22:41:22.346Z] ---> bfb1bebd8477 [2023-09-12T22:41:22.346Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T22:41:22.346Z] ---> Running in fe06f3742431 [2023-09-12T22:41:22.604Z] Removing intermediate container fe06f3742431 [2023-09-12T22:41:22.604Z] ---> dc859d7bf474 [2023-09-12T22:41:22.604Z] Step 24/25 : LABEL git_sha=bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:41:22.604Z] ---> Running in 9384c4547953 [2023-09-12T22:41:22.604Z] Removing intermediate container 9384c4547953 [2023-09-12T22:41:22.604Z] ---> 964d2101747b [2023-09-12T22:41:22.604Z] Step 25/25 : LABEL version=3.1.0-dev.8 [2023-09-12T22:41:22.604Z] ---> Running in c6e2d069a39d [2023-09-12T22:41:22.604Z] Removing intermediate container c6e2d069a39d [2023-09-12T22:41:22.604Z] ---> 8e8d348a4aaf [2023-09-12T22:41:22.604Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:41:22.604Z] Successfully built 8e8d348a4aaf [2023-09-12T22:41:22.604Z] 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-09-12T22:41:22.728Z] provisioning config files... [2023-09-12T22:41:22.734Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11654420354507772138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:41:23.031Z] ---> docker-login.sh [2023-09-12T22:41:23.031Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:41:23.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:23.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:23.031Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:23.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:23.031Z] [2023-09-12T22:41:23.031Z] Login Succeeded [2023-09-12T22:41:23.031Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:41:23.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:23.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:23.031Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:23.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:23.031Z] [2023-09-12T22:41:23.031Z] Login Succeeded [2023-09-12T22:41:23.031Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:41:23.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:23.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:23.289Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:23.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:23.289Z] [2023-09-12T22:41:23.289Z] Login Succeeded [2023-09-12T22:41:23.289Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:41:23.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:23.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:23.289Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:23.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:23.289Z] [2023-09-12T22:41:23.289Z] Login Succeeded [2023-09-12T22:41:23.289Z] docker.io [2023-09-12T22:41:23.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:41:23.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:41:23.548Z] Configure a credential helper to remove this warning. See [2023-09-12T22:41:23.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:41:23.548Z] [2023-09-12T22:41:23.548Z] Login Succeeded [2023-09-12T22:41:23.548Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:41:23.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:41:23.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:41:23.615Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-09-12T22:41:23.615Z] bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:41:23.615Z] latest [2023-09-12T22:41:23.615Z] 3.1.0-dev.8 [2023-09-12T22:41:23.615Z] bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:41:23.615Z] main [2023-09-12T22:41:23.615Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:23.944Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:24.247Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:41:24.247Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-12T22:41:24.247Z] bd1894ad0f96: Preparing [2023-09-12T22:41:24.247Z] 87c526a46ea1: Preparing [2023-09-12T22:41:24.247Z] 6afc7e4afee7: Preparing [2023-09-12T22:41:24.247Z] 72c972f5e609: Preparing [2023-09-12T22:41:24.247Z] 4693057ce236: Preparing [2023-09-12T22:41:24.247Z] 4693057ce236: Layer already exists [2023-09-12T22:41:24.247Z] 6afc7e4afee7: Pushed [2023-09-12T22:41:24.247Z] 72c972f5e609: Pushed [2023-09-12T22:41:24.247Z] 87c526a46ea1: Pushed [2023-09-12T22:41:26.779Z] bd1894ad0f96: Pushed [2023-09-12T22:41:27.038Z] bc7e5252a6371971a8ca64433ac86b0abda7502e: digest: sha256:f26311eb36473a9701c4f905326e715d218067f2b82499d84add729f2659c89c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:27.351Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:27.660Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-12T22:41:27.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-12T22:41:27.660Z] bd1894ad0f96: Preparing [2023-09-12T22:41:27.660Z] 87c526a46ea1: Preparing [2023-09-12T22:41:27.660Z] 6afc7e4afee7: Preparing [2023-09-12T22:41:27.660Z] 72c972f5e609: Preparing [2023-09-12T22:41:27.660Z] 4693057ce236: Preparing [2023-09-12T22:41:27.660Z] bd1894ad0f96: Layer already exists [2023-09-12T22:41:27.660Z] 4693057ce236: Layer already exists [2023-09-12T22:41:27.660Z] 72c972f5e609: Layer already exists [2023-09-12T22:41:27.660Z] 6afc7e4afee7: Layer already exists [2023-09-12T22:41:27.660Z] 87c526a46ea1: Layer already exists [2023-09-12T22:41:27.660Z] latest: digest: sha256:f26311eb36473a9701c4f905326e715d218067f2b82499d84add729f2659c89c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:27.979Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:28.283Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.8 [2023-09-12T22:41:28.283Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-12T22:41:28.283Z] bd1894ad0f96: Preparing [2023-09-12T22:41:28.283Z] 87c526a46ea1: Preparing [2023-09-12T22:41:28.283Z] 6afc7e4afee7: Preparing [2023-09-12T22:41:28.283Z] 72c972f5e609: Preparing [2023-09-12T22:41:28.283Z] 4693057ce236: Preparing [2023-09-12T22:41:28.283Z] 4693057ce236: Layer already exists [2023-09-12T22:41:28.283Z] bd1894ad0f96: Layer already exists [2023-09-12T22:41:28.283Z] 6afc7e4afee7: Layer already exists [2023-09-12T22:41:28.283Z] 72c972f5e609: Layer already exists [2023-09-12T22:41:28.283Z] 87c526a46ea1: Layer already exists [2023-09-12T22:41:28.283Z] 3.1.0-dev.8: digest: sha256:f26311eb36473a9701c4f905326e715d218067f2b82499d84add729f2659c89c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:28.590Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:28.896Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:41:28.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-12T22:41:28.896Z] bd1894ad0f96: Preparing [2023-09-12T22:41:28.896Z] 87c526a46ea1: Preparing [2023-09-12T22:41:28.896Z] 6afc7e4afee7: Preparing [2023-09-12T22:41:28.896Z] 72c972f5e609: Preparing [2023-09-12T22:41:28.896Z] 4693057ce236: Preparing [2023-09-12T22:41:28.896Z] 4693057ce236: Layer already exists [2023-09-12T22:41:28.896Z] 87c526a46ea1: Layer already exists [2023-09-12T22:41:28.896Z] 6afc7e4afee7: Layer already exists [2023-09-12T22:41:28.896Z] bd1894ad0f96: Layer already exists [2023-09-12T22:41:28.896Z] 72c972f5e609: Layer already exists [2023-09-12T22:41:28.896Z] bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8: digest: sha256:f26311eb36473a9701c4f905326e715d218067f2b82499d84add729f2659c89c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:29.211Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:29.523Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-12T22:41:29.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-12T22:41:29.523Z] bd1894ad0f96: Preparing [2023-09-12T22:41:29.523Z] 87c526a46ea1: Preparing [2023-09-12T22:41:29.523Z] 6afc7e4afee7: Preparing [2023-09-12T22:41:29.523Z] 72c972f5e609: Preparing [2023-09-12T22:41:29.523Z] 4693057ce236: Preparing [2023-09-12T22:41:29.523Z] 4693057ce236: Layer already exists [2023-09-12T22:41:29.523Z] bd1894ad0f96: Layer already exists [2023-09-12T22:41:29.523Z] 72c972f5e609: Layer already exists [2023-09-12T22:41:29.523Z] 6afc7e4afee7: Layer already exists [2023-09-12T22:41:29.523Z] 87c526a46ea1: Layer already exists [2023-09-12T22:41:29.523Z] main: digest: sha256:f26311eb36473a9701c4f905326e715d218067f2b82499d84add729f2659c89c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:41:29.558Z] ===================================================== [Pipeline] echo [2023-09-12T22:41:29.564Z] taggedImages: [2023-09-12T22:41:29.564Z] - nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:41:29.564Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-12T22:41:29.564Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.8 [2023-09-12T22:41:29.564Z] - nexus3.edgexfoundry.org:10004/device-gpio:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:41:29.564Z] - 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-09-12T22:41:29.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:29.940Z] [2023-09-12T22:41:29.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:41:30.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:30.242Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:41:30.242Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:41:30.242Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:41:30.242Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:41:30.242Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:41:30.242Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:41:30.242Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:41:30.242Z] 33b1e0a273af: Waiting [2023-09-12T22:41:30.242Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:41:30.242Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:41:30.242Z] 5d3b04190fa2: Waiting [2023-09-12T22:41:30.242Z] 2f39f015ded8: Waiting [2023-09-12T22:41:30.242Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:41:30.242Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:41:30.242Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:41:30.242Z] 33b1e0a273af: Download complete [2023-09-12T22:41:30.242Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T22:41:30.242Z] 5d3b04190fa2: Download complete [2023-09-12T22:41:30.242Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:41:30.242Z] ec43610c2a17: Download complete [2023-09-12T22:41:30.499Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:41:30.499Z] 5eb5b503b376: Download complete [2023-09-12T22:41:31.065Z] 2f39f015ded8: Download complete [2023-09-12T22:41:31.629Z] 5eb5b503b376: Pull complete [2023-09-12T22:41:31.887Z] 5c69ac0246d0: Pull complete [2023-09-12T22:41:32.144Z] ec43610c2a17: Pull complete [2023-09-12T22:41:32.144Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:41:32.403Z] 33b1e0a273af: Pull complete [2023-09-12T22:41:32.664Z] 5d3b04190fa2: Pull complete [2023-09-12T22:41:36.848Z] 2f39f015ded8: Pull complete [2023-09-12T22:41:36.848Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:41:36.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:41:36.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:41:36.930Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:41:36.957Z] $ 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-09-12T22:41:40.935Z] $ docker top eba2f1fad95d34553ae8b12ed9b3e4404c655de2f45a216cedf0c2d5e5d6c665 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:41:41.308Z] ---> job-cost.sh [2023-09-12T22:41:41.308Z] lf-activate-venv: SKIPPING [2023-09-12T22:41:41.308Z] INFO: No Stack... [2023-09-12T22:41:41.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:41:42.134Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:41:42.420Z] + cut -d, -f6 [2023-09-12T22:41:42.420Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [Pipeline] lock [2023-09-12T22:41:42.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [2023-09-12T22:41:42.441Z] Resource [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] did not exist. Created. [2023-09-12T22:41:42.441Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:41:42.742Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:41:42.776Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:41:42.783Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:41:42.800Z] $ docker stop --time=1 eba2f1fad95d34553ae8b12ed9b3e4404c655de2f45a216cedf0c2d5e5d6c665 [2023-09-12T22:41:43.960Z] $ docker rm -f --volumes eba2f1fad95d34553ae8b12ed9b3e4404c655de2f45a216cedf0c2d5e5d6c665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:42:27.893Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6044 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-09-12T22:42:27.908Z] Running in /w/workspace/device-gpio/95 [Pipeline] { [Pipeline] checkout [2023-09-12T22:42:27.953Z] The recommended git tool is: git [2023-09-12T22:42:34.132Z] using credential edgex-jenkins-ssh [2023-09-12T22:42:34.153Z] Cloning the remote Git repository [2023-09-12T22:42:34.207Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-09-12T22:42:34.322Z] > git init /w/workspace/device-gpio/95 # timeout=10 [2023-09-12T22:42:34.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-09-12T22:42:34.508Z] > git --version # timeout=10 [2023-09-12T22:42:34.533Z] > git --version # 'git version 2.25.1' [2023-09-12T22:42:34.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:42:34.711Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:42:36.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-09-12T22:42:36.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:42:37.631Z] Avoid second fetch [2023-09-12T22:42:37.632Z] Checking out Revision bc7e5252a6371971a8ca64433ac86b0abda7502e (main) [2023-09-12T22:42:38.214Z] Commit message: "Merge pull request #193 from lenny-intel/go-1.21" [2023-09-12T22:42:37.648Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:42:37.723Z] > git checkout -f bc7e5252a6371971a8ca64433ac86b0abda7502e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:42:39.009Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:42:39.009Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:42:39.009Z] Dload Upload Total Spent Left Speed [2023-09-12T22:42:39.009Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-09-12T22:42:39.657Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:42:39.986Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:42:39.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:42:39.986Z] { [2023-09-12T22:42:39.986Z] "registry-mirrors": [ [2023-09-12T22:42:39.986Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:42:39.986Z] ], [2023-09-12T22:42:39.986Z] "bip": "10.250.0.254/24", [2023-09-12T22:42:39.986Z] "hosts": [ [2023-09-12T22:42:39.986Z] "tcp://0.0.0.0:5555", [2023-09-12T22:42:39.986Z] "unix:///var/run/docker.sock" [2023-09-12T22:42:39.986Z] ], [2023-09-12T22:42:39.986Z] "mtu": 1458, [2023-09-12T22:42:39.986Z] "selinux-enabled": true, [2023-09-12T22:42:39.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:42:39.986Z] } [Pipeline] sh [2023-09-12T22:42:40.323Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:42:40.658Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:42:58.934Z] provisioning config files... [2023-09-12T22:42:58.962Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/95@tmp/config8274605232044436681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:42:59.321Z] ---> docker-login.sh [2023-09-12T22:42:59.321Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:42:59.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:42:59.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:42:59.863Z] Configure a credential helper to remove this warning. See [2023-09-12T22:42:59.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:42:59.863Z] [2023-09-12T22:42:59.863Z] Login Succeeded [2023-09-12T22:42:59.863Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:43:00.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:43:00.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:43:00.401Z] Configure a credential helper to remove this warning. See [2023-09-12T22:43:00.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:43:00.402Z] [2023-09-12T22:43:00.402Z] Login Succeeded [2023-09-12T22:43:00.402Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:43:00.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:43:00.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:43:00.671Z] Configure a credential helper to remove this warning. See [2023-09-12T22:43:00.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:43:00.671Z] [2023-09-12T22:43:00.671Z] Login Succeeded [2023-09-12T22:43:00.671Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:43:00.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:43:01.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:43:01.211Z] Configure a credential helper to remove this warning. See [2023-09-12T22:43:01.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:43:01.211Z] [2023-09-12T22:43:01.211Z] Login Succeeded [2023-09-12T22:43:01.211Z] docker.io [2023-09-12T22:43:01.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:43:01.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:43:01.745Z] Configure a credential helper to remove this warning. See [2023-09-12T22:43:01.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:43:01.745Z] [2023-09-12T22:43:01.745Z] Login Succeeded [2023-09-12T22:43:01.745Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:43:01.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:43:02.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:43:02.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:43:02.038Z] ========================================================= [2023-09-12T22:43:02.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:43:02.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:43:02.380Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T22:43:02.649Z] Sending build context to Docker daemon 8.105MB [2023-09-12T22:43:02.649Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:43:02.649Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:43:02.922Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:43:02.922Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:43:02.922Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:43:02.922Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:43:02.922Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:43:02.922Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:43:02.922Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:43:02.922Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:43:02.922Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:43:02.922Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:43:02.922Z] f0e02332f6b5: Waiting [2023-09-12T22:43:02.922Z] 66412af1f25a: Waiting [2023-09-12T22:43:02.922Z] 9a37bb91b891: Waiting [2023-09-12T22:43:02.922Z] 1baf3a5c0e64: Waiting [2023-09-12T22:43:02.922Z] a29adfc67d43: Waiting [2023-09-12T22:43:02.922Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:43:02.922Z] 5d54e960e981: Download complete [2023-09-12T22:43:02.923Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:43:02.923Z] f0e02332f6b5: Download complete [2023-09-12T22:43:02.923Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T22:43:02.923Z] 9fda8d8052c6: Download complete [2023-09-12T22:43:02.923Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:43:02.923Z] 66412af1f25a: Download complete [2023-09-12T22:43:03.515Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:43:03.515Z] 9a37bb91b891: Download complete [2023-09-12T22:43:04.110Z] 9fda8d8052c6: Pull complete [2023-09-12T22:43:04.110Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:43:04.110Z] a29adfc67d43: Download complete [2023-09-12T22:43:05.118Z] 5d54e960e981: Pull complete [2023-09-12T22:43:05.118Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:43:05.118Z] d5de9f91c1a4: Download complete [2023-09-12T22:43:05.391Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:43:05.391Z] c4a7e357bf2a: Download complete [2023-09-12T22:43:06.372Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:43:06.372Z] 1baf3a5c0e64: Download complete [2023-09-12T22:43:16.471Z] c4a7e357bf2a: Pull complete [2023-09-12T22:43:16.471Z] f0e02332f6b5: Pull complete [2023-09-12T22:43:16.740Z] 66412af1f25a: Pull complete [2023-09-12T22:43:23.400Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:43:24.828Z] 9a37bb91b891: Pull complete [2023-09-12T22:43:26.244Z] a29adfc67d43: Pull complete [2023-09-12T22:43:30.512Z] d5de9f91c1a4: Pull complete [2023-09-12T22:43:30.512Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:43:30.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:43:30.513Z] ---> 746ca1b523b5 [2023-09-12T22:43:30.513Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:43:32.472Z] ---> Running in 0f7c2dc9a94a [2023-09-12T22:43:32.741Z] Removing intermediate container 0f7c2dc9a94a [2023-09-12T22:43:32.741Z] ---> 945564660de5 [2023-09-12T22:43:32.741Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:43:33.012Z] ---> Running in 33a8298cd9e1 [2023-09-12T22:43:33.286Z] Removing intermediate container 33a8298cd9e1 [2023-09-12T22:43:33.286Z] ---> 32708e51630a [2023-09-12T22:43:33.286Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-12T22:43:33.286Z] ---> Running in 22443d8022c3 [2023-09-12T22:43:33.875Z] Removing intermediate container 22443d8022c3 [2023-09-12T22:43:33.875Z] ---> 4ffd8117fa0e [2023-09-12T22:43:33.875Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:43:33.875Z] ---> Running in 5d09986aae88 [2023-09-12T22:43:34.144Z] Removing intermediate container 5d09986aae88 [2023-09-12T22:43:34.144Z] ---> 7137d04e425c [2023-09-12T22:43:34.144Z] Step 7/12 : WORKDIR /device-gpio [2023-09-12T22:43:34.144Z] ---> Running in cc082f507fe9 [2023-09-12T22:43:34.736Z] Removing intermediate container cc082f507fe9 [2023-09-12T22:43:34.736Z] ---> ad7af39539d3 [2023-09-12T22:43:34.736Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:43:34.736Z] ---> Running in df23a04e1db3 [2023-09-12T22:43:36.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:43:36.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:43:37.959Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:43:37.959Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:43:37.959Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:43:37.959Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:43:37.959Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:43:37.959Z] OK: 272 MiB in 60 packages [2023-09-12T22:43:38.940Z] Removing intermediate container df23a04e1db3 [2023-09-12T22:43:38.940Z] ---> dac6bb4d9af8 [2023-09-12T22:43:38.940Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:43:39.528Z] ---> a2ed9fd7704c [2023-09-12T22:43:39.528Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:43:39.800Z] ---> Running in cacd40018051 [2023-09-12T22:44:47.723Z] Removing intermediate container cacd40018051 [2023-09-12T22:44:47.723Z] ---> b4f84bc4b542 [2023-09-12T22:44:47.723Z] Step 11/12 : COPY . . [2023-09-12T22:44:47.993Z] ---> 712853c90e3d [2023-09-12T22:44:47.993Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:44:47.993Z] ---> Running in a01a06921510 [2023-09-12T22:44:48.957Z] noop [2023-09-12T22:44:49.545Z] Removing intermediate container a01a06921510 [2023-09-12T22:44:49.545Z] ---> 297614a12663 [2023-09-12T22:44:49.545Z] Successfully built 297614a12663 [2023-09-12T22:44:49.545Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:44:50.178Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:44:50.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:44:50.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-6044 does not seem to be running inside a container [2023-09-12T22:44:50.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/95 -v /w/workspace/device-gpio/95:/w/workspace/device-gpio/95:rw,z -v /w/workspace/device-gpio/95@tmp:/w/workspace/device-gpio/95@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-09-12T22:44:53.332Z] $ docker top d8acbe86d766cb90de2eccf35350412fd512a3d6708ff2e63b05aae8c9dea4a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:44:54.171Z] + go version [2023-09-12T22:44:54.171Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:44:54.187Z] $ docker stop --time=1 d8acbe86d766cb90de2eccf35350412fd512a3d6708ff2e63b05aae8c9dea4a7 [2023-09-12T22:44:55.808Z] $ docker rm -f --volumes d8acbe86d766cb90de2eccf35350412fd512a3d6708ff2e63b05aae8c9dea4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:44:56.375Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:44:56.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:44:56.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-6044 does not seem to be running inside a container [2023-09-12T22:44:56.611Z] $ 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/95 -v /w/workspace/device-gpio/95:/w/workspace/device-gpio/95:rw,z -v /w/workspace/device-gpio/95@tmp:/w/workspace/device-gpio/95@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-09-12T22:44:57.820Z] $ docker top b5764fe096870266385630c87ea4dca499f54d34abb66196bb9f131be68d8419 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:44:58.655Z] + git config --global --add safe.directory /w/workspace/device-gpio/95 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:44:58.983Z] + make test [2023-09-12T22:44:59.251Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:45:03.521Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-12T22:46:40.152Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-12T22:46:40.152Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-12T22:46:40.152Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:46:40.152Z] go vet ./... [2023-09-12T22:47:06.846Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:47:06.846Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:47:06.846Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:47:06.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:47:06.873Z] $ docker stop --time=1 b5764fe096870266385630c87ea4dca499f54d34abb66196bb9f131be68d8419 [2023-09-12T22:47:08.828Z] $ docker rm -f --volumes b5764fe096870266385630c87ea4dca499f54d34abb66196bb9f131be68d8419 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:47:10.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:47:10.053Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:47:10.515Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:47:10.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:47:11.257Z] + ls -al . [2023-09-12T22:47:11.257Z] total 164 [2023-09-12T22:47:11.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:45 . [2023-09-12T22:47:11.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:42 .. [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 22:42 .dockerignore [2023-09-12T22:47:11.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:42 .git [2023-09-12T22:47:11.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 .github [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 22:42 .gitignore [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:42 .golangci.yml [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 12 22:42 Attribution.txt [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 12 22:42 CHANGELOG.md [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 12 22:42 Dockerfile [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:42 GOVERNANCE.md [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 22:42 Jenkinsfile [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:42 LICENSE [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 12 22:42 Makefile [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 22:42 OWNERS.md [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 12 22:42 README.md [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:39 VERSION [2023-09-12T22:47:11.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:42 bin [2023-09-12T22:47:11.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 cmd [2023-09-12T22:47:11.257Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 22:45 coverage.out [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 12 22:42 go.mod [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 12 22:42 go.sum [2023-09-12T22:47:11.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 internal [2023-09-12T22:47:11.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:42 snap [2023-09-12T22:47:11.257Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:47:11.602Z] + 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=bc7e5252a6371971a8ca64433ac86b0abda7502e --label arch=arm64 --label version=3.1.0-dev.8 . [2023-09-12T22:47:11.870Z] Sending build context to Docker daemon 8.106MB [2023-09-12T22:47:11.870Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:47:11.870Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:47:11.870Z] ---> 297614a12663 [2023-09-12T22:47:11.870Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:47:12.454Z] ---> Running in e32ac16dd02a [2023-09-12T22:47:12.720Z] Removing intermediate container e32ac16dd02a [2023-09-12T22:47:12.720Z] ---> 450e3ecf4c39 [2023-09-12T22:47:12.720Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:47:12.720Z] ---> Running in 24295174ac69 [2023-09-12T22:47:12.988Z] Removing intermediate container 24295174ac69 [2023-09-12T22:47:12.988Z] ---> 8ac449c8e42c [2023-09-12T22:47:12.988Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-12T22:47:12.988Z] ---> Running in 6402ae2a65f8 [2023-09-12T22:47:13.573Z] Removing intermediate container 6402ae2a65f8 [2023-09-12T22:47:13.573Z] ---> 487402994774 [2023-09-12T22:47:13.573Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:47:13.573Z] ---> Running in 406dce68db84 [2023-09-12T22:47:13.840Z] Removing intermediate container 406dce68db84 [2023-09-12T22:47:13.840Z] ---> 2d932669cb91 [2023-09-12T22:47:13.840Z] Step 7/25 : WORKDIR /device-gpio [2023-09-12T22:47:13.840Z] ---> Running in f8c5c9a8cb8d [2023-09-12T22:47:14.110Z] Removing intermediate container f8c5c9a8cb8d [2023-09-12T22:47:14.110Z] ---> b24866f5215a [2023-09-12T22:47:14.110Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:47:14.376Z] ---> Running in ba63916b9401 [2023-09-12T22:47:15.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:47:15.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:47:17.339Z] OK: 272 MiB in 60 packages [2023-09-12T22:47:19.295Z] Removing intermediate container ba63916b9401 [2023-09-12T22:47:19.295Z] ---> 3b5775894eb7 [2023-09-12T22:47:19.295Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:47:19.569Z] ---> 260df53b5147 [2023-09-12T22:47:19.569Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:47:19.569Z] ---> Running in 81d31623b798 [2023-09-12T22:47:22.167Z] Removing intermediate container 81d31623b798 [2023-09-12T22:47:22.167Z] ---> 55e1105c43b8 [2023-09-12T22:47:22.167Z] Step 11/25 : COPY . . [2023-09-12T22:47:24.120Z] ---> a78090ee6792 [2023-09-12T22:47:24.120Z] Step 12/25 : RUN ${MAKE} [2023-09-12T22:47:24.120Z] ---> Running in 46bf77bb8ba7 [2023-09-12T22:47:25.551Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-12T22:49:17.216Z] Removing intermediate container 46bf77bb8ba7 [2023-09-12T22:49:17.216Z] ---> 26aa473f1684 [2023-09-12T22:49:17.216Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:49:17.216Z] 3.18: Pulling from library/alpine [2023-09-12T22:49:17.216Z] 9fda8d8052c6: Already exists [2023-09-12T22:49:17.216Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:49:17.216Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:49:17.216Z] ---> f6648c04cd6c [2023-09-12T22:49:17.216Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-12T22:49:17.216Z] ---> Running in bb3ada69b6fa [2023-09-12T22:49:17.216Z] Removing intermediate container bb3ada69b6fa [2023-09-12T22:49:17.216Z] ---> 89e1cc5dd7db [2023-09-12T22:49:17.216Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-12T22:49:17.216Z] ---> Running in 44a3b84e169d [2023-09-12T22:49:17.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:49:17.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:49:18.896Z] OK: 8 MiB in 15 packages [2023-09-12T22:49:21.481Z] Removing intermediate container 44a3b84e169d [2023-09-12T22:49:21.481Z] ---> b73763f5874b [2023-09-12T22:49:21.481Z] Step 16/25 : WORKDIR / [2023-09-12T22:49:21.481Z] ---> Running in 59083ad387cf [2023-09-12T22:49:21.481Z] Removing intermediate container 59083ad387cf [2023-09-12T22:49:21.481Z] ---> 2ea9ac850d6f [2023-09-12T22:49:21.481Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-12T22:49:21.750Z] ---> bfa9c7dee7ba [2023-09-12T22:49:21.750Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-12T22:49:22.334Z] ---> e29da96497a1 [2023-09-12T22:49:22.334Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-12T22:49:23.744Z] ---> e06f70b417de [2023-09-12T22:49:23.744Z] Step 20/25 : EXPOSE 59910 [2023-09-12T22:49:24.010Z] ---> Running in b302df2957a5 [2023-09-12T22:49:24.277Z] Removing intermediate container b302df2957a5 [2023-09-12T22:49:24.277Z] ---> 1a6127f18752 [2023-09-12T22:49:24.277Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-12T22:49:24.277Z] ---> Running in c27d1db06257 [2023-09-12T22:49:24.545Z] Removing intermediate container c27d1db06257 [2023-09-12T22:49:24.545Z] ---> 30e7c7a2b10a [2023-09-12T22:49:24.545Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:49:24.545Z] ---> Running in 7c7169752c68 [2023-09-12T22:49:24.824Z] Removing intermediate container 7c7169752c68 [2023-09-12T22:49:24.824Z] ---> 74c30b5d90e3 [2023-09-12T22:49:24.824Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T22:49:25.092Z] ---> Running in ef1b561aae00 [2023-09-12T22:49:25.358Z] Removing intermediate container ef1b561aae00 [2023-09-12T22:49:25.358Z] ---> 8ae1cbfb0354 [2023-09-12T22:49:25.358Z] Step 24/25 : LABEL git_sha=bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:49:25.358Z] ---> Running in 5e2d22a9ddd3 [2023-09-12T22:49:25.625Z] Removing intermediate container 5e2d22a9ddd3 [2023-09-12T22:49:25.625Z] ---> a48f61342d8d [2023-09-12T22:49:25.625Z] Step 25/25 : LABEL version=3.1.0-dev.8 [2023-09-12T22:49:25.625Z] ---> Running in 676e1d9342eb [2023-09-12T22:49:26.209Z] Removing intermediate container 676e1d9342eb [2023-09-12T22:49:26.209Z] ---> 32be983bc033 [2023-09-12T22:49:26.209Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:49:26.209Z] Successfully built 32be983bc033 [2023-09-12T22:49:26.209Z] 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-09-12T22:49:26.332Z] provisioning config files... [2023-09-12T22:49:26.345Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/95@tmp/config17100059474685154717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:49:26.676Z] ---> docker-login.sh [2023-09-12T22:49:26.676Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:49:26.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:49:26.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:49:26.943Z] Configure a credential helper to remove this warning. See [2023-09-12T22:49:26.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:49:26.943Z] [2023-09-12T22:49:26.943Z] Login Succeeded [2023-09-12T22:49:26.943Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:49:27.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:49:27.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:49:27.209Z] Configure a credential helper to remove this warning. See [2023-09-12T22:49:27.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:49:27.209Z] [2023-09-12T22:49:27.209Z] Login Succeeded [2023-09-12T22:49:27.209Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:49:27.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:49:27.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:49:27.739Z] Configure a credential helper to remove this warning. See [2023-09-12T22:49:27.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:49:27.739Z] [2023-09-12T22:49:27.739Z] Login Succeeded [2023-09-12T22:49:27.739Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:49:28.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:49:28.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:49:28.004Z] Configure a credential helper to remove this warning. See [2023-09-12T22:49:28.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:49:28.004Z] [2023-09-12T22:49:28.004Z] Login Succeeded [2023-09-12T22:49:28.004Z] docker.io [2023-09-12T22:49:28.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:49:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:49:28.531Z] Configure a credential helper to remove this warning. See [2023-09-12T22:49:28.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:49:28.531Z] [2023-09-12T22:49:28.531Z] Login Succeeded [2023-09-12T22:49:28.531Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:49:28.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:49:28.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:49:28.585Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-09-12T22:49:28.585Z] bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:49:28.585Z] latest [2023-09-12T22:49:28.585Z] 3.1.0-dev.8 [2023-09-12T22:49:28.585Z] bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:49:28.585Z] main [2023-09-12T22:49:28.585Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:28.924Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:29.271Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:49:29.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-12T22:49:29.271Z] 6b1e997bad36: Preparing [2023-09-12T22:49:29.271Z] a8a8959e953c: Preparing [2023-09-12T22:49:29.271Z] d9b1c5fcca53: Preparing [2023-09-12T22:49:29.271Z] 1e0de71c7972: Preparing [2023-09-12T22:49:29.272Z] b2191e2be29d: Preparing [2023-09-12T22:49:29.272Z] b2191e2be29d: Layer already exists [2023-09-12T22:49:29.541Z] d9b1c5fcca53: Pushed [2023-09-12T22:49:29.541Z] 1e0de71c7972: Pushed [2023-09-12T22:49:29.541Z] a8a8959e953c: Pushed [2023-09-12T22:49:36.176Z] 6b1e997bad36: Pushed [2023-09-12T22:49:36.176Z] bc7e5252a6371971a8ca64433ac86b0abda7502e: digest: sha256:ce782be967ece1e108dd03fd9e7148c354a3a4e9814d4690939c83b823888e52 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:36.510Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:36.844Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-12T22:49:36.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-12T22:49:36.844Z] 6b1e997bad36: Preparing [2023-09-12T22:49:36.844Z] a8a8959e953c: Preparing [2023-09-12T22:49:36.844Z] d9b1c5fcca53: Preparing [2023-09-12T22:49:36.844Z] 1e0de71c7972: Preparing [2023-09-12T22:49:36.844Z] b2191e2be29d: Preparing [2023-09-12T22:49:36.844Z] 6b1e997bad36: Layer already exists [2023-09-12T22:49:36.844Z] 1e0de71c7972: Layer already exists [2023-09-12T22:49:36.844Z] b2191e2be29d: Layer already exists [2023-09-12T22:49:36.844Z] d9b1c5fcca53: Layer already exists [2023-09-12T22:49:36.844Z] a8a8959e953c: Layer already exists [2023-09-12T22:49:36.844Z] latest: digest: sha256:ce782be967ece1e108dd03fd9e7148c354a3a4e9814d4690939c83b823888e52 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:37.180Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:37.520Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.8 [2023-09-12T22:49:37.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-12T22:49:37.520Z] 6b1e997bad36: Preparing [2023-09-12T22:49:37.520Z] a8a8959e953c: Preparing [2023-09-12T22:49:37.520Z] d9b1c5fcca53: Preparing [2023-09-12T22:49:37.520Z] 1e0de71c7972: Preparing [2023-09-12T22:49:37.520Z] b2191e2be29d: Preparing [2023-09-12T22:49:37.520Z] a8a8959e953c: Layer already exists [2023-09-12T22:49:37.520Z] d9b1c5fcca53: Layer already exists [2023-09-12T22:49:37.520Z] 1e0de71c7972: Layer already exists [2023-09-12T22:49:37.520Z] b2191e2be29d: Layer already exists [2023-09-12T22:49:37.520Z] 6b1e997bad36: Layer already exists [2023-09-12T22:49:37.520Z] 3.1.0-dev.8: digest: sha256:ce782be967ece1e108dd03fd9e7148c354a3a4e9814d4690939c83b823888e52 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:37.866Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:38.210Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:49:38.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-12T22:49:38.210Z] 6b1e997bad36: Preparing [2023-09-12T22:49:38.210Z] a8a8959e953c: Preparing [2023-09-12T22:49:38.210Z] d9b1c5fcca53: Preparing [2023-09-12T22:49:38.210Z] 1e0de71c7972: Preparing [2023-09-12T22:49:38.210Z] b2191e2be29d: Preparing [2023-09-12T22:49:38.210Z] b2191e2be29d: Layer already exists [2023-09-12T22:49:38.210Z] a8a8959e953c: Layer already exists [2023-09-12T22:49:38.210Z] 1e0de71c7972: Layer already exists [2023-09-12T22:49:38.210Z] d9b1c5fcca53: Layer already exists [2023-09-12T22:49:38.210Z] 6b1e997bad36: Layer already exists [2023-09-12T22:49:38.210Z] bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8: digest: sha256:ce782be967ece1e108dd03fd9e7148c354a3a4e9814d4690939c83b823888e52 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:38.554Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:38.895Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-09-12T22:49:38.895Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-12T22:49:38.895Z] 6b1e997bad36: Preparing [2023-09-12T22:49:38.895Z] a8a8959e953c: Preparing [2023-09-12T22:49:38.895Z] d9b1c5fcca53: Preparing [2023-09-12T22:49:38.895Z] 1e0de71c7972: Preparing [2023-09-12T22:49:38.895Z] b2191e2be29d: Preparing [2023-09-12T22:49:38.895Z] 1e0de71c7972: Layer already exists [2023-09-12T22:49:38.895Z] a8a8959e953c: Layer already exists [2023-09-12T22:49:38.895Z] b2191e2be29d: Layer already exists [2023-09-12T22:49:38.895Z] d9b1c5fcca53: Layer already exists [2023-09-12T22:49:38.895Z] 6b1e997bad36: Layer already exists [2023-09-12T22:49:38.895Z] main: digest: sha256:ce782be967ece1e108dd03fd9e7148c354a3a4e9814d4690939c83b823888e52 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:49:38.950Z] ===================================================== [Pipeline] echo [2023-09-12T22:49:38.963Z] taggedImages: [2023-09-12T22:49:38.963Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e [2023-09-12T22:49:38.963Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-12T22:49:38.963Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.8 [2023-09-12T22:49:38.963Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:bc7e5252a6371971a8ca64433ac86b0abda7502e-3.1.0-dev.8 [2023-09-12T22:49:38.963Z] - 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-09-12T22:49:39.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:49:39.322Z] [2023-09-12T22:49:39.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:49:39.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:49:39.650Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:49:39.650Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:49:39.650Z] 04944245beec: Pulling fs layer [2023-09-12T22:49:39.650Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:49:39.650Z] 765212b225bb: Pulling fs layer [2023-09-12T22:49:39.650Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:49:39.650Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:49:39.650Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:49:39.650Z] f23df028b6ca: Waiting [2023-09-12T22:49:39.650Z] d65c8cfc05b1: Waiting [2023-09-12T22:49:39.650Z] 2437ff75d9bd: Waiting [2023-09-12T22:49:39.650Z] 765212b225bb: Waiting [2023-09-12T22:49:39.918Z] 04944245beec: Verifying Checksum [2023-09-12T22:49:39.919Z] 04944245beec: Download complete [2023-09-12T22:49:39.919Z] 765212b225bb: Verifying Checksum [2023-09-12T22:49:39.919Z] 765212b225bb: Download complete [2023-09-12T22:49:39.919Z] f23df028b6ca: Verifying Checksum [2023-09-12T22:49:39.919Z] f23df028b6ca: Download complete [2023-09-12T22:49:39.919Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:49:39.919Z] d65c8cfc05b1: Download complete [2023-09-12T22:49:39.919Z] 699f458cf7ca: Download complete [2023-09-12T22:49:40.509Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:49:40.510Z] 8998bd30e6a1: Download complete [2023-09-12T22:49:42.456Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:49:42.456Z] 2437ff75d9bd: Download complete [2023-09-12T22:49:44.396Z] 8998bd30e6a1: Pull complete [2023-09-12T22:49:44.664Z] 04944245beec: Pull complete [2023-09-12T22:49:46.068Z] 699f458cf7ca: Pull complete [2023-09-12T22:49:47.473Z] 765212b225bb: Pull complete [2023-09-12T22:49:48.054Z] f23df028b6ca: Pull complete [2023-09-12T22:49:48.320Z] d65c8cfc05b1: Pull complete [2023-09-12T22:50:03.326Z] 2437ff75d9bd: Pull complete [2023-09-12T22:50:03.326Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:50:03.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:50:03.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:03.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-6044 does not seem to be running inside a container [2023-09-12T22:50:03.591Z] $ 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/95 -v /w/workspace/device-gpio/95:/w/workspace/device-gpio/95:rw,z -v /w/workspace/device-gpio/95@tmp:/w/workspace/device-gpio/95@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-09-12T22:50:06.201Z] $ docker top f0d3ac70370f85a90153b25e5249989be4073694f21dd092ea228813995ad81a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:06.732Z] ---> job-cost.sh [2023-09-12T22:50:07.003Z] lf-activate-venv: SKIPPING [2023-09-12T22:50:07.003Z] INFO: No Stack... [2023-09-12T22:50:07.272Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:50:08.232Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:50:08.543Z] + cut -d,+ cat /w/workspace/device-gpio/95/archives/cost.csv -f6 [2023-09-12T22:50:08.543Z] [Pipeline] lock [2023-09-12T22:50:08.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [2023-09-12T22:50:08.601Z] Resource [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] did not exist. Created. [2023-09-12T22:50:08.601Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:50:08.925Z] /w/workspace/device-gpio/95@tmp/durable-8238df15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:50:09.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:50:09.261Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:50:09.309Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:50:09.316Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:50:09.328Z] $ docker stop --time=1 f0d3ac70370f85a90153b25e5249989be4073694f21dd092ea228813995ad81a [2023-09-12T22:50:10.790Z] $ docker rm -f --volumes f0d3ac70370f85a90153b25e5249989be4073694f21dd092ea228813995ad81a [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-09-12T22:50:11.150Z] provisioning config files... [2023-09-12T22:50:11.158Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3896230698792074530tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:50:11.450Z] + set +x [2023-09-12T22:50:11.450Z] + curl -s https://codecov.io/bash [2023-09-12T22:50:11.450Z] + bash -s -- [2023-09-12T22:50:11.450Z] [2023-09-12T22:50:11.450Z] _____ _ [2023-09-12T22:50:11.450Z] / ____| | | [2023-09-12T22:50:11.450Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:50:11.450Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:50:11.450Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:50:11.450Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:50:11.450Z] Bash-1.0.6 [2023-09-12T22:50:11.450Z] [2023-09-12T22:50:11.450Z] [2023-09-12T22:50:11.450Z] ==> git version 2.25.1 found [2023-09-12T22:50:11.450Z] ==> 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-09-12T22:50:11.450Z] Release-Date: 2020-01-08 [2023-09-12T22:50:11.450Z] 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-09-12T22:50:11.450Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:50:11.450Z] ==> Jenkins CI detected. [2023-09-12T22:50:11.450Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-09-12T22:50:11.450Z] project root: . [2023-09-12T22:50:11.450Z] --> token set from env [2023-09-12T22:50:11.450Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:50:11.450Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:50:11.450Z] ==> Python coveragepy not found [2023-09-12T22:50:11.450Z] ==> Searching for coverage reports in: [2023-09-12T22:50:11.450Z] + . [2023-09-12T22:50:11.450Z] -> Found 1 reports [2023-09-12T22:50:11.450Z] ==> Detecting git/mercurial file structure [2023-09-12T22:50:11.450Z] ==> Reading reports [2023-09-12T22:50:11.450Z] + ./coverage.out bytes=10 [2023-09-12T22:50:11.450Z] ==> Appending adjustments [2023-09-12T22:50:11.450Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:50:11.709Z] + Found adjustments [2023-09-12T22:50:11.709Z] ==> Gzipping contents [2023-09-12T22:50:11.709Z] 4.0K /tmp/codecov.E8o6pM.gz [2023-09-12T22:50:11.709Z] ==> Uploading reports [2023-09-12T22:50:11.709Z] url: https://codecov.io [2023-09-12T22:50:11.709Z] query: branch=main&commit=bc7e5252a6371971a8ca64433ac86b0abda7502e&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:50:11.709Z] -> Pinging Codecov [2023-09-12T22:50:11.709Z] 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=bc7e5252a6371971a8ca64433ac86b0abda7502e&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:50:11.709Z] -> Uploading to [2023-09-12T22:50:11.709Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/bc7e5252a6371971a8ca64433ac86b0abda7502e/72b7d693-163c-49d8-9872-fb79778e1d73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T225011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc718e0b8619788de94ddfef81f8cab61b61923c1dcd316cf806c356d0a3b56b [2023-09-12T22:50:11.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:50:11.709Z] Dload Upload Total Spent Left Speed [2023-09-12T22:50:11.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3956 --:--:-- --:--:-- --:--:-- 3956 [2023-09-12T22:50:11.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] } [2023-09-12T22:50:11.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T22:50:12.094Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T22:50:12.102Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:12.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:50:12.401Z] [2023-09-12T22:50:12.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:12.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:50:12.699Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T22:50:12.699Z] df9b9388f04a: Pulling fs layer [2023-09-12T22:50:12.699Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T22:50:12.699Z] 25bc292e5bac: Pulling fs layer [2023-09-12T22:50:12.699Z] 114826534d7a: Pulling fs layer [2023-09-12T22:50:12.699Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T22:50:12.699Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T22:50:12.699Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T22:50:12.699Z] 114826534d7a: Waiting [2023-09-12T22:50:12.699Z] 4657fd5d0bcf: Waiting [2023-09-12T22:50:12.699Z] 6ad1cebc031e: Waiting [2023-09-12T22:50:12.699Z] 8a3aa393b2d8: Waiting [2023-09-12T22:50:12.699Z] 25bc292e5bac: Download complete [2023-09-12T22:50:12.699Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T22:50:12.699Z] 52dc419b0ee2: Download complete [2023-09-12T22:50:12.699Z] 4657fd5d0bcf: Download complete [2023-09-12T22:50:12.699Z] df9b9388f04a: Verifying Checksum [2023-09-12T22:50:12.699Z] df9b9388f04a: Download complete [2023-09-12T22:50:12.957Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T22:50:12.957Z] 6ad1cebc031e: Download complete [2023-09-12T22:50:12.957Z] df9b9388f04a: Pull complete [2023-09-12T22:50:12.957Z] 52dc419b0ee2: Pull complete [2023-09-12T22:50:12.957Z] 25bc292e5bac: Pull complete [2023-09-12T22:50:13.522Z] 114826534d7a: Verifying Checksum [2023-09-12T22:50:13.522Z] 114826534d7a: Download complete [2023-09-12T22:50:13.522Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T22:50:13.522Z] 8a3aa393b2d8: Download complete [2023-09-12T22:50:16.799Z] 114826534d7a: Pull complete [2023-09-12T22:50:16.800Z] 4657fd5d0bcf: Pull complete [2023-09-12T22:50:17.059Z] 6ad1cebc031e: Pull complete [2023-09-12T22:50:20.339Z] 8a3aa393b2d8: Pull complete [2023-09-12T22:50:20.339Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T22:50:20.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:50:20.339Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:20.424Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:50:20.449Z] $ 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-09-12T22:50:24.350Z] $ docker top 60f872d1f28e2e3815af294cff5474dc063e9974909caa45ce71a1d5928002f2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T22:50:24.410Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-09-12T22:50:24.683Z] + set -o pipefail [2023-09-12T22:50:24.683Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/629c14e1-6578-4f58-9a6e-ef8f576f0b90 [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] [2023-09-12T22:50:29.953Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T22:50:29.953Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T22:50:29.953Z] More details here: https://snyk.co/ue1NS [2023-09-12T22:50:29.953Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T22:50:29.953Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T22:50:29.961Z] $ docker stop --time=1 60f872d1f28e2e3815af294cff5474dc063e9974909caa45ce71a1d5928002f2 [2023-09-12T22:50:34.382Z] $ docker rm -f --volumes 60f872d1f28e2e3815af294cff5474dc063e9974909caa45ce71a1d5928002f2 [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-09-12T22:50:35.117Z] + git log --format=format:%s -1 bc7e5252a6371971a8ca64433ac86b0abda7502e [Pipeline] sh [2023-09-12T22:50:35.406Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:50:35.406Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:35.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:50:35.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:35.764Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:50:35.788Z] $ 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-09-12T22:50:36.220Z] $ docker top bcc24db31ba0f7a8e8e231c419589b091e4f486c1b5668b9cf893717324da506 -eo pid,comm [2023-09-12T22:50:36.268Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-12T22:50:36.268Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:50:36.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:50:36.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:50:36.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:50:36.417Z] $ docker exec bcc24db31ba0f7a8e8e231c419589b091e4f486c1b5668b9cf893717324da506 ssh-agent [2023-09-12T22:50:36.520Z] SSH_AUTH_SOCK=/tmp/ssh-xIQLqnYrfuDY/agent.33 [2023-09-12T22:50:36.520Z] SSH_AGENT_PID=39 [2023-09-12T22:50:36.525Z] Running ssh-add (command line suppressed) [2023-09-12T22:50:36.623Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8212188290431837213.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8212188290431837213.key) [2023-09-12T22:50:36.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:50:36.924Z] + git semver tag [2023-09-12T22:50:37.184Z] 2023-09-12 22:50:37,092 [run_tag] DEBUG tag force:False [2023-09-12T22:50:37.184Z] 2023-09-12 22:50:37,092 [check_head_tag] DEBUG check head tag [2023-09-12T22:50:37.184Z] 2023-09-12 22:50:37,093 [execute] INFO git cat-file --batch-check [2023-09-12T22:50:37.184Z] 2023-09-12 22:50:37,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,096 [execute] INFO git cat-file --batch [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,102 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,102 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:50:37.185Z] 2023-09-12 22:50:37,107 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:50:37.185Z] 3.1.0-dev.8 [Pipeline] } [2023-09-12T22:50:37.192Z] $ docker exec --env ******** --env ******** bcc24db31ba0f7a8e8e231c419589b091e4f486c1b5668b9cf893717324da506 ssh-agent -k [2023-09-12T22:50:37.277Z] unset SSH_AUTH_SOCK; [2023-09-12T22:50:37.277Z] unset SSH_AGENT_PID; [2023-09-12T22:50:37.278Z] echo Agent pid 39 killed; [2023-09-12T22:50:37.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:50:37.586Z] + git semver [Pipeline] } [2023-09-12T22:50:37.854Z] $ docker stop --time=1 bcc24db31ba0f7a8e8e231c419589b091e4f486c1b5668b9cf893717324da506 [2023-09-12T22:50:39.131Z] $ docker rm -f --volumes bcc24db31ba0f7a8e8e231c419589b091e4f486c1b5668b9cf893717324da506 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:39.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:39.515Z] [2023-09-12T22:50:39.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:39.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:39.817Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T22:50:39.817Z] ab5ef0e58194: Pulling fs layer [2023-09-12T22:50:39.817Z] 9712f1f96733: Pulling fs layer [2023-09-12T22:50:39.817Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T22:50:39.817Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T22:50:39.817Z] e9a5061849ea: Pulling fs layer [2023-09-12T22:50:39.817Z] d747dcd14b5f: Pulling fs layer [2023-09-12T22:50:39.817Z] 2de7ff778b66: Pulling fs layer [2023-09-12T22:50:39.817Z] e9a5061849ea: Waiting [2023-09-12T22:50:39.817Z] d747dcd14b5f: Waiting [2023-09-12T22:50:39.817Z] 2de7ff778b66: Waiting [2023-09-12T22:50:39.817Z] 0d9ebad4ef96: Waiting [2023-09-12T22:50:39.817Z] 9712f1f96733: Verifying Checksum [2023-09-12T22:50:39.817Z] 9712f1f96733: Download complete [2023-09-12T22:50:40.078Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T22:50:40.078Z] 63f879dbbcfc: Download complete [2023-09-12T22:50:40.337Z] e9a5061849ea: Verifying Checksum [2023-09-12T22:50:40.337Z] e9a5061849ea: Download complete [2023-09-12T22:50:40.337Z] d747dcd14b5f: Download complete [2023-09-12T22:50:40.337Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T22:50:40.337Z] 0d9ebad4ef96: Download complete [2023-09-12T22:50:40.337Z] ab5ef0e58194: Verifying Checksum [2023-09-12T22:50:40.337Z] ab5ef0e58194: Download complete [2023-09-12T22:50:40.337Z] 2de7ff778b66: Verifying Checksum [2023-09-12T22:50:40.337Z] 2de7ff778b66: Download complete [2023-09-12T22:50:42.871Z] ab5ef0e58194: Pull complete [2023-09-12T22:50:43.130Z] 9712f1f96733: Pull complete [2023-09-12T22:50:43.696Z] 63f879dbbcfc: Pull complete [2023-09-12T22:50:47.902Z] 0d9ebad4ef96: Pull complete [2023-09-12T22:50:47.902Z] e9a5061849ea: Pull complete [2023-09-12T22:50:47.902Z] d747dcd14b5f: Pull complete [2023-09-12T22:50:48.835Z] 2de7ff778b66: Pull complete [2023-09-12T22:50:48.835Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T22:50:48.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:50:48.835Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:48.924Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:50:48.953Z] $ 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-09-12T22:50:53.936Z] $ docker top 9fe0517a709cfe0b0a6f3b4fb9b5597b53a101b9ce547ad314f3e37dc2423ac9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:50:54.011Z] provisioning config files... [2023-09-12T22:50:54.017Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1789312881268649553tmp [2023-09-12T22:50:54.026Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17106030076490299276tmp [2023-09-12T22:50:54.035Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1448521716287480123tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:50:54.050Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:54.331Z] ---> sigul-configuration.sh [2023-09-12T22:50:54.331Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:50:54.331Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:50:54.331Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:50:54.331Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:50:54.331Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:50:54.331Z] gpg: CAST5 encrypted data [2023-09-12T22:50:54.331Z] gpg: encrypted with 1 passphrase [2023-09-12T22:50:54.331Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:50:54.619Z] + mkdir /home/jenkins [2023-09-12T22:50:54.619Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:50:54.918Z] + 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-09-12T22:50:54.927Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:55.213Z] ---> sigul-install.sh [2023-09-12T22:50:55.213Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:50:55.505Z] + git tag --list [2023-09-12T22:50:55.505Z] v1.0.0 [2023-09-12T22:50:55.505Z] v2.1.0 [2023-09-12T22:50:55.505Z] v2.1.1 [2023-09-12T22:50:55.505Z] v2.2.0 [2023-09-12T22:50:55.505Z] v2.3.0 [2023-09-12T22:50:55.505Z] v3.0 [2023-09-12T22:50:55.505Z] v3.0.0 [2023-09-12T22:50:55.505Z] v3.1.0-dev.1 [2023-09-12T22:50:55.505Z] v3.1.0-dev.2 [2023-09-12T22:50:55.505Z] v3.1.0-dev.3 [2023-09-12T22:50:55.505Z] v3.1.0-dev.4 [2023-09-12T22:50:55.505Z] v3.1.0-dev.5 [2023-09-12T22:50:55.505Z] v3.1.0-dev.6 [2023-09-12T22:50:55.505Z] v3.1.0-dev.7 [2023-09-12T22:50:55.506Z] v3.1.0-dev.8 [Pipeline] sh [2023-09-12T22:50:55.796Z] + lftools sign git-tag v3.1.0-dev.8 [2023-09-12T22:50:56.365Z] Signing Git tag with Sigul... [2023-09-12T22:50:56.365Z] Signing v3.1.0-dev.8 [Pipeline] echo [2023-09-12T22:50:56.634Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:50:56.921Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:50:56.929Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:50:56.946Z] $ docker stop --time=1 9fe0517a709cfe0b0a6f3b4fb9b5597b53a101b9ce547ad314f3e37dc2423ac9 [2023-09-12T22:50:58.240Z] $ docker rm -f --volumes 9fe0517a709cfe0b0a6f3b4fb9b5597b53a101b9ce547ad314f3e37dc2423ac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:50:58.652Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:50:58.652Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:50:58.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:50:58.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:50:59.022Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:50:59.051Z] $ 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-09-12T22:50:59.370Z] $ docker top 616b785c82a7793dbdb00144fe6a0d2113f3621f049b1d7bcc144f4e1d8b22e7 -eo pid,comm [2023-09-12T22:50:59.414Z] 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-09-12T22:50:59.414Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:50:59.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:50:59.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:50:59.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:50:59.549Z] $ docker exec 616b785c82a7793dbdb00144fe6a0d2113f3621f049b1d7bcc144f4e1d8b22e7 ssh-agent [2023-09-12T22:50:59.647Z] SSH_AUTH_SOCK=/tmp/ssh-IUpQbrskMNd2/agent.32 [2023-09-12T22:50:59.647Z] SSH_AGENT_PID=38 [2023-09-12T22:50:59.651Z] Running ssh-add (command line suppressed) [2023-09-12T22:50:59.750Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6331141008121124526.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6331141008121124526.key) [2023-09-12T22:50:59.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:51:00.046Z] + git semver bump pre [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,216 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,217 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,217 [bump_version] DEBUG bumped version:3.1.0-dev.9 [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,217 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,217 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,217 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,219 [execute] INFO git cat-file --batch-check [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,225 [execute] INFO git cat-file --batch [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:51:00.304Z] 2023-09-12 22:51:00,230 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:51:00.304Z] 3.1.0-dev.9 [Pipeline] } [2023-09-12T22:51:00.311Z] $ docker exec --env ******** --env ******** 616b785c82a7793dbdb00144fe6a0d2113f3621f049b1d7bcc144f4e1d8b22e7 ssh-agent -k [2023-09-12T22:51:00.411Z] unset SSH_AUTH_SOCK; [2023-09-12T22:51:00.411Z] unset SSH_AGENT_PID; [2023-09-12T22:51:00.411Z] echo Agent pid 38 killed; [2023-09-12T22:51:00.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:51:00.721Z] + git semver [Pipeline] } [2023-09-12T22:51:00.991Z] $ docker stop --time=1 616b785c82a7793dbdb00144fe6a0d2113f3621f049b1d7bcc144f4e1d8b22e7 [2023-09-12T22:51:02.229Z] $ docker rm -f --volumes 616b785c82a7793dbdb00144fe6a0d2113f3621f049b1d7bcc144f4e1d8b22e7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:51:02.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:51:02.568Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:51:02.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:51:02.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:51:03.812Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:51:04.661Z] $ 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-09-12T22:51:07.285Z] $ docker top 86f4eed372f1e0cee53f310ff6b170379e425c8a2a7d987c235ec0af4df5ed63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:51:07.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:51:07.362Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:51:07.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:51:07.453Z] $ docker exec 86f4eed372f1e0cee53f310ff6b170379e425c8a2a7d987c235ec0af4df5ed63 ssh-agent [2023-09-12T22:51:07.555Z] SSH_AUTH_SOCK=/tmp/ssh-CmRq8nL3y2Wx/agent.32 [2023-09-12T22:51:07.555Z] SSH_AGENT_PID=39 [2023-09-12T22:51:07.559Z] Running ssh-add (command line suppressed) [2023-09-12T22:51:07.644Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_18175400804123842024.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_18175400804123842024.key) [2023-09-12T22:51:07.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:51:07.939Z] + git semver push [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,103 [run_push] DEBUG push [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,104 [execute] INFO git cat-file --batch-check [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,108 [execute] INFO git rev-list 82503e871926612e58a8b6034848516b09f947f1 -- [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,108 [execute] DEBUG Popen(['git', 'rev-list', '82503e871926612e58a8b6034848516b09f947f1', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,115 [execute] INFO git fetch -v origin [2023-09-12T22:51:08.197Z] 2023-09-12 22:51:08,115 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T22:51:08.765Z] 2023-09-12 22:51:08,588 [run_push] DEBUG no remote changes detected [2023-09-12T22:51:08.765Z] 2023-09-12 22:51:08,588 [execute] INFO git push origin semver [2023-09-12T22:51:08.765Z] 2023-09-12 22:51:08,589 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:51:09.701Z] 2023-09-12 22:51:09,420 [run_push] DEBUG push all version tags [2023-09-12T22:51:09.701Z] 2023-09-12 22:51:09,421 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:51:09.701Z] 2023-09-12 22:51:09,421 [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-09-12T22:51:10.638Z] 2023-09-12 22:51:10,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-12T22:51:10.638Z] 3.1.0-dev.9 [Pipeline] } [2023-09-12T22:51:10.645Z] $ docker exec --env ******** --env ******** 86f4eed372f1e0cee53f310ff6b170379e425c8a2a7d987c235ec0af4df5ed63 ssh-agent -k [2023-09-12T22:51:10.731Z] unset SSH_AUTH_SOCK; [2023-09-12T22:51:10.732Z] unset SSH_AGENT_PID; [2023-09-12T22:51:10.732Z] echo Agent pid 39 killed; [2023-09-12T22:51:10.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:51:11.051Z] + git semver [Pipeline] } [2023-09-12T22:51:11.320Z] $ docker stop --time=1 86f4eed372f1e0cee53f310ff6b170379e425c8a2a7d987c235ec0af4df5ed63 [2023-09-12T22:51:12.570Z] $ docker rm -f --volumes 86f4eed372f1e0cee53f310ff6b170379e425c8a2a7d987c235ec0af4df5ed63 [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-09-12T22:51:13.122Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-09-12T22:51:13.122Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-12T22:51:13.122Z] total 16 [2023-09-12T22:51:13.122Z] drwxr-xr-x 3 root root 4096 Sep 12 22:41 . [2023-09-12T22:51:13.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. [2023-09-12T22:51:13.122Z] drwxr-xr-x 2 root root 4096 Sep 12 22:41 cost [2023-09-12T22:51:13.122Z] -rw-r--r-- 1 root root 82 Sep 12 22:41 cost.csv [2023-09-12T22:51:13.122Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-12T22:51:13.122Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-12T22:51:13.122Z] total 16 [2023-09-12T22:51:13.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:41 . [2023-09-12T22:51:13.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. [2023-09-12T22:51:13.122Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:41 cost [2023-09-12T22:51:13.122Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 12 22:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:13.410Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:14.265Z] ---> package-listing.sh [2023-09-12T22:51:14.265Z] ++ facter osfamily [2023-09-12T22:51:14.265Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:51:14.523Z] + OS_FAMILY=debian [2023-09-12T22:51:14.523Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-09-12T22:51:14.523Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:51:14.523Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:51:14.523Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:51:14.523Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:51:14.523Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-12T22:51:14.523Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:51:14.523Z] + case "${OS_FAMILY}" in [2023-09-12T22:51:14.523Z] + dpkg -l [2023-09-12T22:51:14.523Z] + grep '^ii' [2023-09-12T22:51:14.523Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:51:14.523Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:51:14.523Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:51:14.523Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-12T22:51:14.523Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-09-12T22:51:14.523Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-09-12T22:51:14.533Z] 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-09-12T22:51:14.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:51:15.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:51:15.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:51:15.551Z] prd-ubuntu20.04-docker-8c-8g-6042 does not seem to be running inside a container [2023-09-12T22:51:15.621Z] $ 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-09-12T22:51:15.838Z] $ docker top 3a90b1478ea9984240ecb0bc08ca3f371bf5f61de6e751ca1ea92bae4440fca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:51:16.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:51:16.466Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:51:16.751Z] + ls /var/log/sa-host [2023-09-12T22:51:16.752Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:51:16.819Z] provisioning config files... [2023-09-12T22:51:16.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9238547715893857088tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:51:16.842Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:17.123Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:51:17.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:17.452Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:51:17.462Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:17.744Z] ---> sudo-logs.sh [2023-09-12T22:51:17.744Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:51:17.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:18.058Z] ---> job-cost.sh [2023-09-12T22:51:18.059Z] lf-activate-venv: SKIPPING [2023-09-12T22:51:18.059Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:51:18.059Z] INFO: Retrieving Stack Cost... [2023-09-12T22:51:18.318Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:51:18.884Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:51:18.895Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:51:19.179Z] ---> logs-deploy.sh [2023-09-12T22:51:19.179Z] lf-activate-venv: SKIPPING [2023-09-12T22:51:19.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/95 [2023-09-12T22:51:19.179Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:51:20.115Z] Archives upload complete. [2023-09-12T22:51:20.115Z] INFO: archiving logs to Nexus