Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 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-ssh5428894202230534270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17677218592220485566.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13384550998641224693.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh14340050467308385684.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-ssh7323884192200273930.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-15988 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 > 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 Avoid second fetch Checking out Revision 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 (main) Commit message: "Merge pull request #180 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92" > git config core.sparsecheckout # timeout=10 > git checkout -f 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 # timeout=10 > git rev-list --no-walk d4d34ba9beeefe5495b32c771fec1f024664e8aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-18T04:01:11.912Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-18T04:01:11.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-18T04:01:12.005Z] ========================================================= [2023-05-18T04:01:12.005Z] EdgeX Global Pipelines Version Info [2023-05-18T04:01:12.005Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:01:12.745Z] ------------------- [2023-05-18T04:01:12.745Z] stable info: [2023-05-18T04:01:12.745Z] ------------------- [2023-05-18T04:01:12.745Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-18T04:01:12.745Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T04:01:12.745Z] Message: update stable to v1.0.249 [2023-05-18T04:01:13.318Z] ------------------- [2023-05-18T04:01:13.318Z] experimental info: [2023-05-18T04:01:13.318Z] ------------------- [2023-05-18T04:01:13.318Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-18T04:01:13.318Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T04:01:13.318Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-18T04:01:13.494Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-05-18T04:01:13.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-05-18T04:01:13.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-18T04:01:13.546Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-18T04:01:13.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-18T04:01:13.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-18T04:01:13.593Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-18T04:01:13.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-18T04:01:13.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-18T04:01:13.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-18T04:01:13.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-18T04:01:13.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-05-18T04:01:13.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-18T04:01:13.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-18T04:01:13.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T04:01:13.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T04:01:13.748Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T04:01:13.760Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T04:01:13.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-18T04:01:13.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-18T04:01:13.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-18T04:01:13.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-18T04:01:13.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-18T04:01:13.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-18T04:01:13.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-18T04:01:13.885Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-18T04:01:13.902Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-18T04:01:13.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-18T04:01:13.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-18T04:01:13.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-18T04:01:13.972Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] echo [2023-05-18T04:01:13.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c1f7bd [Pipeline] echo [2023-05-18T04:01:14.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T04:01:14.051Z] provisioning config files... [2023-05-18T04:01:14.072Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8342748217520994331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:01:14.381Z] ---> docker-login.sh [2023-05-18T04:01:14.381Z] nexus3.edgexfoundry.org:10001 [2023-05-18T04:01:14.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:14.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:14.643Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:14.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:14.643Z] [2023-05-18T04:01:14.643Z] Login Succeeded [2023-05-18T04:01:14.643Z] nexus3.edgexfoundry.org:10002 [2023-05-18T04:01:14.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:14.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:14.905Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:14.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:14.905Z] [2023-05-18T04:01:14.905Z] Login Succeeded [2023-05-18T04:01:14.905Z] nexus3.edgexfoundry.org:10003 [2023-05-18T04:01:14.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:14.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:14.905Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:14.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:14.905Z] [2023-05-18T04:01:14.905Z] Login Succeeded [2023-05-18T04:01:14.905Z] nexus3.edgexfoundry.org:10004 [2023-05-18T04:01:14.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:14.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:14.905Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:14.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:14.905Z] [2023-05-18T04:01:14.905Z] Login Succeeded [2023-05-18T04:01:14.905Z] docker.io [2023-05-18T04:01:15.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:15.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:15.427Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:15.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:15.427Z] [2023-05-18T04:01:15.427Z] Login Succeeded [2023-05-18T04:01:15.427Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T04:01:15.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-18T04:01:15.828Z] + git rev-list -1 --merges 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38~1..3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] echo [2023-05-18T04:01:15.886Z] -----------> git rev-list -1 --merges 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38~1..3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:01:15.886Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [false] [Pipeline] sh [2023-05-18T04:01:16.171Z] + git log --format=format:%s -1 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] echo [2023-05-18T04:01:16.187Z] ========================================================= [2023-05-18T04:01:16.187Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-18T04:01:16.187Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T04:01:16.519Z] + git log --format=format:%s -1 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] echo [2023-05-18T04:01:16.530Z] [semverPrep] GIT_COMMIT: 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38, Commit Message: Merge pull request #180 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92 [Pipeline] echo [2023-05-18T04:01:16.538Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-18T04:01:16.917Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T04:01:16.918Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-18T04:01:16.918Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-18T04:01:16.918Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-18T04:01:16.918Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-18T04:01:16.918Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-18T04:01:16.918Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:01:17.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:01:17.361Z] [2023-05-18T04:01:17.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:01:17.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:01:17.668Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-18T04:01:17.668Z] b85a868b505f: Pulling fs layer [2023-05-18T04:01:17.668Z] e2be974225ed: Pulling fs layer [2023-05-18T04:01:17.668Z] 339a4e72a1f5: Pulling fs layer [2023-05-18T04:01:17.668Z] 988bab9f4d93: Pulling fs layer [2023-05-18T04:01:17.668Z] 1469e6f7b9e6: Pulling fs layer [2023-05-18T04:01:17.668Z] eaf3925da568: Pulling fs layer [2023-05-18T04:01:17.668Z] bab4dde63d76: Pulling fs layer [2023-05-18T04:01:17.668Z] 1469e6f7b9e6: Waiting [2023-05-18T04:01:17.668Z] eaf3925da568: Waiting [2023-05-18T04:01:17.669Z] bde34c3a00c8: Pulling fs layer [2023-05-18T04:01:17.669Z] b352a97aabf1: Pulling fs layer [2023-05-18T04:01:17.669Z] bab4dde63d76: Waiting [2023-05-18T04:01:17.669Z] bde34c3a00c8: Waiting [2023-05-18T04:01:17.669Z] 4872d77fe225: Pulling fs layer [2023-05-18T04:01:17.669Z] b352a97aabf1: Waiting [2023-05-18T04:01:17.669Z] 5851b861e8e6: Pulling fs layer [2023-05-18T04:01:17.669Z] 4872d77fe225: Waiting [2023-05-18T04:01:17.669Z] 5851b861e8e6: Waiting [2023-05-18T04:01:17.669Z] e2be974225ed: Download complete [2023-05-18T04:01:17.669Z] 988bab9f4d93: Verifying Checksum [2023-05-18T04:01:17.669Z] 988bab9f4d93: Download complete [2023-05-18T04:01:17.669Z] 1469e6f7b9e6: Verifying Checksum [2023-05-18T04:01:17.669Z] 1469e6f7b9e6: Download complete [2023-05-18T04:01:17.928Z] 339a4e72a1f5: Verifying Checksum [2023-05-18T04:01:17.928Z] 339a4e72a1f5: Download complete [2023-05-18T04:01:17.928Z] bde34c3a00c8: Download complete [2023-05-18T04:01:17.928Z] b352a97aabf1: Verifying Checksum [2023-05-18T04:01:17.928Z] b352a97aabf1: Download complete [2023-05-18T04:01:17.928Z] 4872d77fe225: Verifying Checksum [2023-05-18T04:01:17.928Z] 4872d77fe225: Download complete [2023-05-18T04:01:17.928Z] 5851b861e8e6: Download complete [2023-05-18T04:01:17.928Z] b85a868b505f: Download complete [2023-05-18T04:01:18.186Z] bab4dde63d76: Verifying Checksum [2023-05-18T04:01:18.186Z] bab4dde63d76: Download complete [2023-05-18T04:01:19.125Z] b85a868b505f: Pull complete [2023-05-18T04:01:19.384Z] e2be974225ed: Pull complete [2023-05-18T04:01:19.645Z] 339a4e72a1f5: Pull complete [2023-05-18T04:01:19.645Z] 988bab9f4d93: Pull complete [2023-05-18T04:01:19.904Z] 1469e6f7b9e6: Pull complete [2023-05-18T04:01:20.163Z] eaf3925da568: Pull complete [2023-05-18T04:01:21.542Z] bab4dde63d76: Pull complete [2023-05-18T04:01:21.802Z] bde34c3a00c8: Pull complete [2023-05-18T04:01:21.802Z] b352a97aabf1: Pull complete [2023-05-18T04:01:21.802Z] 4872d77fe225: Pull complete [2023-05-18T04:01:22.061Z] 5851b861e8e6: Pull complete [2023-05-18T04:01:22.061Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-18T04:01:22.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:01:22.061Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:01:22.171Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:01:22.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T04:01:24.719Z] $ docker top 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 -eo pid,comm [2023-05-18T04:01:24.779Z] 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-05-18T04:01:24.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T04:01:24.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T04:01:24.823Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T04:01:24.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T04:01:24.942Z] $ docker exec 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 ssh-agent [2023-05-18T04:01:25.053Z] SSH_AUTH_SOCK=/tmp/ssh-PHPIRuLLFkDf/agent.34 [2023-05-18T04:01:25.053Z] SSH_AGENT_PID=40 [2023-05-18T04:01:25.062Z] Running ssh-add (command line suppressed) [2023-05-18T04:01:25.163Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8575671087433986341.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8575671087433986341.key) [2023-05-18T04:01:25.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T04:01:25.477Z] + git tag --points-at HEAD [Pipeline] } [2023-05-18T04:01:25.495Z] $ docker exec --env ******** --env ******** 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 ssh-agent -k [2023-05-18T04:01:25.596Z] unset SSH_AUTH_SOCK; [2023-05-18T04:01:25.596Z] unset SSH_AGENT_PID; [2023-05-18T04:01:25.596Z] echo Agent pid 40 killed; [2023-05-18T04:01:25.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-18T04:01:25.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T04:01:25.643Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T04:01:25.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T04:01:25.761Z] $ docker exec 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 ssh-agent [2023-05-18T04:01:25.859Z] SSH_AUTH_SOCK=/tmp/ssh-IgdX1wtEF2FY/agent.72 [2023-05-18T04:01:25.859Z] SSH_AGENT_PID=78 [2023-05-18T04:01:25.864Z] Running ssh-add (command line suppressed) [2023-05-18T04:01:25.964Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5404787621548856893.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5404787621548856893.key) [2023-05-18T04:01:25.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T04:01:26.272Z] + git semver init [2023-05-18T04:01:26.533Z] 2023-05-18 04:01:26,432 [run_init] DEBUG init version:0.0.0 force:False [2023-05-18T04:01:26.533Z] 2023-05-18 04:01:26,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-05-18T04:01:26.533Z] 2023-05-18 04:01:26,433 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-05-18T04:01:26.533Z] 2023-05-18 04:01:26,433 [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-05-18T04:01:27.472Z] 2023-05-18 04:01:27,380 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-05-18T04:01:27.472Z] 2023-05-18 04:01:27,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-05-18T04:01:27.472Z] 2023-05-18 04:01:27,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:01:27.472Z] 2023-05-18 04:01:27,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:01:27.472Z] 3.0.0-dev.28 [Pipeline] } [2023-05-18T04:01:27.481Z] $ docker exec --env ******** --env ******** 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 ssh-agent -k [2023-05-18T04:01:27.579Z] unset SSH_AUTH_SOCK; [2023-05-18T04:01:27.579Z] unset SSH_AGENT_PID; [2023-05-18T04:01:27.579Z] echo Agent pid 78 killed; [2023-05-18T04:01:27.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T04:01:27.902Z] + git semver [Pipeline] } [2023-05-18T04:01:28.178Z] $ docker stop --time=1 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 [2023-05-18T04:01:29.450Z] $ docker rm -f --volumes 9e3d5d7b310248f4fd8a84dbe7e4c4013fb6fb13eb9597faf1ca5120402b1a49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T04:01:29.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-18T04:01:30.024Z] Stashed 1 file(s) [Pipeline] echo [2023-05-18T04:01:30.028Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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-05-18T04:01:30.211Z] provisioning config files... [2023-05-18T04:01:30.221Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5417162879549613692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:01:30.519Z] ---> docker-login.sh [2023-05-18T04:01:30.519Z] nexus3.edgexfoundry.org:10001 [2023-05-18T04:01:30.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:30.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:30.519Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:30.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:30.519Z] [2023-05-18T04:01:30.519Z] Login Succeeded [2023-05-18T04:01:30.519Z] nexus3.edgexfoundry.org:10002 [2023-05-18T04:01:30.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:30.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:30.519Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:30.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:30.519Z] [2023-05-18T04:01:30.519Z] Login Succeeded [2023-05-18T04:01:30.519Z] nexus3.edgexfoundry.org:10003 [2023-05-18T04:01:30.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:30.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:30.779Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:30.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:30.779Z] [2023-05-18T04:01:30.779Z] Login Succeeded [2023-05-18T04:01:30.779Z] nexus3.edgexfoundry.org:10004 [2023-05-18T04:01:30.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:30.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:30.779Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:30.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:30.779Z] [2023-05-18T04:01:30.779Z] Login Succeeded [2023-05-18T04:01:30.779Z] docker.io [2023-05-18T04:01:31.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:01:31.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:01:31.038Z] Configure a credential helper to remove this warning. See [2023-05-18T04:01:31.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:01:31.038Z] [2023-05-18T04:01:31.038Z] Login Succeeded [2023-05-18T04:01:31.038Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T04:01:31.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T04:01:31.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:01:31.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:01:31.121Z] ========================================================= [2023-05-18T04:01:31.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-18T04:01:31.121Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:01:31.435Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-18T04:01:31.435Z] Sending build context to Docker daemon 16.13MB [2023-05-18T04:01:31.435Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T04:01:31.435Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-18T04:01:31.700Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-18T04:01:31.700Z] f56be85fc22e: Pulling fs layer [2023-05-18T04:01:31.700Z] 85791d961cd3: Pulling fs layer [2023-05-18T04:01:31.700Z] d694b5ae8c79: Pulling fs layer [2023-05-18T04:01:31.700Z] 9f32a84ed3da: Pulling fs layer [2023-05-18T04:01:31.700Z] 4d19c01a9841: Pulling fs layer [2023-05-18T04:01:31.700Z] 9325e15d5711: Pulling fs layer [2023-05-18T04:01:31.700Z] 556b6ee489ea: Pulling fs layer [2023-05-18T04:01:31.700Z] c5a4b2cf53e6: Pulling fs layer [2023-05-18T04:01:31.700Z] 556b6ee489ea: Waiting [2023-05-18T04:01:31.700Z] 4d19c01a9841: Waiting [2023-05-18T04:01:31.700Z] 9325e15d5711: Waiting [2023-05-18T04:01:31.700Z] c5a4b2cf53e6: Waiting [2023-05-18T04:01:31.700Z] 85791d961cd3: Verifying Checksum [2023-05-18T04:01:31.700Z] 85791d961cd3: Download complete [2023-05-18T04:01:31.700Z] 9f32a84ed3da: Download complete [2023-05-18T04:01:31.700Z] 4d19c01a9841: Verifying Checksum [2023-05-18T04:01:31.700Z] 4d19c01a9841: Download complete [2023-05-18T04:01:31.700Z] f56be85fc22e: Verifying Checksum [2023-05-18T04:01:31.700Z] f56be85fc22e: Download complete [2023-05-18T04:01:31.700Z] 9325e15d5711: Verifying Checksum [2023-05-18T04:01:31.700Z] 9325e15d5711: Download complete [2023-05-18T04:01:31.962Z] f56be85fc22e: Pull complete [2023-05-18T04:01:31.962Z] 85791d961cd3: Pull complete [2023-05-18T04:01:32.223Z] c5a4b2cf53e6: Verifying Checksum [2023-05-18T04:01:32.223Z] c5a4b2cf53e6: Download complete [2023-05-18T04:01:32.223Z] d694b5ae8c79: Download complete [2023-05-18T04:01:32.482Z] 556b6ee489ea: Verifying Checksum [2023-05-18T04:01:32.482Z] 556b6ee489ea: Download complete [2023-05-18T04:01:35.777Z] d694b5ae8c79: Pull complete [2023-05-18T04:01:35.777Z] 9f32a84ed3da: Pull complete [2023-05-18T04:01:35.777Z] 4d19c01a9841: Pull complete [2023-05-18T04:01:36.040Z] 9325e15d5711: Pull complete [2023-05-18T04:01:38.585Z] 556b6ee489ea: Pull complete [2023-05-18T04:01:39.153Z] c5a4b2cf53e6: Pull complete [2023-05-18T04:01:39.153Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-18T04:01:39.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-18T04:01:39.153Z] ---> c4be618373d6 [2023-05-18T04:01:39.153Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-18T04:01:43.372Z] ---> Running in 6efecb2733e4 [2023-05-18T04:01:43.372Z] Removing intermediate container 6efecb2733e4 [2023-05-18T04:01:43.372Z] ---> cf301ba23774 [2023-05-18T04:01:43.372Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T04:01:43.372Z] ---> Running in f63a9a7c72e2 [2023-05-18T04:01:43.372Z] Removing intermediate container f63a9a7c72e2 [2023-05-18T04:01:43.372Z] ---> 830defd9f5f1 [2023-05-18T04:01:43.372Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-18T04:01:43.372Z] ---> Running in 6afbdd32f62a [2023-05-18T04:01:43.372Z] Removing intermediate container 6afbdd32f62a [2023-05-18T04:01:43.372Z] ---> 1efb3630d067 [2023-05-18T04:01:43.372Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T04:01:43.632Z] ---> Running in 6bf1cd987526 [2023-05-18T04:01:43.632Z] Removing intermediate container 6bf1cd987526 [2023-05-18T04:01:43.632Z] ---> d80a7487f84a [2023-05-18T04:01:43.632Z] Step 7/12 : WORKDIR /device-gpio [2023-05-18T04:01:43.632Z] ---> Running in cad54dd49d1b [2023-05-18T04:01:43.632Z] Removing intermediate container cad54dd49d1b [2023-05-18T04:01:43.632Z] ---> d400de09f207 [2023-05-18T04:01:43.632Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T04:01:43.632Z] ---> Running in b3d60176a11a [2023-05-18T04:01:44.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T04:01:44.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T04:01:44.202Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-18T04:01:44.202Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-18T04:01:44.471Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-18T04:01:44.471Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-18T04:01:44.471Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T04:01:44.471Z] OK: 269 MiB in 57 packages [2023-05-18T04:01:44.734Z] Removing intermediate container b3d60176a11a [2023-05-18T04:01:44.735Z] ---> 843d93edfb8b [2023-05-18T04:01:44.735Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-18T04:01:44.996Z] ---> 72e2a3920576 [2023-05-18T04:01:44.996Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T04:01:44.996Z] ---> Running in 48bba2cc1f29 [2023-05-18T04:01:45.157Z] Still waiting to schedule task [2023-05-18T04:01:45.157Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-18T04:02:17.145Z] Removing intermediate container 48bba2cc1f29 [2023-05-18T04:02:17.145Z] ---> 38f0083a71cd [2023-05-18T04:02:17.145Z] Step 11/12 : COPY . . [2023-05-18T04:02:17.145Z] ---> 82d98284b647 [2023-05-18T04:02:17.145Z] Step 12/12 : RUN ${MAKE} [2023-05-18T04:02:17.145Z] ---> Running in a8796d99da3b [2023-05-18T04:02:17.145Z] noop [2023-05-18T04:02:17.145Z] Removing intermediate container a8796d99da3b [2023-05-18T04:02:17.145Z] ---> ff1f5704417c [2023-05-18T04:02:17.145Z] Successfully built ff1f5704417c [2023-05-18T04:02:17.145Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:02:17.460Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T04:02:17.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:02:17.531Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:02:17.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T04:02:17.897Z] $ docker top 8fdfef15cbb2b3007ed53b5802e9ea1ec446cfc0abfba691ef227eaa56ab6bd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T04:02:18.241Z] + go version [2023-05-18T04:02:18.242Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-18T04:02:18.257Z] $ docker stop --time=1 8fdfef15cbb2b3007ed53b5802e9ea1ec446cfc0abfba691ef227eaa56ab6bd9 [2023-05-18T04:02:19.528Z] $ docker rm -f --volumes 8fdfef15cbb2b3007ed53b5802e9ea1ec446cfc0abfba691ef227eaa56ab6bd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:02:19.909Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T04:02:19.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:02:19.983Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:02:20.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T04:02:20.343Z] $ docker top 48c06af38e1fce39fd8d0b19e071dfafdb05d844cfd1f051fc6721a0ce34367b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T04:02:20.679Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-05-18T04:02:20.980Z] + make test [2023-05-18T04:02:20.980Z] go test ./... -coverprofile=coverage.out ./... [2023-05-18T04:02:26.251Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-05-18T04:02:36.222Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-05-18T04:02:36.222Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-05-18T04:02:41.497Z] go vet ./... [2023-05-18T04:02:44.783Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T04:02:44.783Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T04:02:44.783Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T04:02:44.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T04:02:44.812Z] $ docker stop --time=1 48c06af38e1fce39fd8d0b19e071dfafdb05d844cfd1f051fc6721a0ce34367b [2023-05-18T04:02:48.288Z] $ docker rm -f --volumes 48c06af38e1fce39fd8d0b19e071dfafdb05d844cfd1f051fc6721a0ce34367b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T04:02:49.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T04:02:49.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-18T04:02:49.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T04:02:50.046Z] + ls -al . [2023-05-18T04:02:50.046Z] total 156 [2023-05-18T04:02:50.046Z] drwxrwxr-x 9 jenkins jenkins 4096 May 18 04:02 . [2023-05-18T04:02:50.046Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:01 .. [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 120 May 18 04:01 .dockerignore [2023-05-18T04:02:50.046Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:01 .git [2023-05-18T04:02:50.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:01 .github [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 343 May 18 04:01 .gitignore [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 41 May 18 04:01 .golangci.yml [2023-05-18T04:02:50.046Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 04:01 .semver [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 9702 May 18 04:01 Attribution.txt [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 4069 May 18 04:01 CHANGELOG.md [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 1542 May 18 04:01 Dockerfile [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 04:01 GOVERNANCE.md [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 657 May 18 04:01 Jenkinsfile [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 04:01 LICENSE [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 1692 May 18 04:01 Makefile [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 617 May 18 04:01 OWNERS.md [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 11790 May 18 04:01 README.md [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 04:01 VERSION [2023-05-18T04:02:50.046Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 04:01 bin [2023-05-18T04:02:50.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:01 cmd [2023-05-18T04:02:50.046Z] -rw-r--r-- 1 jenkins jenkins 10 May 18 04:02 coverage.out [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 3269 May 18 04:01 go.mod [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 31585 May 18 04:01 go.sum [2023-05-18T04:02:50.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:01 internal [2023-05-18T04:02:50.046Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:01 snap [2023-05-18T04:02:50.046Z] -rw-rw-r-- 1 jenkins jenkins 209 May 18 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:02:50.350Z] + 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=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 --label arch=amd64 --label version=3.0.0-dev.28 . [2023-05-18T04:02:50.350Z] Sending build context to Docker daemon 16.13MB [2023-05-18T04:02:50.350Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T04:02:50.350Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-18T04:02:50.350Z] ---> ff1f5704417c [2023-05-18T04:02:50.350Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-18T04:02:50.610Z] ---> Running in 6aeaeaddafa0 [2023-05-18T04:02:50.870Z] Removing intermediate container 6aeaeaddafa0 [2023-05-18T04:02:50.870Z] ---> 1fa6b2349368 [2023-05-18T04:02:50.870Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T04:02:50.870Z] ---> Running in b0a15dd826c6 [2023-05-18T04:02:50.870Z] Removing intermediate container b0a15dd826c6 [2023-05-18T04:02:50.870Z] ---> 8ccacec96cdf [2023-05-18T04:02:50.870Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-18T04:02:50.870Z] ---> Running in 0d5b2a21d99f [2023-05-18T04:02:50.870Z] Removing intermediate container 0d5b2a21d99f [2023-05-18T04:02:50.870Z] ---> 28db65f2c00d [2023-05-18T04:02:50.870Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T04:02:50.870Z] ---> Running in a4afedf87570 [2023-05-18T04:02:51.128Z] Removing intermediate container a4afedf87570 [2023-05-18T04:02:51.128Z] ---> 7ccf52ea47f9 [2023-05-18T04:02:51.128Z] Step 7/25 : WORKDIR /device-gpio [2023-05-18T04:02:51.128Z] ---> Running in 11d64b0073d4 [2023-05-18T04:02:51.128Z] Removing intermediate container 11d64b0073d4 [2023-05-18T04:02:51.128Z] ---> c4cefd1700c8 [2023-05-18T04:02:51.128Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T04:02:51.128Z] ---> Running in fb37239944ed [2023-05-18T04:02:51.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T04:02:51.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T04:02:51.646Z] OK: 269 MiB in 57 packages [2023-05-18T04:02:51.906Z] Removing intermediate container fb37239944ed [2023-05-18T04:02:51.906Z] ---> 2990ebc3ad34 [2023-05-18T04:02:51.906Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-18T04:02:52.167Z] ---> c407ef3221de [2023-05-18T04:02:52.167Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T04:02:52.167Z] ---> Running in 73730d038dd2 [2023-05-18T04:02:53.367Z] Removing intermediate container 73730d038dd2 [2023-05-18T04:02:53.367Z] ---> 0cf7f89ed02d [2023-05-18T04:02:53.367Z] Step 11/25 : COPY . . [2023-05-18T04:02:53.627Z] ---> 401ee367ab9b [2023-05-18T04:02:53.627Z] Step 12/25 : RUN ${MAKE} [2023-05-18T04:02:53.627Z] ---> Running in b405acd4156b [2023-05-18T04:02:53.887Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-05-18T04:03:13.494Z] Removing intermediate container b405acd4156b [2023-05-18T04:03:13.494Z] ---> 1a006fd3613b [2023-05-18T04:03:13.494Z] Step 13/25 : FROM alpine:3.17 [2023-05-18T04:03:13.494Z] 3.17: Pulling from library/alpine [2023-05-18T04:03:13.752Z] f56be85fc22e: Already exists [2023-05-18T04:03:13.752Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T04:03:13.752Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T04:03:13.752Z] ---> 9ed4aefc74f6 [2023-05-18T04:03:13.752Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-05-18T04:03:14.010Z] ---> Running in ca1365ba5b32 [2023-05-18T04:03:14.010Z] Removing intermediate container ca1365ba5b32 [2023-05-18T04:03:14.010Z] ---> 25d131c4ccbe [2023-05-18T04:03:14.010Z] Step 15/25 : RUN apk add --update --no-cache [2023-05-18T04:03:14.010Z] ---> Running in 59051931467b [2023-05-18T04:03:14.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T04:03:14.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T04:03:14.527Z] OK: 7 MiB in 15 packages [2023-05-18T04:03:14.784Z] Removing intermediate container 59051931467b [2023-05-18T04:03:14.784Z] ---> c07c3253b70d [2023-05-18T04:03:14.784Z] Step 16/25 : WORKDIR / [2023-05-18T04:03:14.784Z] ---> Running in 362ae05c6ef3 [2023-05-18T04:03:15.043Z] Removing intermediate container 362ae05c6ef3 [2023-05-18T04:03:15.043Z] ---> c29ef8c930e9 [2023-05-18T04:03:15.043Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-05-18T04:03:15.043Z] ---> 06b6fc90fcc0 [2023-05-18T04:03:15.043Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-05-18T04:03:15.303Z] ---> 10d7e2284f24 [2023-05-18T04:03:15.303Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-05-18T04:03:15.957Z] ---> 63fed9fdc396 [2023-05-18T04:03:15.957Z] Step 20/25 : EXPOSE 59910 [2023-05-18T04:03:15.957Z] ---> Running in 287a07e8ea17 [2023-05-18T04:03:15.957Z] Removing intermediate container 287a07e8ea17 [2023-05-18T04:03:15.957Z] ---> 290d56cd69f0 [2023-05-18T04:03:15.957Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-05-18T04:03:15.957Z] ---> Running in 66079e3052da [2023-05-18T04:03:16.216Z] Removing intermediate container 66079e3052da [2023-05-18T04:03:16.216Z] ---> f6e39bc4c2d4 [2023-05-18T04:03:16.217Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T04:03:16.217Z] ---> Running in c9aa8c66a3de [2023-05-18T04:03:16.217Z] Removing intermediate container c9aa8c66a3de [2023-05-18T04:03:16.217Z] ---> c26ad675cb51 [2023-05-18T04:03:16.217Z] Step 23/25 : LABEL arch=amd64 [2023-05-18T04:03:16.217Z] ---> Running in 8b9c73e4481b [2023-05-18T04:03:16.217Z] Removing intermediate container 8b9c73e4481b [2023-05-18T04:03:16.217Z] ---> 56d0b4222d99 [2023-05-18T04:03:16.217Z] Step 24/25 : LABEL git_sha=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:03:16.217Z] ---> Running in 25d87156c567 [2023-05-18T04:03:16.476Z] Removing intermediate container 25d87156c567 [2023-05-18T04:03:16.476Z] ---> 986abf746b89 [2023-05-18T04:03:16.476Z] Step 25/25 : LABEL version=3.0.0-dev.28 [2023-05-18T04:03:16.476Z] ---> Running in fda2e9c43b55 [2023-05-18T04:03:16.476Z] Removing intermediate container fda2e9c43b55 [2023-05-18T04:03:16.476Z] ---> 5a13b47d3875 [2023-05-18T04:03:16.476Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T04:03:16.476Z] Successfully built 5a13b47d3875 [2023-05-18T04:03:16.476Z] 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-05-18T04:03:16.593Z] provisioning config files... [2023-05-18T04:03:16.605Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9347429882789968976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:03:16.900Z] ---> docker-login.sh [2023-05-18T04:03:16.900Z] nexus3.edgexfoundry.org:10001 [2023-05-18T04:03:16.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:16.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:16.900Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:16.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:16.900Z] [2023-05-18T04:03:16.900Z] Login Succeeded [2023-05-18T04:03:16.900Z] nexus3.edgexfoundry.org:10002 [2023-05-18T04:03:16.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:16.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:16.900Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:16.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:16.900Z] [2023-05-18T04:03:16.900Z] Login Succeeded [2023-05-18T04:03:16.900Z] nexus3.edgexfoundry.org:10003 [2023-05-18T04:03:17.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:17.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:17.160Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:17.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:17.160Z] [2023-05-18T04:03:17.160Z] Login Succeeded [2023-05-18T04:03:17.160Z] nexus3.edgexfoundry.org:10004 [2023-05-18T04:03:17.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:17.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:17.160Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:17.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:17.160Z] [2023-05-18T04:03:17.160Z] Login Succeeded [2023-05-18T04:03:17.160Z] docker.io [2023-05-18T04:03:17.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:17.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:17.418Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:17.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:17.418Z] [2023-05-18T04:03:17.418Z] Login Succeeded [2023-05-18T04:03:17.418Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T04:03:17.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T04:03:17.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:03:17.473Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-05-18T04:03:17.473Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:03:17.473Z] latest [2023-05-18T04:03:17.473Z] 3.0.0-dev.28 [2023-05-18T04:03:17.473Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:03:17.473Z] main [2023-05-18T04:03:17.473Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:17.779Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:17.997Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15990 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-05-18T04:03:18.009Z] Running in /w/workspace/device-gpio/82 [Pipeline] { [Pipeline] checkout [2023-05-18T04:03:18.042Z] The recommended git tool is: git [2023-05-18T04:03:18.098Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:03:18.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-18T04:03:18.098Z] c7904165f8b6: Preparing [2023-05-18T04:03:18.098Z] 83cc876a62a7: Preparing [2023-05-18T04:03:18.098Z] 982c034469fc: Preparing [2023-05-18T04:03:18.098Z] f98182b0208f: Preparing [2023-05-18T04:03:18.098Z] f1417ff83b31: Preparing [2023-05-18T04:03:18.098Z] f1417ff83b31: Layer already exists [2023-05-18T04:03:18.098Z] f98182b0208f: Pushed [2023-05-18T04:03:18.098Z] 982c034469fc: Pushed [2023-05-18T04:03:18.098Z] 83cc876a62a7: Pushed [2023-05-18T04:03:20.641Z] c7904165f8b6: Pushed [2023-05-18T04:03:20.898Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38: digest: sha256:2e0c7a67c917e4e8bb02ea0218c9d8c0e874c5c6b3b485df25280c19913b5cbc size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:21.208Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:21.521Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-05-18T04:03:21.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-18T04:03:21.521Z] c7904165f8b6: Preparing [2023-05-18T04:03:21.521Z] 83cc876a62a7: Preparing [2023-05-18T04:03:21.521Z] 982c034469fc: Preparing [2023-05-18T04:03:21.521Z] f98182b0208f: Preparing [2023-05-18T04:03:21.521Z] f1417ff83b31: Preparing [2023-05-18T04:03:21.521Z] c7904165f8b6: Layer already exists [2023-05-18T04:03:21.521Z] f98182b0208f: Layer already exists [2023-05-18T04:03:21.521Z] f1417ff83b31: Layer already exists [2023-05-18T04:03:21.521Z] 83cc876a62a7: Layer already exists [2023-05-18T04:03:21.521Z] 982c034469fc: Layer already exists [2023-05-18T04:03:21.521Z] latest: digest: sha256:2e0c7a67c917e4e8bb02ea0218c9d8c0e874c5c6b3b485df25280c19913b5cbc size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:21.837Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:22.152Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.28 [2023-05-18T04:03:22.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-18T04:03:22.152Z] c7904165f8b6: Preparing [2023-05-18T04:03:22.152Z] 83cc876a62a7: Preparing [2023-05-18T04:03:22.152Z] 982c034469fc: Preparing [2023-05-18T04:03:22.152Z] f98182b0208f: Preparing [2023-05-18T04:03:22.152Z] f1417ff83b31: Preparing [2023-05-18T04:03:22.152Z] 982c034469fc: Layer already exists [2023-05-18T04:03:22.152Z] f1417ff83b31: Layer already exists [2023-05-18T04:03:22.152Z] 83cc876a62a7: Layer already exists [2023-05-18T04:03:22.152Z] c7904165f8b6: Layer already exists [2023-05-18T04:03:22.152Z] f98182b0208f: Layer already exists [2023-05-18T04:03:22.152Z] 3.0.0-dev.28: digest: sha256:2e0c7a67c917e4e8bb02ea0218c9d8c0e874c5c6b3b485df25280c19913b5cbc size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:22.473Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:22.788Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:03:22.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-18T04:03:22.788Z] c7904165f8b6: Preparing [2023-05-18T04:03:22.788Z] 83cc876a62a7: Preparing [2023-05-18T04:03:22.788Z] 982c034469fc: Preparing [2023-05-18T04:03:22.788Z] f98182b0208f: Preparing [2023-05-18T04:03:22.788Z] f1417ff83b31: Preparing [2023-05-18T04:03:22.788Z] 83cc876a62a7: Layer already exists [2023-05-18T04:03:22.788Z] f98182b0208f: Layer already exists [2023-05-18T04:03:22.788Z] 982c034469fc: Layer already exists [2023-05-18T04:03:22.788Z] c7904165f8b6: Layer already exists [2023-05-18T04:03:22.788Z] f1417ff83b31: Layer already exists [2023-05-18T04:03:22.788Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28: digest: sha256:2e0c7a67c917e4e8bb02ea0218c9d8c0e874c5c6b3b485df25280c19913b5cbc size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:23.107Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:23.426Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-05-18T04:03:23.426Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-18T04:03:23.426Z] c7904165f8b6: Preparing [2023-05-18T04:03:23.426Z] 83cc876a62a7: Preparing [2023-05-18T04:03:23.426Z] 982c034469fc: Preparing [2023-05-18T04:03:23.426Z] f98182b0208f: Preparing [2023-05-18T04:03:23.426Z] f1417ff83b31: Preparing [2023-05-18T04:03:23.426Z] c7904165f8b6: Layer already exists [2023-05-18T04:03:23.426Z] f98182b0208f: Layer already exists [2023-05-18T04:03:23.426Z] f1417ff83b31: Layer already exists [2023-05-18T04:03:23.426Z] 83cc876a62a7: Layer already exists [2023-05-18T04:03:23.426Z] 982c034469fc: Layer already exists [2023-05-18T04:03:23.426Z] main: digest: sha256:2e0c7a67c917e4e8bb02ea0218c9d8c0e874c5c6b3b485df25280c19913b5cbc size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T04:03:23.479Z] ===================================================== [Pipeline] echo [2023-05-18T04:03:23.489Z] taggedImages: [2023-05-18T04:03:23.489Z] - nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:03:23.489Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-05-18T04:03:23.489Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.28 [2023-05-18T04:03:23.489Z] - nexus3.edgexfoundry.org:10004/device-gpio:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:03:23.489Z] - 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-05-18T04:03:23.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T04:03:23.883Z] [2023-05-18T04:03:23.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:23.947Z] using credential edgex-jenkins-ssh [2023-05-18T04:03:23.962Z] Cloning the remote Git repository [2023-05-18T04:03:24.014Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-05-18T04:03:24.119Z] > git init /w/workspace/device-gpio/82 # timeout=10 [2023-05-18T04:03:24.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T04:03:24.190Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-18T04:03:24.190Z] 5eb5b503b376: Pulling fs layer [2023-05-18T04:03:24.190Z] 5c69ac0246d0: Pulling fs layer [2023-05-18T04:03:24.190Z] ec43610c2a17: Pulling fs layer [2023-05-18T04:03:24.190Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-18T04:03:24.190Z] 33b1e0a273af: Pulling fs layer [2023-05-18T04:03:24.190Z] 5d3b04190fa2: Pulling fs layer [2023-05-18T04:03:24.190Z] 2f39f015ded8: Pulling fs layer [2023-05-18T04:03:24.190Z] 33b1e0a273af: Waiting [2023-05-18T04:03:24.190Z] 3a2ae6a8a46f: Waiting [2023-05-18T04:03:24.190Z] 5d3b04190fa2: Waiting [2023-05-18T04:03:24.190Z] 5c69ac0246d0: Verifying Checksum [2023-05-18T04:03:24.190Z] 5c69ac0246d0: Download complete [2023-05-18T04:03:24.190Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-18T04:03:24.190Z] 3a2ae6a8a46f: Download complete [2023-05-18T04:03:24.190Z] 33b1e0a273af: Verifying Checksum [2023-05-18T04:03:24.190Z] 33b1e0a273af: Download complete [2023-05-18T04:03:24.190Z] 5d3b04190fa2: Download complete [2023-05-18T04:03:24.190Z] ec43610c2a17: Verifying Checksum [2023-05-18T04:03:24.190Z] ec43610c2a17: Download complete [2023-05-18T04:03:24.446Z] 5eb5b503b376: Verifying Checksum [2023-05-18T04:03:24.447Z] 5eb5b503b376: Download complete [2023-05-18T04:03:25.020Z] 2f39f015ded8: Download complete [2023-05-18T04:03:24.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-05-18T04:03:24.277Z] > git --version # timeout=10 [2023-05-18T04:03:24.306Z] > git --version # 'git version 2.25.1' [2023-05-18T04:03:24.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-18T04:03:24.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T04:03:25.586Z] 5eb5b503b376: Pull complete [2023-05-18T04:03:25.586Z] 5c69ac0246d0: Pull complete [2023-05-18T04:03:26.151Z] ec43610c2a17: Pull complete [2023-05-18T04:03:26.151Z] 3a2ae6a8a46f: Pull complete [2023-05-18T04:03:26.410Z] 33b1e0a273af: Pull complete [2023-05-18T04:03:26.410Z] 5d3b04190fa2: Pull complete [2023-05-18T04:03:26.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-05-18T04:03:26.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T04:03:26.947Z] Avoid second fetch [2023-05-18T04:03:26.947Z] Checking out Revision 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 (main) [2023-05-18T04:03:27.561Z] Commit message: "Merge pull request #180 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92" [2023-05-18T04:03:27.841Z] [2023-05-18T04:03:27.841Z] GitHub has been notified of this commit’s build result [2023-05-18T04:03:27.841Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T04:03:26.977Z] > git config core.sparsecheckout # timeout=10 [2023-05-18T04:03:27.066Z] > git checkout -f 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 # timeout=10 [2023-05-18T04:03:28.389Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-18T04:03:28.389Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T04:03:28.389Z] Dload Upload Total Spent Left Speed [2023-05-18T04:03:28.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh [2023-05-18T04:03:29.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-18T04:03:29.405Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-18T04:03:29.405Z] + sudo tee /etc/docker/daemon.new [2023-05-18T04:03:29.405Z] { [2023-05-18T04:03:29.405Z] "registry-mirrors": [ [2023-05-18T04:03:29.405Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-18T04:03:29.405Z] ], [2023-05-18T04:03:29.405Z] "bip": "10.250.0.254/24", [2023-05-18T04:03:29.405Z] "hosts": [ [2023-05-18T04:03:29.405Z] "tcp://0.0.0.0:5555", [2023-05-18T04:03:29.405Z] "unix:///var/run/docker.sock" [2023-05-18T04:03:29.405Z] ], [2023-05-18T04:03:29.405Z] "mtu": 1458, [2023-05-18T04:03:29.405Z] "selinux-enabled": true, [2023-05-18T04:03:29.405Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-18T04:03:29.405Z] } [Pipeline] sh [2023-05-18T04:03:29.750Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-18T04:03:30.089Z] + sudo service docker restart [2023-05-18T04:03:30.597Z] 2f39f015ded8: Pull complete [2023-05-18T04:03:30.597Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-18T04:03:30.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T04:03:30.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:03:30.686Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:03:30.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T04:03:33.952Z] $ docker top 8ec65ee212ac005f7b50b9c07164f6c813eb3cc27f10326ed5dbf08b7f56ce8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:03:34.344Z] ---> job-cost.sh [2023-05-18T04:03:34.344Z] lf-activate-venv: SKIPPING [2023-05-18T04:03:34.344Z] INFO: No Stack... [2023-05-18T04:03:34.602Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T04:03:35.170Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T04:03:35.458Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-05-18T04:03:35.458Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T04:03:35.470Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [2023-05-18T04:03:35.476Z] Resource [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] did not exist. Created. [2023-05-18T04:03:35.476Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T04:03:35.782Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-18T04:03:35.809Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T04:03:35.815Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T04:03:35.842Z] $ docker stop --time=1 8ec65ee212ac005f7b50b9c07164f6c813eb3cc27f10326ed5dbf08b7f56ce8e [2023-05-18T04:03:37.071Z] $ docker rm -f --volumes 8ec65ee212ac005f7b50b9c07164f6c813eb3cc27f10326ed5dbf08b7f56ce8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T04:03:48.372Z] provisioning config files... [2023-05-18T04:03:48.398Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/82@tmp/config3955407207257020707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:03:48.757Z] ---> docker-login.sh [2023-05-18T04:03:48.757Z] nexus3.edgexfoundry.org:10001 [2023-05-18T04:03:49.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:49.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:49.297Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:49.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:49.297Z] [2023-05-18T04:03:49.297Z] Login Succeeded [2023-05-18T04:03:49.297Z] nexus3.edgexfoundry.org:10002 [2023-05-18T04:03:49.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:49.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:49.837Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:49.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:49.837Z] [2023-05-18T04:03:49.837Z] Login Succeeded [2023-05-18T04:03:49.837Z] nexus3.edgexfoundry.org:10003 [2023-05-18T04:03:50.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:50.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:50.107Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:50.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:50.107Z] [2023-05-18T04:03:50.107Z] Login Succeeded [2023-05-18T04:03:50.107Z] nexus3.edgexfoundry.org:10004 [2023-05-18T04:03:50.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:50.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:50.376Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:50.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:50.376Z] [2023-05-18T04:03:50.376Z] Login Succeeded [2023-05-18T04:03:50.376Z] docker.io [2023-05-18T04:03:50.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:03:50.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:03:50.915Z] Configure a credential helper to remove this warning. See [2023-05-18T04:03:50.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:03:50.915Z] [2023-05-18T04:03:50.915Z] Login Succeeded [2023-05-18T04:03:50.915Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T04:03:50.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T04:03:51.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:03:51.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:03:51.199Z] ========================================================= [2023-05-18T04:03:51.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-18T04:03:51.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:03:51.557Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-18T04:03:51.827Z] Sending build context to Docker daemon 8.148MB [2023-05-18T04:03:51.827Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T04:03:51.827Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-18T04:03:52.103Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-18T04:03:52.103Z] c41833b44d91: Pulling fs layer [2023-05-18T04:03:52.103Z] ed15518f5707: Pulling fs layer [2023-05-18T04:03:52.103Z] feae8fd75edb: Pulling fs layer [2023-05-18T04:03:52.103Z] 242c74f7c9fa: Pulling fs layer [2023-05-18T04:03:52.103Z] 3cdef696dda3: Pulling fs layer [2023-05-18T04:03:52.103Z] 2ced38df9373: Pulling fs layer [2023-05-18T04:03:52.103Z] 58f1dce35555: Pulling fs layer [2023-05-18T04:03:52.103Z] 3cdef696dda3: Waiting [2023-05-18T04:03:52.103Z] 2ced38df9373: Waiting [2023-05-18T04:03:52.103Z] 242c74f7c9fa: Waiting [2023-05-18T04:03:52.103Z] 58f1dce35555: Waiting [2023-05-18T04:03:52.103Z] ed15518f5707: Verifying Checksum [2023-05-18T04:03:52.103Z] ed15518f5707: Download complete [2023-05-18T04:03:52.103Z] 242c74f7c9fa: Verifying Checksum [2023-05-18T04:03:52.103Z] 242c74f7c9fa: Download complete [2023-05-18T04:03:52.103Z] 3cdef696dda3: Verifying Checksum [2023-05-18T04:03:52.103Z] 3cdef696dda3: Download complete [2023-05-18T04:03:52.103Z] c41833b44d91: Verifying Checksum [2023-05-18T04:03:53.530Z] c41833b44d91: Pull complete [2023-05-18T04:03:53.530Z] 58f1dce35555: Verifying Checksum [2023-05-18T04:03:53.530Z] 58f1dce35555: Download complete [2023-05-18T04:03:53.807Z] ed15518f5707: Pull complete [2023-05-18T04:03:54.779Z] feae8fd75edb: Verifying Checksum [2023-05-18T04:03:54.779Z] feae8fd75edb: Download complete [2023-05-18T04:03:54.779Z] 2ced38df9373: Verifying Checksum [2023-05-18T04:03:54.779Z] 2ced38df9373: Download complete [2023-05-18T04:04:07.107Z] feae8fd75edb: Pull complete [2023-05-18T04:04:07.107Z] 242c74f7c9fa: Pull complete [2023-05-18T04:04:07.107Z] 3cdef696dda3: Pull complete [2023-05-18T04:04:12.466Z] 2ced38df9373: Pull complete [2023-05-18T04:04:15.944Z] 58f1dce35555: Pull complete [2023-05-18T04:04:15.944Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-18T04:04:15.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-18T04:04:15.944Z] ---> fadd8f120f05 [2023-05-18T04:04:15.944Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-18T04:04:17.925Z] ---> Running in 28ccd61e98f5 [2023-05-18T04:04:18.192Z] Removing intermediate container 28ccd61e98f5 [2023-05-18T04:04:18.192Z] ---> ec3e1309c62f [2023-05-18T04:04:18.192Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T04:04:18.192Z] ---> Running in 18c76a800e39 [2023-05-18T04:04:18.463Z] Removing intermediate container 18c76a800e39 [2023-05-18T04:04:18.463Z] ---> fc6765fdd571 [2023-05-18T04:04:18.463Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-18T04:04:18.463Z] ---> Running in 1971b1571fff [2023-05-18T04:04:18.731Z] Removing intermediate container 1971b1571fff [2023-05-18T04:04:18.731Z] ---> 8a40b48b254c [2023-05-18T04:04:18.731Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T04:04:19.008Z] ---> Running in 5378702bd73e [2023-05-18T04:04:19.278Z] Removing intermediate container 5378702bd73e [2023-05-18T04:04:19.278Z] ---> 4d9fbf6ad817 [2023-05-18T04:04:19.278Z] Step 7/12 : WORKDIR /device-gpio [2023-05-18T04:04:19.278Z] ---> Running in b748f6d4cb8d [2023-05-18T04:04:19.547Z] Removing intermediate container b748f6d4cb8d [2023-05-18T04:04:19.547Z] ---> 82d61d8d6cd0 [2023-05-18T04:04:19.547Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T04:04:19.547Z] ---> Running in 409593cfee42 [2023-05-18T04:04:20.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T04:04:21.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T04:04:22.197Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-18T04:04:22.197Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-18T04:04:22.197Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-18T04:04:22.197Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-18T04:04:22.465Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T04:04:22.465Z] OK: 268 MiB in 57 packages [2023-05-18T04:04:23.429Z] Removing intermediate container 409593cfee42 [2023-05-18T04:04:23.429Z] ---> 42aa9fa2347c [2023-05-18T04:04:23.429Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-18T04:04:24.017Z] ---> 264c1c0ec032 [2023-05-18T04:04:24.017Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T04:04:24.017Z] ---> Running in fe557869f7bb [2023-05-18T04:05:31.939Z] Removing intermediate container fe557869f7bb [2023-05-18T04:05:31.939Z] ---> 98b06b27dba4 [2023-05-18T04:05:31.939Z] Step 11/12 : COPY . . [2023-05-18T04:05:31.939Z] ---> cb97ea85877f [2023-05-18T04:05:31.939Z] Step 12/12 : RUN ${MAKE} [2023-05-18T04:05:31.939Z] ---> Running in 90966f9dbf74 [2023-05-18T04:05:31.939Z] noop [2023-05-18T04:05:31.939Z] Removing intermediate container 90966f9dbf74 [2023-05-18T04:05:31.939Z] ---> eb2f0d9914ab [2023-05-18T04:05:31.939Z] Successfully built eb2f0d9914ab [2023-05-18T04:05:31.939Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:05:32.295Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T04:05:32.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:05:32.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-15990 does not seem to be running inside a container [2023-05-18T04:05:32.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/82 -v /w/workspace/device-gpio/82:/w/workspace/device-gpio/82:rw,z -v /w/workspace/device-gpio/82@tmp:/w/workspace/device-gpio/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T04:05:33.758Z] $ docker top 5caddfb130fdc90a64ef16211132e2d70bd206d619f2d4c87d1573738fbaad30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T04:05:34.598Z] + go version [2023-05-18T04:05:34.598Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-18T04:05:34.620Z] $ docker stop --time=1 5caddfb130fdc90a64ef16211132e2d70bd206d619f2d4c87d1573738fbaad30 [2023-05-18T04:05:36.254Z] $ docker rm -f --volumes 5caddfb130fdc90a64ef16211132e2d70bd206d619f2d4c87d1573738fbaad30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:05:36.816Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T04:05:36.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:05:36.999Z] prd-ubuntu20.04-docker-arm64-4c-16g-15990 does not seem to be running inside a container [2023-05-18T04:05:37.070Z] $ 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/82 -v /w/workspace/device-gpio/82:/w/workspace/device-gpio/82:rw,z -v /w/workspace/device-gpio/82@tmp:/w/workspace/device-gpio/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T04:05:38.215Z] $ docker top 6043efcb19f32bc2abbb961ecec2a4ceaf590e97d600e0f91d8abd705e891a3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T04:05:38.731Z] + git config --global --add safe.directory /w/workspace/device-gpio/82 [Pipeline] fileExists [Pipeline] sh [2023-05-18T04:05:39.387Z] + make test [2023-05-18T04:05:39.387Z] go test ./... -coverprofile=coverage.out ./... [2023-05-18T04:06:11.656Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-05-18T04:08:03.378Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-05-18T04:08:03.378Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-05-18T04:08:03.378Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-18T04:08:03.378Z] go vet ./... [2023-05-18T04:08:30.084Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T04:08:30.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T04:08:30.084Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T04:08:30.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T04:08:30.121Z] $ docker stop --time=1 6043efcb19f32bc2abbb961ecec2a4ceaf590e97d600e0f91d8abd705e891a3f [2023-05-18T04:08:32.940Z] $ docker rm -f --volumes 6043efcb19f32bc2abbb961ecec2a4ceaf590e97d600e0f91d8abd705e891a3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T04:08:34.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T04:08:34.077Z] Warning: overwriting stash ‘coverage-report’ [2023-05-18T04:08:34.489Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T04:08:34.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T04:08:35.164Z] + ls -al . [2023-05-18T04:08:35.164Z] total 152 [2023-05-18T04:08:35.164Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:05 . [2023-05-18T04:08:35.164Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:03 .. [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 120 May 18 04:03 .dockerignore [2023-05-18T04:08:35.164Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:03 .git [2023-05-18T04:08:35.164Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 .github [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 343 May 18 04:03 .gitignore [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 41 May 18 04:03 .golangci.yml [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 9702 May 18 04:03 Attribution.txt [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 4069 May 18 04:03 CHANGELOG.md [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 1542 May 18 04:03 Dockerfile [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 04:03 GOVERNANCE.md [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 657 May 18 04:03 Jenkinsfile [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 04:03 LICENSE [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 1692 May 18 04:03 Makefile [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 617 May 18 04:03 OWNERS.md [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 11790 May 18 04:03 README.md [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 04:01 VERSION [2023-05-18T04:08:35.164Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 04:03 bin [2023-05-18T04:08:35.164Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 cmd [2023-05-18T04:08:35.164Z] -rw-r--r-- 1 jenkins jenkins 10 May 18 04:05 coverage.out [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 3269 May 18 04:03 go.mod [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 31585 May 18 04:03 go.sum [2023-05-18T04:08:35.164Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 internal [2023-05-18T04:08:35.164Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:03 snap [2023-05-18T04:08:35.164Z] -rw-rw-r-- 1 jenkins jenkins 209 May 18 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:08:35.500Z] + 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=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 --label arch=arm64 --label version=3.0.0-dev.28 . [2023-05-18T04:08:35.767Z] Sending build context to Docker daemon 8.149MB [2023-05-18T04:08:35.767Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T04:08:35.767Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-18T04:08:35.767Z] ---> eb2f0d9914ab [2023-05-18T04:08:35.767Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-18T04:08:36.037Z] ---> Running in e8ad0cf0d5a6 [2023-05-18T04:08:36.306Z] Removing intermediate container e8ad0cf0d5a6 [2023-05-18T04:08:36.306Z] ---> f4e9937d28ac [2023-05-18T04:08:36.306Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T04:08:36.306Z] ---> Running in e30d20bfb405 [2023-05-18T04:08:36.576Z] Removing intermediate container e30d20bfb405 [2023-05-18T04:08:36.576Z] ---> dd2a04edb7ca [2023-05-18T04:08:36.576Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-18T04:08:36.843Z] ---> Running in 6640588d8235 [2023-05-18T04:08:37.113Z] Removing intermediate container 6640588d8235 [2023-05-18T04:08:37.113Z] ---> 4bacd035423f [2023-05-18T04:08:37.113Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T04:08:37.113Z] ---> Running in 02aa59ea8a21 [2023-05-18T04:08:37.380Z] Removing intermediate container 02aa59ea8a21 [2023-05-18T04:08:37.380Z] ---> ef0be3b52873 [2023-05-18T04:08:37.380Z] Step 7/25 : WORKDIR /device-gpio [2023-05-18T04:08:37.380Z] ---> Running in 3dd073f703ad [2023-05-18T04:08:37.972Z] Removing intermediate container 3dd073f703ad [2023-05-18T04:08:37.972Z] ---> e1b86e661569 [2023-05-18T04:08:37.972Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T04:08:37.972Z] ---> Running in 2ddff37b22fe [2023-05-18T04:08:38.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T04:08:39.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T04:08:40.494Z] OK: 268 MiB in 57 packages [2023-05-18T04:08:41.457Z] Removing intermediate container 2ddff37b22fe [2023-05-18T04:08:41.457Z] ---> ce934d34599f [2023-05-18T04:08:41.457Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-18T04:08:41.737Z] ---> b0bd2a50b56b [2023-05-18T04:08:41.737Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T04:08:42.005Z] ---> Running in b38a7b45963b [2023-05-18T04:08:44.601Z] Removing intermediate container b38a7b45963b [2023-05-18T04:08:44.601Z] ---> eef9974b49ba [2023-05-18T04:08:44.601Z] Step 11/25 : COPY . . [2023-05-18T04:08:45.576Z] ---> 0a88001d8a92 [2023-05-18T04:08:45.576Z] Step 12/25 : RUN ${MAKE} [2023-05-18T04:08:45.576Z] ---> Running in e4ee14a4e806 [2023-05-18T04:08:46.541Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-05-18T04:11:08.284Z] Removing intermediate container e4ee14a4e806 [2023-05-18T04:11:08.284Z] ---> 5d04d2d5998f [2023-05-18T04:11:08.284Z] Step 13/25 : FROM alpine:3.17 [2023-05-18T04:11:08.284Z] 3.17: Pulling from library/alpine [2023-05-18T04:11:08.284Z] c41833b44d91: Already exists [2023-05-18T04:11:08.284Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T04:11:08.284Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T04:11:08.284Z] ---> 51e60588ff2c [2023-05-18T04:11:08.284Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-05-18T04:11:08.284Z] ---> Running in af48a930d882 [2023-05-18T04:11:08.284Z] Removing intermediate container af48a930d882 [2023-05-18T04:11:08.284Z] ---> 62bb64359fcf [2023-05-18T04:11:08.284Z] Step 15/25 : RUN apk add --update --no-cache [2023-05-18T04:11:08.284Z] ---> Running in cb2355ee0d44 [2023-05-18T04:11:08.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T04:11:08.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T04:11:08.284Z] OK: 7 MiB in 15 packages [2023-05-18T04:11:08.284Z] Removing intermediate container cb2355ee0d44 [2023-05-18T04:11:08.284Z] ---> f7308d8636a1 [2023-05-18T04:11:08.284Z] Step 16/25 : WORKDIR / [2023-05-18T04:11:08.284Z] ---> Running in c7bf8c7651b7 [2023-05-18T04:11:08.284Z] Removing intermediate container c7bf8c7651b7 [2023-05-18T04:11:08.284Z] ---> fe905f24f43f [2023-05-18T04:11:08.284Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-05-18T04:11:08.284Z] ---> b938329c7720 [2023-05-18T04:11:08.284Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-05-18T04:11:08.284Z] ---> 34927afbbf74 [2023-05-18T04:11:08.284Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-05-18T04:11:08.284Z] ---> 9231397de894 [2023-05-18T04:11:08.284Z] Step 20/25 : EXPOSE 59910 [2023-05-18T04:11:08.284Z] ---> Running in d5672cd3cad2 [2023-05-18T04:11:08.284Z] Removing intermediate container d5672cd3cad2 [2023-05-18T04:11:08.284Z] ---> 4a3308cfe354 [2023-05-18T04:11:08.284Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-05-18T04:11:08.284Z] ---> Running in b6e6b8a4f937 [2023-05-18T04:11:08.284Z] Removing intermediate container b6e6b8a4f937 [2023-05-18T04:11:08.284Z] ---> 55ea0cbe0b4d [2023-05-18T04:11:08.284Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T04:11:08.284Z] ---> Running in acb11544eaeb [2023-05-18T04:11:08.284Z] Removing intermediate container acb11544eaeb [2023-05-18T04:11:08.284Z] ---> 8377bbbe67ea [2023-05-18T04:11:08.284Z] Step 23/25 : LABEL arch=arm64 [2023-05-18T04:11:08.284Z] ---> Running in dc99451b0659 [2023-05-18T04:11:08.284Z] Removing intermediate container dc99451b0659 [2023-05-18T04:11:08.284Z] ---> 301fa305eb38 [2023-05-18T04:11:08.284Z] Step 24/25 : LABEL git_sha=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:11:08.284Z] ---> Running in f04086995515 [2023-05-18T04:11:08.284Z] Removing intermediate container f04086995515 [2023-05-18T04:11:08.284Z] ---> 056e1866f2b6 [2023-05-18T04:11:08.284Z] Step 25/25 : LABEL version=3.0.0-dev.28 [2023-05-18T04:11:08.284Z] ---> Running in 4423db10bff2 [2023-05-18T04:11:08.284Z] Removing intermediate container 4423db10bff2 [2023-05-18T04:11:08.284Z] ---> f582bde735e7 [2023-05-18T04:11:08.284Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T04:11:08.284Z] Successfully built f582bde735e7 [2023-05-18T04:11:08.284Z] 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-05-18T04:11:08.406Z] provisioning config files... [2023-05-18T04:11:08.421Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/82@tmp/config534376746329022120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:11:08.766Z] ---> docker-login.sh [2023-05-18T04:11:08.766Z] nexus3.edgexfoundry.org:10001 [2023-05-18T04:11:08.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:11:09.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:11:09.037Z] Configure a credential helper to remove this warning. See [2023-05-18T04:11:09.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:11:09.037Z] [2023-05-18T04:11:09.037Z] Login Succeeded [2023-05-18T04:11:09.037Z] nexus3.edgexfoundry.org:10002 [2023-05-18T04:11:09.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:11:09.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:11:09.305Z] Configure a credential helper to remove this warning. See [2023-05-18T04:11:09.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:11:09.305Z] [2023-05-18T04:11:09.305Z] Login Succeeded [2023-05-18T04:11:09.305Z] nexus3.edgexfoundry.org:10003 [2023-05-18T04:11:09.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:11:09.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:11:09.844Z] Configure a credential helper to remove this warning. See [2023-05-18T04:11:09.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:11:09.844Z] [2023-05-18T04:11:09.844Z] Login Succeeded [2023-05-18T04:11:09.844Z] nexus3.edgexfoundry.org:10004 [2023-05-18T04:11:10.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:11:10.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:11:10.112Z] Configure a credential helper to remove this warning. See [2023-05-18T04:11:10.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:11:10.112Z] [2023-05-18T04:11:10.112Z] Login Succeeded [2023-05-18T04:11:10.112Z] docker.io [2023-05-18T04:11:10.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T04:11:10.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T04:11:10.647Z] Configure a credential helper to remove this warning. See [2023-05-18T04:11:10.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T04:11:10.647Z] [2023-05-18T04:11:10.647Z] Login Succeeded [2023-05-18T04:11:10.647Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T04:11:10.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T04:11:10.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T04:11:10.725Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-05-18T04:11:10.725Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:11:10.725Z] latest [2023-05-18T04:11:10.725Z] 3.0.0-dev.28 [2023-05-18T04:11:10.725Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:11:10.725Z] main [2023-05-18T04:11:10.725Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:11.083Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:11.429Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:11:11.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-18T04:11:11.429Z] cf28ce2ee0a7: Preparing [2023-05-18T04:11:11.429Z] 2b268bc54302: Preparing [2023-05-18T04:11:11.429Z] e35a0be6562a: Preparing [2023-05-18T04:11:11.429Z] 34cd7318acc6: Preparing [2023-05-18T04:11:11.429Z] 26cbea5cba74: Preparing [2023-05-18T04:11:11.429Z] 26cbea5cba74: Layer already exists [2023-05-18T04:11:11.698Z] 2b268bc54302: Pushed [2023-05-18T04:11:11.698Z] e35a0be6562a: Pushed [2023-05-18T04:11:11.698Z] 34cd7318acc6: Pushed [2023-05-18T04:11:17.038Z] cf28ce2ee0a7: Pushed [2023-05-18T04:11:17.307Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38: digest: sha256:a59ddf1b0c7e9d5547e44a33976a0945de735a40a956b6cc7db0b6d56ee984bf size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:17.654Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:17.997Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-05-18T04:11:17.997Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-18T04:11:17.997Z] cf28ce2ee0a7: Preparing [2023-05-18T04:11:17.997Z] 2b268bc54302: Preparing [2023-05-18T04:11:17.997Z] e35a0be6562a: Preparing [2023-05-18T04:11:17.997Z] 34cd7318acc6: Preparing [2023-05-18T04:11:17.997Z] 26cbea5cba74: Preparing [2023-05-18T04:11:17.997Z] 2b268bc54302: Layer already exists [2023-05-18T04:11:17.997Z] e35a0be6562a: Layer already exists [2023-05-18T04:11:17.997Z] cf28ce2ee0a7: Layer already exists [2023-05-18T04:11:17.997Z] 26cbea5cba74: Layer already exists [2023-05-18T04:11:17.997Z] 34cd7318acc6: Layer already exists [2023-05-18T04:11:18.266Z] latest: digest: sha256:a59ddf1b0c7e9d5547e44a33976a0945de735a40a956b6cc7db0b6d56ee984bf size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:18.608Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:18.949Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.28 [2023-05-18T04:11:18.950Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-18T04:11:18.950Z] cf28ce2ee0a7: Preparing [2023-05-18T04:11:18.950Z] 2b268bc54302: Preparing [2023-05-18T04:11:18.950Z] e35a0be6562a: Preparing [2023-05-18T04:11:18.950Z] 34cd7318acc6: Preparing [2023-05-18T04:11:18.950Z] 26cbea5cba74: Preparing [2023-05-18T04:11:18.950Z] 34cd7318acc6: Layer already exists [2023-05-18T04:11:18.950Z] e35a0be6562a: Layer already exists [2023-05-18T04:11:18.950Z] 26cbea5cba74: Layer already exists [2023-05-18T04:11:18.950Z] cf28ce2ee0a7: Layer already exists [2023-05-18T04:11:18.950Z] 2b268bc54302: Layer already exists [2023-05-18T04:11:18.950Z] 3.0.0-dev.28: digest: sha256:a59ddf1b0c7e9d5547e44a33976a0945de735a40a956b6cc7db0b6d56ee984bf size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:19.377Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:19.739Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:11:19.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-18T04:11:19.739Z] cf28ce2ee0a7: Preparing [2023-05-18T04:11:19.739Z] 2b268bc54302: Preparing [2023-05-18T04:11:19.739Z] e35a0be6562a: Preparing [2023-05-18T04:11:19.739Z] 34cd7318acc6: Preparing [2023-05-18T04:11:19.739Z] 26cbea5cba74: Preparing [2023-05-18T04:11:19.739Z] cf28ce2ee0a7: Layer already exists [2023-05-18T04:11:19.739Z] 34cd7318acc6: Layer already exists [2023-05-18T04:11:19.739Z] 26cbea5cba74: Layer already exists [2023-05-18T04:11:19.739Z] e35a0be6562a: Layer already exists [2023-05-18T04:11:19.739Z] 2b268bc54302: Layer already exists [2023-05-18T04:11:19.739Z] 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28: digest: sha256:a59ddf1b0c7e9d5547e44a33976a0945de735a40a956b6cc7db0b6d56ee984bf size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:20.097Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:20.453Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-05-18T04:11:20.453Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-18T04:11:20.453Z] cf28ce2ee0a7: Preparing [2023-05-18T04:11:20.453Z] 2b268bc54302: Preparing [2023-05-18T04:11:20.453Z] e35a0be6562a: Preparing [2023-05-18T04:11:20.453Z] 34cd7318acc6: Preparing [2023-05-18T04:11:20.453Z] 26cbea5cba74: Preparing [2023-05-18T04:11:20.453Z] 26cbea5cba74: Layer already exists [2023-05-18T04:11:20.453Z] 34cd7318acc6: Layer already exists [2023-05-18T04:11:20.453Z] e35a0be6562a: Layer already exists [2023-05-18T04:11:20.453Z] cf28ce2ee0a7: Layer already exists [2023-05-18T04:11:20.453Z] 2b268bc54302: Layer already exists [2023-05-18T04:11:20.453Z] main: digest: sha256:a59ddf1b0c7e9d5547e44a33976a0945de735a40a956b6cc7db0b6d56ee984bf size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T04:11:20.778Z] ===================================================== [Pipeline] echo [2023-05-18T04:11:20.785Z] taggedImages: [2023-05-18T04:11:20.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [2023-05-18T04:11:20.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-05-18T04:11:20.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.28 [2023-05-18T04:11:20.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3c1f7bd23bc5ef1470c76ac430e20867f10a2b38-3.0.0-dev.28 [2023-05-18T04:11:20.785Z] - 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-05-18T04:11:21.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T04:11:21.167Z] [2023-05-18T04:11:21.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:21.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T04:11:21.513Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-18T04:11:21.513Z] 8998bd30e6a1: Pulling fs layer [2023-05-18T04:11:21.513Z] 04944245beec: Pulling fs layer [2023-05-18T04:11:21.513Z] 699f458cf7ca: Pulling fs layer [2023-05-18T04:11:21.513Z] 765212b225bb: Pulling fs layer [2023-05-18T04:11:21.513Z] f23df028b6ca: Pulling fs layer [2023-05-18T04:11:21.513Z] d65c8cfc05b1: Pulling fs layer [2023-05-18T04:11:21.513Z] 2437ff75d9bd: Pulling fs layer [2023-05-18T04:11:21.513Z] f23df028b6ca: Waiting [2023-05-18T04:11:21.513Z] d65c8cfc05b1: Waiting [2023-05-18T04:11:21.513Z] 2437ff75d9bd: Waiting [2023-05-18T04:11:21.513Z] 765212b225bb: Waiting [2023-05-18T04:11:21.783Z] 04944245beec: Verifying Checksum [2023-05-18T04:11:21.783Z] 04944245beec: Download complete [2023-05-18T04:11:21.783Z] 765212b225bb: Verifying Checksum [2023-05-18T04:11:21.783Z] 765212b225bb: Download complete [2023-05-18T04:11:21.783Z] f23df028b6ca: Verifying Checksum [2023-05-18T04:11:21.783Z] f23df028b6ca: Download complete [2023-05-18T04:11:21.783Z] d65c8cfc05b1: Verifying Checksum [2023-05-18T04:11:21.783Z] d65c8cfc05b1: Download complete [2023-05-18T04:11:22.050Z] 699f458cf7ca: Verifying Checksum [2023-05-18T04:11:22.050Z] 699f458cf7ca: Download complete [2023-05-18T04:11:22.318Z] 8998bd30e6a1: Verifying Checksum [2023-05-18T04:11:22.318Z] 8998bd30e6a1: Download complete [2023-05-18T04:11:24.266Z] 2437ff75d9bd: Verifying Checksum [2023-05-18T04:11:24.266Z] 2437ff75d9bd: Download complete [2023-05-18T04:11:26.213Z] 8998bd30e6a1: Pull complete [2023-05-18T04:11:26.795Z] 04944245beec: Pull complete [2023-05-18T04:11:27.753Z] 699f458cf7ca: Pull complete [2023-05-18T04:11:28.020Z] 765212b225bb: Pull complete [2023-05-18T04:11:28.978Z] f23df028b6ca: Pull complete [2023-05-18T04:11:28.978Z] d65c8cfc05b1: Pull complete [2023-05-18T04:11:41.281Z] 2437ff75d9bd: Pull complete [2023-05-18T04:11:41.281Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-18T04:11:41.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T04:11:41.281Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:11:41.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-15990 does not seem to be running inside a container [2023-05-18T04:11:41.556Z] $ 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/82 -v /w/workspace/device-gpio/82:/w/workspace/device-gpio/82:rw,z -v /w/workspace/device-gpio/82@tmp:/w/workspace/device-gpio/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-18T04:11:44.185Z] $ docker top b4b5f8ce7836c1b58e3b2dd3c6a7727a9bd962d506752c65bf3972f1e46bb235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:11:45.042Z] ---> job-cost.sh [2023-05-18T04:11:45.042Z] lf-activate-venv: SKIPPING [2023-05-18T04:11:45.042Z] INFO: No Stack... [2023-05-18T04:11:45.627Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-18T04:11:46.587Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T04:11:47.231Z] + cat /w/workspace/device-gpio/82/archives/cost.csv [2023-05-18T04:11:47.231Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T04:11:47.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [2023-05-18T04:11:47.305Z] Resource [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] did not exist. Created. [2023-05-18T04:11:47.305Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T04:11:47.642Z] /w/workspace/device-gpio/82@tmp/durable-90c62cb9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-18T04:11:48.261Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-18T04:11:48.279Z] Warning: overwriting stash ‘stack-cost’ [2023-05-18T04:11:48.329Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T04:11:48.339Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T04:11:48.366Z] $ docker stop --time=1 b4b5f8ce7836c1b58e3b2dd3c6a7727a9bd962d506752c65bf3972f1e46bb235 [2023-05-18T04:11:49.854Z] $ docker rm -f --volumes b4b5f8ce7836c1b58e3b2dd3c6a7727a9bd962d506752c65bf3972f1e46bb235 [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-05-18T04:11:50.278Z] provisioning config files... [2023-05-18T04:11:50.287Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12794201444594211895tmp [Pipeline] { [Pipeline] sh [2023-05-18T04:11:50.584Z] + set +x [2023-05-18T04:11:50.584Z] + bash -s -- [2023-05-18T04:11:50.584Z] + curl -s https://codecov.io/bash [2023-05-18T04:11:50.584Z] [2023-05-18T04:11:50.584Z] _____ _ [2023-05-18T04:11:50.584Z] / ____| | | [2023-05-18T04:11:50.584Z] | | ___ __| | ___ ___ _____ __ [2023-05-18T04:11:50.584Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-18T04:11:50.584Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-18T04:11:50.584Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-18T04:11:50.584Z] Bash-1.0.6 [2023-05-18T04:11:50.584Z] [2023-05-18T04:11:50.584Z] [2023-05-18T04:11:50.584Z] ==> git version 2.25.1 found [2023-05-18T04:11:50.584Z] ==> 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-05-18T04:11:50.584Z] Release-Date: 2020-01-08 [2023-05-18T04:11:50.584Z] 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-05-18T04:11:50.585Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-18T04:11:50.585Z] ==> Jenkins CI detected. [2023-05-18T04:11:50.585Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-05-18T04:11:50.585Z] project root: . [2023-05-18T04:11:50.585Z] --> token set from env [2023-05-18T04:11:50.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-18T04:11:50.585Z] ==> Running gcov in . (disable via -X gcov) [2023-05-18T04:11:50.585Z] ==> Python coveragepy not found [2023-05-18T04:11:50.585Z] ==> Searching for coverage reports in: [2023-05-18T04:11:50.585Z] + . [2023-05-18T04:11:50.585Z] -> Found 1 reports [2023-05-18T04:11:50.585Z] ==> Detecting git/mercurial file structure [2023-05-18T04:11:50.585Z] ==> Reading reports [2023-05-18T04:11:50.585Z] + ./coverage.out bytes=10 [2023-05-18T04:11:50.585Z] ==> Appending adjustments [2023-05-18T04:11:50.585Z] https://docs.codecov.io/docs/fixing-reports [2023-05-18T04:11:50.844Z] + Found adjustments [2023-05-18T04:11:50.844Z] ==> Gzipping contents [2023-05-18T04:11:50.844Z] 4.0K /tmp/codecov.INutm1.gz [2023-05-18T04:11:50.844Z] ==> Uploading reports [2023-05-18T04:11:50.844Z] url: https://codecov.io [2023-05-18T04:11:50.844Z] query: branch=main&commit=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-18T04:11:50.844Z] -> Pinging Codecov [2023-05-18T04:11:50.844Z] 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=3c1f7bd23bc5ef1470c76ac430e20867f10a2b38&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-18T04:11:50.844Z] -> Uploading to [2023-05-18T04:11:50.844Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/3c1f7bd23bc5ef1470c76ac430e20867f10a2b38/2c3f79c6-afff-4754-b963-880dff45c95f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T041150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c6d82898b495169973e5606771ca0a3302ccab3bf1a27c1cc2c81bbff4fb10b [2023-05-18T04:11:50.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T04:11:50.844Z] Dload Upload Total Spent Left Speed [2023-05-18T04:11:51.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3934 --:--:-- --:--:-- --:--:-- 3934 [2023-05-18T04:11:51.103Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] } [2023-05-18T04:11:51.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-18T04:11:51.358Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-18T04:11:51.375Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:51.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T04:11:51.681Z] [2023-05-18T04:11:51.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:11:51.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T04:11:51.982Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-18T04:11:51.982Z] df9b9388f04a: Pulling fs layer [2023-05-18T04:11:51.982Z] 52dc419b0ee2: Pulling fs layer [2023-05-18T04:11:51.982Z] 25bc292e5bac: Pulling fs layer [2023-05-18T04:11:51.982Z] 114826534d7a: Pulling fs layer [2023-05-18T04:11:51.982Z] 4657fd5d0bcf: Pulling fs layer [2023-05-18T04:11:51.982Z] 6ad1cebc031e: Pulling fs layer [2023-05-18T04:11:51.982Z] 8a3aa393b2d8: Pulling fs layer [2023-05-18T04:11:51.982Z] 114826534d7a: Waiting [2023-05-18T04:11:51.982Z] 4657fd5d0bcf: Waiting [2023-05-18T04:11:51.982Z] 6ad1cebc031e: Waiting [2023-05-18T04:11:51.982Z] 8a3aa393b2d8: Waiting [2023-05-18T04:11:51.982Z] 25bc292e5bac: Verifying Checksum [2023-05-18T04:11:51.982Z] 25bc292e5bac: Download complete [2023-05-18T04:11:51.982Z] 52dc419b0ee2: Download complete [2023-05-18T04:11:51.982Z] 4657fd5d0bcf: Download complete [2023-05-18T04:11:51.982Z] df9b9388f04a: Download complete [2023-05-18T04:11:52.241Z] df9b9388f04a: Pull complete [2023-05-18T04:11:52.241Z] 6ad1cebc031e: Verifying Checksum [2023-05-18T04:11:52.242Z] 6ad1cebc031e: Download complete [2023-05-18T04:11:52.242Z] 52dc419b0ee2: Pull complete [2023-05-18T04:11:52.501Z] 25bc292e5bac: Pull complete [2023-05-18T04:11:53.082Z] 114826534d7a: Verifying Checksum [2023-05-18T04:11:53.082Z] 114826534d7a: Download complete [2023-05-18T04:11:53.082Z] 8a3aa393b2d8: Verifying Checksum [2023-05-18T04:11:53.082Z] 8a3aa393b2d8: Download complete [2023-05-18T04:11:56.361Z] 114826534d7a: Pull complete [2023-05-18T04:11:56.361Z] 4657fd5d0bcf: Pull complete [2023-05-18T04:11:56.620Z] 6ad1cebc031e: Pull complete [2023-05-18T04:11:59.147Z] 8a3aa393b2d8: Pull complete [2023-05-18T04:11:59.147Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-18T04:11:59.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T04:11:59.147Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:11:59.228Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:11:59.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-18T04:12:04.163Z] $ docker top 4d4bf98eeb9b4beb9f056da9eae2c0b315db7d6edb9dc1d0220303f38ff630cc -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-18T04:12:04.220Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-05-18T04:12:12.515Z] + set -o pipefail [2023-05-18T04:12:12.515Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-05-18T04:12:15.803Z] [2023-05-18T04:12:15.803Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-05-18T04:12:15.803Z] [2023-05-18T04:12:15.803Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/114bf2ac-1b2f-4897-86da-c54373465291 [2023-05-18T04:12:15.803Z] [2023-05-18T04:12:15.803Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-18T04:12:15.803Z] [2023-05-18T04:12:15.803Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-18T04:12:15.803Z] [2023-05-18T04:12:16.371Z] [2023-05-18T04:12:16.371Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-18T04:12:16.371Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-18T04:12:16.371Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-18T04:12:16.392Z] $ docker stop --time=1 4d4bf98eeb9b4beb9f056da9eae2c0b315db7d6edb9dc1d0220303f38ff630cc [2023-05-18T04:12:18.960Z] $ docker rm -f --volumes 4d4bf98eeb9b4beb9f056da9eae2c0b315db7d6edb9dc1d0220303f38ff630cc [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-05-18T04:12:19.683Z] + git log --format=format:%s -1 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 [Pipeline] sh [2023-05-18T04:12:19.975Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T04:12:19.975Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:20.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:12:20.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:12:20.340Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:12:20.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T04:12:20.851Z] $ docker top dda971220e9f008de2615553f93bb47c5d1718063ae3f4276fc2bd2e4d0342be -eo pid,comm [2023-05-18T04:12:20.899Z] 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-05-18T04:12:20.899Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T04:12:20.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T04:12:20.944Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T04:12:21.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T04:12:21.056Z] $ docker exec dda971220e9f008de2615553f93bb47c5d1718063ae3f4276fc2bd2e4d0342be ssh-agent [2023-05-18T04:12:21.157Z] SSH_AUTH_SOCK=/tmp/ssh-Ofmz3d4dJTFt/agent.31 [2023-05-18T04:12:21.157Z] SSH_AGENT_PID=37 [2023-05-18T04:12:21.163Z] Running ssh-add (command line suppressed) [2023-05-18T04:12:21.278Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3242991234269504466.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3242991234269504466.key) [2023-05-18T04:12:21.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T04:12:21.574Z] + git semver tag [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,754 [run_tag] DEBUG tag force:False [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,754 [check_head_tag] DEBUG check head tag [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,755 [execute] INFO git cat-file --batch-check [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,759 [execute] INFO git cat-file --batch [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,777 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,777 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-05-18T04:12:21.833Z] 2023-05-18 04:12:21,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:21.833Z] 3.0.0-dev.28 [Pipeline] } [2023-05-18T04:12:21.850Z] $ docker exec --env ******** --env ******** dda971220e9f008de2615553f93bb47c5d1718063ae3f4276fc2bd2e4d0342be ssh-agent -k [2023-05-18T04:12:21.958Z] unset SSH_AUTH_SOCK; [2023-05-18T04:12:21.958Z] unset SSH_AGENT_PID; [2023-05-18T04:12:21.958Z] echo Agent pid 37 killed; [2023-05-18T04:12:21.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T04:12:22.268Z] + git semver [Pipeline] } [2023-05-18T04:12:22.547Z] $ docker stop --time=1 dda971220e9f008de2615553f93bb47c5d1718063ae3f4276fc2bd2e4d0342be [2023-05-18T04:12:23.832Z] $ docker rm -f --volumes dda971220e9f008de2615553f93bb47c5d1718063ae3f4276fc2bd2e4d0342be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:24.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T04:12:24.221Z] [2023-05-18T04:12:24.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:24.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T04:12:24.517Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-18T04:12:24.517Z] ab5ef0e58194: Pulling fs layer [2023-05-18T04:12:24.517Z] 9712f1f96733: Pulling fs layer [2023-05-18T04:12:24.517Z] 63f879dbbcfc: Pulling fs layer [2023-05-18T04:12:24.517Z] 0d9ebad4ef96: Pulling fs layer [2023-05-18T04:12:24.517Z] e9a5061849ea: Pulling fs layer [2023-05-18T04:12:24.517Z] d747dcd14b5f: Pulling fs layer [2023-05-18T04:12:24.517Z] 2de7ff778b66: Pulling fs layer [2023-05-18T04:12:24.517Z] 0d9ebad4ef96: Waiting [2023-05-18T04:12:24.517Z] e9a5061849ea: Waiting [2023-05-18T04:12:24.517Z] d747dcd14b5f: Waiting [2023-05-18T04:12:24.517Z] 2de7ff778b66: Waiting [2023-05-18T04:12:24.517Z] 9712f1f96733: Verifying Checksum [2023-05-18T04:12:24.517Z] 9712f1f96733: Download complete [2023-05-18T04:12:24.776Z] 63f879dbbcfc: Verifying Checksum [2023-05-18T04:12:24.776Z] 63f879dbbcfc: Download complete [2023-05-18T04:12:25.034Z] ab5ef0e58194: Download complete [2023-05-18T04:12:25.034Z] e9a5061849ea: Verifying Checksum [2023-05-18T04:12:25.034Z] e9a5061849ea: Download complete [2023-05-18T04:12:25.034Z] d747dcd14b5f: Verifying Checksum [2023-05-18T04:12:25.034Z] d747dcd14b5f: Download complete [2023-05-18T04:12:25.034Z] 0d9ebad4ef96: Verifying Checksum [2023-05-18T04:12:25.034Z] 0d9ebad4ef96: Download complete [2023-05-18T04:12:25.292Z] 2de7ff778b66: Verifying Checksum [2023-05-18T04:12:25.292Z] 2de7ff778b66: Download complete [2023-05-18T04:12:27.820Z] ab5ef0e58194: Pull complete [2023-05-18T04:12:27.820Z] 9712f1f96733: Pull complete [2023-05-18T04:12:28.385Z] 63f879dbbcfc: Pull complete [2023-05-18T04:12:31.670Z] 0d9ebad4ef96: Pull complete [2023-05-18T04:12:31.930Z] e9a5061849ea: Pull complete [2023-05-18T04:12:31.930Z] d747dcd14b5f: Pull complete [2023-05-18T04:12:32.863Z] 2de7ff778b66: Pull complete [2023-05-18T04:12:32.863Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-18T04:12:32.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T04:12:32.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:12:32.952Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:12:32.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-18T04:12:37.426Z] $ docker top 79e0e49541bbe387a79434748ea39a9565ef9e694b8f4ab93cf8d1d5804b2562 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-18T04:12:37.490Z] provisioning config files... [2023-05-18T04:12:37.499Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12121063055300923248tmp [2023-05-18T04:12:37.508Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11761135404451877851tmp [2023-05-18T04:12:37.517Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11177415295592844692tmp [Pipeline] { [Pipeline] echo [2023-05-18T04:12:37.532Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:37.814Z] ---> sigul-configuration.sh [2023-05-18T04:12:37.814Z] gpg: directory `/root/.gnupg' created [2023-05-18T04:12:37.814Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-18T04:12:37.814Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-18T04:12:37.814Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-18T04:12:37.814Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-18T04:12:37.814Z] gpg: CAST5 encrypted data [2023-05-18T04:12:37.814Z] gpg: encrypted with 1 passphrase [2023-05-18T04:12:37.814Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-18T04:12:38.101Z] + mkdir /home/jenkins [2023-05-18T04:12:38.101Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-18T04:12:38.390Z] + 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-05-18T04:12:38.398Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:38.681Z] ---> sigul-install.sh [2023-05-18T04:12:38.681Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-18T04:12:38.968Z] + git tag --list [2023-05-18T04:12:38.968Z] v1.0.0 [2023-05-18T04:12:38.968Z] v2.1.0 [2023-05-18T04:12:38.968Z] v2.1.1 [2023-05-18T04:12:38.968Z] v2.1.1-dev.1 [2023-05-18T04:12:38.968Z] v2.2.0 [2023-05-18T04:12:38.968Z] v2.2.1-dev.1 [2023-05-18T04:12:38.968Z] v2.2.1-dev.2 [2023-05-18T04:12:38.968Z] v2.2.1-dev.3 [2023-05-18T04:12:38.968Z] v2.2.1-dev.4 [2023-05-18T04:12:38.968Z] v2.3.0 [2023-05-18T04:12:38.968Z] v2.3.0-dev.10 [2023-05-18T04:12:38.968Z] v2.3.0-dev.11 [2023-05-18T04:12:38.968Z] v2.3.0-dev.12 [2023-05-18T04:12:38.968Z] v2.3.0-dev.13 [2023-05-18T04:12:38.968Z] v2.3.0-dev.14 [2023-05-18T04:12:38.968Z] v2.3.0-dev.15 [2023-05-18T04:12:38.968Z] v2.3.0-dev.16 [2023-05-18T04:12:38.968Z] v2.3.0-dev.17 [2023-05-18T04:12:38.968Z] v2.3.0-dev.18 [2023-05-18T04:12:38.968Z] v2.3.0-dev.19 [2023-05-18T04:12:38.968Z] v2.3.0-dev.20 [2023-05-18T04:12:38.968Z] v2.3.0-dev.4 [2023-05-18T04:12:38.968Z] v2.3.0-dev.5 [2023-05-18T04:12:38.968Z] v2.3.0-dev.6 [2023-05-18T04:12:38.968Z] v2.3.0-dev.7 [2023-05-18T04:12:38.968Z] v2.3.0-dev.8 [2023-05-18T04:12:38.968Z] v2.3.0-dev.9 [2023-05-18T04:12:38.969Z] v3.0.0-dev.1 [2023-05-18T04:12:38.969Z] v3.0.0-dev.10 [2023-05-18T04:12:38.969Z] v3.0.0-dev.11 [2023-05-18T04:12:38.969Z] v3.0.0-dev.12 [2023-05-18T04:12:38.969Z] v3.0.0-dev.13 [2023-05-18T04:12:38.969Z] v3.0.0-dev.14 [2023-05-18T04:12:38.969Z] v3.0.0-dev.15 [2023-05-18T04:12:38.969Z] v3.0.0-dev.16 [2023-05-18T04:12:38.969Z] v3.0.0-dev.17 [2023-05-18T04:12:38.969Z] v3.0.0-dev.18 [2023-05-18T04:12:38.969Z] v3.0.0-dev.19 [2023-05-18T04:12:38.969Z] v3.0.0-dev.2 [2023-05-18T04:12:38.969Z] v3.0.0-dev.20 [2023-05-18T04:12:38.969Z] v3.0.0-dev.21 [2023-05-18T04:12:38.969Z] v3.0.0-dev.22 [2023-05-18T04:12:38.969Z] v3.0.0-dev.23 [2023-05-18T04:12:38.969Z] v3.0.0-dev.24 [2023-05-18T04:12:38.969Z] v3.0.0-dev.25 [2023-05-18T04:12:38.969Z] v3.0.0-dev.26 [2023-05-18T04:12:38.969Z] v3.0.0-dev.27 [2023-05-18T04:12:38.969Z] v3.0.0-dev.28 [2023-05-18T04:12:38.969Z] v3.0.0-dev.3 [2023-05-18T04:12:38.969Z] v3.0.0-dev.4 [2023-05-18T04:12:38.969Z] v3.0.0-dev.5 [2023-05-18T04:12:38.969Z] v3.0.0-dev.6 [2023-05-18T04:12:38.969Z] v3.0.0-dev.7 [2023-05-18T04:12:38.969Z] v3.0.0-dev.8 [2023-05-18T04:12:38.969Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-18T04:12:39.257Z] + lftools sign git-tag v3.0.0-dev.28 [2023-05-18T04:12:39.825Z] Signing Git tag with Sigul... [2023-05-18T04:12:39.825Z] Signing v3.0.0-dev.28 [Pipeline] echo [2023-05-18T04:12:40.095Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:40.380Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-18T04:12:40.388Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-18T04:12:40.419Z] $ docker stop --time=1 79e0e49541bbe387a79434748ea39a9565ef9e694b8f4ab93cf8d1d5804b2562 [2023-05-18T04:12:41.692Z] $ docker rm -f --volumes 79e0e49541bbe387a79434748ea39a9565ef9e694b8f4ab93cf8d1d5804b2562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-18T04:12:42.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T04:12:42.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:42.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:12:42.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:12:42.488Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:12:42.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T04:12:42.846Z] $ docker top bed22dab24b79ef24a063acf5402d40b5dec4f01a92d5a82a3baaad8dffa45a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T04:12:42.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T04:12:42.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T04:12:43.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T04:12:43.040Z] $ docker exec bed22dab24b79ef24a063acf5402d40b5dec4f01a92d5a82a3baaad8dffa45a2 ssh-agent [2023-05-18T04:12:43.138Z] SSH_AUTH_SOCK=/tmp/ssh-MgtNQJDJczeA/agent.32 [2023-05-18T04:12:43.138Z] SSH_AGENT_PID=38 [2023-05-18T04:12:43.144Z] Running ssh-add (command line suppressed) [2023-05-18T04:12:43.241Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1423425518239876840.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1423425518239876840.key) [2023-05-18T04:12:43.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T04:12:43.537Z] + git semver bump pre [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,703 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,704 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,704 [bump_version] DEBUG bumped version:3.0.0-dev.29 [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,704 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,704 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,704 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,706 [execute] INFO git cat-file --batch-check [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,711 [execute] INFO git cat-file --batch [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T04:12:43.797Z] 2023-05-18 04:12:43,716 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:43.797Z] 3.0.0-dev.29 [Pipeline] } [2023-05-18T04:12:43.814Z] $ docker exec --env ******** --env ******** bed22dab24b79ef24a063acf5402d40b5dec4f01a92d5a82a3baaad8dffa45a2 ssh-agent -k [2023-05-18T04:12:43.900Z] unset SSH_AUTH_SOCK; [2023-05-18T04:12:43.901Z] unset SSH_AGENT_PID; [2023-05-18T04:12:43.901Z] echo Agent pid 38 killed; [2023-05-18T04:12:43.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T04:12:44.214Z] + git semver [Pipeline] } [2023-05-18T04:12:44.490Z] $ docker stop --time=1 bed22dab24b79ef24a063acf5402d40b5dec4f01a92d5a82a3baaad8dffa45a2 [2023-05-18T04:12:45.763Z] $ docker rm -f --volumes bed22dab24b79ef24a063acf5402d40b5dec4f01a92d5a82a3baaad8dffa45a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T04:12:46.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T04:12:46.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:46.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T04:12:46.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:12:46.471Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:12:46.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T04:12:46.835Z] $ docker top 94128aeba8bb3d086eb010b51498caccc6d4dce9b73059d39af8717182f1db79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T04:12:46.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T04:12:46.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T04:12:47.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T04:12:47.048Z] $ docker exec 94128aeba8bb3d086eb010b51498caccc6d4dce9b73059d39af8717182f1db79 ssh-agent [2023-05-18T04:12:47.143Z] SSH_AUTH_SOCK=/tmp/ssh-vTxLXTTTkW2M/agent.32 [2023-05-18T04:12:47.143Z] SSH_AGENT_PID=38 [2023-05-18T04:12:47.149Z] Running ssh-add (command line suppressed) [2023-05-18T04:12:47.257Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16250421978284609987.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16250421978284609987.key) [2023-05-18T04:12:47.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T04:12:47.552Z] + git semver push [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,718 [run_push] DEBUG push [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,719 [execute] INFO git cat-file --batch-check [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,724 [execute] INFO git rev-list 691953c552ea1ec0b179f8705a46a5a96af09bf8 -- [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,725 [execute] DEBUG Popen(['git', 'rev-list', '691953c552ea1ec0b179f8705a46a5a96af09bf8', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,733 [execute] INFO git fetch -v origin [2023-05-18T04:12:47.811Z] 2023-05-18 04:12:47,734 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-18T04:12:48.380Z] 2023-05-18 04:12:48,197 [run_push] DEBUG no remote changes detected [2023-05-18T04:12:48.380Z] 2023-05-18 04:12:48,198 [execute] INFO git push origin semver [2023-05-18T04:12:48.380Z] 2023-05-18 04:12:48,198 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-18T04:12:49.318Z] 2023-05-18 04:12:48,989 [run_push] DEBUG push all version tags [2023-05-18T04:12:49.318Z] 2023-05-18 04:12:48,989 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-18T04:12:49.318Z] 2023-05-18 04:12:48,990 [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-05-18T04:12:49.887Z] 2023-05-18 04:12:49,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-18T04:12:49.887Z] 3.0.0-dev.29 [Pipeline] } [2023-05-18T04:12:49.904Z] $ docker exec --env ******** --env ******** 94128aeba8bb3d086eb010b51498caccc6d4dce9b73059d39af8717182f1db79 ssh-agent -k [2023-05-18T04:12:49.997Z] unset SSH_AUTH_SOCK; [2023-05-18T04:12:49.997Z] unset SSH_AGENT_PID; [2023-05-18T04:12:49.997Z] echo Agent pid 38 killed; [2023-05-18T04:12:50.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T04:12:50.315Z] + git semver [Pipeline] } [2023-05-18T04:12:50.594Z] $ docker stop --time=1 94128aeba8bb3d086eb010b51498caccc6d4dce9b73059d39af8717182f1db79 [2023-05-18T04:12:52.215Z] $ docker rm -f --volumes 94128aeba8bb3d086eb010b51498caccc6d4dce9b73059d39af8717182f1db79 [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-05-18T04:12:52.805Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-05-18T04:12:52.805Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-18T04:12:52.805Z] total 16 [2023-05-18T04:12:52.805Z] drwxr-xr-x 3 root root 4096 May 18 04:03 . [2023-05-18T04:12:52.805Z] drwxrwxr-x 10 jenkins jenkins 4096 May 18 04:12 .. [2023-05-18T04:12:52.805Z] drwxr-xr-x 2 root root 4096 May 18 04:03 cost [2023-05-18T04:12:52.805Z] -rw-r--r-- 1 root root 82 May 18 04:03 cost.csv [2023-05-18T04:12:52.805Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-18T04:12:52.805Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-18T04:12:52.805Z] total 16 [2023-05-18T04:12:52.805Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 04:03 . [2023-05-18T04:12:52.805Z] drwxrwxr-x 10 jenkins jenkins 4096 May 18 04:12 .. [2023-05-18T04:12:52.805Z] drwxr-xr-x 2 jenkins jenkins 4096 May 18 04:03 cost [2023-05-18T04:12:52.805Z] -rw-r--r-- 1 jenkins jenkins 82 May 18 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:53.094Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:53.951Z] ---> package-listing.sh [2023-05-18T04:12:53.951Z] ++ facter osfamily [2023-05-18T04:12:53.951Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-18T04:12:54.211Z] + OS_FAMILY=debian [2023-05-18T04:12:54.211Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-05-18T04:12:54.211Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-18T04:12:54.211Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-18T04:12:54.211Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-18T04:12:54.211Z] + PACKAGES=/tmp/packages_start.txt [2023-05-18T04:12:54.211Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-05-18T04:12:54.211Z] + PACKAGES=/tmp/packages_end.txt [2023-05-18T04:12:54.211Z] + case "${OS_FAMILY}" in [2023-05-18T04:12:54.211Z] + dpkg -l [2023-05-18T04:12:54.211Z] + grep '^ii' [2023-05-18T04:12:54.211Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-18T04:12:54.211Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-18T04:12:54.211Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-18T04:12:54.211Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-05-18T04:12:54.211Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-05-18T04:12:54.211Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-05-18T04:12:54.223Z] 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-05-18T04:12:54.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T04:12:54.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T04:12:54.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T04:12:55.059Z] prd-ubuntu20.04-docker-8c-8g-15988 does not seem to be running inside a container [2023-05-18T04:12:55.099Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T04:12:55.339Z] $ docker top c521b17d06bf8617f0e66ee62d55a2a45d96814d2f5da0baf1171031e3a5e637 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T04:12:55.669Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-18T04:12:55.953Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-18T04:12:56.238Z] + ls /var/log/sa-host [2023-05-18T04:12:56.238Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T04:12:56.413Z] provisioning config files... [2023-05-18T04:12:56.423Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3266782560943779398tmp [Pipeline] { [Pipeline] echo [2023-05-18T04:12:56.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:56.727Z] ---> create-netrc.sh [Pipeline] } [2023-05-18T04:12:56.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:57.067Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-18T04:12:57.075Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:57.360Z] ---> sudo-logs.sh [2023-05-18T04:12:57.360Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-18T04:12:57.391Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:57.673Z] ---> job-cost.sh [2023-05-18T04:12:57.673Z] lf-activate-venv: SKIPPING [2023-05-18T04:12:57.673Z] DEBUG: total: 0.2199999988079071 [2023-05-18T04:12:57.673Z] INFO: Retrieving Stack Cost... [2023-05-18T04:12:57.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T04:12:58.502Z] INFO: Archiving Costs [Pipeline] echo [2023-05-18T04:12:58.515Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T04:12:58.800Z] ---> logs-deploy.sh [2023-05-18T04:12:58.801Z] lf-activate-venv: SKIPPING [2023-05-18T04:12:58.801Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/82 [2023-05-18T04:12:58.801Z] INFO: archiving workspace using pattern(s): [2023-05-18T04:12:59.736Z] Archives upload complete. [2023-05-18T04:12:59.736Z] INFO: archiving logs to Nexus