Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d46b075d413968746c37768dd322ca74c72df60 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-ssh11000874589742007711.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5139186402765012632.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15228344793751137574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5585938912955684777.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-ssh12753539356594053113.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1717’ Running on prd-ubuntu20.04-docker-8c-8g-1724 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 9d46b075d413968746c37768dd322ca74c72df60 (main) Commit message: "Merge pull request #74 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.7" > 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 9d46b075d413968746c37768dd322ca74c72df60 # timeout=10 > git rev-list --no-walk 8f32374c2c41cdb1ba282cfb564c8a7ba9873dae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T21:52:58.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T21:52:58.913Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T21:52:58.926Z] ========================================================= [2023-01-10T21:52:58.926Z] EdgeX Global Pipelines Version Info [2023-01-10T21:52:58.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:52:59.635Z] ------------------- [2023-01-10T21:52:59.635Z] stable info: [2023-01-10T21:52:59.635Z] ------------------- [2023-01-10T21:52:59.635Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T21:52:59.635Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:52:59.635Z] Message: update stable to v1.0.244 [2023-01-10T21:53:00.205Z] ------------------- [2023-01-10T21:53:00.205Z] experimental info: [2023-01-10T21:53:00.205Z] ------------------- [2023-01-10T21:53:00.205Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T21:53:00.205Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:53:00.206Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T21:53:00.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-10T21:53:00.373Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-10T21:53:00.381Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T21:53:00.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T21:53:00.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T21:53:00.413Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T21:53:00.421Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T21:53:00.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T21:53:00.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T21:53:00.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T21:53:00.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T21:53:00.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-10T21:53:00.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T21:53:00.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T21:53:00.521Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:53:00.537Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:53:00.549Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:53:00.561Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:53:00.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T21:53:00.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T21:53:00.599Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T21:53:00.611Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T21:53:00.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T21:53:00.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T21:53:00.648Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T21:53:00.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T21:53:00.671Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T21:53:00.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-10T21:53:00.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-10T21:53:00.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-10T21:53:00.719Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] echo [2023-01-10T21:53:00.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d46b07 [Pipeline] echo [2023-01-10T21:53:00.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:53:00.782Z] provisioning config files... [2023-01-10T21:53:00.796Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11816050778851742259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:53:01.099Z] ---> docker-login.sh [2023-01-10T21:53:01.099Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:53:01.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:01.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:01.360Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:01.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:01.360Z] [2023-01-10T21:53:01.360Z] Login Succeeded [2023-01-10T21:53:01.360Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:53:01.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:01.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:01.621Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:01.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:01.621Z] [2023-01-10T21:53:01.621Z] Login Succeeded [2023-01-10T21:53:01.621Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:53:01.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:01.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:01.621Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:01.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:01.621Z] [2023-01-10T21:53:01.621Z] Login Succeeded [2023-01-10T21:53:01.621Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:53:01.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:01.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:01.621Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:01.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:01.621Z] [2023-01-10T21:53:01.621Z] Login Succeeded [2023-01-10T21:53:01.893Z] docker.io [2023-01-10T21:53:01.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:02.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:02.153Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:02.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:02.153Z] [2023-01-10T21:53:02.153Z] Login Succeeded [2023-01-10T21:53:02.153Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:53:02.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T21:53:02.530Z] + git rev-list -1 --merges 9d46b075d413968746c37768dd322ca74c72df60~1..9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] echo [2023-01-10T21:53:02.583Z] -----------> git rev-list -1 --merges 9d46b075d413968746c37768dd322ca74c72df60~1..9d46b075d413968746c37768dd322ca74c72df60 9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:53:02.583Z] 9d46b075d413968746c37768dd322ca74c72df60 [false] [Pipeline] sh [2023-01-10T21:53:02.876Z] + git log --format=format:%s -1 9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] echo [2023-01-10T21:53:02.892Z] ========================================================= [2023-01-10T21:53:02.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T21:53:02.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:53:03.233Z] + git log --format=format:%s -1 9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] echo [2023-01-10T21:53:03.243Z] [semverPrep] GIT_COMMIT: 9d46b075d413968746c37768dd322ca74c72df60, Commit Message: Merge pull request #74 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.7 [Pipeline] echo [2023-01-10T21:53:03.254Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T21:53:03.619Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:53:03.619Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T21:53:03.619Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T21:53:03.619Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T21:53:03.619Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T21:53:03.619Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T21:53:03.619Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:03.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:53:03.973Z] [2023-01-10T21:53:03.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:04.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:53:04.271Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T21:53:04.271Z] b85a868b505f: Pulling fs layer [2023-01-10T21:53:04.271Z] e2be974225ed: Pulling fs layer [2023-01-10T21:53:04.271Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T21:53:04.271Z] 988bab9f4d93: Pulling fs layer [2023-01-10T21:53:04.271Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T21:53:04.271Z] eaf3925da568: Pulling fs layer [2023-01-10T21:53:04.271Z] bab4dde63d76: Pulling fs layer [2023-01-10T21:53:04.271Z] bde34c3a00c8: Pulling fs layer [2023-01-10T21:53:04.271Z] b352a97aabf1: Pulling fs layer [2023-01-10T21:53:04.271Z] 4872d77fe225: Pulling fs layer [2023-01-10T21:53:04.271Z] 5851b861e8e6: Pulling fs layer [2023-01-10T21:53:04.271Z] eaf3925da568: Waiting [2023-01-10T21:53:04.271Z] bab4dde63d76: Waiting [2023-01-10T21:53:04.271Z] bde34c3a00c8: Waiting [2023-01-10T21:53:04.271Z] b352a97aabf1: Waiting [2023-01-10T21:53:04.271Z] 5851b861e8e6: Waiting [2023-01-10T21:53:04.271Z] 988bab9f4d93: Waiting [2023-01-10T21:53:04.271Z] 1469e6f7b9e6: Waiting [2023-01-10T21:53:04.271Z] 4872d77fe225: Waiting [2023-01-10T21:53:04.271Z] e2be974225ed: Download complete [2023-01-10T21:53:04.271Z] 988bab9f4d93: Verifying Checksum [2023-01-10T21:53:04.271Z] 988bab9f4d93: Download complete [2023-01-10T21:53:04.538Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T21:53:04.538Z] 1469e6f7b9e6: Download complete [2023-01-10T21:53:04.538Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T21:53:04.538Z] 339a4e72a1f5: Download complete [2023-01-10T21:53:04.538Z] bde34c3a00c8: Download complete [2023-01-10T21:53:04.538Z] b352a97aabf1: Verifying Checksum [2023-01-10T21:53:04.538Z] b352a97aabf1: Download complete [2023-01-10T21:53:04.538Z] 4872d77fe225: Verifying Checksum [2023-01-10T21:53:04.538Z] 4872d77fe225: Download complete [2023-01-10T21:53:04.538Z] b85a868b505f: Verifying Checksum [2023-01-10T21:53:04.538Z] b85a868b505f: Download complete [2023-01-10T21:53:05.105Z] bab4dde63d76: Verifying Checksum [2023-01-10T21:53:05.105Z] bab4dde63d76: Download complete [2023-01-10T21:53:06.044Z] b85a868b505f: Pull complete [2023-01-10T21:53:06.044Z] e2be974225ed: Pull complete [2023-01-10T21:53:06.611Z] 339a4e72a1f5: Pull complete [2023-01-10T21:53:06.611Z] 988bab9f4d93: Pull complete [2023-01-10T21:53:06.871Z] 1469e6f7b9e6: Pull complete [2023-01-10T21:53:07.130Z] eaf3925da568: Pull complete [2023-01-10T21:53:09.034Z] bab4dde63d76: Pull complete [2023-01-10T21:53:09.035Z] bde34c3a00c8: Pull complete [2023-01-10T21:53:09.294Z] b352a97aabf1: Pull complete [2023-01-10T21:53:09.294Z] 4872d77fe225: Pull complete [2023-01-10T21:53:09.294Z] 5851b861e8e6: Pull complete [2023-01-10T21:53:09.294Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T21:53:09.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:53:09.294Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:53:09.386Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T21:53:09.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:53:10.779Z] $ docker top e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 -eo pid,comm [2023-01-10T21:53:10.836Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T21:53:10.836Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:53:10.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:53:10.871Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:53:11.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:53:11.010Z] $ docker exec e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 ssh-agent [2023-01-10T21:53:11.128Z] SSH_AUTH_SOCK=/tmp/ssh-aZgu9bW7fCU1/agent.32 [2023-01-10T21:53:11.128Z] SSH_AGENT_PID=38 [2023-01-10T21:53:11.136Z] Running ssh-add (command line suppressed) [2023-01-10T21:53:11.254Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9808385218516377947.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9808385218516377947.key) [2023-01-10T21:53:11.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:53:11.553Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T21:53:11.575Z] $ docker exec --env ******** --env ******** e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 ssh-agent -k [2023-01-10T21:53:11.669Z] unset SSH_AUTH_SOCK; [2023-01-10T21:53:11.670Z] unset SSH_AGENT_PID; [2023-01-10T21:53:11.670Z] echo Agent pid 38 killed; [2023-01-10T21:53:11.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T21:53:11.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:53:11.706Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:53:11.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:53:11.827Z] $ docker exec e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 ssh-agent [2023-01-10T21:53:11.940Z] SSH_AUTH_SOCK=/tmp/ssh-GM6uGrCYgsI1/agent.70 [2023-01-10T21:53:11.940Z] SSH_AGENT_PID=76 [2023-01-10T21:53:11.945Z] Running ssh-add (command line suppressed) [2023-01-10T21:53:12.050Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15898695910372965496.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15898695910372965496.key) [2023-01-10T21:53:12.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:53:12.348Z] + git semver init [2023-01-10T21:53:12.609Z] 2023-01-10 21:53:12,596 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T21:53:12.609Z] 2023-01-10 21:53:12,597 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-10T21:53:12.609Z] 2023-01-10 21:53:12,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-10T21:53:12.609Z] 2023-01-10 21:53:12,598 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:53:13.551Z] 2023-01-10 21:53:13,480 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-01-10T21:53:13.551Z] 2023-01-10 21:53:13,481 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-01-10T21:53:13.551Z] 2023-01-10 21:53:13,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T21:53:13.551Z] 2023-01-10 21:53:13,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T21:53:13.551Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T21:53:13.562Z] $ docker exec --env ******** --env ******** e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 ssh-agent -k [2023-01-10T21:53:13.673Z] unset SSH_AUTH_SOCK; [2023-01-10T21:53:13.674Z] unset SSH_AGENT_PID; [2023-01-10T21:53:13.674Z] echo Agent pid 76 killed; [2023-01-10T21:53:13.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:53:13.989Z] + git semver [Pipeline] } [2023-01-10T21:53:14.263Z] $ docker stop --time=1 e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 [2023-01-10T21:53:15.613Z] $ docker rm -f --volumes e87b1ddbbaa95cdddeaa87125a4b3789e3c26c190a9a920e24620df7b73a6e53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:53:15.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T21:53:16.167Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T21:53:16.171Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:53:16.293Z] provisioning config files... [2023-01-10T21:53:16.300Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12417628610212992359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:53:16.596Z] ---> docker-login.sh [2023-01-10T21:53:16.597Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:53:16.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:16.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:16.597Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:16.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:16.597Z] [2023-01-10T21:53:16.597Z] Login Succeeded [2023-01-10T21:53:16.597Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:53:16.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:16.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:16.597Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:16.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:16.597Z] [2023-01-10T21:53:16.597Z] Login Succeeded [2023-01-10T21:53:16.597Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:53:16.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:16.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:16.857Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:16.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:16.857Z] [2023-01-10T21:53:16.857Z] Login Succeeded [2023-01-10T21:53:16.857Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:53:16.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:16.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:16.857Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:16.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:16.857Z] [2023-01-10T21:53:16.857Z] Login Succeeded [2023-01-10T21:53:16.857Z] docker.io [2023-01-10T21:53:17.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:17.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:17.374Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:17.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:17.374Z] [2023-01-10T21:53:17.374Z] Login Succeeded [2023-01-10T21:53:17.374Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:53:17.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:53:17.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:53:17.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:53:17.459Z] ========================================================= [2023-01-10T21:53:17.459Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T21:53:17.459Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:17.776Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:53:17.776Z] Sending build context to Docker daemon 15.97MB [2023-01-10T21:53:17.776Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:53:17.776Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T21:53:17.776Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T21:53:17.776Z] 213ec9aee27d: Pulling fs layer [2023-01-10T21:53:17.776Z] 4583459ba037: Pulling fs layer [2023-01-10T21:53:17.776Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T21:53:17.776Z] 53926ce57604: Pulling fs layer [2023-01-10T21:53:17.776Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T21:53:17.776Z] 22ff95d597cd: Pulling fs layer [2023-01-10T21:53:17.776Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T21:53:17.776Z] 21b2b0c7a3f4: Waiting [2023-01-10T21:53:17.776Z] 22ff95d597cd: Waiting [2023-01-10T21:53:17.776Z] 53926ce57604: Waiting [2023-01-10T21:53:17.776Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T21:53:17.776Z] a7acece74701: Pulling fs layer [2023-01-10T21:53:17.776Z] 96b7cbca73a9: Waiting [2023-01-10T21:53:17.776Z] 12d6caf4c0d1: Waiting [2023-01-10T21:53:17.776Z] 93c1e223e6f2: Download complete [2023-01-10T21:53:18.022Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1722 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-01-10T21:53:18.033Z] Running in /w/workspace/device-gpio/56 [Pipeline] { [2023-01-10T21:53:18.036Z] 4583459ba037: Verifying Checksum [2023-01-10T21:53:18.036Z] 4583459ba037: Download complete [2023-01-10T21:53:18.036Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T21:53:18.036Z] 21b2b0c7a3f4: Download complete [2023-01-10T21:53:18.036Z] 22ff95d597cd: Download complete [2023-01-10T21:53:18.036Z] 213ec9aee27d: Verifying Checksum [2023-01-10T21:53:18.036Z] 213ec9aee27d: Download complete [2023-01-10T21:53:18.036Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T21:53:18.036Z] 12d6caf4c0d1: Download complete [2023-01-10T21:53:18.036Z] 213ec9aee27d: Pull complete [Pipeline] checkout [2023-01-10T21:53:18.069Z] The recommended git tool is: git [2023-01-10T21:53:18.296Z] 4583459ba037: Pull complete [2023-01-10T21:53:18.296Z] 93c1e223e6f2: Pull complete [2023-01-10T21:53:18.296Z] a7acece74701: Verifying Checksum [2023-01-10T21:53:18.296Z] a7acece74701: Download complete [2023-01-10T21:53:18.866Z] 53926ce57604: Verifying Checksum [2023-01-10T21:53:18.866Z] 53926ce57604: Download complete [2023-01-10T21:53:18.866Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T21:53:18.866Z] 96b7cbca73a9: Download complete [2023-01-10T21:53:23.056Z] 53926ce57604: Pull complete [2023-01-10T21:53:23.056Z] 21b2b0c7a3f4: Pull complete [2023-01-10T21:53:23.094Z] using credential edgex-jenkins-ssh [2023-01-10T21:53:23.113Z] Cloning the remote Git repository [2023-01-10T21:53:23.316Z] 22ff95d597cd: Pull complete [2023-01-10T21:53:23.316Z] 12d6caf4c0d1: Pull complete [2023-01-10T21:53:23.158Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-10T21:53:23.239Z] > git init /w/workspace/device-gpio/56 # timeout=10 [2023-01-10T21:53:23.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-10T21:53:23.404Z] > git --version # timeout=10 [2023-01-10T21:53:23.434Z] > git --version # 'git version 2.25.1' [2023-01-10T21:53:23.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:53:23.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:53:24.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-10T21:53:25.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:53:25.791Z] Avoid second fetch [2023-01-10T21:53:25.791Z] Checking out Revision 9d46b075d413968746c37768dd322ca74c72df60 (main) [2023-01-10T21:53:25.857Z] 96b7cbca73a9: Pull complete [2023-01-10T21:53:26.252Z] Commit message: "Merge pull request #74 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:53:25.806Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T21:53:25.823Z] > git checkout -f 9d46b075d413968746c37768dd322ca74c72df60 # timeout=10 [2023-01-10T21:53:27.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T21:53:27.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:53:27.091Z] Dload Upload Total Spent Left Speed [2023-01-10T21:53:27.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [2023-01-10T21:53:27.236Z] a7acece74701: Pull complete [2023-01-10T21:53:27.236Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T21:53:27.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T21:53:27.236Z] ---> db6d94c90886 [2023-01-10T21:53:27.236Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [Pipeline] sh [2023-01-10T21:53:27.682Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T21:53:28.011Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T21:53:28.011Z] + sudo tee /etc/docker/daemon.new [2023-01-10T21:53:28.011Z] { [2023-01-10T21:53:28.011Z] "registry-mirrors": [ [2023-01-10T21:53:28.011Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T21:53:28.011Z] ], [2023-01-10T21:53:28.011Z] "bip": "10.250.0.254/24", [2023-01-10T21:53:28.011Z] "hosts": [ [2023-01-10T21:53:28.011Z] "tcp://0.0.0.0:5555", [2023-01-10T21:53:28.011Z] "unix:///var/run/docker.sock" [2023-01-10T21:53:28.011Z] ], [2023-01-10T21:53:28.011Z] "mtu": 1458, [2023-01-10T21:53:28.011Z] "selinux-enabled": true, [2023-01-10T21:53:28.011Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T21:53:28.011Z] } [Pipeline] sh [2023-01-10T21:53:28.413Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T21:53:28.744Z] + sudo service docker restart [2023-01-10T21:53:29.142Z] ---> Running in ba598c5b3975 [2023-01-10T21:53:29.142Z] Removing intermediate container ba598c5b3975 [2023-01-10T21:53:29.142Z] ---> 0c2a1bf52214 [2023-01-10T21:53:29.142Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:53:29.142Z] ---> Running in 96ccff3267bd [2023-01-10T21:53:29.142Z] Removing intermediate container 96ccff3267bd [2023-01-10T21:53:29.142Z] ---> 192b41f13f8c [2023-01-10T21:53:29.142Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-10T21:53:29.142Z] ---> Running in 2d77c03fceab [2023-01-10T21:53:29.400Z] Removing intermediate container 2d77c03fceab [2023-01-10T21:53:29.400Z] ---> 9153f79c68dd [2023-01-10T21:53:29.400Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:53:29.400Z] ---> Running in b1084a9e0609 [2023-01-10T21:53:29.400Z] Removing intermediate container b1084a9e0609 [2023-01-10T21:53:29.400Z] ---> fee4ddb897a9 [2023-01-10T21:53:29.400Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T21:53:29.400Z] ---> Running in e0a3eb5e281c [2023-01-10T21:53:29.659Z] Removing intermediate container e0a3eb5e281c [2023-01-10T21:53:29.659Z] ---> 196fd84b8ed8 [2023-01-10T21:53:29.659Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:53:29.659Z] ---> Running in 324af309fe31 [2023-01-10T21:53:29.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:53:30.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:53:30.435Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:53:30.435Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T21:53:30.435Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:53:30.435Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:53:30.435Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:53:30.706Z] OK: 216 MiB in 55 packages [2023-01-10T21:53:30.965Z] Removing intermediate container 324af309fe31 [2023-01-10T21:53:30.965Z] ---> 537423bec9d5 [2023-01-10T21:53:30.965Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T21:53:31.223Z] ---> 06a0d5e77963 [2023-01-10T21:53:31.223Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:53:31.223Z] ---> Running in 10393286893d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:53:47.012Z] provisioning config files... [2023-01-10T21:53:47.036Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/56@tmp/config5590412792296261332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:53:47.388Z] ---> docker-login.sh [2023-01-10T21:53:47.388Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:53:47.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:47.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:47.930Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:47.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:47.930Z] [2023-01-10T21:53:47.930Z] Login Succeeded [2023-01-10T21:53:47.930Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:53:48.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:48.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:48.469Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:48.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:48.469Z] [2023-01-10T21:53:48.469Z] Login Succeeded [2023-01-10T21:53:48.469Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:53:48.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:48.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:48.738Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:48.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:48.738Z] [2023-01-10T21:53:48.738Z] Login Succeeded [2023-01-10T21:53:48.738Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:53:49.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:49.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:49.008Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:49.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:49.008Z] [2023-01-10T21:53:49.008Z] Login Succeeded [2023-01-10T21:53:49.008Z] docker.io [2023-01-10T21:53:49.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:53:49.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:53:49.543Z] Configure a credential helper to remove this warning. See [2023-01-10T21:53:49.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:53:49.543Z] [2023-01-10T21:53:49.543Z] Login Succeeded [2023-01-10T21:53:49.543Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:53:49.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:53:49.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:53:49.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:53:49.872Z] ========================================================= [2023-01-10T21:53:49.872Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T21:53:49.872Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:50.232Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:53:50.499Z] Sending build context to Docker daemon 8.059MB [2023-01-10T21:53:50.499Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:53:50.499Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T21:53:50.777Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T21:53:50.777Z] 9b18e9b68314: Pulling fs layer [2023-01-10T21:53:50.777Z] 35d82f9e3411: Pulling fs layer [2023-01-10T21:53:50.777Z] e16973657156: Pulling fs layer [2023-01-10T21:53:50.777Z] fc693d55d65f: Pulling fs layer [2023-01-10T21:53:50.777Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T21:53:50.777Z] dda99020689f: Pulling fs layer [2023-01-10T21:53:50.777Z] db1c61fa0a46: Pulling fs layer [2023-01-10T21:53:50.777Z] 891c053d2c06: Pulling fs layer [2023-01-10T21:53:50.777Z] 7e9fc2657dce: Waiting [2023-01-10T21:53:50.777Z] dda99020689f: Waiting [2023-01-10T21:53:50.777Z] db1c61fa0a46: Waiting [2023-01-10T21:53:50.777Z] 891c053d2c06: Waiting [2023-01-10T21:53:50.777Z] fc693d55d65f: Waiting [2023-01-10T21:53:50.777Z] e16973657156: Verifying Checksum [2023-01-10T21:53:50.777Z] e16973657156: Download complete [2023-01-10T21:53:50.777Z] 35d82f9e3411: Verifying Checksum [2023-01-10T21:53:50.777Z] 7e9fc2657dce: Download complete [2023-01-10T21:53:50.777Z] dda99020689f: Verifying Checksum [2023-01-10T21:53:50.777Z] dda99020689f: Download complete [2023-01-10T21:53:50.777Z] 9b18e9b68314: Verifying Checksum [2023-01-10T21:53:50.777Z] 9b18e9b68314: Download complete [2023-01-10T21:53:51.764Z] 9b18e9b68314: Pull complete [2023-01-10T21:53:52.035Z] 891c053d2c06: Verifying Checksum [2023-01-10T21:53:52.035Z] 891c053d2c06: Download complete [2023-01-10T21:53:52.310Z] 35d82f9e3411: Pull complete [2023-01-10T21:53:52.581Z] e16973657156: Pull complete [2023-01-10T21:53:53.155Z] Removing intermediate container 10393286893d [2023-01-10T21:53:53.155Z] ---> 502c276a08ad [2023-01-10T21:53:53.155Z] Step 11/12 : COPY . . [2023-01-10T21:53:53.155Z] ---> 3d0ae2cb4aad [2023-01-10T21:53:53.155Z] Step 12/12 : RUN ${MAKE} [2023-01-10T21:53:53.155Z] ---> Running in b2e6dd134f95 [2023-01-10T21:53:53.155Z] noop [2023-01-10T21:53:53.155Z] Removing intermediate container b2e6dd134f95 [2023-01-10T21:53:53.155Z] ---> f1f282e6d205 [2023-01-10T21:53:53.155Z] Successfully built f1f282e6d205 [2023-01-10T21:53:53.155Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2023-01-10T21:53:53.173Z] db1c61fa0a46: Verifying Checksum [2023-01-10T21:53:53.173Z] db1c61fa0a46: Download complete [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:53.472Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:53:53.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:53:53.549Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T21:53:53.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:53:53.763Z] fc693d55d65f: Verifying Checksum [2023-01-10T21:53:53.763Z] fc693d55d65f: Download complete [2023-01-10T21:53:53.975Z] $ docker top 15df095d3c6bf5efa928e12890972e201f052a32faaf310f8f2bad79af343b7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:53:54.317Z] + go version [2023-01-10T21:53:54.317Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T21:53:54.329Z] $ docker stop --time=1 15df095d3c6bf5efa928e12890972e201f052a32faaf310f8f2bad79af343b7c [2023-01-10T21:53:55.635Z] $ docker rm -f --volumes 15df095d3c6bf5efa928e12890972e201f052a32faaf310f8f2bad79af343b7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:53:56.029Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:53:56.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:53:56.103Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T21:53:56.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:53:56.511Z] $ docker top 9e2a28755dbb5f42e8feaff63cf30ac53f8c276b4de290dc2ac0361a909be7c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:53:56.859Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:53:57.156Z] + make test [2023-01-10T21:53:57.156Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T21:53:57.414Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T21:54:06.137Z] fc693d55d65f: Pull complete [2023-01-10T21:54:06.137Z] 7e9fc2657dce: Pull complete [2023-01-10T21:54:06.137Z] dda99020689f: Pull complete [2023-01-10T21:54:07.387Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T21:54:07.387Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T21:54:12.839Z] db1c61fa0a46: Pull complete [2023-01-10T21:54:13.945Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T21:54:13.945Z] go vet ./... [2023-01-10T21:54:14.256Z] 891c053d2c06: Pull complete [2023-01-10T21:54:14.256Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T21:54:14.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:54:14.256Z] ---> f96f9c87975a [2023-01-10T21:54:14.256Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:54:15.674Z] ---> Running in c53089a8681d [2023-01-10T21:54:15.674Z] Removing intermediate container c53089a8681d [2023-01-10T21:54:15.674Z] ---> e4d4e628c37c [2023-01-10T21:54:15.674Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:54:15.674Z] ---> Running in 322919faf3ca [2023-01-10T21:54:16.261Z] Removing intermediate container 322919faf3ca [2023-01-10T21:54:16.261Z] ---> fb76f8e04310 [2023-01-10T21:54:16.261Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-10T21:54:16.261Z] ---> Running in 233fb2a94459 [2023-01-10T21:54:16.532Z] Removing intermediate container 233fb2a94459 [2023-01-10T21:54:16.532Z] ---> 7b0e54235536 [2023-01-10T21:54:16.532Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:54:16.532Z] ---> Running in ae5d875afa12 [2023-01-10T21:54:16.801Z] Removing intermediate container ae5d875afa12 [2023-01-10T21:54:16.801Z] ---> c9a1005cb77c [2023-01-10T21:54:16.801Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T21:54:16.801Z] ---> Running in c2fb14353bfb [2023-01-10T21:54:17.219Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:54:17.219Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:54:17.219Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:54:17.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:54:17.241Z] $ docker stop --time=1 9e2a28755dbb5f42e8feaff63cf30ac53f8c276b4de290dc2ac0361a909be7c2 [2023-01-10T21:54:17.391Z] Removing intermediate container c2fb14353bfb [2023-01-10T21:54:17.391Z] ---> 99070fb1a8d8 [2023-01-10T21:54:17.391Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:54:17.391Z] ---> Running in b04a4dd05b08 [2023-01-10T21:54:18.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:54:18.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:54:19.090Z] $ docker rm -f --volumes 9e2a28755dbb5f42e8feaff63cf30ac53f8c276b4de290dc2ac0361a909be7c2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:54:19.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:54:19.541Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:54:19.570Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T21:54:19.816Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T21:54:19.816Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:54:19.816Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:54:19.816Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:54:19.816Z] OK: 226 MiB in 55 packages [2023-01-10T21:54:20.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:54:20.362Z] + ls -al . [2023-01-10T21:54:20.362Z] total 168 [2023-01-10T21:54:20.362Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:53 . [2023-01-10T21:54:20.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:52 .. [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 21:52 .dockerignore [2023-01-10T21:54:20.362Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:54 .git [2023-01-10T21:54:20.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:52 .github [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 21:52 .gitignore [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:52 .golangci.yml [2023-01-10T21:54:20.362Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:53 .semver [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 10 21:52 Attribution.txt [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 21:52 CHANGELOG.md [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 10 21:52 Dockerfile [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:52 GOVERNANCE.md [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 21:52 Jenkinsfile [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:52 LICENSE [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 10 21:52 Makefile [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 21:52 OWNERS.md [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 21:52 README.md [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:53 VERSION [2023-01-10T21:54:20.362Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:52 bin [2023-01-10T21:54:20.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:52 cmd [2023-01-10T21:54:20.362Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 21:53 coverage.out [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 21:52 go.mod [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 21:52 go.sum [2023-01-10T21:54:20.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:52 internal [2023-01-10T21:54:20.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:52 snap [2023-01-10T21:54:20.362Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 21:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:20.672Z] + 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=9d46b075d413968746c37768dd322ca74c72df60 --label arch=amd64 --label version=3.0.0-dev.4 . [2023-01-10T21:54:20.672Z] Sending build context to Docker daemon 15.97MB [2023-01-10T21:54:20.672Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:54:20.672Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T21:54:20.672Z] ---> f1f282e6d205 [2023-01-10T21:54:20.672Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:54:20.837Z] Removing intermediate container b04a4dd05b08 [2023-01-10T21:54:20.837Z] ---> 212dd69a014a [2023-01-10T21:54:20.837Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T21:54:20.931Z] ---> Running in 360bcafd66df [2023-01-10T21:54:20.931Z] Removing intermediate container 360bcafd66df [2023-01-10T21:54:20.931Z] ---> 014394f9f669 [2023-01-10T21:54:20.931Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:54:20.931Z] ---> Running in 0fe563a46e82 [2023-01-10T21:54:20.931Z] Removing intermediate container 0fe563a46e82 [2023-01-10T21:54:20.931Z] ---> c69d97d38a7c [2023-01-10T21:54:20.931Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-10T21:54:21.190Z] ---> Running in d31c8a3c7f31 [2023-01-10T21:54:21.190Z] Removing intermediate container d31c8a3c7f31 [2023-01-10T21:54:21.190Z] ---> dccfcc5b895a [2023-01-10T21:54:21.190Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:54:21.190Z] ---> Running in c5426d597eb8 [2023-01-10T21:54:21.190Z] Removing intermediate container c5426d597eb8 [2023-01-10T21:54:21.190Z] ---> b2f11a52ee3d [2023-01-10T21:54:21.190Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T21:54:21.440Z] ---> d150f28b761a [2023-01-10T21:54:21.440Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:54:21.440Z] ---> Running in cac37f3197e6 [2023-01-10T21:54:21.448Z] ---> Running in 7d9660937c8a [2023-01-10T21:54:21.448Z] Removing intermediate container 7d9660937c8a [2023-01-10T21:54:21.448Z] ---> 1f07ea8cca87 [2023-01-10T21:54:21.448Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:54:21.448Z] ---> Running in 7917e963a9a0 [2023-01-10T21:54:21.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:21.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:22.229Z] OK: 216 MiB in 55 packages [2023-01-10T21:54:23.165Z] Removing intermediate container 7917e963a9a0 [2023-01-10T21:54:23.165Z] ---> df66d99f702b [2023-01-10T21:54:23.165Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T21:54:23.165Z] ---> fbccee0472af [2023-01-10T21:54:23.165Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:54:23.424Z] ---> Running in 88a61ee6a5d7 [2023-01-10T21:54:23.992Z] Removing intermediate container 88a61ee6a5d7 [2023-01-10T21:54:23.992Z] ---> 50b74f11df56 [2023-01-10T21:54:23.992Z] Step 11/25 : COPY . . [2023-01-10T21:54:24.251Z] ---> 242ba44e508d [2023-01-10T21:54:24.251Z] Step 12/25 : RUN ${MAKE} [2023-01-10T21:54:24.510Z] ---> Running in 2dd178a9fd7b [2023-01-10T21:54:24.769Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-10T21:54:39.844Z] Removing intermediate container 2dd178a9fd7b [2023-01-10T21:54:39.844Z] ---> a2fd10436aff [2023-01-10T21:54:39.844Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T21:54:39.844Z] 3.16: Pulling from library/alpine [2023-01-10T21:54:39.844Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T21:54:39.844Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T21:54:39.844Z] ca7dd9ec2225: Download complete [2023-01-10T21:54:39.844Z] ca7dd9ec2225: Pull complete [2023-01-10T21:54:39.844Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T21:54:39.844Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T21:54:39.844Z] ---> bfe296a52501 [2023-01-10T21:54:39.844Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T21:54:39.844Z] ---> Running in 4966880846a4 [2023-01-10T21:54:39.844Z] Removing intermediate container 4966880846a4 [2023-01-10T21:54:39.844Z] ---> 89dcd17b4bb4 [2023-01-10T21:54:39.844Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-10T21:54:39.844Z] ---> Running in 8062411c65e0 [2023-01-10T21:54:39.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:39.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:39.844Z] OK: 6 MiB in 14 packages [2023-01-10T21:54:40.102Z] Removing intermediate container 8062411c65e0 [2023-01-10T21:54:40.102Z] ---> 12562aaa5e92 [2023-01-10T21:54:40.102Z] Step 16/25 : WORKDIR / [2023-01-10T21:54:40.102Z] ---> Running in 87cd6a26b72f [2023-01-10T21:54:40.361Z] Removing intermediate container 87cd6a26b72f [2023-01-10T21:54:40.361Z] ---> aa487568ec96 [2023-01-10T21:54:40.361Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T21:54:40.361Z] ---> 224f1074bcbe [2023-01-10T21:54:40.361Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T21:54:40.620Z] ---> d5fe13fd6cd4 [2023-01-10T21:54:40.620Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T21:54:41.187Z] ---> fd556e009fc8 [2023-01-10T21:54:41.187Z] Step 20/25 : EXPOSE 59910 [2023-01-10T21:54:41.187Z] ---> Running in 90a48f827d58 [2023-01-10T21:54:41.187Z] Removing intermediate container 90a48f827d58 [2023-01-10T21:54:41.187Z] ---> 0acc7f4fae08 [2023-01-10T21:54:41.187Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T21:54:41.187Z] ---> Running in 706275e48d0b [2023-01-10T21:54:41.453Z] Removing intermediate container 706275e48d0b [2023-01-10T21:54:41.453Z] ---> fd5736b5253c [2023-01-10T21:54:41.453Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T21:54:41.453Z] ---> Running in 1386b6fce78d [2023-01-10T21:54:41.453Z] Removing intermediate container 1386b6fce78d [2023-01-10T21:54:41.453Z] ---> 57ff32cbcbc4 [2023-01-10T21:54:41.453Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T21:54:41.453Z] ---> Running in 1752f0222b46 [2023-01-10T21:54:41.712Z] Removing intermediate container 1752f0222b46 [2023-01-10T21:54:41.712Z] ---> cc293ed9f8b5 [2023-01-10T21:54:41.712Z] Step 24/25 : LABEL git_sha=9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:54:41.712Z] ---> Running in cbd362b107cf [2023-01-10T21:54:41.712Z] Removing intermediate container cbd362b107cf [2023-01-10T21:54:41.712Z] ---> e7a4251759f3 [2023-01-10T21:54:41.712Z] Step 25/25 : LABEL version=3.0.0-dev.4 [2023-01-10T21:54:41.712Z] ---> Running in 6987473576b2 [2023-01-10T21:54:41.972Z] Removing intermediate container 6987473576b2 [2023-01-10T21:54:41.972Z] ---> c65acb7497c4 [2023-01-10T21:54:41.972Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:54:41.972Z] Successfully built c65acb7497c4 [2023-01-10T21:54:41.972Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:54:42.049Z] provisioning config files... [2023-01-10T21:54:42.057Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3962557997081035591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:54:42.353Z] ---> docker-login.sh [2023-01-10T21:54:42.353Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:54:42.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:42.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:42.353Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:42.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:42.353Z] [2023-01-10T21:54:42.353Z] Login Succeeded [2023-01-10T21:54:42.353Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:54:42.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:42.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:42.353Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:42.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:42.353Z] [2023-01-10T21:54:42.353Z] Login Succeeded [2023-01-10T21:54:42.353Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:54:42.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:42.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:42.613Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:42.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:42.613Z] [2023-01-10T21:54:42.613Z] Login Succeeded [2023-01-10T21:54:42.613Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:54:42.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:42.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:42.613Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:42.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:42.613Z] [2023-01-10T21:54:42.613Z] Login Succeeded [2023-01-10T21:54:42.613Z] docker.io [2023-01-10T21:54:42.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:42.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:42.871Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:42.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:42.872Z] [2023-01-10T21:54:42.872Z] Login Succeeded [2023-01-10T21:54:42.872Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:54:42.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:54:42.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:54:42.921Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-01-10T21:54:42.921Z] 9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:54:42.921Z] latest [2023-01-10T21:54:42.921Z] 3.0.0-dev.4 [2023-01-10T21:54:42.921Z] 9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:54:42.921Z] main [2023-01-10T21:54:42.921Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:43.229Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:43.537Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:54:43.537Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T21:54:43.537Z] fa27a9b719df: Preparing [2023-01-10T21:54:43.537Z] 953a019b25ca: Preparing [2023-01-10T21:54:43.537Z] 264dab375227: Preparing [2023-01-10T21:54:43.537Z] e0b62463247b: Preparing [2023-01-10T21:54:43.537Z] e5e13b0c77cb: Preparing [2023-01-10T21:54:43.537Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:54:43.537Z] 264dab375227: Pushed [2023-01-10T21:54:43.537Z] e0b62463247b: Pushed [2023-01-10T21:54:43.537Z] 953a019b25ca: Pushed [2023-01-10T21:54:46.070Z] fa27a9b719df: Pushed [2023-01-10T21:54:46.070Z] 9d46b075d413968746c37768dd322ca74c72df60: digest: sha256:39b8868ce73a839aeaaec4aa4c60f25dd940f8e7a48c484b0da9657f00fe3b1a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:46.384Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:46.687Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-10T21:54:46.687Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T21:54:46.687Z] fa27a9b719df: Preparing [2023-01-10T21:54:46.687Z] 953a019b25ca: Preparing [2023-01-10T21:54:46.687Z] 264dab375227: Preparing [2023-01-10T21:54:46.687Z] e0b62463247b: Preparing [2023-01-10T21:54:46.687Z] e5e13b0c77cb: Preparing [2023-01-10T21:54:46.687Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:54:46.687Z] e0b62463247b: Layer already exists [2023-01-10T21:54:46.687Z] fa27a9b719df: Layer already exists [2023-01-10T21:54:46.687Z] 953a019b25ca: Layer already exists [2023-01-10T21:54:46.687Z] 264dab375227: Layer already exists [2023-01-10T21:54:46.687Z] latest: digest: sha256:39b8868ce73a839aeaaec4aa4c60f25dd940f8e7a48c484b0da9657f00fe3b1a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:46.996Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:47.299Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.4 [2023-01-10T21:54:47.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T21:54:47.299Z] fa27a9b719df: Preparing [2023-01-10T21:54:47.299Z] 953a019b25ca: Preparing [2023-01-10T21:54:47.299Z] 264dab375227: Preparing [2023-01-10T21:54:47.299Z] e0b62463247b: Preparing [2023-01-10T21:54:47.299Z] e5e13b0c77cb: Preparing [2023-01-10T21:54:47.299Z] 953a019b25ca: Layer already exists [2023-01-10T21:54:47.299Z] fa27a9b719df: Layer already exists [2023-01-10T21:54:47.299Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:54:47.299Z] e0b62463247b: Layer already exists [2023-01-10T21:54:47.299Z] 264dab375227: Layer already exists [2023-01-10T21:54:47.299Z] 3.0.0-dev.4: digest: sha256:39b8868ce73a839aeaaec4aa4c60f25dd940f8e7a48c484b0da9657f00fe3b1a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:47.602Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:47.907Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:54:47.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T21:54:47.908Z] fa27a9b719df: Preparing [2023-01-10T21:54:47.908Z] 953a019b25ca: Preparing [2023-01-10T21:54:47.908Z] 264dab375227: Preparing [2023-01-10T21:54:47.908Z] e0b62463247b: Preparing [2023-01-10T21:54:47.908Z] e5e13b0c77cb: Preparing [2023-01-10T21:54:47.908Z] 953a019b25ca: Layer already exists [2023-01-10T21:54:47.908Z] e0b62463247b: Layer already exists [2023-01-10T21:54:47.908Z] fa27a9b719df: Layer already exists [2023-01-10T21:54:47.908Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:54:47.908Z] 264dab375227: Layer already exists [2023-01-10T21:54:47.908Z] 9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4: digest: sha256:39b8868ce73a839aeaaec4aa4c60f25dd940f8e7a48c484b0da9657f00fe3b1a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:48.214Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:48.523Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-01-10T21:54:48.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T21:54:48.523Z] fa27a9b719df: Preparing [2023-01-10T21:54:48.523Z] 953a019b25ca: Preparing [2023-01-10T21:54:48.523Z] 264dab375227: Preparing [2023-01-10T21:54:48.523Z] e0b62463247b: Preparing [2023-01-10T21:54:48.523Z] e5e13b0c77cb: Preparing [2023-01-10T21:54:48.523Z] 953a019b25ca: Layer already exists [2023-01-10T21:54:48.523Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:54:48.523Z] e0b62463247b: Layer already exists [2023-01-10T21:54:48.523Z] fa27a9b719df: Layer already exists [2023-01-10T21:54:48.523Z] 264dab375227: Layer already exists [2023-01-10T21:54:48.523Z] main: digest: sha256:39b8868ce73a839aeaaec4aa4c60f25dd940f8e7a48c484b0da9657f00fe3b1a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:54:48.576Z] ===================================================== [Pipeline] echo [2023-01-10T21:54:48.585Z] taggedImages: [2023-01-10T21:54:48.585Z] - nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:54:48.585Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-10T21:54:48.585Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.4 [2023-01-10T21:54:48.585Z] - nexus3.edgexfoundry.org:10004/device-gpio:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:54:48.585Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:48.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:54:48.948Z] [2023-01-10T21:54:48.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:49.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:54:49.257Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T21:54:49.257Z] 5eb5b503b376: Pulling fs layer [2023-01-10T21:54:49.257Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T21:54:49.257Z] ec43610c2a17: Pulling fs layer [2023-01-10T21:54:49.257Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T21:54:49.257Z] 33b1e0a273af: Pulling fs layer [2023-01-10T21:54:49.257Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T21:54:49.257Z] 2f39f015ded8: Pulling fs layer [2023-01-10T21:54:49.257Z] 3a2ae6a8a46f: Waiting [2023-01-10T21:54:49.257Z] 33b1e0a273af: Waiting [2023-01-10T21:54:49.257Z] 5d3b04190fa2: Waiting [2023-01-10T21:54:49.257Z] 2f39f015ded8: Waiting [2023-01-10T21:54:49.257Z] 5c69ac0246d0: Download complete [2023-01-10T21:54:49.257Z] 3a2ae6a8a46f: Download complete [2023-01-10T21:54:49.517Z] 33b1e0a273af: Verifying Checksum [2023-01-10T21:54:49.517Z] 33b1e0a273af: Download complete [2023-01-10T21:54:49.517Z] ec43610c2a17: Verifying Checksum [2023-01-10T21:54:49.517Z] ec43610c2a17: Download complete [2023-01-10T21:54:49.517Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T21:54:49.517Z] 5d3b04190fa2: Download complete [2023-01-10T21:54:49.517Z] 5eb5b503b376: Verifying Checksum [2023-01-10T21:54:49.517Z] 5eb5b503b376: Download complete [2023-01-10T21:54:50.450Z] 2f39f015ded8: Download complete [2023-01-10T21:54:50.709Z] 5eb5b503b376: Pull complete [2023-01-10T21:54:50.967Z] 5c69ac0246d0: Pull complete [2023-01-10T21:54:51.534Z] ec43610c2a17: Pull complete [2023-01-10T21:54:51.535Z] 3a2ae6a8a46f: Pull complete [2023-01-10T21:54:51.535Z] 33b1e0a273af: Pull complete [2023-01-10T21:54:51.792Z] 5d3b04190fa2: Pull complete [2023-01-10T21:54:55.976Z] 2f39f015ded8: Pull complete [2023-01-10T21:54:55.976Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T21:54:55.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:54:55.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:54:56.052Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T21:54:56.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:54:58.249Z] $ docker top 7deb9702e1f67c6687550641acacf7dbae77d4088ea49dcc1d6deed550b26ca5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:54:58.632Z] ---> job-cost.sh [2023-01-10T21:54:58.632Z] lf-activate-venv: SKIPPING [2023-01-10T21:54:58.632Z] INFO: No Stack... [2023-01-10T21:54:58.891Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:54:59.458Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:54:59.748Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-01-10T21:54:59.748Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:54:59.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [2023-01-10T21:54:59.771Z] Resource [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] did not exist. Created. [2023-01-10T21:54:59.771Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:55:00.067Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T21:55:00.098Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:55:00.108Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:55:00.126Z] $ docker stop --time=1 7deb9702e1f67c6687550641acacf7dbae77d4088ea49dcc1d6deed550b26ca5 [2023-01-10T21:55:01.290Z] $ docker rm -f --volumes 7deb9702e1f67c6687550641acacf7dbae77d4088ea49dcc1d6deed550b26ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T21:55:17.875Z] Removing intermediate container cac37f3197e6 [2023-01-10T21:55:17.875Z] ---> a7998d812090 [2023-01-10T21:55:17.875Z] Step 11/12 : COPY . . [2023-01-10T21:55:17.875Z] ---> 743ca23acfa7 [2023-01-10T21:55:17.875Z] Step 12/12 : RUN ${MAKE} [2023-01-10T21:55:17.875Z] ---> Running in d857af4e3478 [2023-01-10T21:55:18.142Z] noop [2023-01-10T21:55:18.727Z] Removing intermediate container d857af4e3478 [2023-01-10T21:55:18.727Z] ---> 46ba4ab804af [2023-01-10T21:55:18.727Z] Successfully built 46ba4ab804af [2023-01-10T21:55:18.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:55:19.069Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:55:19.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:55:19.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-1722 does not seem to be running inside a container [2023-01-10T21:55:19.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/56 -v /w/workspace/device-gpio/56:/w/workspace/device-gpio/56:rw,z -v /w/workspace/device-gpio/56@tmp:/w/workspace/device-gpio/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:55:20.514Z] $ docker top 931618b97fc9efecfc944f30809607a390e3b70539aa3c294de45a96c3000cb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:55:21.344Z] + go version [2023-01-10T21:55:21.344Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T21:55:21.361Z] $ docker stop --time=1 931618b97fc9efecfc944f30809607a390e3b70539aa3c294de45a96c3000cb9 [2023-01-10T21:55:22.926Z] $ docker rm -f --volumes 931618b97fc9efecfc944f30809607a390e3b70539aa3c294de45a96c3000cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:55:23.455Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:55:23.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:55:23.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-1722 does not seem to be running inside a container [2023-01-10T21:55:23.702Z] $ 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/56 -v /w/workspace/device-gpio/56:/w/workspace/device-gpio/56:rw,z -v /w/workspace/device-gpio/56@tmp:/w/workspace/device-gpio/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:55:24.798Z] $ docker top 3f1be09083f9471422e6cf95d28b1c56be5969ad7e954e69cf5aa937906fa1bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:55:25.286Z] + git config --global --add safe.directory /w/workspace/device-gpio/56 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:55:25.614Z] + make test [2023-01-10T21:55:25.614Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T21:55:27.024Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T21:56:48.636Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T21:56:48.636Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T21:56:48.636Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T21:56:48.636Z] go vet ./... [2023-01-10T21:57:00.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:57:00.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:57:00.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:57:00.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:57:00.963Z] $ docker stop --time=1 3f1be09083f9471422e6cf95d28b1c56be5969ad7e954e69cf5aa937906fa1bc [2023-01-10T21:57:03.684Z] $ docker rm -f --volumes 3f1be09083f9471422e6cf95d28b1c56be5969ad7e954e69cf5aa937906fa1bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:57:04.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:57:04.574Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T21:57:05.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:57:05.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:57:05.699Z] + ls -al . [2023-01-10T21:57:05.699Z] total 164 [2023-01-10T21:57:05.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:55 . [2023-01-10T21:57:05.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:53 .. [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 21:53 .dockerignore [2023-01-10T21:57:05.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:53 .git [2023-01-10T21:57:05.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:53 .github [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 21:53 .gitignore [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:53 .golangci.yml [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 10 21:53 Attribution.txt [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 21:53 CHANGELOG.md [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 10 21:53 Dockerfile [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:53 GOVERNANCE.md [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 21:53 Jenkinsfile [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:53 LICENSE [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 10 21:53 Makefile [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 21:53 OWNERS.md [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 21:53 README.md [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:53 VERSION [2023-01-10T21:57:05.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:53 bin [2023-01-10T21:57:05.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:53 cmd [2023-01-10T21:57:05.699Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 21:55 coverage.out [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 21:53 go.mod [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 21:53 go.sum [2023-01-10T21:57:05.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:53 internal [2023-01-10T21:57:05.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:53 snap [2023-01-10T21:57:05.699Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:57:06.042Z] + 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=9d46b075d413968746c37768dd322ca74c72df60 --label arch=arm64 --label version=3.0.0-dev.4 . [2023-01-10T21:57:06.308Z] Sending build context to Docker daemon 8.06MB [2023-01-10T21:57:06.308Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:57:06.308Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T21:57:06.308Z] ---> 46ba4ab804af [2023-01-10T21:57:06.308Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:57:06.576Z] ---> Running in e1a8381da22e [2023-01-10T21:57:06.844Z] Removing intermediate container e1a8381da22e [2023-01-10T21:57:06.844Z] ---> 5b3d02689c9c [2023-01-10T21:57:06.844Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:57:06.844Z] ---> Running in 8c09d1a1b030 [2023-01-10T21:57:07.110Z] Removing intermediate container 8c09d1a1b030 [2023-01-10T21:57:07.110Z] ---> 02547efec8b1 [2023-01-10T21:57:07.110Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-10T21:57:07.110Z] ---> Running in bf13a4bd879c [2023-01-10T21:57:07.379Z] Removing intermediate container bf13a4bd879c [2023-01-10T21:57:07.379Z] ---> 1e3cfec97619 [2023-01-10T21:57:07.379Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:57:07.657Z] ---> Running in 4e777af6da0b [2023-01-10T21:57:07.926Z] Removing intermediate container 4e777af6da0b [2023-01-10T21:57:07.926Z] ---> 8edbc3511d5f [2023-01-10T21:57:07.926Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T21:57:07.926Z] ---> Running in d298f1238759 [2023-01-10T21:57:08.195Z] Removing intermediate container d298f1238759 [2023-01-10T21:57:08.195Z] ---> 8eab5fedd39d [2023-01-10T21:57:08.195Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:57:08.195Z] ---> Running in 5884cae280d7 [2023-01-10T21:57:09.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:57:09.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:57:10.712Z] OK: 226 MiB in 55 packages [2023-01-10T21:57:11.297Z] Removing intermediate container 5884cae280d7 [2023-01-10T21:57:11.297Z] ---> 45eed1f45ef5 [2023-01-10T21:57:11.297Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T21:57:11.887Z] ---> 9d3d83c16942 [2023-01-10T21:57:11.887Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:57:11.887Z] ---> Running in e56810cf22d6 [2023-01-10T21:57:13.835Z] Removing intermediate container e56810cf22d6 [2023-01-10T21:57:13.835Z] ---> a8e8a009af43 [2023-01-10T21:57:13.835Z] Step 11/25 : COPY . . [2023-01-10T21:57:16.413Z] ---> 203917b5d144 [2023-01-10T21:57:16.413Z] Step 12/25 : RUN ${MAKE} [2023-01-10T21:57:16.413Z] ---> Running in 4cee242e7496 [2023-01-10T21:57:17.379Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-10T21:58:54.032Z] Removing intermediate container 4cee242e7496 [2023-01-10T21:58:54.032Z] ---> 457b8783e7df [2023-01-10T21:58:54.032Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T21:58:54.032Z] 3.16: Pulling from library/alpine [2023-01-10T21:58:54.033Z] 6875df1f5354: Pulling fs layer [2023-01-10T21:58:54.033Z] 6875df1f5354: Verifying Checksum [2023-01-10T21:58:54.033Z] 6875df1f5354: Download complete [2023-01-10T21:58:54.033Z] 6875df1f5354: Pull complete [2023-01-10T21:58:54.033Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T21:58:54.033Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T21:58:54.033Z] ---> 2b4661558fb8 [2023-01-10T21:58:54.033Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T21:58:54.033Z] ---> Running in 382e7a8d1ffb [2023-01-10T21:58:54.033Z] Removing intermediate container 382e7a8d1ffb [2023-01-10T21:58:54.033Z] ---> d526875dd7a9 [2023-01-10T21:58:54.033Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-10T21:58:54.033Z] ---> Running in 751db9fc9f6a [2023-01-10T21:58:54.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:58:54.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:58:54.033Z] OK: 5 MiB in 14 packages [2023-01-10T21:58:54.033Z] Removing intermediate container 751db9fc9f6a [2023-01-10T21:58:54.033Z] ---> 4fb7529d305f [2023-01-10T21:58:54.033Z] Step 16/25 : WORKDIR / [2023-01-10T21:58:54.033Z] ---> Running in 3a2d9874a394 [2023-01-10T21:58:54.033Z] Removing intermediate container 3a2d9874a394 [2023-01-10T21:58:54.033Z] ---> 4e0dd718dd5d [2023-01-10T21:58:54.033Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T21:58:54.033Z] ---> af211886801f [2023-01-10T21:58:54.033Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T21:58:54.033Z] ---> 45b5807961c4 [2023-01-10T21:58:54.033Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T21:58:54.033Z] ---> 58aae25ae5be [2023-01-10T21:58:54.033Z] Step 20/25 : EXPOSE 59910 [2023-01-10T21:58:54.033Z] ---> Running in a4005bbb4533 [2023-01-10T21:58:54.033Z] Removing intermediate container a4005bbb4533 [2023-01-10T21:58:54.033Z] ---> 3cf31c3a0884 [2023-01-10T21:58:54.033Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T21:58:54.033Z] ---> Running in 0708686561a4 [2023-01-10T21:58:54.033Z] Removing intermediate container 0708686561a4 [2023-01-10T21:58:54.033Z] ---> f90d818c25f9 [2023-01-10T21:58:54.033Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T21:58:54.033Z] ---> Running in 7bbf690076bb [2023-01-10T21:58:54.033Z] Removing intermediate container 7bbf690076bb [2023-01-10T21:58:54.033Z] ---> 40675bca494c [2023-01-10T21:58:54.033Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T21:58:54.033Z] ---> Running in 5c76d5c67789 [2023-01-10T21:58:54.033Z] Removing intermediate container 5c76d5c67789 [2023-01-10T21:58:54.033Z] ---> ca9605869ff5 [2023-01-10T21:58:54.033Z] Step 24/25 : LABEL git_sha=9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:58:54.033Z] ---> Running in 4a43c9fefbba [2023-01-10T21:58:54.033Z] Removing intermediate container 4a43c9fefbba [2023-01-10T21:58:54.033Z] ---> c8530824b8d3 [2023-01-10T21:58:54.033Z] Step 25/25 : LABEL version=3.0.0-dev.4 [2023-01-10T21:58:54.033Z] ---> Running in cff92b01a3f1 [2023-01-10T21:58:54.301Z] Removing intermediate container cff92b01a3f1 [2023-01-10T21:58:54.301Z] ---> c8b655a74c46 [2023-01-10T21:58:54.301Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:58:54.301Z] Successfully built c8b655a74c46 [2023-01-10T21:58:54.301Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:58:54.422Z] provisioning config files... [2023-01-10T21:58:54.437Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/56@tmp/config2755219253471440484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:58:54.781Z] ---> docker-login.sh [2023-01-10T21:58:54.781Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:58:54.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:58:55.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:58:55.047Z] Configure a credential helper to remove this warning. See [2023-01-10T21:58:55.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:58:55.047Z] [2023-01-10T21:58:55.047Z] Login Succeeded [2023-01-10T21:58:55.047Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:58:55.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:58:55.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:58:55.316Z] Configure a credential helper to remove this warning. See [2023-01-10T21:58:55.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:58:55.316Z] [2023-01-10T21:58:55.316Z] Login Succeeded [2023-01-10T21:58:55.316Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:58:55.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:58:55.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:58:55.852Z] Configure a credential helper to remove this warning. See [2023-01-10T21:58:55.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:58:55.852Z] [2023-01-10T21:58:55.852Z] Login Succeeded [2023-01-10T21:58:55.852Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:58:56.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:58:56.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:58:56.121Z] Configure a credential helper to remove this warning. See [2023-01-10T21:58:56.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:58:56.121Z] [2023-01-10T21:58:56.121Z] Login Succeeded [2023-01-10T21:58:56.121Z] docker.io [2023-01-10T21:58:56.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:58:56.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:58:56.653Z] Configure a credential helper to remove this warning. See [2023-01-10T21:58:56.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:58:56.653Z] [2023-01-10T21:58:56.653Z] Login Succeeded [2023-01-10T21:58:56.653Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:58:56.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:58:56.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:58:56.715Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-01-10T21:58:56.715Z] 9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:58:56.715Z] latest [2023-01-10T21:58:56.715Z] 3.0.0-dev.4 [2023-01-10T21:58:56.715Z] 9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:58:56.715Z] main [2023-01-10T21:58:56.715Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:58:57.044Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:58:57.376Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:58:57.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T21:58:57.376Z] 0d425601a0cc: Preparing [2023-01-10T21:58:57.376Z] 3cbf0a02c4f6: Preparing [2023-01-10T21:58:57.376Z] 9c4771f1ec31: Preparing [2023-01-10T21:58:57.376Z] f347eb33829e: Preparing [2023-01-10T21:58:57.376Z] 17bec77d7fdc: Preparing [2023-01-10T21:58:57.377Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:58:57.641Z] f347eb33829e: Pushed [2023-01-10T21:58:57.641Z] 9c4771f1ec31: Pushed [2023-01-10T21:58:57.642Z] 3cbf0a02c4f6: Pushed [2023-01-10T21:59:02.977Z] 0d425601a0cc: Pushed [2023-01-10T21:59:02.977Z] 9d46b075d413968746c37768dd322ca74c72df60: digest: sha256:0dccfd04e8426cb204ce0040d487ca802405e1742368285825987f095caade3d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:03.334Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:03.677Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-10T21:59:03.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T21:59:03.677Z] 0d425601a0cc: Preparing [2023-01-10T21:59:03.677Z] 3cbf0a02c4f6: Preparing [2023-01-10T21:59:03.677Z] 9c4771f1ec31: Preparing [2023-01-10T21:59:03.677Z] f347eb33829e: Preparing [2023-01-10T21:59:03.677Z] 17bec77d7fdc: Preparing [2023-01-10T21:59:03.677Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:59:03.677Z] 0d425601a0cc: Layer already exists [2023-01-10T21:59:03.677Z] 9c4771f1ec31: Layer already exists [2023-01-10T21:59:03.677Z] f347eb33829e: Layer already exists [2023-01-10T21:59:03.677Z] 3cbf0a02c4f6: Layer already exists [2023-01-10T21:59:03.677Z] latest: digest: sha256:0dccfd04e8426cb204ce0040d487ca802405e1742368285825987f095caade3d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:04.027Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:04.371Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.4 [2023-01-10T21:59:04.371Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T21:59:04.371Z] 0d425601a0cc: Preparing [2023-01-10T21:59:04.371Z] 3cbf0a02c4f6: Preparing [2023-01-10T21:59:04.371Z] 9c4771f1ec31: Preparing [2023-01-10T21:59:04.371Z] f347eb33829e: Preparing [2023-01-10T21:59:04.371Z] 17bec77d7fdc: Preparing [2023-01-10T21:59:04.371Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:59:04.371Z] 9c4771f1ec31: Layer already exists [2023-01-10T21:59:04.371Z] 0d425601a0cc: Layer already exists [2023-01-10T21:59:04.371Z] f347eb33829e: Layer already exists [2023-01-10T21:59:04.371Z] 3cbf0a02c4f6: Layer already exists [2023-01-10T21:59:04.371Z] 3.0.0-dev.4: digest: sha256:0dccfd04e8426cb204ce0040d487ca802405e1742368285825987f095caade3d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:04.990Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:05.339Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:59:05.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T21:59:05.339Z] 0d425601a0cc: Preparing [2023-01-10T21:59:05.339Z] 3cbf0a02c4f6: Preparing [2023-01-10T21:59:05.339Z] 9c4771f1ec31: Preparing [2023-01-10T21:59:05.339Z] f347eb33829e: Preparing [2023-01-10T21:59:05.339Z] 17bec77d7fdc: Preparing [2023-01-10T21:59:05.339Z] 9c4771f1ec31: Layer already exists [2023-01-10T21:59:05.339Z] f347eb33829e: Layer already exists [2023-01-10T21:59:05.339Z] 3cbf0a02c4f6: Layer already exists [2023-01-10T21:59:05.339Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:59:05.339Z] 0d425601a0cc: Layer already exists [2023-01-10T21:59:05.606Z] 9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4: digest: sha256:0dccfd04e8426cb204ce0040d487ca802405e1742368285825987f095caade3d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:05.948Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:06.281Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-01-10T21:59:06.281Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T21:59:06.281Z] 0d425601a0cc: Preparing [2023-01-10T21:59:06.281Z] 3cbf0a02c4f6: Preparing [2023-01-10T21:59:06.281Z] 9c4771f1ec31: Preparing [2023-01-10T21:59:06.281Z] f347eb33829e: Preparing [2023-01-10T21:59:06.281Z] 17bec77d7fdc: Preparing [2023-01-10T21:59:06.281Z] 9c4771f1ec31: Layer already exists [2023-01-10T21:59:06.281Z] 3cbf0a02c4f6: Layer already exists [2023-01-10T21:59:06.281Z] f347eb33829e: Layer already exists [2023-01-10T21:59:06.281Z] 0d425601a0cc: Layer already exists [2023-01-10T21:59:06.281Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:59:06.281Z] main: digest: sha256:0dccfd04e8426cb204ce0040d487ca802405e1742368285825987f095caade3d size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:59:06.326Z] ===================================================== [Pipeline] echo [2023-01-10T21:59:06.332Z] taggedImages: [2023-01-10T21:59:06.332Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60 [2023-01-10T21:59:06.332Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-10T21:59:06.332Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.4 [2023-01-10T21:59:06.332Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9d46b075d413968746c37768dd322ca74c72df60-3.0.0-dev.4 [2023-01-10T21:59:06.332Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:06.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:59:06.686Z] [2023-01-10T21:59:06.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:07.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:59:07.014Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T21:59:07.014Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T21:59:07.014Z] 04944245beec: Pulling fs layer [2023-01-10T21:59:07.014Z] 699f458cf7ca: Pulling fs layer [2023-01-10T21:59:07.014Z] 765212b225bb: Pulling fs layer [2023-01-10T21:59:07.014Z] f23df028b6ca: Pulling fs layer [2023-01-10T21:59:07.014Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T21:59:07.014Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T21:59:07.014Z] f23df028b6ca: Waiting [2023-01-10T21:59:07.014Z] d65c8cfc05b1: Waiting [2023-01-10T21:59:07.014Z] 2437ff75d9bd: Waiting [2023-01-10T21:59:07.014Z] 765212b225bb: Waiting [2023-01-10T21:59:07.281Z] 04944245beec: Verifying Checksum [2023-01-10T21:59:07.281Z] 04944245beec: Download complete [2023-01-10T21:59:07.281Z] 765212b225bb: Verifying Checksum [2023-01-10T21:59:07.281Z] 765212b225bb: Download complete [2023-01-10T21:59:07.281Z] f23df028b6ca: Verifying Checksum [2023-01-10T21:59:07.281Z] f23df028b6ca: Download complete [2023-01-10T21:59:07.281Z] d65c8cfc05b1: Download complete [2023-01-10T21:59:07.281Z] 699f458cf7ca: Verifying Checksum [2023-01-10T21:59:07.281Z] 699f458cf7ca: Download complete [2023-01-10T21:59:07.876Z] 8998bd30e6a1: Download complete [2023-01-10T21:59:10.610Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T21:59:10.610Z] 2437ff75d9bd: Download complete [2023-01-10T21:59:11.620Z] 8998bd30e6a1: Pull complete [2023-01-10T21:59:12.251Z] 04944245beec: Pull complete [2023-01-10T21:59:13.666Z] 699f458cf7ca: Pull complete [2023-01-10T21:59:13.666Z] 765212b225bb: Pull complete [2023-01-10T21:59:14.626Z] f23df028b6ca: Pull complete [2023-01-10T21:59:14.626Z] d65c8cfc05b1: Pull complete [2023-01-10T21:59:29.634Z] 2437ff75d9bd: Pull complete [2023-01-10T21:59:29.634Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T21:59:29.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:59:29.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:59:29.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-1722 does not seem to be running inside a container [2023-01-10T21:59:29.907Z] $ 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/56 -v /w/workspace/device-gpio/56:/w/workspace/device-gpio/56:rw,z -v /w/workspace/device-gpio/56@tmp:/w/workspace/device-gpio/56@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:arm64 cat [2023-01-10T21:59:32.718Z] $ docker top 0e3c9bdab796a2fae3bc660a62f50eed6adf0c725c9c838718431e68f21aa207 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:59:33.584Z] ---> job-cost.sh [2023-01-10T21:59:33.585Z] lf-activate-venv: SKIPPING [2023-01-10T21:59:33.585Z] INFO: No Stack... [2023-01-10T21:59:34.547Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T21:59:35.511Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:59:36.154Z] + cat /w/workspace/device-gpio/56/archives/cost.csv+ [2023-01-10T21:59:36.154Z] cut -d, -f6 [Pipeline] lock [2023-01-10T21:59:36.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [2023-01-10T21:59:36.233Z] Resource [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] did not exist. Created. [2023-01-10T21:59:36.233Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:59:36.890Z] /w/workspace/device-gpio/56@tmp/durable-a1b3d77d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T21:59:37.547Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T21:59:37.571Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T21:59:37.633Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:59:37.640Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:59:37.655Z] $ docker stop --time=1 0e3c9bdab796a2fae3bc660a62f50eed6adf0c725c9c838718431e68f21aa207 [2023-01-10T21:59:39.323Z] $ docker rm -f --volumes 0e3c9bdab796a2fae3bc660a62f50eed6adf0c725c9c838718431e68f21aa207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-10T21:59:39.695Z] provisioning config files... [2023-01-10T21:59:39.701Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17928902090673977358tmp [Pipeline] { [Pipeline] sh [2023-01-10T21:59:39.987Z] + set +x [2023-01-10T21:59:39.987Z] + curl -s https://codecov.io/bash [2023-01-10T21:59:39.987Z] + bash -s -- [2023-01-10T21:59:39.987Z] [2023-01-10T21:59:39.987Z] _____ _ [2023-01-10T21:59:39.987Z] / ____| | | [2023-01-10T21:59:39.987Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T21:59:39.987Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T21:59:39.987Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T21:59:39.987Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T21:59:39.987Z] Bash-1.0.6 [2023-01-10T21:59:39.987Z] [2023-01-10T21:59:39.987Z] [2023-01-10T21:59:39.987Z] ==> git version 2.25.1 found [2023-01-10T21:59:39.987Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-10T21:59:39.987Z] Release-Date: 2020-01-08 [2023-01-10T21:59:39.987Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T21:59:39.987Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T21:59:39.987Z] ==> Jenkins CI detected. [2023-01-10T21:59:39.987Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-01-10T21:59:39.987Z] project root: . [2023-01-10T21:59:39.987Z] --> token set from env [2023-01-10T21:59:39.987Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T21:59:39.987Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T21:59:39.987Z] ==> Python coveragepy not found [2023-01-10T21:59:39.987Z] ==> Searching for coverage reports in: [2023-01-10T21:59:39.987Z] + . [2023-01-10T21:59:39.987Z] -> Found 1 reports [2023-01-10T21:59:39.987Z] ==> Detecting git/mercurial file structure [2023-01-10T21:59:40.246Z] ==> Reading reports [2023-01-10T21:59:40.246Z] + ./coverage.out bytes=10 [2023-01-10T21:59:40.246Z] ==> Appending adjustments [2023-01-10T21:59:40.246Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T21:59:40.246Z] + Found adjustments [2023-01-10T21:59:40.246Z] ==> Gzipping contents [2023-01-10T21:59:40.246Z] 4.0K /tmp/codecov.7ktMMh.gz [2023-01-10T21:59:40.246Z] ==> Uploading reports [2023-01-10T21:59:40.246Z] url: https://codecov.io [2023-01-10T21:59:40.246Z] query: branch=main&commit=9d46b075d413968746c37768dd322ca74c72df60&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:59:40.246Z] -> Pinging Codecov [2023-01-10T21:59:40.246Z] 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=9d46b075d413968746c37768dd322ca74c72df60&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:59:40.505Z] -> Uploading to [2023-01-10T21:59:40.505Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9d46b075d413968746c37768dd322ca74c72df60/3913c216-f7b5-4827-bf63-3eae5213fce0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T215940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecd13078c0514ca953695204473768e8441f0217ef044bce1d182b1d417e7d54 [2023-01-10T21:59:40.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:59:40.505Z] Dload Upload Total Spent Left Speed [2023-01-10T21:59:40.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3038 --:--:-- --:--:-- --:--:-- 3038 [2023-01-10T21:59:40.764Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] } [2023-01-10T21:59:40.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-10T21:59:40.863Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-10T21:59:40.874Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:41.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:59:41.170Z] [2023-01-10T21:59:41.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:41.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:59:41.471Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-10T21:59:41.471Z] df9b9388f04a: Pulling fs layer [2023-01-10T21:59:41.471Z] 52dc419b0ee2: Pulling fs layer [2023-01-10T21:59:41.471Z] 25bc292e5bac: Pulling fs layer [2023-01-10T21:59:41.471Z] 114826534d7a: Pulling fs layer [2023-01-10T21:59:41.471Z] 4657fd5d0bcf: Pulling fs layer [2023-01-10T21:59:41.471Z] 6ad1cebc031e: Pulling fs layer [2023-01-10T21:59:41.471Z] 8a3aa393b2d8: Pulling fs layer [2023-01-10T21:59:41.471Z] 4657fd5d0bcf: Waiting [2023-01-10T21:59:41.471Z] 6ad1cebc031e: Waiting [2023-01-10T21:59:41.471Z] 114826534d7a: Waiting [2023-01-10T21:59:41.471Z] 25bc292e5bac: Verifying Checksum [2023-01-10T21:59:41.471Z] 25bc292e5bac: Download complete [2023-01-10T21:59:41.471Z] 52dc419b0ee2: Download complete [2023-01-10T21:59:41.471Z] 4657fd5d0bcf: Verifying Checksum [2023-01-10T21:59:41.471Z] 4657fd5d0bcf: Download complete [2023-01-10T21:59:41.471Z] df9b9388f04a: Verifying Checksum [2023-01-10T21:59:41.471Z] df9b9388f04a: Download complete [2023-01-10T21:59:41.731Z] df9b9388f04a: Pull complete [2023-01-10T21:59:41.731Z] 6ad1cebc031e: Verifying Checksum [2023-01-10T21:59:41.731Z] 6ad1cebc031e: Download complete [2023-01-10T21:59:41.731Z] 52dc419b0ee2: Pull complete [2023-01-10T21:59:41.992Z] 25bc292e5bac: Pull complete [2023-01-10T21:59:42.250Z] 114826534d7a: Verifying Checksum [2023-01-10T21:59:42.250Z] 114826534d7a: Download complete [2023-01-10T21:59:42.508Z] 8a3aa393b2d8: Verifying Checksum [2023-01-10T21:59:42.508Z] 8a3aa393b2d8: Download complete [2023-01-10T21:59:45.786Z] 114826534d7a: Pull complete [2023-01-10T21:59:45.786Z] 4657fd5d0bcf: Pull complete [2023-01-10T21:59:46.044Z] 6ad1cebc031e: Pull complete [2023-01-10T21:59:49.322Z] 8a3aa393b2d8: Pull complete [2023-01-10T21:59:49.322Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-10T21:59:49.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:59:49.322Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:59:49.409Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T21:59:49.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-10T21:59:51.578Z] $ docker top f52129f4b516d9a1566f5c655386a9b25457c01d1712c93c9609c132348ea45f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-10T21:59:51.647Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-01-10T21:59:51.923Z] + set -o pipefail [2023-01-10T21:59:51.923Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-01-10T21:59:58.488Z] [2023-01-10T21:59:58.488Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-01-10T21:59:58.488Z] [2023-01-10T21:59:58.488Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/8991b46c-ecf6-45ab-aee6-7b5ada47ec53 [2023-01-10T21:59:58.488Z] [2023-01-10T21:59:58.488Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-10T21:59:58.488Z] [2023-01-10T21:59:58.489Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-10T21:59:58.489Z] [2023-01-10T21:59:58.489Z] [2023-01-10T21:59:58.489Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-10T21:59:58.489Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-10T21:59:58.489Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-10T21:59:58.501Z] $ docker stop --time=1 f52129f4b516d9a1566f5c655386a9b25457c01d1712c93c9609c132348ea45f [2023-01-10T22:00:00.799Z] $ docker rm -f --volumes f52129f4b516d9a1566f5c655386a9b25457c01d1712c93c9609c132348ea45f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T22:00:01.491Z] + git log --format=format:%s -1 9d46b075d413968746c37768dd322ca74c72df60 [Pipeline] sh [2023-01-10T22:00:01.779Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T22:00:01.779Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:02.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:00:02.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:02.160Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T22:00:02.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T22:00:02.661Z] $ docker top 55913f649162a19da7301f1f1f8019ec08f2325bbf6ad538913e443d291a9ac4 -eo pid,comm [2023-01-10T22:00:02.712Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T22:00:02.712Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T22:00:02.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T22:00:02.750Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T22:00:02.888Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T22:00:02.891Z] $ docker exec 55913f649162a19da7301f1f1f8019ec08f2325bbf6ad538913e443d291a9ac4 ssh-agent [2023-01-10T22:00:03.005Z] SSH_AUTH_SOCK=/tmp/ssh-ISVL6B6uS0nU/agent.31 [2023-01-10T22:00:03.005Z] SSH_AGENT_PID=37 [2023-01-10T22:00:03.010Z] Running ssh-add (command line suppressed) [2023-01-10T22:00:03.120Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3013793398749070316.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3013793398749070316.key) [2023-01-10T22:00:03.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T22:00:03.419Z] + git semver tag [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,608 [run_tag] DEBUG tag force:False [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,608 [check_head_tag] DEBUG check head tag [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,609 [execute] INFO git cat-file --batch-check [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,613 [execute] INFO git cat-file --batch [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,626 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,627 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,627 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T22:00:03.677Z] 2023-01-10 22:00:03,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:03.677Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T22:00:03.687Z] $ docker exec --env ******** --env ******** 55913f649162a19da7301f1f1f8019ec08f2325bbf6ad538913e443d291a9ac4 ssh-agent -k [2023-01-10T22:00:03.790Z] unset SSH_AUTH_SOCK; [2023-01-10T22:00:03.791Z] unset SSH_AGENT_PID; [2023-01-10T22:00:03.791Z] echo Agent pid 37 killed; [2023-01-10T22:00:03.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T22:00:04.098Z] + git semver [Pipeline] } [2023-01-10T22:00:04.370Z] $ docker stop --time=1 55913f649162a19da7301f1f1f8019ec08f2325bbf6ad538913e443d291a9ac4 [2023-01-10T22:00:05.692Z] $ docker rm -f --volumes 55913f649162a19da7301f1f1f8019ec08f2325bbf6ad538913e443d291a9ac4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:06.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T22:00:06.073Z] [2023-01-10T22:00:06.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:06.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T22:00:06.372Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-10T22:00:06.372Z] ab5ef0e58194: Pulling fs layer [2023-01-10T22:00:06.372Z] 9712f1f96733: Pulling fs layer [2023-01-10T22:00:06.372Z] 63f879dbbcfc: Pulling fs layer [2023-01-10T22:00:06.372Z] 0d9ebad4ef96: Pulling fs layer [2023-01-10T22:00:06.372Z] e9a5061849ea: Pulling fs layer [2023-01-10T22:00:06.372Z] d747dcd14b5f: Pulling fs layer [2023-01-10T22:00:06.372Z] 2de7ff778b66: Pulling fs layer [2023-01-10T22:00:06.372Z] e9a5061849ea: Waiting [2023-01-10T22:00:06.372Z] d747dcd14b5f: Waiting [2023-01-10T22:00:06.372Z] 0d9ebad4ef96: Waiting [2023-01-10T22:00:06.372Z] 2de7ff778b66: Waiting [2023-01-10T22:00:06.372Z] 9712f1f96733: Verifying Checksum [2023-01-10T22:00:06.372Z] 9712f1f96733: Download complete [2023-01-10T22:00:06.967Z] 63f879dbbcfc: Verifying Checksum [2023-01-10T22:00:06.968Z] 63f879dbbcfc: Download complete [2023-01-10T22:00:06.968Z] e9a5061849ea: Verifying Checksum [2023-01-10T22:00:06.968Z] e9a5061849ea: Download complete [2023-01-10T22:00:07.229Z] d747dcd14b5f: Verifying Checksum [2023-01-10T22:00:07.229Z] d747dcd14b5f: Download complete [2023-01-10T22:00:07.229Z] 2de7ff778b66: Verifying Checksum [2023-01-10T22:00:07.229Z] 2de7ff778b66: Download complete [2023-01-10T22:00:07.229Z] 0d9ebad4ef96: Verifying Checksum [2023-01-10T22:00:07.229Z] ab5ef0e58194: Verifying Checksum [2023-01-10T22:00:07.229Z] ab5ef0e58194: Download complete [2023-01-10T22:00:10.507Z] ab5ef0e58194: Pull complete [2023-01-10T22:00:10.507Z] 9712f1f96733: Pull complete [2023-01-10T22:00:11.072Z] 63f879dbbcfc: Pull complete [2023-01-10T22:00:15.258Z] 0d9ebad4ef96: Pull complete [2023-01-10T22:00:15.258Z] e9a5061849ea: Pull complete [2023-01-10T22:00:15.258Z] d747dcd14b5f: Pull complete [2023-01-10T22:00:16.190Z] 2de7ff778b66: Pull complete [2023-01-10T22:00:16.190Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-10T22:00:16.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T22:00:16.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:16.274Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T22:00:16.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-10T22:00:18.580Z] $ docker top a6fb8def4f3ed498e300106cbc5a01564b3a8d3005ef96c098ce65d9dfff8199 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:00:18.642Z] provisioning config files... [2023-01-10T22:00:18.648Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12194484784200685449tmp [2023-01-10T22:00:18.658Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11924035804079860961tmp [2023-01-10T22:00:18.666Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14011091836809331490tmp [Pipeline] { [Pipeline] echo [2023-01-10T22:00:18.682Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:18.962Z] ---> sigul-configuration.sh [2023-01-10T22:00:18.962Z] gpg: directory `/root/.gnupg' created [2023-01-10T22:00:18.962Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-10T22:00:18.962Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-10T22:00:18.962Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-10T22:00:18.962Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-10T22:00:18.962Z] gpg: CAST5 encrypted data [2023-01-10T22:00:18.962Z] gpg: encrypted with 1 passphrase [2023-01-10T22:00:18.962Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-10T22:00:19.241Z] + mkdir /home/jenkins [2023-01-10T22:00:19.241Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-10T22:00:19.523Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-10T22:00:19.531Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:19.812Z] ---> sigul-install.sh [2023-01-10T22:00:19.812Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-10T22:00:20.097Z] + git tag --list [2023-01-10T22:00:20.097Z] v1.0.0 [2023-01-10T22:00:20.097Z] v2.1.0 [2023-01-10T22:00:20.097Z] v2.1.1 [2023-01-10T22:00:20.097Z] v2.1.1-dev.1 [2023-01-10T22:00:20.097Z] v2.2.0 [2023-01-10T22:00:20.097Z] v2.2.1-dev.1 [2023-01-10T22:00:20.097Z] v2.2.1-dev.2 [2023-01-10T22:00:20.097Z] v2.2.1-dev.3 [2023-01-10T22:00:20.097Z] v2.2.1-dev.4 [2023-01-10T22:00:20.097Z] v2.3.0 [2023-01-10T22:00:20.097Z] v2.3.0-dev.10 [2023-01-10T22:00:20.097Z] v2.3.0-dev.11 [2023-01-10T22:00:20.097Z] v2.3.0-dev.12 [2023-01-10T22:00:20.097Z] v2.3.0-dev.13 [2023-01-10T22:00:20.097Z] v2.3.0-dev.14 [2023-01-10T22:00:20.097Z] v2.3.0-dev.15 [2023-01-10T22:00:20.097Z] v2.3.0-dev.16 [2023-01-10T22:00:20.097Z] v2.3.0-dev.17 [2023-01-10T22:00:20.097Z] v2.3.0-dev.18 [2023-01-10T22:00:20.097Z] v2.3.0-dev.19 [2023-01-10T22:00:20.097Z] v2.3.0-dev.20 [2023-01-10T22:00:20.097Z] v2.3.0-dev.4 [2023-01-10T22:00:20.097Z] v2.3.0-dev.5 [2023-01-10T22:00:20.097Z] v2.3.0-dev.6 [2023-01-10T22:00:20.097Z] v2.3.0-dev.7 [2023-01-10T22:00:20.097Z] v2.3.0-dev.8 [2023-01-10T22:00:20.097Z] v2.3.0-dev.9 [2023-01-10T22:00:20.097Z] v3.0.0-dev.1 [2023-01-10T22:00:20.097Z] v3.0.0-dev.2 [2023-01-10T22:00:20.097Z] v3.0.0-dev.3 [2023-01-10T22:00:20.097Z] v3.0.0-dev.4 [Pipeline] sh [2023-01-10T22:00:20.384Z] + lftools sign git-tag v3.0.0-dev.4 [2023-01-10T22:00:20.951Z] Signing Git tag with Sigul... [2023-01-10T22:00:20.951Z] Signing v3.0.0-dev.4 [Pipeline] echo [2023-01-10T22:00:21.219Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:21.501Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-10T22:00:21.507Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-10T22:00:21.527Z] $ docker stop --time=1 a6fb8def4f3ed498e300106cbc5a01564b3a8d3005ef96c098ce65d9dfff8199 [2023-01-10T22:00:22.832Z] $ docker rm -f --volumes a6fb8def4f3ed498e300106cbc5a01564b3a8d3005ef96c098ce65d9dfff8199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-10T22:00:23.224Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T22:00:23.224Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:23.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:00:23.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:23.585Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T22:00:23.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T22:00:23.975Z] $ docker top c3810aadce2e1cd627163e86b667771d040ea2cff3b69ad344ec75c3ea911673 -eo pid,comm [2023-01-10T22:00:24.022Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T22:00:24.022Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T22:00:24.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T22:00:24.062Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T22:00:24.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T22:00:24.173Z] $ docker exec c3810aadce2e1cd627163e86b667771d040ea2cff3b69ad344ec75c3ea911673 ssh-agent [2023-01-10T22:00:24.291Z] SSH_AUTH_SOCK=/tmp/ssh-Es1X09bbCRgn/agent.31 [2023-01-10T22:00:24.291Z] SSH_AGENT_PID=37 [2023-01-10T22:00:24.295Z] Running ssh-add (command line suppressed) [2023-01-10T22:00:24.404Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1292339149990717695.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1292339149990717695.key) [2023-01-10T22:00:24.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T22:00:24.702Z] + git semver bump pre [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [bump_version] DEBUG bumped version:3.0.0-dev.5 [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,877 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,880 [execute] INFO git cat-file --batch-check [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,886 [execute] INFO git cat-file --batch [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T22:00:24.960Z] 2023-01-10 22:00:24,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:24.960Z] 3.0.0-dev.5 [Pipeline] } [2023-01-10T22:00:24.970Z] $ docker exec --env ******** --env ******** c3810aadce2e1cd627163e86b667771d040ea2cff3b69ad344ec75c3ea911673 ssh-agent -k [2023-01-10T22:00:25.067Z] unset SSH_AUTH_SOCK; [2023-01-10T22:00:25.067Z] unset SSH_AGENT_PID; [2023-01-10T22:00:25.067Z] echo Agent pid 37 killed; [2023-01-10T22:00:25.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T22:00:25.381Z] + git semver [Pipeline] } [2023-01-10T22:00:25.654Z] $ docker stop --time=1 c3810aadce2e1cd627163e86b667771d040ea2cff3b69ad344ec75c3ea911673 [2023-01-10T22:00:26.942Z] $ docker rm -f --volumes c3810aadce2e1cd627163e86b667771d040ea2cff3b69ad344ec75c3ea911673 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T22:00:27.276Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T22:00:27.276Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:27.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:00:27.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:27.644Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T22:00:27.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T22:00:28.055Z] $ docker top 9df228c2cc42edbc23f9159ad9841f9bbc405fa3aa0f0bd44eb20f12fb0c2291 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T22:00:28.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T22:00:28.136Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T22:00:28.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T22:00:28.244Z] $ docker exec 9df228c2cc42edbc23f9159ad9841f9bbc405fa3aa0f0bd44eb20f12fb0c2291 ssh-agent [2023-01-10T22:00:28.349Z] SSH_AUTH_SOCK=/tmp/ssh-CPgMSyY98r0t/agent.32 [2023-01-10T22:00:28.349Z] SSH_AGENT_PID=38 [2023-01-10T22:00:28.353Z] Running ssh-add (command line suppressed) [2023-01-10T22:00:28.451Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3834943691484574117.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3834943691484574117.key) [2023-01-10T22:00:28.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T22:00:28.749Z] + git semver push [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,917 [run_push] DEBUG push [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,918 [execute] INFO git cat-file --batch-check [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,921 [execute] INFO git rev-list 8cc81906410037ebec5c175c3dbe3385cd388339 -- [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,922 [execute] DEBUG Popen(['git', 'rev-list', '8cc81906410037ebec5c175c3dbe3385cd388339', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,927 [execute] INFO git fetch -v origin [2023-01-10T22:00:29.007Z] 2023-01-10 22:00:28,927 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-10T22:00:29.576Z] 2023-01-10 22:00:29,526 [run_push] DEBUG no remote changes detected [2023-01-10T22:00:29.576Z] 2023-01-10 22:00:29,526 [execute] INFO git push origin semver [2023-01-10T22:00:29.576Z] 2023-01-10 22:00:29,527 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T22:00:30.514Z] 2023-01-10 22:00:30,305 [run_push] DEBUG push all version tags [2023-01-10T22:00:30.514Z] 2023-01-10 22:00:30,306 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-10T22:00:30.514Z] 2023-01-10 22:00:30,306 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T22:00:31.448Z] 2023-01-10 22:00:31,277 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T22:00:31.448Z] 3.0.0-dev.5 [Pipeline] } [2023-01-10T22:00:31.459Z] $ docker exec --env ******** --env ******** 9df228c2cc42edbc23f9159ad9841f9bbc405fa3aa0f0bd44eb20f12fb0c2291 ssh-agent -k [2023-01-10T22:00:31.559Z] unset SSH_AUTH_SOCK; [2023-01-10T22:00:31.559Z] unset SSH_AGENT_PID; [2023-01-10T22:00:31.559Z] echo Agent pid 38 killed; [2023-01-10T22:00:31.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T22:00:31.866Z] + git semver [Pipeline] } [2023-01-10T22:00:32.138Z] $ docker stop --time=1 9df228c2cc42edbc23f9159ad9841f9bbc405fa3aa0f0bd44eb20f12fb0c2291 [2023-01-10T22:00:33.457Z] $ docker rm -f --volumes 9df228c2cc42edbc23f9159ad9841f9bbc405fa3aa0f0bd44eb20f12fb0c2291 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-10T22:00:33.996Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-01-10T22:00:33.996Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T22:00:33.996Z] total 16 [2023-01-10T22:00:33.996Z] drwxr-xr-x 3 root root 4096 Jan 10 21:54 . [2023-01-10T22:00:33.996Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 22:00 .. [2023-01-10T22:00:33.996Z] drwxr-xr-x 2 root root 4096 Jan 10 21:54 cost [2023-01-10T22:00:33.996Z] -rw-r--r-- 1 root root 82 Jan 10 21:54 cost.csv [2023-01-10T22:00:33.996Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T22:00:33.996Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T22:00:33.996Z] total 16 [2023-01-10T22:00:33.996Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:54 . [2023-01-10T22:00:33.996Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 22:00 .. [2023-01-10T22:00:33.996Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:54 cost [2023-01-10T22:00:33.996Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 10 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:34.283Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:35.151Z] ---> package-listing.sh [2023-01-10T22:00:35.151Z] ++ facter osfamily [2023-01-10T22:00:35.151Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T22:00:35.151Z] + OS_FAMILY=debian [2023-01-10T22:00:35.151Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-01-10T22:00:35.151Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T22:00:35.151Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T22:00:35.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T22:00:35.151Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T22:00:35.151Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-10T22:00:35.151Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T22:00:35.151Z] + case "${OS_FAMILY}" in [2023-01-10T22:00:35.151Z] + dpkg -l [2023-01-10T22:00:35.151Z] + grep '^ii' [2023-01-10T22:00:35.418Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T22:00:35.418Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T22:00:35.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T22:00:35.418Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-10T22:00:35.418Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-01-10T22:00:35.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-01-10T22:00:35.428Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T22:00:35.704Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:36.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:00:36.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:36.334Z] prd-ubuntu20.04-docker-8c-8g-1724 does not seem to be running inside a container [2023-01-10T22:00:36.359Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T22:00:36.584Z] $ docker top 579a0bf45907baec39781449bc0bb78a17deeb3033a9a85dfd76a1626475c694 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:00:36.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T22:00:37.288Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T22:00:37.633Z] + ls /var/log/sa-host [2023-01-10T22:00:37.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:00:37.711Z] provisioning config files... [2023-01-10T22:00:37.731Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17914255934525925344tmp [Pipeline] { [Pipeline] echo [2023-01-10T22:00:37.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:38.046Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T22:00:38.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:38.370Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T22:00:38.380Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:38.675Z] ---> sudo-logs.sh [2023-01-10T22:00:38.675Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T22:00:38.703Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:38.990Z] ---> job-cost.sh [2023-01-10T22:00:38.990Z] lf-activate-venv: SKIPPING [2023-01-10T22:00:38.990Z] DEBUG: total: 0.2199999988079071 [2023-01-10T22:00:38.990Z] INFO: Retrieving Stack Cost... [2023-01-10T22:00:39.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T22:00:39.817Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T22:00:39.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:40.114Z] ---> logs-deploy.sh [2023-01-10T22:00:40.114Z] lf-activate-venv: SKIPPING [2023-01-10T22:00:40.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/56 [2023-01-10T22:00:40.114Z] INFO: archiving workspace using pattern(s): [2023-01-10T22:00:41.051Z] Archives upload complete. [2023-01-10T22:00:41.052Z] INFO: archiving logs to Nexus