Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 047a754c10fbde4392f5fd28b60c1cf65bc55b22 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-ssh16645402547809460084.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10467792534168050319.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17646990146829891397.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16302241764525858386.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-ssh13879622226188655892.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-11858’ is offline Running on prd-ubuntu20.04-docker-8c-8g-11859 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 047a754c10fbde4392f5fd28b60c1cf65bc55b22 (main) Commit message: "Merge pull request #164 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76" > 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 047a754c10fbde4392f5fd28b60c1cf65bc55b22 # timeout=10 > git rev-list --no-walk 5b9829103c2079071eaf01e57caf9b47463cebaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-27T04:53:39.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-27T04:53:39.051Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-27T04:53:39.065Z] ========================================================= [2023-04-27T04:53:39.065Z] EdgeX Global Pipelines Version Info [2023-04-27T04:53:39.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:53:39.790Z] ------------------- [2023-04-27T04:53:39.790Z] stable info: [2023-04-27T04:53:39.790Z] ------------------- [2023-04-27T04:53:39.790Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-27T04:53:39.790Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T04:53:39.790Z] Message: update stable to v1.0.248 [2023-04-27T04:53:40.365Z] ------------------- [2023-04-27T04:53:40.365Z] experimental info: [2023-04-27T04:53:40.365Z] ------------------- [2023-04-27T04:53:40.365Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-27T04:53:40.365Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T04:53:40.365Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-27T04:53:40.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-27T04:53:40.554Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-27T04:53:40.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-27T04:53:40.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-27T04:53:40.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-27T04:53:40.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-27T04:53:40.611Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-27T04:53:40.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-27T04:53:40.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-27T04:53:40.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-27T04:53:40.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-27T04:53:40.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-27T04:53:40.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-27T04:53:40.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-27T04:53:40.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T04:53:40.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T04:53:40.715Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T04:53:40.723Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T04:53:40.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-27T04:53:40.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-27T04:53:40.759Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-27T04:53:40.767Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-27T04:53:40.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-27T04:53:40.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-27T04:53:40.801Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-27T04:53:40.813Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-27T04:53:40.827Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-27T04:53:40.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-27T04:53:40.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-27T04:53:40.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-27T04:53:40.874Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] echo [2023-04-27T04:53:40.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 047a754 [Pipeline] echo [2023-04-27T04:53:40.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:53:40.935Z] provisioning config files... [2023-04-27T04:53:40.948Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2330517112718415889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:53:41.247Z] ---> docker-login.sh [2023-04-27T04:53:41.248Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:53:41.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:41.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:41.509Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:41.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:41.509Z] [2023-04-27T04:53:41.509Z] Login Succeeded [2023-04-27T04:53:41.509Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:53:41.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:41.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:41.509Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:41.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:41.509Z] [2023-04-27T04:53:41.509Z] Login Succeeded [2023-04-27T04:53:41.509Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:53:41.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:41.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:41.770Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:41.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:41.770Z] [2023-04-27T04:53:41.770Z] Login Succeeded [2023-04-27T04:53:41.770Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:53:41.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:41.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:41.770Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:41.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:41.770Z] [2023-04-27T04:53:41.770Z] Login Succeeded [2023-04-27T04:53:41.770Z] docker.io [2023-04-27T04:53:42.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:42.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:42.032Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:42.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:42.032Z] [2023-04-27T04:53:42.032Z] Login Succeeded [2023-04-27T04:53:42.032Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:53:42.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-27T04:53:42.425Z] + git rev-list -1 --merges 047a754c10fbde4392f5fd28b60c1cf65bc55b22~1..047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] echo [2023-04-27T04:53:42.478Z] -----------> git rev-list -1 --merges 047a754c10fbde4392f5fd28b60c1cf65bc55b22~1..047a754c10fbde4392f5fd28b60c1cf65bc55b22 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T04:53:42.478Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [false] [Pipeline] sh [2023-04-27T04:53:42.765Z] + git log --format=format:%s -1 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] echo [2023-04-27T04:53:42.782Z] ========================================================= [2023-04-27T04:53:42.782Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-27T04:53:42.782Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T04:53:43.100Z] + git log --format=format:%s -1 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] echo [2023-04-27T04:53:43.113Z] [semverPrep] GIT_COMMIT: 047a754c10fbde4392f5fd28b60c1cf65bc55b22, Commit Message: Merge pull request #164 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76 [Pipeline] echo [2023-04-27T04:53:43.123Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-27T04:53:43.475Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T04:53:43.475Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-27T04:53:43.475Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-27T04:53:43.475Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-27T04:53:43.475Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-27T04:53:43.475Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-27T04:53:43.475Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:53:43.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:53:43.825Z] [2023-04-27T04:53:43.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:53:44.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:53:44.147Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-27T04:53:44.147Z] b85a868b505f: Pulling fs layer [2023-04-27T04:53:44.147Z] e2be974225ed: Pulling fs layer [2023-04-27T04:53:44.147Z] 339a4e72a1f5: Pulling fs layer [2023-04-27T04:53:44.147Z] 988bab9f4d93: Pulling fs layer [2023-04-27T04:53:44.147Z] 1469e6f7b9e6: Pulling fs layer [2023-04-27T04:53:44.147Z] eaf3925da568: Pulling fs layer [2023-04-27T04:53:44.147Z] bab4dde63d76: Pulling fs layer [2023-04-27T04:53:44.147Z] bde34c3a00c8: Pulling fs layer [2023-04-27T04:53:44.147Z] b352a97aabf1: Pulling fs layer [2023-04-27T04:53:44.147Z] 4872d77fe225: Pulling fs layer [2023-04-27T04:53:44.147Z] 5851b861e8e6: Pulling fs layer [2023-04-27T04:53:44.147Z] bab4dde63d76: Waiting [2023-04-27T04:53:44.147Z] 4872d77fe225: Waiting [2023-04-27T04:53:44.147Z] 1469e6f7b9e6: Waiting [2023-04-27T04:53:44.147Z] 988bab9f4d93: Waiting [2023-04-27T04:53:44.147Z] eaf3925da568: Waiting [2023-04-27T04:53:44.147Z] bde34c3a00c8: Waiting [2023-04-27T04:53:44.147Z] b352a97aabf1: Waiting [2023-04-27T04:53:44.147Z] 5851b861e8e6: Waiting [2023-04-27T04:53:44.147Z] e2be974225ed: Verifying Checksum [2023-04-27T04:53:44.147Z] e2be974225ed: Download complete [2023-04-27T04:53:44.147Z] 988bab9f4d93: Verifying Checksum [2023-04-27T04:53:44.147Z] 988bab9f4d93: Download complete [2023-04-27T04:53:44.419Z] 1469e6f7b9e6: Verifying Checksum [2023-04-27T04:53:44.419Z] 1469e6f7b9e6: Download complete [2023-04-27T04:53:44.419Z] 339a4e72a1f5: Verifying Checksum [2023-04-27T04:53:44.419Z] 339a4e72a1f5: Download complete [2023-04-27T04:53:44.419Z] eaf3925da568: Verifying Checksum [2023-04-27T04:53:44.419Z] eaf3925da568: Download complete [2023-04-27T04:53:44.419Z] bde34c3a00c8: Verifying Checksum [2023-04-27T04:53:44.419Z] bde34c3a00c8: Download complete [2023-04-27T04:53:44.419Z] b352a97aabf1: Verifying Checksum [2023-04-27T04:53:44.419Z] b352a97aabf1: Download complete [2023-04-27T04:53:44.419Z] 4872d77fe225: Verifying Checksum [2023-04-27T04:53:44.419Z] 4872d77fe225: Download complete [2023-04-27T04:53:44.419Z] 5851b861e8e6: Download complete [2023-04-27T04:53:44.419Z] b85a868b505f: Verifying Checksum [2023-04-27T04:53:44.419Z] b85a868b505f: Download complete [2023-04-27T04:53:44.681Z] bab4dde63d76: Verifying Checksum [2023-04-27T04:53:44.681Z] bab4dde63d76: Download complete [2023-04-27T04:53:45.619Z] b85a868b505f: Pull complete [2023-04-27T04:53:45.878Z] e2be974225ed: Pull complete [2023-04-27T04:53:46.446Z] 339a4e72a1f5: Pull complete [2023-04-27T04:53:46.446Z] 988bab9f4d93: Pull complete [2023-04-27T04:53:46.706Z] 1469e6f7b9e6: Pull complete [2023-04-27T04:53:46.706Z] eaf3925da568: Pull complete [2023-04-27T04:53:48.615Z] bab4dde63d76: Pull complete [2023-04-27T04:53:48.615Z] bde34c3a00c8: Pull complete [2023-04-27T04:53:48.875Z] b352a97aabf1: Pull complete [2023-04-27T04:53:48.875Z] 4872d77fe225: Pull complete [2023-04-27T04:53:48.875Z] 5851b861e8e6: Pull complete [2023-04-27T04:53:48.875Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-27T04:53:48.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:53:48.875Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:53:48.976Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T04:53:49.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-27T04:53:51.015Z] $ docker top ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 -eo pid,comm [2023-04-27T04:53:51.078Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-27T04:53:51.078Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T04:53:51.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T04:53:51.116Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T04:53:51.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T04:53:51.237Z] $ docker exec ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 ssh-agent [2023-04-27T04:53:51.366Z] SSH_AUTH_SOCK=/tmp/ssh-08HtbiQkiQcV/agent.32 [2023-04-27T04:53:51.366Z] SSH_AGENT_PID=38 [2023-04-27T04:53:51.373Z] Running ssh-add (command line suppressed) [2023-04-27T04:53:51.476Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17750167307549464876.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17750167307549464876.key) [2023-04-27T04:53:51.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T04:53:51.787Z] + git tag --points-at HEAD [Pipeline] } [2023-04-27T04:53:51.796Z] $ docker exec --env ******** --env ******** ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 ssh-agent -k [2023-04-27T04:53:51.900Z] unset SSH_AUTH_SOCK; [2023-04-27T04:53:51.901Z] unset SSH_AGENT_PID; [2023-04-27T04:53:51.902Z] echo Agent pid 38 killed; [2023-04-27T04:53:51.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-27T04:53:51.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T04:53:51.939Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T04:53:52.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T04:53:52.063Z] $ docker exec ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 ssh-agent [2023-04-27T04:53:52.187Z] SSH_AUTH_SOCK=/tmp/ssh-axlCJwp7SLjG/agent.70 [2023-04-27T04:53:52.187Z] SSH_AGENT_PID=76 [2023-04-27T04:53:52.192Z] Running ssh-add (command line suppressed) [2023-04-27T04:53:52.305Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_399028944220852979.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_399028944220852979.key) [2023-04-27T04:53:52.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T04:53:52.617Z] + git semver init [2023-04-27T04:53:52.876Z] 2023-04-27 04:53:52,797 [run_init] DEBUG init version:0.0.0 force:False [2023-04-27T04:53:52.876Z] 2023-04-27 04:53:52,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-27T04:53:52.876Z] 2023-04-27 04:53:52,799 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-27T04:53:52.876Z] 2023-04-27 04:53:52,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-27T04:53:53.818Z] 2023-04-27 04:53:53,707 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-04-27T04:53:53.818Z] 2023-04-27 04:53:53,708 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-04-27T04:53:53.818Z] 2023-04-27 04:53:53,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T04:53:53.818Z] 2023-04-27 04:53:53,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T04:53:53.818Z] 3.0.0-dev.22 [Pipeline] } [2023-04-27T04:53:53.822Z] $ docker exec --env ******** --env ******** ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 ssh-agent -k [2023-04-27T04:53:53.940Z] unset SSH_AUTH_SOCK; [2023-04-27T04:53:53.941Z] unset SSH_AGENT_PID; [2023-04-27T04:53:53.941Z] echo Agent pid 76 killed; [2023-04-27T04:53:53.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T04:53:54.264Z] + git semver [Pipeline] } [2023-04-27T04:53:54.534Z] $ docker stop --time=1 ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 [2023-04-27T04:53:55.842Z] $ docker rm -f --volumes ed3dd2655393fa144949503aa6afaa08ac6284cdd80a6352c30eafaacf0b13c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T04:53:56.186Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-27T04:53:56.389Z] Stashed 1 file(s) [Pipeline] echo [2023-04-27T04:53:56.390Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:53:56.494Z] provisioning config files... [2023-04-27T04:53:56.504Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7125272614081851582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:53:56.797Z] ---> docker-login.sh [2023-04-27T04:53:56.797Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:53:56.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:56.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:56.798Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:56.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:56.798Z] [2023-04-27T04:53:56.798Z] Login Succeeded [2023-04-27T04:53:56.798Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:53:56.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:56.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:56.798Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:56.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:56.798Z] [2023-04-27T04:53:56.798Z] Login Succeeded [2023-04-27T04:53:56.798Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:53:57.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:57.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:57.058Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:57.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:57.058Z] [2023-04-27T04:53:57.058Z] Login Succeeded [2023-04-27T04:53:57.058Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:53:57.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:57.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:57.058Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:57.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:57.058Z] [2023-04-27T04:53:57.058Z] Login Succeeded [2023-04-27T04:53:57.058Z] docker.io [2023-04-27T04:53:57.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:53:57.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:53:57.317Z] Configure a credential helper to remove this warning. See [2023-04-27T04:53:57.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:53:57.317Z] [2023-04-27T04:53:57.317Z] Login Succeeded [2023-04-27T04:53:57.317Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:53:57.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T04:53:57.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:53:57.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:53:57.395Z] ========================================================= [2023-04-27T04:53:57.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-27T04:53:57.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:53:57.698Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T04:53:57.698Z] Sending build context to Docker daemon 16.08MB [2023-04-27T04:53:57.698Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T04:53:57.698Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T04:53:57.698Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-27T04:53:57.698Z] f56be85fc22e: Pulling fs layer [2023-04-27T04:53:57.698Z] 85791d961cd3: Pulling fs layer [2023-04-27T04:53:57.698Z] d694b5ae8c79: Pulling fs layer [2023-04-27T04:53:57.698Z] 9f32a84ed3da: Pulling fs layer [2023-04-27T04:53:57.698Z] 4d19c01a9841: Pulling fs layer [2023-04-27T04:53:57.698Z] 9325e15d5711: Pulling fs layer [2023-04-27T04:53:57.698Z] 556b6ee489ea: Pulling fs layer [2023-04-27T04:53:57.698Z] c5a4b2cf53e6: Pulling fs layer [2023-04-27T04:53:57.698Z] 9f32a84ed3da: Waiting [2023-04-27T04:53:57.698Z] 4d19c01a9841: Waiting [2023-04-27T04:53:57.698Z] 9325e15d5711: Waiting [2023-04-27T04:53:57.698Z] 556b6ee489ea: Waiting [2023-04-27T04:53:57.698Z] c5a4b2cf53e6: Waiting [2023-04-27T04:53:57.959Z] 85791d961cd3: Download complete [2023-04-27T04:53:57.959Z] 9f32a84ed3da: Verifying Checksum [2023-04-27T04:53:57.959Z] 9f32a84ed3da: Download complete [2023-04-27T04:53:57.959Z] 4d19c01a9841: Verifying Checksum [2023-04-27T04:53:57.959Z] 4d19c01a9841: Download complete [2023-04-27T04:53:57.959Z] f56be85fc22e: Verifying Checksum [2023-04-27T04:53:57.959Z] f56be85fc22e: Download complete [2023-04-27T04:53:57.959Z] 9325e15d5711: Verifying Checksum [2023-04-27T04:53:57.959Z] 9325e15d5711: Download complete [2023-04-27T04:53:57.959Z] f56be85fc22e: Pull complete [2023-04-27T04:53:58.221Z] 85791d961cd3: Pull complete [2023-04-27T04:53:58.483Z] c5a4b2cf53e6: Verifying Checksum [2023-04-27T04:53:58.483Z] c5a4b2cf53e6: Download complete [2023-04-27T04:53:58.742Z] d694b5ae8c79: Verifying Checksum [2023-04-27T04:53:58.742Z] d694b5ae8c79: Download complete [2023-04-27T04:53:58.742Z] 556b6ee489ea: Verifying Checksum [2023-04-27T04:53:58.742Z] 556b6ee489ea: Download complete [2023-04-27T04:54:02.038Z] d694b5ae8c79: Pull complete [2023-04-27T04:54:02.296Z] 9f32a84ed3da: Pull complete [2023-04-27T04:54:02.296Z] 4d19c01a9841: Pull complete [2023-04-27T04:54:02.296Z] 9325e15d5711: Pull complete [2023-04-27T04:54:04.832Z] 556b6ee489ea: Pull complete [2023-04-27T04:54:05.765Z] c5a4b2cf53e6: Pull complete [2023-04-27T04:54:06.024Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-27T04:54:06.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-27T04:54:06.024Z] ---> c4be618373d6 [2023-04-27T04:54:06.024Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T04:54:09.320Z] ---> Running in b8a6751909c0 [2023-04-27T04:54:09.320Z] Removing intermediate container b8a6751909c0 [2023-04-27T04:54:09.320Z] ---> 6dfb92e8cd91 [2023-04-27T04:54:09.320Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T04:54:09.320Z] ---> Running in 8a6c68827c4d [2023-04-27T04:54:09.320Z] Removing intermediate container 8a6c68827c4d [2023-04-27T04:54:09.320Z] ---> 01be2ca64854 [2023-04-27T04:54:09.320Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-27T04:54:09.320Z] ---> Running in 377a4f4e864c [2023-04-27T04:54:09.320Z] Removing intermediate container 377a4f4e864c [2023-04-27T04:54:09.320Z] ---> caf96006f09b [2023-04-27T04:54:09.320Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T04:54:09.321Z] ---> Running in edd9541f6c26 [2023-04-27T04:54:09.321Z] Removing intermediate container edd9541f6c26 [2023-04-27T04:54:09.321Z] ---> 09393dcae8f4 [2023-04-27T04:54:09.321Z] Step 7/12 : WORKDIR /device-gpio [2023-04-27T04:54:09.321Z] ---> Running in 5cd901651477 [2023-04-27T04:54:09.321Z] Removing intermediate container 5cd901651477 [2023-04-27T04:54:09.321Z] ---> 399ea5d26a24 [2023-04-27T04:54:09.321Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T04:54:09.321Z] ---> Running in 73f9c0b1beac [2023-04-27T04:54:09.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T04:54:09.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T04:54:10.107Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T04:54:10.107Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T04:54:10.107Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T04:54:10.107Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T04:54:10.107Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T04:54:10.107Z] OK: 269 MiB in 57 packages [2023-04-27T04:54:10.367Z] Removing intermediate container 73f9c0b1beac [2023-04-27T04:54:10.367Z] ---> a34dc2bfe556 [2023-04-27T04:54:10.367Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T04:54:10.626Z] ---> 684b1a1aa363 [2023-04-27T04:54:10.626Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T04:54:10.626Z] ---> Running in 04d597a6450a [2023-04-27T04:54:11.464Z] Still waiting to schedule task [2023-04-27T04:54:11.464Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11860’ is offline [2023-04-27T04:54:37.190Z] Removing intermediate container 04d597a6450a [2023-04-27T04:54:37.190Z] ---> 5d2b8fdbce47 [2023-04-27T04:54:37.190Z] Step 11/12 : COPY . . [2023-04-27T04:54:37.190Z] ---> 76273337c900 [2023-04-27T04:54:37.190Z] Step 12/12 : RUN ${MAKE} [2023-04-27T04:54:37.190Z] ---> Running in 3310dabdfe57 [2023-04-27T04:54:37.190Z] noop [2023-04-27T04:54:37.190Z] Removing intermediate container 3310dabdfe57 [2023-04-27T04:54:37.190Z] ---> 191921567f65 [2023-04-27T04:54:37.190Z] Successfully built 191921567f65 [2023-04-27T04:54:37.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:37.509Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T04:54:37.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:54:37.584Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T04:54:37.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-27T04:54:37.967Z] $ docker top 891e00adb083f8b7e07fb7e81957f8cadadc590184d7c6aedfd3224c9e00bbf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:54:38.326Z] + go version [2023-04-27T04:54:38.326Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-27T04:54:38.335Z] $ docker stop --time=1 891e00adb083f8b7e07fb7e81957f8cadadc590184d7c6aedfd3224c9e00bbf7 [2023-04-27T04:54:39.606Z] $ docker rm -f --volumes 891e00adb083f8b7e07fb7e81957f8cadadc590184d7c6aedfd3224c9e00bbf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:40.008Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T04:54:40.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:54:40.087Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T04:54:40.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-27T04:54:40.474Z] $ docker top dabbb41566a00e6be3610584e523ffa3a7dfdbc21931bc845712e47478b5a105 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:54:40.817Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-04-27T04:54:41.111Z] + make test [2023-04-27T04:54:41.111Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T04:54:46.386Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-27T04:54:56.353Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-27T04:54:56.353Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-27T04:55:02.914Z] go vet ./... [2023-04-27T04:55:06.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-27T04:55:06.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-27T04:55:06.195Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-27T04:55:06.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-27T04:55:06.224Z] $ docker stop --time=1 dabbb41566a00e6be3610584e523ffa3a7dfdbc21931bc845712e47478b5a105 [2023-04-27T04:55:09.015Z] $ docker rm -f --volumes dabbb41566a00e6be3610584e523ffa3a7dfdbc21931bc845712e47478b5a105 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T04:55:09.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-27T04:55:09.506Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-27T04:55:09.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-27T04:55:10.258Z] + ls -al . [2023-04-27T04:55:10.258Z] total 156 [2023-04-27T04:55:10.258Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 04:54 . [2023-04-27T04:55:10.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:53 .. [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 27 04:53 .dockerignore [2023-04-27T04:55:10.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:53 .git [2023-04-27T04:55:10.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:53 .github [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 27 04:53 .gitignore [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 04:53 .golangci.yml [2023-04-27T04:55:10.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:53 .semver [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 27 04:53 Attribution.txt [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 27 04:53 CHANGELOG.md [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 27 04:53 Dockerfile [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:53 GOVERNANCE.md [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 27 04:53 Jenkinsfile [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 04:53 LICENSE [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 27 04:53 Makefile [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 04:53 OWNERS.md [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 27 04:53 README.md [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:53 VERSION [2023-04-27T04:55:10.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:53 bin [2023-04-27T04:55:10.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:53 cmd [2023-04-27T04:55:10.258Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 27 04:54 coverage.out [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 27 04:53 go.mod [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 27 04:53 go.sum [2023-04-27T04:55:10.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:53 internal [2023-04-27T04:55:10.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:53 snap [2023-04-27T04:55:10.258Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:10.628Z] + 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=047a754c10fbde4392f5fd28b60c1cf65bc55b22 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-04-27T04:55:10.628Z] Sending build context to Docker daemon 16.08MB [2023-04-27T04:55:10.628Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T04:55:10.628Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-27T04:55:10.628Z] ---> 191921567f65 [2023-04-27T04:55:10.628Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-27T04:55:10.893Z] ---> Running in 53dbc0402b84 [2023-04-27T04:55:10.893Z] Removing intermediate container 53dbc0402b84 [2023-04-27T04:55:10.893Z] ---> f34fdf799543 [2023-04-27T04:55:10.893Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T04:55:10.893Z] ---> Running in 232be704e588 [2023-04-27T04:55:10.893Z] Removing intermediate container 232be704e588 [2023-04-27T04:55:10.893Z] ---> 3fdda0277d20 [2023-04-27T04:55:10.893Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-27T04:55:10.893Z] ---> Running in 1a00007ffa04 [2023-04-27T04:55:10.893Z] Removing intermediate container 1a00007ffa04 [2023-04-27T04:55:10.893Z] ---> 892b9486e705 [2023-04-27T04:55:10.894Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T04:55:11.153Z] ---> Running in f08759f3da96 [2023-04-27T04:55:11.153Z] Removing intermediate container f08759f3da96 [2023-04-27T04:55:11.154Z] ---> c15d2cac36f3 [2023-04-27T04:55:11.154Z] Step 7/25 : WORKDIR /device-gpio [2023-04-27T04:55:11.154Z] ---> Running in 6477e258a211 [2023-04-27T04:55:11.154Z] Removing intermediate container 6477e258a211 [2023-04-27T04:55:11.154Z] ---> c53be23a5e17 [2023-04-27T04:55:11.154Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T04:55:11.154Z] ---> Running in e898b58b58e7 [2023-04-27T04:55:11.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T04:55:11.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T04:55:11.673Z] OK: 269 MiB in 57 packages [2023-04-27T04:55:12.241Z] Removing intermediate container e898b58b58e7 [2023-04-27T04:55:12.241Z] ---> 0b2a94796199 [2023-04-27T04:55:12.241Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-27T04:55:12.241Z] ---> c56e8cb24e7a [2023-04-27T04:55:12.241Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T04:55:12.241Z] ---> Running in 80673e9d3156 [2023-04-27T04:55:13.180Z] Removing intermediate container 80673e9d3156 [2023-04-27T04:55:13.180Z] ---> 004b1fa0821a [2023-04-27T04:55:13.180Z] Step 11/25 : COPY . . [2023-04-27T04:55:13.438Z] ---> fed0c62810d1 [2023-04-27T04:55:13.438Z] Step 12/25 : RUN ${MAKE} [2023-04-27T04:55:13.438Z] ---> Running in b1dbd135a77a [2023-04-27T04:55:13.696Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-27T04:55:35.629Z] Removing intermediate container b1dbd135a77a [2023-04-27T04:55:35.629Z] ---> ee5b7520d352 [2023-04-27T04:55:35.629Z] Step 13/25 : FROM alpine:3.17 [2023-04-27T04:55:35.629Z] 3.17: Pulling from library/alpine [2023-04-27T04:55:35.629Z] f56be85fc22e: Already exists [2023-04-27T04:55:35.629Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-27T04:55:35.629Z] Status: Downloaded newer image for alpine:3.17 [2023-04-27T04:55:35.629Z] ---> 9ed4aefc74f6 [2023-04-27T04:55:35.629Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-27T04:55:35.629Z] ---> Running in adb6d3964efa [2023-04-27T04:55:35.629Z] Removing intermediate container adb6d3964efa [2023-04-27T04:55:35.629Z] ---> 4a3964c19f07 [2023-04-27T04:55:35.629Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-27T04:55:35.629Z] ---> Running in ca0dcad89c7e [2023-04-27T04:55:35.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T04:55:35.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T04:55:35.629Z] OK: 7 MiB in 15 packages [2023-04-27T04:55:35.629Z] Removing intermediate container ca0dcad89c7e [2023-04-27T04:55:35.629Z] ---> cf7508e2b2d2 [2023-04-27T04:55:35.629Z] Step 16/25 : WORKDIR / [2023-04-27T04:55:35.629Z] ---> Running in 454f8ca18a2a [2023-04-27T04:55:35.629Z] Removing intermediate container 454f8ca18a2a [2023-04-27T04:55:35.629Z] ---> fbf47b256d43 [2023-04-27T04:55:35.629Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-27T04:55:35.892Z] ---> bcff411a25c7 [2023-04-27T04:55:35.892Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-27T04:55:35.892Z] ---> 7e6c07a75227 [2023-04-27T04:55:35.892Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-27T04:55:36.864Z] ---> 7332e8221494 [2023-04-27T04:55:36.864Z] Step 20/25 : EXPOSE 59910 [2023-04-27T04:55:36.864Z] ---> Running in b5dd55c9c671 [2023-04-27T04:55:36.864Z] Removing intermediate container b5dd55c9c671 [2023-04-27T04:55:36.864Z] ---> 0f4943653433 [2023-04-27T04:55:36.864Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-27T04:55:36.864Z] ---> Running in bf64b3fb2156 [2023-04-27T04:55:36.864Z] Removing intermediate container bf64b3fb2156 [2023-04-27T04:55:36.864Z] ---> b14e6e81c4d8 [2023-04-27T04:55:36.864Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-27T04:55:36.864Z] ---> Running in 5326e18069fa [2023-04-27T04:55:36.864Z] Removing intermediate container 5326e18069fa [2023-04-27T04:55:36.864Z] ---> 116614bd4cc7 [2023-04-27T04:55:36.864Z] Step 23/25 : LABEL arch=amd64 [2023-04-27T04:55:36.864Z] ---> Running in 526808efef1a [2023-04-27T04:55:37.124Z] Removing intermediate container 526808efef1a [2023-04-27T04:55:37.124Z] ---> 6d2bb1a0d100 [2023-04-27T04:55:37.124Z] Step 24/25 : LABEL git_sha=047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T04:55:37.124Z] ---> Running in 711ad7bd6d47 [2023-04-27T04:55:37.124Z] Removing intermediate container 711ad7bd6d47 [2023-04-27T04:55:37.124Z] ---> a42cd7882bfb [2023-04-27T04:55:37.124Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-04-27T04:55:37.124Z] ---> Running in dcd5fef1632d [2023-04-27T04:55:37.124Z] Removing intermediate container dcd5fef1632d [2023-04-27T04:55:37.124Z] ---> ae5e07afb6b2 [2023-04-27T04:55:37.124Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-27T04:55:37.124Z] Successfully built ae5e07afb6b2 [2023-04-27T04:55:37.124Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:55:37.243Z] provisioning config files... [2023-04-27T04:55:37.254Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9481351135997755967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:55:37.552Z] ---> docker-login.sh [2023-04-27T04:55:37.553Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:55:37.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:55:37.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:55:37.553Z] Configure a credential helper to remove this warning. See [2023-04-27T04:55:37.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:55:37.553Z] [2023-04-27T04:55:37.553Z] Login Succeeded [2023-04-27T04:55:37.553Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:55:37.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:55:37.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:55:37.553Z] Configure a credential helper to remove this warning. See [2023-04-27T04:55:37.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:55:37.553Z] [2023-04-27T04:55:37.553Z] Login Succeeded [2023-04-27T04:55:37.812Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:55:37.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:55:37.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:55:37.812Z] Configure a credential helper to remove this warning. See [2023-04-27T04:55:37.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:55:37.812Z] [2023-04-27T04:55:37.812Z] Login Succeeded [2023-04-27T04:55:37.812Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:55:37.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:55:37.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:55:37.812Z] Configure a credential helper to remove this warning. See [2023-04-27T04:55:37.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:55:37.812Z] [2023-04-27T04:55:37.812Z] Login Succeeded [2023-04-27T04:55:37.812Z] docker.io [2023-04-27T04:55:38.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:55:38.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:55:38.072Z] Configure a credential helper to remove this warning. See [2023-04-27T04:55:38.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:55:38.072Z] [2023-04-27T04:55:38.072Z] Login Succeeded [2023-04-27T04:55:38.072Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:55:38.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-27T04:55:38.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:55:38.125Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-04-27T04:55:38.125Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T04:55:38.125Z] latest [2023-04-27T04:55:38.125Z] 3.0.0-dev.22 [2023-04-27T04:55:38.125Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T04:55:38.125Z] main [2023-04-27T04:55:38.125Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:38.432Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:38.736Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T04:55:38.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-27T04:55:38.736Z] 110c6d9aae04: Preparing [2023-04-27T04:55:38.736Z] fd0bf7785e38: Preparing [2023-04-27T04:55:38.736Z] 9de31fe90f60: Preparing [2023-04-27T04:55:38.736Z] 2a9442bb541c: Preparing [2023-04-27T04:55:38.736Z] f1417ff83b31: Preparing [2023-04-27T04:55:38.736Z] f1417ff83b31: Layer already exists [2023-04-27T04:55:38.736Z] fd0bf7785e38: Pushed [2023-04-27T04:55:38.736Z] 2a9442bb541c: Pushed [2023-04-27T04:55:38.736Z] 9de31fe90f60: Pushed [2023-04-27T04:55:42.023Z] 110c6d9aae04: Pushed [2023-04-27T04:55:42.023Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22: digest: sha256:954eca1cec63801672313414dbbc4a891f2575f30012a34fb301e297c5b480a2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:42.335Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:42.638Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-27T04:55:42.639Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-27T04:55:42.639Z] 110c6d9aae04: Preparing [2023-04-27T04:55:42.639Z] fd0bf7785e38: Preparing [2023-04-27T04:55:42.639Z] 9de31fe90f60: Preparing [2023-04-27T04:55:42.639Z] 2a9442bb541c: Preparing [2023-04-27T04:55:42.639Z] f1417ff83b31: Preparing [2023-04-27T04:55:42.639Z] 2a9442bb541c: Layer already exists [2023-04-27T04:55:42.639Z] f1417ff83b31: Layer already exists [2023-04-27T04:55:42.639Z] fd0bf7785e38: Layer already exists [2023-04-27T04:55:42.639Z] 110c6d9aae04: Layer already exists [2023-04-27T04:55:42.639Z] 9de31fe90f60: Layer already exists [2023-04-27T04:55:42.639Z] latest: digest: sha256:954eca1cec63801672313414dbbc4a891f2575f30012a34fb301e297c5b480a2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:42.944Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:43.246Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.22 [2023-04-27T04:55:43.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-27T04:55:43.246Z] 110c6d9aae04: Preparing [2023-04-27T04:55:43.246Z] fd0bf7785e38: Preparing [2023-04-27T04:55:43.246Z] 9de31fe90f60: Preparing [2023-04-27T04:55:43.246Z] 2a9442bb541c: Preparing [2023-04-27T04:55:43.246Z] f1417ff83b31: Preparing [2023-04-27T04:55:43.246Z] 2a9442bb541c: Layer already exists [2023-04-27T04:55:43.246Z] fd0bf7785e38: Layer already exists [2023-04-27T04:55:43.246Z] 9de31fe90f60: Layer already exists [2023-04-27T04:55:43.246Z] f1417ff83b31: Layer already exists [2023-04-27T04:55:43.246Z] 110c6d9aae04: Layer already exists [2023-04-27T04:55:43.246Z] 3.0.0-dev.22: digest: sha256:954eca1cec63801672313414dbbc4a891f2575f30012a34fb301e297c5b480a2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:43.558Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:43.866Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T04:55:43.867Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-27T04:55:43.867Z] 110c6d9aae04: Preparing [2023-04-27T04:55:43.867Z] fd0bf7785e38: Preparing [2023-04-27T04:55:43.867Z] 9de31fe90f60: Preparing [2023-04-27T04:55:43.867Z] 2a9442bb541c: Preparing [2023-04-27T04:55:43.867Z] f1417ff83b31: Preparing [2023-04-27T04:55:43.867Z] 2a9442bb541c: Layer already exists [2023-04-27T04:55:43.867Z] fd0bf7785e38: Layer already exists [2023-04-27T04:55:43.867Z] f1417ff83b31: Layer already exists [2023-04-27T04:55:43.867Z] 9de31fe90f60: Layer already exists [2023-04-27T04:55:43.867Z] 110c6d9aae04: Layer already exists [2023-04-27T04:55:43.867Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22: digest: sha256:954eca1cec63801672313414dbbc4a891f2575f30012a34fb301e297c5b480a2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:44.184Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:44.487Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-04-27T04:55:44.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-27T04:55:44.488Z] 110c6d9aae04: Preparing [2023-04-27T04:55:44.488Z] fd0bf7785e38: Preparing [2023-04-27T04:55:44.488Z] 9de31fe90f60: Preparing [2023-04-27T04:55:44.488Z] 2a9442bb541c: Preparing [2023-04-27T04:55:44.488Z] f1417ff83b31: Preparing [2023-04-27T04:55:44.488Z] 110c6d9aae04: Layer already exists [2023-04-27T04:55:44.488Z] 2a9442bb541c: Layer already exists [2023-04-27T04:55:44.488Z] f1417ff83b31: Layer already exists [2023-04-27T04:55:44.488Z] 9de31fe90f60: Layer already exists [2023-04-27T04:55:44.488Z] fd0bf7785e38: Layer already exists [2023-04-27T04:55:44.488Z] main: digest: sha256:954eca1cec63801672313414dbbc4a891f2575f30012a34fb301e297c5b480a2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-27T04:55:44.544Z] ===================================================== [Pipeline] echo [2023-04-27T04:55:44.552Z] taggedImages: [2023-04-27T04:55:44.552Z] - nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T04:55:44.552Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-27T04:55:44.552Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.22 [2023-04-27T04:55:44.552Z] - nexus3.edgexfoundry.org:10004/device-gpio:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T04:55:44.552Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:44.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:44.912Z] [2023-04-27T04:55:44.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:45.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:45.211Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-27T04:55:45.211Z] 5eb5b503b376: Pulling fs layer [2023-04-27T04:55:45.211Z] 5c69ac0246d0: Pulling fs layer [2023-04-27T04:55:45.211Z] ec43610c2a17: Pulling fs layer [2023-04-27T04:55:45.211Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-27T04:55:45.211Z] 33b1e0a273af: Pulling fs layer [2023-04-27T04:55:45.211Z] 5d3b04190fa2: Pulling fs layer [2023-04-27T04:55:45.211Z] 2f39f015ded8: Pulling fs layer [2023-04-27T04:55:45.211Z] 3a2ae6a8a46f: Waiting [2023-04-27T04:55:45.211Z] 33b1e0a273af: Waiting [2023-04-27T04:55:45.211Z] 2f39f015ded8: Waiting [2023-04-27T04:55:45.211Z] 5d3b04190fa2: Waiting [2023-04-27T04:55:45.211Z] 5c69ac0246d0: Verifying Checksum [2023-04-27T04:55:45.211Z] 5c69ac0246d0: Download complete [2023-04-27T04:55:45.211Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-27T04:55:45.211Z] 3a2ae6a8a46f: Download complete [2023-04-27T04:55:45.211Z] 33b1e0a273af: Verifying Checksum [2023-04-27T04:55:45.211Z] 33b1e0a273af: Download complete [2023-04-27T04:55:45.211Z] ec43610c2a17: Verifying Checksum [2023-04-27T04:55:45.211Z] ec43610c2a17: Download complete [2023-04-27T04:55:45.211Z] 5d3b04190fa2: Verifying Checksum [2023-04-27T04:55:45.211Z] 5d3b04190fa2: Download complete [2023-04-27T04:55:45.471Z] 5eb5b503b376: Verifying Checksum [2023-04-27T04:55:45.471Z] 5eb5b503b376: Download complete [2023-04-27T04:55:46.039Z] 2f39f015ded8: Download complete [2023-04-27T04:55:46.606Z] 5eb5b503b376: Pull complete [2023-04-27T04:55:46.606Z] 5c69ac0246d0: Pull complete [2023-04-27T04:55:47.171Z] ec43610c2a17: Pull complete [2023-04-27T04:55:47.171Z] 3a2ae6a8a46f: Pull complete [2023-04-27T04:55:47.428Z] 33b1e0a273af: Pull complete [2023-04-27T04:55:47.687Z] 5d3b04190fa2: Pull complete [2023-04-27T04:55:52.947Z] 2f39f015ded8: Pull complete [2023-04-27T04:55:52.947Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-27T04:55:52.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:52.947Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:55:53.028Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T04:55:53.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-27T04:55:56.026Z] $ docker top ab58879e53c51128f1fd3d84ebdd2d63604123bd72733908a12432dcbe676429 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:55:56.399Z] ---> job-cost.sh [2023-04-27T04:55:56.399Z] lf-activate-venv: SKIPPING [2023-04-27T04:55:56.399Z] INFO: No Stack... [2023-04-27T04:55:56.659Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T04:55:56.919Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T04:55:57.205Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-04-27T04:55:57.205Z] + cut -d, -f6 [Pipeline] lock [2023-04-27T04:55:57.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [2023-04-27T04:55:57.225Z] Resource [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] did not exist. Created. [2023-04-27T04:55:57.225Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T04:55:57.521Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-27T04:55:57.556Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T04:55:57.563Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T04:55:57.578Z] $ docker stop --time=1 ab58879e53c51128f1fd3d84ebdd2d63604123bd72733908a12432dcbe676429 [2023-04-27T04:55:58.737Z] $ docker rm -f --volumes ab58879e53c51128f1fd3d84ebdd2d63604123bd72733908a12432dcbe676429 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-27T04:56:20.403Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11862 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-04-27T04:56:20.418Z] Running in /w/workspace/device-gpio/76 [Pipeline] { [Pipeline] checkout [2023-04-27T04:56:20.457Z] The recommended git tool is: git [2023-04-27T04:56:26.605Z] using credential edgex-jenkins-ssh [2023-04-27T04:56:26.627Z] Cloning the remote Git repository [2023-04-27T04:56:26.684Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-27T04:56:26.796Z] > git init /w/workspace/device-gpio/76 # timeout=10 [2023-04-27T04:56:26.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-27T04:56:26.963Z] > git --version # timeout=10 [2023-04-27T04:56:26.984Z] > git --version # 'git version 2.25.1' [2023-04-27T04:56:26.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T04:56:27.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T04:56:28.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-27T04:56:28.762Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T04:56:29.778Z] Avoid second fetch [2023-04-27T04:56:29.778Z] Checking out Revision 047a754c10fbde4392f5fd28b60c1cf65bc55b22 (main) [2023-04-27T04:56:30.391Z] Commit message: "Merge pull request #164 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76" [2023-04-27T04:56:29.793Z] > git config core.sparsecheckout # timeout=10 [2023-04-27T04:56:29.868Z] > git checkout -f 047a754c10fbde4392f5fd28b60c1cf65bc55b22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T04:56:31.321Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-27T04:56:31.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-27T04:56:31.321Z] Dload Upload Total Spent Left Speed [2023-04-27T04:56:31.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-04-27T04:56:32.076Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-27T04:56:32.415Z] + sudo tee /etc/docker/daemon.new [2023-04-27T04:56:32.415Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-27T04:56:32.415Z] { [2023-04-27T04:56:32.415Z] "registry-mirrors": [ [2023-04-27T04:56:32.415Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-27T04:56:32.415Z] ], [2023-04-27T04:56:32.415Z] "bip": "10.250.0.254/24", [2023-04-27T04:56:32.415Z] "hosts": [ [2023-04-27T04:56:32.415Z] "tcp://0.0.0.0:5555", [2023-04-27T04:56:32.415Z] "unix:///var/run/docker.sock" [2023-04-27T04:56:32.415Z] ], [2023-04-27T04:56:32.415Z] "mtu": 1458, [2023-04-27T04:56:32.415Z] "selinux-enabled": true, [2023-04-27T04:56:32.415Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-27T04:56:32.415Z] } [Pipeline] sh [2023-04-27T04:56:32.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-27T04:56:33.102Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:56:51.405Z] provisioning config files... [2023-04-27T04:56:51.434Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/76@tmp/config2776493855489176102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:56:51.793Z] ---> docker-login.sh [2023-04-27T04:56:51.793Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:56:52.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:56:52.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:56:52.335Z] Configure a credential helper to remove this warning. See [2023-04-27T04:56:52.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:56:52.335Z] [2023-04-27T04:56:52.335Z] Login Succeeded [2023-04-27T04:56:52.335Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:56:52.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:56:52.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:56:52.877Z] Configure a credential helper to remove this warning. See [2023-04-27T04:56:52.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:56:52.877Z] [2023-04-27T04:56:52.877Z] Login Succeeded [2023-04-27T04:56:52.877Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:56:53.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:56:53.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:56:53.146Z] Configure a credential helper to remove this warning. See [2023-04-27T04:56:53.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:56:53.146Z] [2023-04-27T04:56:53.146Z] Login Succeeded [2023-04-27T04:56:53.146Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:56:53.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:56:53.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:56:53.415Z] Configure a credential helper to remove this warning. See [2023-04-27T04:56:53.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:56:53.415Z] [2023-04-27T04:56:53.415Z] Login Succeeded [2023-04-27T04:56:53.415Z] docker.io [2023-04-27T04:56:53.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:56:53.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:56:53.961Z] Configure a credential helper to remove this warning. See [2023-04-27T04:56:53.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:56:53.961Z] [2023-04-27T04:56:53.961Z] Login Succeeded [2023-04-27T04:56:53.961Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:56:53.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T04:56:54.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:56:54.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:56:54.295Z] ========================================================= [2023-04-27T04:56:54.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-27T04:56:54.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:56:54.639Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T04:56:54.910Z] Sending build context to Docker daemon 8.115MB [2023-04-27T04:56:54.910Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T04:56:54.910Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T04:56:55.180Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-27T04:56:55.180Z] c41833b44d91: Pulling fs layer [2023-04-27T04:56:55.180Z] ed15518f5707: Pulling fs layer [2023-04-27T04:56:55.180Z] feae8fd75edb: Pulling fs layer [2023-04-27T04:56:55.180Z] 242c74f7c9fa: Pulling fs layer [2023-04-27T04:56:55.180Z] 3cdef696dda3: Pulling fs layer [2023-04-27T04:56:55.180Z] 2ced38df9373: Pulling fs layer [2023-04-27T04:56:55.180Z] 58f1dce35555: Pulling fs layer [2023-04-27T04:56:55.180Z] 3cdef696dda3: Waiting [2023-04-27T04:56:55.180Z] 2ced38df9373: Waiting [2023-04-27T04:56:55.180Z] 58f1dce35555: Waiting [2023-04-27T04:56:55.180Z] 242c74f7c9fa: Waiting [2023-04-27T04:56:55.180Z] ed15518f5707: Verifying Checksum [2023-04-27T04:56:55.180Z] ed15518f5707: Download complete [2023-04-27T04:56:55.180Z] 242c74f7c9fa: Verifying Checksum [2023-04-27T04:56:55.180Z] 242c74f7c9fa: Download complete [2023-04-27T04:56:55.180Z] 3cdef696dda3: Download complete [2023-04-27T04:56:55.180Z] c41833b44d91: Verifying Checksum [2023-04-27T04:56:56.159Z] c41833b44d91: Pull complete [2023-04-27T04:56:56.750Z] 58f1dce35555: Verifying Checksum [2023-04-27T04:56:56.750Z] 58f1dce35555: Download complete [2023-04-27T04:56:56.750Z] ed15518f5707: Pull complete [2023-04-27T04:56:57.718Z] feae8fd75edb: Download complete [2023-04-27T04:56:57.718Z] 2ced38df9373: Verifying Checksum [2023-04-27T04:56:57.718Z] 2ced38df9373: Download complete [2023-04-27T04:57:07.811Z] feae8fd75edb: Pull complete [2023-04-27T04:57:07.811Z] 242c74f7c9fa: Pull complete [2023-04-27T04:57:07.811Z] 3cdef696dda3: Pull complete [2023-04-27T04:57:16.059Z] 2ced38df9373: Pull complete [2023-04-27T04:57:17.053Z] 58f1dce35555: Pull complete [2023-04-27T04:57:17.053Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-27T04:57:17.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-27T04:57:17.053Z] ---> fadd8f120f05 [2023-04-27T04:57:17.053Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T04:57:18.517Z] ---> Running in 3732879d53ea [2023-04-27T04:57:18.517Z] Removing intermediate container 3732879d53ea [2023-04-27T04:57:18.517Z] ---> 51d2ef0d587a [2023-04-27T04:57:18.517Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T04:57:18.788Z] ---> Running in 6f54dd6874de [2023-04-27T04:57:19.058Z] Removing intermediate container 6f54dd6874de [2023-04-27T04:57:19.058Z] ---> 73916c8df326 [2023-04-27T04:57:19.058Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-27T04:57:19.331Z] ---> Running in 31f56de57c31 [2023-04-27T04:57:19.601Z] Removing intermediate container 31f56de57c31 [2023-04-27T04:57:19.601Z] ---> 69609d4a92d0 [2023-04-27T04:57:19.601Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T04:57:19.601Z] ---> Running in 55eadd9becd7 [2023-04-27T04:57:19.872Z] Removing intermediate container 55eadd9becd7 [2023-04-27T04:57:19.872Z] ---> 2ee7630972ac [2023-04-27T04:57:19.872Z] Step 7/12 : WORKDIR /device-gpio [2023-04-27T04:57:20.153Z] ---> Running in 64cf2f6cbb39 [2023-04-27T04:57:20.425Z] Removing intermediate container 64cf2f6cbb39 [2023-04-27T04:57:20.425Z] ---> ca34ae9139c5 [2023-04-27T04:57:20.426Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T04:57:20.426Z] ---> Running in 962d05dfc058 [2023-04-27T04:57:21.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T04:57:22.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T04:57:23.845Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T04:57:23.845Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T04:57:23.845Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T04:57:23.845Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T04:57:23.845Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T04:57:23.845Z] OK: 268 MiB in 57 packages [2023-04-27T04:57:24.826Z] Removing intermediate container 962d05dfc058 [2023-04-27T04:57:24.826Z] ---> 1f987e7f97f7 [2023-04-27T04:57:24.826Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T04:57:25.415Z] ---> bfd0adab3e16 [2023-04-27T04:57:25.415Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T04:57:25.685Z] ---> Running in 3a86fa8faaa2 [2023-04-27T04:58:33.624Z] Removing intermediate container 3a86fa8faaa2 [2023-04-27T04:58:33.624Z] ---> 09cc8e784699 [2023-04-27T04:58:33.624Z] Step 11/12 : COPY . . [2023-04-27T04:58:33.624Z] ---> 72370cbf7156 [2023-04-27T04:58:33.624Z] Step 12/12 : RUN ${MAKE} [2023-04-27T04:58:33.624Z] ---> Running in 208b394e404d [2023-04-27T04:58:33.624Z] noop [2023-04-27T04:58:33.624Z] Removing intermediate container 208b394e404d [2023-04-27T04:58:33.624Z] ---> 8cdffb12ba09 [2023-04-27T04:58:33.624Z] Successfully built 8cdffb12ba09 [2023-04-27T04:58:33.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:58:33.979Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T04:58:33.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:58:34.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-11862 does not seem to be running inside a container [2023-04-27T04:58:34.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/76 -v /w/workspace/device-gpio/76:/w/workspace/device-gpio/76:rw,z -v /w/workspace/device-gpio/76@tmp:/w/workspace/device-gpio/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-27T04:58:35.417Z] $ docker top 79d33e6b7f9ac1db325d0810afdfab6f6b79b6f87810be53c966738206136111 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:58:36.245Z] + go version [2023-04-27T04:58:36.245Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-27T04:58:36.264Z] $ docker stop --time=1 79d33e6b7f9ac1db325d0810afdfab6f6b79b6f87810be53c966738206136111 [2023-04-27T04:58:39.830Z] $ docker rm -f --volumes 79d33e6b7f9ac1db325d0810afdfab6f6b79b6f87810be53c966738206136111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:58:40.385Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T04:58:40.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:58:40.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-11862 does not seem to be running inside a container [2023-04-27T04:58:40.659Z] $ 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/76 -v /w/workspace/device-gpio/76:/w/workspace/device-gpio/76:rw,z -v /w/workspace/device-gpio/76@tmp:/w/workspace/device-gpio/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-27T04:58:41.830Z] $ docker top 79971c4a73bbbdcc7d4a157464e25f39b42091012e046e94ff8fe33131583cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:58:42.356Z] + git config --global --add safe.directory /w/workspace/device-gpio/76 [Pipeline] fileExists [Pipeline] sh [2023-04-27T04:58:42.701Z] + make test [2023-04-27T04:58:42.701Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T04:59:21.913Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-27T05:01:28.915Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-27T05:01:28.915Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-27T05:01:28.915Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-27T05:01:28.915Z] go vet ./... [2023-04-27T05:01:55.651Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-27T05:01:55.651Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-27T05:01:55.651Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-27T05:01:55.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-27T05:01:55.688Z] $ docker stop --time=1 79971c4a73bbbdcc7d4a157464e25f39b42091012e046e94ff8fe33131583cc6 [2023-04-27T05:01:57.604Z] $ docker rm -f --volumes 79971c4a73bbbdcc7d4a157464e25f39b42091012e046e94ff8fe33131583cc6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T05:01:58.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-27T05:01:58.797Z] Warning: overwriting stash ‘coverage-report’ [2023-04-27T05:01:59.312Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T05:01:59.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-27T05:02:00.040Z] + ls -al . [2023-04-27T05:02:00.040Z] total 152 [2023-04-27T05:02:00.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:58 . [2023-04-27T05:02:00.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:56 .. [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 27 04:56 .dockerignore [2023-04-27T05:02:00.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:56 .git [2023-04-27T05:02:00.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:56 .github [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 27 04:56 .gitignore [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 04:56 .golangci.yml [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 27 04:56 Attribution.txt [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 27 04:56 CHANGELOG.md [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 27 04:56 Dockerfile [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:56 GOVERNANCE.md [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 27 04:56 Jenkinsfile [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 04:56 LICENSE [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 27 04:56 Makefile [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 04:56 OWNERS.md [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 27 04:56 README.md [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:53 VERSION [2023-04-27T05:02:00.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:56 bin [2023-04-27T05:02:00.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:56 cmd [2023-04-27T05:02:00.040Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 27 04:58 coverage.out [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 27 04:56 go.mod [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 27 04:56 go.sum [2023-04-27T05:02:00.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:56 internal [2023-04-27T05:02:00.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:56 snap [2023-04-27T05:02:00.040Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:02:00.389Z] + 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=047a754c10fbde4392f5fd28b60c1cf65bc55b22 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-04-27T05:02:00.660Z] Sending build context to Docker daemon 8.116MB [2023-04-27T05:02:00.660Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T05:02:00.660Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-27T05:02:00.660Z] ---> 8cdffb12ba09 [2023-04-27T05:02:00.660Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-27T05:02:00.929Z] ---> Running in 530a104eedf0 [2023-04-27T05:02:01.209Z] Removing intermediate container 530a104eedf0 [2023-04-27T05:02:01.209Z] ---> 4e50842f0029 [2023-04-27T05:02:01.209Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T05:02:01.209Z] ---> Running in 7258013d78e4 [2023-04-27T05:02:01.801Z] Removing intermediate container 7258013d78e4 [2023-04-27T05:02:01.801Z] ---> c7843eb98fb6 [2023-04-27T05:02:01.801Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-27T05:02:01.801Z] ---> Running in 102731616b83 [2023-04-27T05:02:02.072Z] Removing intermediate container 102731616b83 [2023-04-27T05:02:02.072Z] ---> 66aae389e233 [2023-04-27T05:02:02.072Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T05:02:02.072Z] ---> Running in 8d61c4447105 [2023-04-27T05:02:02.341Z] Removing intermediate container 8d61c4447105 [2023-04-27T05:02:02.341Z] ---> 0bb78f73fa24 [2023-04-27T05:02:02.341Z] Step 7/25 : WORKDIR /device-gpio [2023-04-27T05:02:02.611Z] ---> Running in aa9302aefc85 [2023-04-27T05:02:02.883Z] Removing intermediate container aa9302aefc85 [2023-04-27T05:02:02.883Z] ---> 21cf64ab6af4 [2023-04-27T05:02:02.883Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T05:02:02.883Z] ---> Running in b78c5a772d6e [2023-04-27T05:02:03.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T05:02:04.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T05:02:05.860Z] OK: 268 MiB in 57 packages [2023-04-27T05:02:06.452Z] Removing intermediate container b78c5a772d6e [2023-04-27T05:02:06.452Z] ---> 807ffbd184fe [2023-04-27T05:02:06.453Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-27T05:02:07.043Z] ---> baced8aa36d4 [2023-04-27T05:02:07.043Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T05:02:07.043Z] ---> Running in 1d90d479b566 [2023-04-27T05:02:09.654Z] Removing intermediate container 1d90d479b566 [2023-04-27T05:02:09.654Z] ---> 86eaa4e60ca0 [2023-04-27T05:02:09.654Z] Step 11/25 : COPY . . [2023-04-27T05:02:10.632Z] ---> 5240922ebe4d [2023-04-27T05:02:10.632Z] Step 12/25 : RUN ${MAKE} [2023-04-27T05:02:10.903Z] ---> Running in a0671838f331 [2023-04-27T05:02:11.873Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-27T05:04:33.860Z] Removing intermediate container a0671838f331 [2023-04-27T05:04:33.860Z] ---> aa2146e2052d [2023-04-27T05:04:33.860Z] Step 13/25 : FROM alpine:3.17 [2023-04-27T05:04:33.860Z] 3.17: Pulling from library/alpine [2023-04-27T05:04:33.860Z] c41833b44d91: Already exists [2023-04-27T05:04:33.860Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-27T05:04:33.860Z] Status: Downloaded newer image for alpine:3.17 [2023-04-27T05:04:33.860Z] ---> 51e60588ff2c [2023-04-27T05:04:33.860Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-27T05:04:33.860Z] ---> Running in 2bfd97b18fae [2023-04-27T05:04:33.860Z] Removing intermediate container 2bfd97b18fae [2023-04-27T05:04:33.860Z] ---> 9e702cc15506 [2023-04-27T05:04:33.860Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-27T05:04:33.860Z] ---> Running in 1e4965b8336b [2023-04-27T05:04:34.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T05:04:34.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T05:04:35.672Z] OK: 7 MiB in 15 packages [2023-04-27T05:04:36.647Z] Removing intermediate container 1e4965b8336b [2023-04-27T05:04:36.647Z] ---> 18a5ff1e203d [2023-04-27T05:04:36.647Z] Step 16/25 : WORKDIR / [2023-04-27T05:04:36.647Z] ---> Running in 62393f7f4baa [2023-04-27T05:04:37.236Z] Removing intermediate container 62393f7f4baa [2023-04-27T05:04:37.237Z] ---> d879957d70ec [2023-04-27T05:04:37.237Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-27T05:04:37.504Z] ---> c99ba624960e [2023-04-27T05:04:37.504Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-27T05:04:38.091Z] ---> 93791a4d90c7 [2023-04-27T05:04:38.091Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-27T05:04:39.503Z] ---> 9f01fc7907e6 [2023-04-27T05:04:39.503Z] Step 20/25 : EXPOSE 59910 [2023-04-27T05:04:39.503Z] ---> Running in 17420848caec [2023-04-27T05:04:39.771Z] Removing intermediate container 17420848caec [2023-04-27T05:04:39.771Z] ---> 96e7ccfddea7 [2023-04-27T05:04:39.771Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-27T05:04:39.771Z] ---> Running in 6fbacd24a340 [2023-04-27T05:04:40.040Z] Removing intermediate container 6fbacd24a340 [2023-04-27T05:04:40.040Z] ---> f63ea8e71428 [2023-04-27T05:04:40.040Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-27T05:04:40.316Z] ---> Running in cc61153930d3 [2023-04-27T05:04:40.585Z] Removing intermediate container cc61153930d3 [2023-04-27T05:04:40.585Z] ---> 470d844d4191 [2023-04-27T05:04:40.585Z] Step 23/25 : LABEL arch=arm64 [2023-04-27T05:04:40.585Z] ---> Running in c44a491d7327 [2023-04-27T05:04:40.854Z] Removing intermediate container c44a491d7327 [2023-04-27T05:04:40.854Z] ---> bf443797eb1c [2023-04-27T05:04:40.854Z] Step 24/25 : LABEL git_sha=047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T05:04:40.854Z] ---> Running in 0cd0c52f5132 [2023-04-27T05:04:41.123Z] Removing intermediate container 0cd0c52f5132 [2023-04-27T05:04:41.123Z] ---> 68afe859e6f5 [2023-04-27T05:04:41.123Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-04-27T05:04:41.395Z] ---> Running in 9e856a58ef46 [2023-04-27T05:04:41.663Z] Removing intermediate container 9e856a58ef46 [2023-04-27T05:04:41.663Z] ---> cd0c26a24853 [2023-04-27T05:04:41.663Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-27T05:04:41.663Z] Successfully built cd0c26a24853 [2023-04-27T05:04:41.663Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T05:04:41.789Z] provisioning config files... [2023-04-27T05:04:41.806Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/76@tmp/config3439625566849672561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:04:42.143Z] ---> docker-login.sh [2023-04-27T05:04:42.143Z] nexus3.edgexfoundry.org:10001 [2023-04-27T05:04:42.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T05:04:42.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T05:04:42.412Z] Configure a credential helper to remove this warning. See [2023-04-27T05:04:42.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T05:04:42.412Z] [2023-04-27T05:04:42.412Z] Login Succeeded [2023-04-27T05:04:42.412Z] nexus3.edgexfoundry.org:10002 [2023-04-27T05:04:42.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T05:04:42.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T05:04:42.680Z] Configure a credential helper to remove this warning. See [2023-04-27T05:04:42.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T05:04:42.680Z] [2023-04-27T05:04:42.680Z] Login Succeeded [2023-04-27T05:04:42.680Z] nexus3.edgexfoundry.org:10003 [2023-04-27T05:04:42.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T05:04:43.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T05:04:43.220Z] Configure a credential helper to remove this warning. See [2023-04-27T05:04:43.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T05:04:43.220Z] [2023-04-27T05:04:43.220Z] Login Succeeded [2023-04-27T05:04:43.220Z] nexus3.edgexfoundry.org:10004 [2023-04-27T05:04:43.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T05:04:43.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T05:04:43.488Z] Configure a credential helper to remove this warning. See [2023-04-27T05:04:43.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T05:04:43.488Z] [2023-04-27T05:04:43.488Z] Login Succeeded [2023-04-27T05:04:43.488Z] docker.io [2023-04-27T05:04:43.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T05:04:44.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T05:04:44.026Z] Configure a credential helper to remove this warning. See [2023-04-27T05:04:44.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T05:04:44.026Z] [2023-04-27T05:04:44.026Z] Login Succeeded [2023-04-27T05:04:44.026Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T05:04:44.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-27T05:04:44.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T05:04:44.110Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-04-27T05:04:44.110Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T05:04:44.110Z] latest [2023-04-27T05:04:44.110Z] 3.0.0-dev.22 [2023-04-27T05:04:44.110Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T05:04:44.110Z] main [2023-04-27T05:04:44.110Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:44.470Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:44.826Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T05:04:44.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-27T05:04:44.826Z] 923411e1e75b: Preparing [2023-04-27T05:04:44.826Z] 6ed4cc1a438e: Preparing [2023-04-27T05:04:44.826Z] 48f989d78f26: Preparing [2023-04-27T05:04:44.826Z] b81c15291962: Preparing [2023-04-27T05:04:44.826Z] 26cbea5cba74: Preparing [2023-04-27T05:04:44.826Z] 26cbea5cba74: Layer already exists [2023-04-27T05:04:45.094Z] b81c15291962: Pushed [2023-04-27T05:04:45.094Z] 6ed4cc1a438e: Pushed [2023-04-27T05:04:45.094Z] 48f989d78f26: Pushed [2023-04-27T05:04:50.444Z] 923411e1e75b: Pushed [2023-04-27T05:04:50.444Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22: digest: sha256:81a5eee37cf2d685527f53b252e5afae0267b8dc92be525da795d49830334e2a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:50.795Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:51.145Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-27T05:04:51.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-27T05:04:51.145Z] 923411e1e75b: Preparing [2023-04-27T05:04:51.145Z] 6ed4cc1a438e: Preparing [2023-04-27T05:04:51.145Z] 48f989d78f26: Preparing [2023-04-27T05:04:51.145Z] b81c15291962: Preparing [2023-04-27T05:04:51.145Z] 26cbea5cba74: Preparing [2023-04-27T05:04:51.145Z] b81c15291962: Layer already exists [2023-04-27T05:04:51.145Z] 26cbea5cba74: Layer already exists [2023-04-27T05:04:51.145Z] 923411e1e75b: Layer already exists [2023-04-27T05:04:51.145Z] 6ed4cc1a438e: Layer already exists [2023-04-27T05:04:51.145Z] 48f989d78f26: Layer already exists [2023-04-27T05:04:51.145Z] latest: digest: sha256:81a5eee37cf2d685527f53b252e5afae0267b8dc92be525da795d49830334e2a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:51.773Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:52.121Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.22 [2023-04-27T05:04:52.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-27T05:04:52.121Z] 923411e1e75b: Preparing [2023-04-27T05:04:52.121Z] 6ed4cc1a438e: Preparing [2023-04-27T05:04:52.121Z] 48f989d78f26: Preparing [2023-04-27T05:04:52.121Z] b81c15291962: Preparing [2023-04-27T05:04:52.121Z] 26cbea5cba74: Preparing [2023-04-27T05:04:52.121Z] b81c15291962: Layer already exists [2023-04-27T05:04:52.121Z] 48f989d78f26: Layer already exists [2023-04-27T05:04:52.121Z] 923411e1e75b: Layer already exists [2023-04-27T05:04:52.121Z] 26cbea5cba74: Layer already exists [2023-04-27T05:04:52.121Z] 6ed4cc1a438e: Layer already exists [2023-04-27T05:04:52.388Z] 3.0.0-dev.22: digest: sha256:81a5eee37cf2d685527f53b252e5afae0267b8dc92be525da795d49830334e2a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:52.738Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:53.080Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T05:04:53.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-27T05:04:53.080Z] 923411e1e75b: Preparing [2023-04-27T05:04:53.080Z] 6ed4cc1a438e: Preparing [2023-04-27T05:04:53.080Z] 48f989d78f26: Preparing [2023-04-27T05:04:53.080Z] b81c15291962: Preparing [2023-04-27T05:04:53.080Z] 26cbea5cba74: Preparing [2023-04-27T05:04:53.080Z] b81c15291962: Layer already exists [2023-04-27T05:04:53.080Z] 923411e1e75b: Layer already exists [2023-04-27T05:04:53.080Z] 6ed4cc1a438e: Layer already exists [2023-04-27T05:04:53.080Z] 48f989d78f26: Layer already exists [2023-04-27T05:04:53.080Z] 26cbea5cba74: Layer already exists [2023-04-27T05:04:53.080Z] 047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22: digest: sha256:81a5eee37cf2d685527f53b252e5afae0267b8dc92be525da795d49830334e2a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:53.426Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:53.793Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-04-27T05:04:53.793Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-27T05:04:53.793Z] 923411e1e75b: Preparing [2023-04-27T05:04:53.793Z] 6ed4cc1a438e: Preparing [2023-04-27T05:04:53.793Z] 48f989d78f26: Preparing [2023-04-27T05:04:53.793Z] b81c15291962: Preparing [2023-04-27T05:04:53.793Z] 26cbea5cba74: Preparing [2023-04-27T05:04:53.793Z] 6ed4cc1a438e: Layer already exists [2023-04-27T05:04:53.793Z] 48f989d78f26: Layer already exists [2023-04-27T05:04:53.793Z] 923411e1e75b: Layer already exists [2023-04-27T05:04:53.793Z] 26cbea5cba74: Layer already exists [2023-04-27T05:04:53.793Z] b81c15291962: Layer already exists [2023-04-27T05:04:53.793Z] main: digest: sha256:81a5eee37cf2d685527f53b252e5afae0267b8dc92be525da795d49830334e2a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-27T05:04:53.865Z] ===================================================== [Pipeline] echo [2023-04-27T05:04:53.876Z] taggedImages: [2023-04-27T05:04:53.876Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22 [2023-04-27T05:04:53.876Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-27T05:04:53.876Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.22 [2023-04-27T05:04:53.876Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:047a754c10fbde4392f5fd28b60c1cf65bc55b22-3.0.0-dev.22 [2023-04-27T05:04:53.876Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:54.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:04:54.251Z] [2023-04-27T05:04:54.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:04:54.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:04:54.601Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-27T05:04:54.601Z] 8998bd30e6a1: Pulling fs layer [2023-04-27T05:04:54.601Z] 04944245beec: Pulling fs layer [2023-04-27T05:04:54.601Z] 699f458cf7ca: Pulling fs layer [2023-04-27T05:04:54.601Z] 765212b225bb: Pulling fs layer [2023-04-27T05:04:54.601Z] f23df028b6ca: Pulling fs layer [2023-04-27T05:04:54.601Z] d65c8cfc05b1: Pulling fs layer [2023-04-27T05:04:54.601Z] 2437ff75d9bd: Pulling fs layer [2023-04-27T05:04:54.601Z] 765212b225bb: Waiting [2023-04-27T05:04:54.601Z] f23df028b6ca: Waiting [2023-04-27T05:04:54.601Z] d65c8cfc05b1: Waiting [2023-04-27T05:04:54.601Z] 2437ff75d9bd: Waiting [2023-04-27T05:04:54.893Z] 04944245beec: Verifying Checksum [2023-04-27T05:04:54.893Z] 04944245beec: Download complete [2023-04-27T05:04:54.893Z] 765212b225bb: Verifying Checksum [2023-04-27T05:04:54.893Z] 765212b225bb: Download complete [2023-04-27T05:04:54.893Z] f23df028b6ca: Verifying Checksum [2023-04-27T05:04:54.893Z] f23df028b6ca: Download complete [2023-04-27T05:04:54.893Z] d65c8cfc05b1: Verifying Checksum [2023-04-27T05:04:54.893Z] d65c8cfc05b1: Download complete [2023-04-27T05:04:55.185Z] 699f458cf7ca: Verifying Checksum [2023-04-27T05:04:55.185Z] 699f458cf7ca: Download complete [2023-04-27T05:04:55.472Z] 8998bd30e6a1: Verifying Checksum [2023-04-27T05:04:55.472Z] 8998bd30e6a1: Download complete [2023-04-27T05:04:57.431Z] 2437ff75d9bd: Verifying Checksum [2023-04-27T05:04:57.431Z] 2437ff75d9bd: Download complete [2023-04-27T05:04:59.398Z] 8998bd30e6a1: Pull complete [2023-04-27T05:04:59.666Z] 04944245beec: Pull complete [2023-04-27T05:05:01.086Z] 699f458cf7ca: Pull complete [2023-04-27T05:05:01.351Z] 765212b225bb: Pull complete [2023-04-27T05:05:01.936Z] f23df028b6ca: Pull complete [2023-04-27T05:05:02.204Z] d65c8cfc05b1: Pull complete [2023-04-27T05:05:14.522Z] 2437ff75d9bd: Pull complete [2023-04-27T05:05:14.522Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-27T05:05:14.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:05:14.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:05:14.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-11862 does not seem to be running inside a container [2023-04-27T05:05:14.810Z] $ 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/76 -v /w/workspace/device-gpio/76:/w/workspace/device-gpio/76:rw,z -v /w/workspace/device-gpio/76@tmp:/w/workspace/device-gpio/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-27T05:05:17.515Z] $ docker top d8d132038bb68822a6510dd6b5005f6c6beaaaecf01255136e4783a4a82eb65c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:05:18.368Z] ---> job-cost.sh [2023-04-27T05:05:18.368Z] lf-activate-venv: SKIPPING [2023-04-27T05:05:18.368Z] INFO: No Stack... [2023-04-27T05:05:18.950Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-27T05:05:19.911Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T05:05:20.548Z] + cut -d, -f6 [2023-04-27T05:05:20.549Z] + cat /w/workspace/device-gpio/76/archives/cost.csv [Pipeline] lock [2023-04-27T05:05:20.620Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [2023-04-27T05:05:20.627Z] Resource [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] did not exist. Created. [2023-04-27T05:05:20.627Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T05:05:21.287Z] /w/workspace/device-gpio/76@tmp/durable-77b397b6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-27T05:05:21.951Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-27T05:05:21.968Z] Warning: overwriting stash ‘stack-cost’ [2023-04-27T05:05:22.026Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T05:05:22.036Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T05:05:22.060Z] $ docker stop --time=1 d8d132038bb68822a6510dd6b5005f6c6beaaaecf01255136e4783a4a82eb65c [2023-04-27T05:05:23.584Z] $ docker rm -f --volumes d8d132038bb68822a6510dd6b5005f6c6beaaaecf01255136e4783a4a82eb65c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-27T05:05:23.977Z] provisioning config files... [2023-04-27T05:05:23.983Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16433199549562856031tmp [Pipeline] { [Pipeline] sh [2023-04-27T05:05:24.284Z] + set +x [2023-04-27T05:05:24.284Z] + curl -s https://codecov.io/bash [2023-04-27T05:05:24.284Z] + bash -s -- [2023-04-27T05:05:24.284Z] [2023-04-27T05:05:24.284Z] _____ _ [2023-04-27T05:05:24.284Z] / ____| | | [2023-04-27T05:05:24.284Z] | | ___ __| | ___ ___ _____ __ [2023-04-27T05:05:24.284Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-27T05:05:24.284Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-27T05:05:24.284Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-27T05:05:24.284Z] Bash-1.0.6 [2023-04-27T05:05:24.284Z] [2023-04-27T05:05:24.284Z] [2023-04-27T05:05:24.284Z] ==> git version 2.25.1 found [2023-04-27T05:05:24.284Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-27T05:05:24.284Z] Release-Date: 2020-01-08 [2023-04-27T05:05:24.284Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-27T05:05:24.284Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-27T05:05:24.284Z] ==> Jenkins CI detected. [2023-04-27T05:05:24.284Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-04-27T05:05:24.284Z] project root: . [2023-04-27T05:05:24.284Z] --> token set from env [2023-04-27T05:05:24.284Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-27T05:05:24.284Z] ==> Running gcov in . (disable via -X gcov) [2023-04-27T05:05:24.284Z] ==> Python coveragepy not found [2023-04-27T05:05:24.284Z] ==> Searching for coverage reports in: [2023-04-27T05:05:24.284Z] + . [2023-04-27T05:05:24.284Z] -> Found 1 reports [2023-04-27T05:05:24.284Z] ==> Detecting git/mercurial file structure [2023-04-27T05:05:24.284Z] ==> Reading reports [2023-04-27T05:05:24.284Z] + ./coverage.out bytes=10 [2023-04-27T05:05:24.284Z] ==> Appending adjustments [2023-04-27T05:05:24.284Z] https://docs.codecov.io/docs/fixing-reports [2023-04-27T05:05:24.543Z] + Found adjustments [2023-04-27T05:05:24.544Z] ==> Gzipping contents [2023-04-27T05:05:24.544Z] 4.0K /tmp/codecov.ko7Ga8.gz [2023-04-27T05:05:24.544Z] ==> Uploading reports [2023-04-27T05:05:24.544Z] url: https://codecov.io [2023-04-27T05:05:24.544Z] query: branch=main&commit=047a754c10fbde4392f5fd28b60c1cf65bc55b22&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-27T05:05:24.544Z] -> Pinging Codecov [2023-04-27T05:05:24.544Z] 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=047a754c10fbde4392f5fd28b60c1cf65bc55b22&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-27T05:05:24.544Z] -> Uploading to [2023-04-27T05:05:24.544Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/047a754c10fbde4392f5fd28b60c1cf65bc55b22/121ec57d-2289-41f7-b223-83b969950cdc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T050524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91d783707f43c604e5837041cba3377a2a6f157edcc41efdd7be0bf391947a90 [2023-04-27T05:05:24.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-27T05:05:24.544Z] Dload Upload Total Spent Left Speed [2023-04-27T05:05:24.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3584 --:--:-- --:--:-- --:--:-- 3566 100 724 0 0 100 724 0 3549 --:--:-- --:--:-- --:--:-- 3531 [2023-04-27T05:05:24.803Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] } [2023-04-27T05:05:24.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-27T05:05:24.931Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-27T05:05:24.946Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:05:25.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-27T05:05:25.254Z] [2023-04-27T05:05:25.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:05:25.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-27T05:05:25.559Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-27T05:05:25.559Z] df9b9388f04a: Pulling fs layer [2023-04-27T05:05:25.559Z] 52dc419b0ee2: Pulling fs layer [2023-04-27T05:05:25.559Z] 25bc292e5bac: Pulling fs layer [2023-04-27T05:05:25.559Z] 114826534d7a: Pulling fs layer [2023-04-27T05:05:25.559Z] 4657fd5d0bcf: Pulling fs layer [2023-04-27T05:05:25.559Z] 6ad1cebc031e: Pulling fs layer [2023-04-27T05:05:25.559Z] 8a3aa393b2d8: Pulling fs layer [2023-04-27T05:05:25.559Z] 8a3aa393b2d8: Waiting [2023-04-27T05:05:25.559Z] 4657fd5d0bcf: Waiting [2023-04-27T05:05:25.559Z] 25bc292e5bac: Download complete [2023-04-27T05:05:25.559Z] 52dc419b0ee2: Verifying Checksum [2023-04-27T05:05:25.559Z] 52dc419b0ee2: Download complete [2023-04-27T05:05:25.559Z] 4657fd5d0bcf: Download complete [2023-04-27T05:05:25.559Z] df9b9388f04a: Download complete [2023-04-27T05:05:25.819Z] 6ad1cebc031e: Verifying Checksum [2023-04-27T05:05:25.819Z] 6ad1cebc031e: Download complete [2023-04-27T05:05:25.819Z] df9b9388f04a: Pull complete [2023-04-27T05:05:25.819Z] 52dc419b0ee2: Pull complete [2023-04-27T05:05:26.079Z] 25bc292e5bac: Pull complete [2023-04-27T05:05:26.338Z] 114826534d7a: Verifying Checksum [2023-04-27T05:05:26.338Z] 114826534d7a: Download complete [2023-04-27T05:05:26.597Z] 8a3aa393b2d8: Verifying Checksum [2023-04-27T05:05:26.597Z] 8a3aa393b2d8: Download complete [2023-04-27T05:05:29.877Z] 114826534d7a: Pull complete [2023-04-27T05:05:29.877Z] 4657fd5d0bcf: Pull complete [2023-04-27T05:05:30.136Z] 6ad1cebc031e: Pull complete [2023-04-27T05:05:33.414Z] 8a3aa393b2d8: Pull complete [2023-04-27T05:05:33.414Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-27T05:05:33.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-27T05:05:33.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:05:33.492Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:05:33.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-27T05:05:37.086Z] $ docker top b35ec273396785628ab94e466096c71818ecabc4bbcdde292f1bbc44339af5c9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-27T05:05:37.150Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-04-27T05:05:37.430Z] + set -o pipefail [2023-04-27T05:05:37.430Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/c5fd8ee1-473a-4d22-a75f-1085dec27a04 [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] [2023-04-27T05:05:41.624Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-27T05:05:41.624Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-27T05:05:41.624Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-27T05:05:41.639Z] $ docker stop --time=1 b35ec273396785628ab94e466096c71818ecabc4bbcdde292f1bbc44339af5c9 [2023-04-27T05:05:44.774Z] $ docker rm -f --volumes b35ec273396785628ab94e466096c71818ecabc4bbcdde292f1bbc44339af5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T05:05:45.496Z] + git log --format=format:%s -1 047a754c10fbde4392f5fd28b60c1cf65bc55b22 [Pipeline] sh [2023-04-27T05:05:45.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T05:05:45.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:05:46.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T05:05:46.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:05:46.177Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:05:46.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-27T05:05:46.647Z] $ docker top 43e2e197bfbbece59bcee3fb8cb1dc33b8bf798ba6edbf7a57a05cbbe6818c22 -eo pid,comm [2023-04-27T05:05:46.695Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-27T05:05:46.695Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T05:05:46.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T05:05:46.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T05:05:46.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T05:05:46.845Z] $ docker exec 43e2e197bfbbece59bcee3fb8cb1dc33b8bf798ba6edbf7a57a05cbbe6818c22 ssh-agent [2023-04-27T05:05:46.958Z] SSH_AUTH_SOCK=/tmp/ssh-88PAb1isKjgl/agent.31 [2023-04-27T05:05:46.958Z] SSH_AGENT_PID=37 [2023-04-27T05:05:46.963Z] Running ssh-add (command line suppressed) [2023-04-27T05:05:47.081Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15148749012023686841.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15148749012023686841.key) [2023-04-27T05:05:47.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T05:05:47.385Z] + git semver tag [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,578 [run_tag] DEBUG tag force:False [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,578 [check_head_tag] DEBUG check head tag [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,579 [execute] INFO git cat-file --batch-check [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,583 [execute] INFO git cat-file --batch [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,602 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,602 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-27T05:05:47.644Z] 2023-04-27 05:05:47,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:05:47.644Z] 3.0.0-dev.22 [Pipeline] } [2023-04-27T05:05:47.655Z] $ docker exec --env ******** --env ******** 43e2e197bfbbece59bcee3fb8cb1dc33b8bf798ba6edbf7a57a05cbbe6818c22 ssh-agent -k [2023-04-27T05:05:47.768Z] unset SSH_AUTH_SOCK; [2023-04-27T05:05:47.768Z] unset SSH_AGENT_PID; [2023-04-27T05:05:47.768Z] echo Agent pid 37 killed; [2023-04-27T05:05:47.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T05:05:48.091Z] + git semver [Pipeline] } [2023-04-27T05:05:48.364Z] $ docker stop --time=1 43e2e197bfbbece59bcee3fb8cb1dc33b8bf798ba6edbf7a57a05cbbe6818c22 [2023-04-27T05:05:49.600Z] $ docker rm -f --volumes 43e2e197bfbbece59bcee3fb8cb1dc33b8bf798ba6edbf7a57a05cbbe6818c22 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:05:49.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-27T05:05:49.963Z] [2023-04-27T05:05:49.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:05:50.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-27T05:05:50.262Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-27T05:05:50.262Z] ab5ef0e58194: Pulling fs layer [2023-04-27T05:05:50.262Z] 9712f1f96733: Pulling fs layer [2023-04-27T05:05:50.262Z] 63f879dbbcfc: Pulling fs layer [2023-04-27T05:05:50.262Z] 0d9ebad4ef96: Pulling fs layer [2023-04-27T05:05:50.262Z] e9a5061849ea: Pulling fs layer [2023-04-27T05:05:50.262Z] d747dcd14b5f: Pulling fs layer [2023-04-27T05:05:50.262Z] 2de7ff778b66: Pulling fs layer [2023-04-27T05:05:50.262Z] 0d9ebad4ef96: Waiting [2023-04-27T05:05:50.262Z] e9a5061849ea: Waiting [2023-04-27T05:05:50.262Z] d747dcd14b5f: Waiting [2023-04-27T05:05:50.262Z] 2de7ff778b66: Waiting [2023-04-27T05:05:50.262Z] 9712f1f96733: Verifying Checksum [2023-04-27T05:05:50.262Z] 9712f1f96733: Download complete [2023-04-27T05:05:50.523Z] 63f879dbbcfc: Verifying Checksum [2023-04-27T05:05:50.523Z] 63f879dbbcfc: Download complete [2023-04-27T05:05:50.782Z] e9a5061849ea: Verifying Checksum [2023-04-27T05:05:50.782Z] e9a5061849ea: Download complete [2023-04-27T05:05:50.782Z] d747dcd14b5f: Verifying Checksum [2023-04-27T05:05:50.782Z] d747dcd14b5f: Download complete [2023-04-27T05:05:50.782Z] ab5ef0e58194: Verifying Checksum [2023-04-27T05:05:50.782Z] ab5ef0e58194: Download complete [2023-04-27T05:05:50.782Z] 0d9ebad4ef96: Verifying Checksum [2023-04-27T05:05:50.782Z] 0d9ebad4ef96: Download complete [2023-04-27T05:05:51.041Z] 2de7ff778b66: Verifying Checksum [2023-04-27T05:05:51.041Z] 2de7ff778b66: Download complete [2023-04-27T05:05:53.568Z] ab5ef0e58194: Pull complete [2023-04-27T05:05:53.568Z] 9712f1f96733: Pull complete [2023-04-27T05:05:54.132Z] 63f879dbbcfc: Pull complete [2023-04-27T05:05:58.314Z] 0d9ebad4ef96: Pull complete [2023-04-27T05:05:58.314Z] e9a5061849ea: Pull complete [2023-04-27T05:05:58.314Z] d747dcd14b5f: Pull complete [2023-04-27T05:05:58.882Z] 2de7ff778b66: Pull complete [2023-04-27T05:05:58.882Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-27T05:05:58.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-27T05:05:58.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:05:58.957Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:05:58.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-27T05:06:03.119Z] $ docker top 26e7276dd73302921fcbfae3ebe83b9d81062df17fc07a80ee721d7de6f91f26 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-27T05:06:03.188Z] provisioning config files... [2023-04-27T05:06:03.194Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7855939007692007187tmp [2023-04-27T05:06:03.204Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8255427607995035245tmp [2023-04-27T05:06:03.214Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15008096537835407712tmp [Pipeline] { [Pipeline] echo [2023-04-27T05:06:03.230Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:03.512Z] ---> sigul-configuration.sh [2023-04-27T05:06:03.512Z] gpg: directory `/root/.gnupg' created [2023-04-27T05:06:03.512Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-27T05:06:03.512Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-27T05:06:03.512Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-27T05:06:03.512Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-27T05:06:03.512Z] gpg: CAST5 encrypted data [2023-04-27T05:06:03.512Z] gpg: encrypted with 1 passphrase [2023-04-27T05:06:03.512Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-27T05:06:03.797Z] + mkdir /home/jenkins [2023-04-27T05:06:03.798Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-27T05:06:04.084Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-04-27T05:06:04.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:04.376Z] ---> sigul-install.sh [2023-04-27T05:06:04.376Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-27T05:06:04.666Z] + git tag --list [2023-04-27T05:06:04.666Z] v1.0.0 [2023-04-27T05:06:04.666Z] v2.1.0 [2023-04-27T05:06:04.666Z] v2.1.1 [2023-04-27T05:06:04.666Z] v2.1.1-dev.1 [2023-04-27T05:06:04.666Z] v2.2.0 [2023-04-27T05:06:04.666Z] v2.2.1-dev.1 [2023-04-27T05:06:04.666Z] v2.2.1-dev.2 [2023-04-27T05:06:04.666Z] v2.2.1-dev.3 [2023-04-27T05:06:04.666Z] v2.2.1-dev.4 [2023-04-27T05:06:04.666Z] v2.3.0 [2023-04-27T05:06:04.666Z] v2.3.0-dev.10 [2023-04-27T05:06:04.666Z] v2.3.0-dev.11 [2023-04-27T05:06:04.666Z] v2.3.0-dev.12 [2023-04-27T05:06:04.666Z] v2.3.0-dev.13 [2023-04-27T05:06:04.666Z] v2.3.0-dev.14 [2023-04-27T05:06:04.666Z] v2.3.0-dev.15 [2023-04-27T05:06:04.666Z] v2.3.0-dev.16 [2023-04-27T05:06:04.666Z] v2.3.0-dev.17 [2023-04-27T05:06:04.666Z] v2.3.0-dev.18 [2023-04-27T05:06:04.666Z] v2.3.0-dev.19 [2023-04-27T05:06:04.666Z] v2.3.0-dev.20 [2023-04-27T05:06:04.666Z] v2.3.0-dev.4 [2023-04-27T05:06:04.666Z] v2.3.0-dev.5 [2023-04-27T05:06:04.666Z] v2.3.0-dev.6 [2023-04-27T05:06:04.666Z] v2.3.0-dev.7 [2023-04-27T05:06:04.666Z] v2.3.0-dev.8 [2023-04-27T05:06:04.666Z] v2.3.0-dev.9 [2023-04-27T05:06:04.666Z] v3.0.0-dev.1 [2023-04-27T05:06:04.666Z] v3.0.0-dev.10 [2023-04-27T05:06:04.666Z] v3.0.0-dev.11 [2023-04-27T05:06:04.666Z] v3.0.0-dev.12 [2023-04-27T05:06:04.666Z] v3.0.0-dev.13 [2023-04-27T05:06:04.666Z] v3.0.0-dev.14 [2023-04-27T05:06:04.666Z] v3.0.0-dev.15 [2023-04-27T05:06:04.666Z] v3.0.0-dev.16 [2023-04-27T05:06:04.667Z] v3.0.0-dev.17 [2023-04-27T05:06:04.667Z] v3.0.0-dev.18 [2023-04-27T05:06:04.667Z] v3.0.0-dev.19 [2023-04-27T05:06:04.667Z] v3.0.0-dev.2 [2023-04-27T05:06:04.667Z] v3.0.0-dev.20 [2023-04-27T05:06:04.667Z] v3.0.0-dev.21 [2023-04-27T05:06:04.667Z] v3.0.0-dev.22 [2023-04-27T05:06:04.667Z] v3.0.0-dev.3 [2023-04-27T05:06:04.667Z] v3.0.0-dev.4 [2023-04-27T05:06:04.667Z] v3.0.0-dev.5 [2023-04-27T05:06:04.667Z] v3.0.0-dev.6 [2023-04-27T05:06:04.667Z] v3.0.0-dev.7 [2023-04-27T05:06:04.667Z] v3.0.0-dev.8 [2023-04-27T05:06:04.667Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-27T05:06:04.952Z] + lftools sign git-tag v3.0.0-dev.22 [2023-04-27T05:06:05.521Z] Signing Git tag with Sigul... [2023-04-27T05:06:05.521Z] Signing v3.0.0-dev.22 [Pipeline] echo [2023-04-27T05:06:05.788Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:06.075Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-27T05:06:06.082Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-27T05:06:06.102Z] $ docker stop --time=1 26e7276dd73302921fcbfae3ebe83b9d81062df17fc07a80ee721d7de6f91f26 [2023-04-27T05:06:07.406Z] $ docker rm -f --volumes 26e7276dd73302921fcbfae3ebe83b9d81062df17fc07a80ee721d7de6f91f26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-27T05:06:07.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T05:06:07.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:06:08.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T05:06:08.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:06:08.153Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:06:08.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-27T05:06:08.513Z] $ docker top 425155a330891045a9c81250c80913db90a55a0e38b0fd3178ed0d342dc318c9 -eo pid,comm [2023-04-27T05:06:08.559Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-27T05:06:08.559Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T05:06:08.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T05:06:08.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T05:06:08.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T05:06:08.714Z] $ docker exec 425155a330891045a9c81250c80913db90a55a0e38b0fd3178ed0d342dc318c9 ssh-agent [2023-04-27T05:06:08.822Z] SSH_AUTH_SOCK=/tmp/ssh-0va9igsMdMVc/agent.32 [2023-04-27T05:06:08.822Z] SSH_AGENT_PID=38 [2023-04-27T05:06:08.828Z] Running ssh-add (command line suppressed) [2023-04-27T05:06:08.930Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5292804503681276971.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5292804503681276971.key) [2023-04-27T05:06:08.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T05:06:09.231Z] + git semver bump pre [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,418 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,418 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,418 [bump_version] DEBUG bumped version:3.0.0-dev.23 [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,419 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,419 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,420 [execute] INFO git cat-file --batch-check [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,426 [execute] INFO git cat-file --batch [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T05:06:09.490Z] 2023-04-27 05:06:09,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:06:09.490Z] 3.0.0-dev.23 [Pipeline] } [2023-04-27T05:06:09.499Z] $ docker exec --env ******** --env ******** 425155a330891045a9c81250c80913db90a55a0e38b0fd3178ed0d342dc318c9 ssh-agent -k [2023-04-27T05:06:09.593Z] unset SSH_AUTH_SOCK; [2023-04-27T05:06:09.594Z] unset SSH_AGENT_PID; [2023-04-27T05:06:09.594Z] echo Agent pid 38 killed; [2023-04-27T05:06:09.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T05:06:09.912Z] + git semver [Pipeline] } [2023-04-27T05:06:10.186Z] $ docker stop --time=1 425155a330891045a9c81250c80913db90a55a0e38b0fd3178ed0d342dc318c9 [2023-04-27T05:06:11.588Z] $ docker rm -f --volumes 425155a330891045a9c81250c80913db90a55a0e38b0fd3178ed0d342dc318c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T05:06:11.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T05:06:11.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:06:12.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T05:06:12.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:06:12.285Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:06:12.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-27T05:06:12.635Z] $ docker top 746c15e4711c02d51f45ced9c952605719c266a2d401b1a389840893cb17731d -eo pid,comm [2023-04-27T05:06:12.684Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-27T05:06:12.684Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T05:06:12.713Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T05:06:12.713Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T05:06:12.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T05:06:12.827Z] $ docker exec 746c15e4711c02d51f45ced9c952605719c266a2d401b1a389840893cb17731d ssh-agent [2023-04-27T05:06:12.933Z] SSH_AUTH_SOCK=/tmp/ssh-PqV4AOBEJrFz/agent.31 [2023-04-27T05:06:12.933Z] SSH_AGENT_PID=37 [2023-04-27T05:06:12.937Z] Running ssh-add (command line suppressed) [2023-04-27T05:06:13.039Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13721569961705654635.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13721569961705654635.key) [2023-04-27T05:06:13.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T05:06:13.334Z] + git semver push [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,525 [run_push] DEBUG push [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,526 [execute] INFO git cat-file --batch-check [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,530 [execute] INFO git rev-list 395dbe83ee6159fb1643980eefa938aac44c3a9e -- [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,531 [execute] DEBUG Popen(['git', 'rev-list', '395dbe83ee6159fb1643980eefa938aac44c3a9e', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,538 [execute] INFO git fetch -v origin [2023-04-27T05:06:13.594Z] 2023-04-27 05:06:13,539 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-27T05:06:14.164Z] 2023-04-27 05:06:14,005 [run_push] DEBUG no remote changes detected [2023-04-27T05:06:14.164Z] 2023-04-27 05:06:14,005 [execute] INFO git push origin semver [2023-04-27T05:06:14.164Z] 2023-04-27 05:06:14,006 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-27T05:06:15.100Z] 2023-04-27 05:06:14,823 [run_push] DEBUG push all version tags [2023-04-27T05:06:15.100Z] 2023-04-27 05:06:14,824 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-27T05:06:15.100Z] 2023-04-27 05:06:14,825 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-27T05:06:15.665Z] 2023-04-27 05:06:15,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-27T05:06:15.665Z] 3.0.0-dev.23 [Pipeline] } [2023-04-27T05:06:15.674Z] $ docker exec --env ******** --env ******** 746c15e4711c02d51f45ced9c952605719c266a2d401b1a389840893cb17731d ssh-agent -k [2023-04-27T05:06:15.776Z] unset SSH_AUTH_SOCK; [2023-04-27T05:06:15.776Z] unset SSH_AGENT_PID; [2023-04-27T05:06:15.776Z] echo Agent pid 37 killed; [2023-04-27T05:06:15.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T05:06:16.092Z] + git semver [Pipeline] } [2023-04-27T05:06:16.364Z] $ docker stop --time=1 746c15e4711c02d51f45ced9c952605719c266a2d401b1a389840893cb17731d [2023-04-27T05:06:17.634Z] $ docker rm -f --volumes 746c15e4711c02d51f45ced9c952605719c266a2d401b1a389840893cb17731d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-27T05:06:18.158Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-04-27T05:06:18.158Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-27T05:06:18.158Z] total 16 [2023-04-27T05:06:18.158Z] drwxr-xr-x 3 root root 4096 Apr 27 04:55 . [2023-04-27T05:06:18.158Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 05:06 .. [2023-04-27T05:06:18.158Z] drwxr-xr-x 2 root root 4096 Apr 27 04:55 cost [2023-04-27T05:06:18.158Z] -rw-r--r-- 1 root root 82 Apr 27 04:55 cost.csv [2023-04-27T05:06:18.158Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-27T05:06:18.158Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-27T05:06:18.158Z] total 16 [2023-04-27T05:06:18.158Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:55 . [2023-04-27T05:06:18.158Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 05:06 .. [2023-04-27T05:06:18.158Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:55 cost [2023-04-27T05:06:18.158Z] -rw-r--r-- 1 jenkins jenkins 82 Apr 27 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:18.445Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:19.302Z] ---> package-listing.sh [2023-04-27T05:06:19.302Z] ++ facter osfamily [2023-04-27T05:06:19.302Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-27T05:06:19.562Z] + OS_FAMILY=debian [2023-04-27T05:06:19.562Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-04-27T05:06:19.562Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-27T05:06:19.562Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-27T05:06:19.562Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-27T05:06:19.562Z] + PACKAGES=/tmp/packages_start.txt [2023-04-27T05:06:19.562Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-27T05:06:19.562Z] + PACKAGES=/tmp/packages_end.txt [2023-04-27T05:06:19.562Z] + case "${OS_FAMILY}" in [2023-04-27T05:06:19.562Z] + dpkg -l [2023-04-27T05:06:19.562Z] + grep '^ii' [2023-04-27T05:06:19.562Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-27T05:06:19.562Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-27T05:06:19.562Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-27T05:06:19.562Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-27T05:06:19.562Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-04-27T05:06:19.562Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-04-27T05:06:19.570Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-27T05:06:19.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:06:20.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T05:06:20.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:06:20.475Z] prd-ubuntu20.04-docker-8c-8g-11859 does not seem to be running inside a container [2023-04-27T05:06:20.506Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-27T05:06:20.731Z] $ docker top a0eb157c68d181035cc0087c92d6719e8f6706106ff2e3f2c33528a78370cb47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T05:06:21.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-27T05:06:21.516Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-27T05:06:21.798Z] + ls /var/log/sa-host [2023-04-27T05:06:21.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T05:06:21.861Z] provisioning config files... [2023-04-27T05:06:21.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13658535972027103229tmp [Pipeline] { [Pipeline] echo [2023-04-27T05:06:21.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:22.165Z] ---> create-netrc.sh [Pipeline] } [2023-04-27T05:06:22.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:22.504Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-27T05:06:22.514Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:22.796Z] ---> sudo-logs.sh [2023-04-27T05:06:22.796Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-27T05:06:22.825Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:23.103Z] ---> job-cost.sh [2023-04-27T05:06:23.103Z] lf-activate-venv: SKIPPING [2023-04-27T05:06:23.103Z] DEBUG: total: 0.2199999988079071 [2023-04-27T05:06:23.103Z] INFO: Retrieving Stack Cost... [2023-04-27T05:06:23.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T05:06:23.933Z] INFO: Archiving Costs [Pipeline] echo [2023-04-27T05:06:23.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:06:24.230Z] ---> logs-deploy.sh [2023-04-27T05:06:24.230Z] lf-activate-venv: SKIPPING [2023-04-27T05:06:24.230Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/76 [2023-04-27T05:06:24.230Z] INFO: archiving workspace using pattern(s): [2023-04-27T05:06:25.170Z] Archives upload complete. [2023-04-27T05:06:25.170Z] INFO: archiving logs to Nexus