Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394f7e51838f4f11b1408721525dc4e9609626b3 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-ssh10119000291079403653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh538157429517232435.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13152646117194042566.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10504672483624171383.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-ssh858093538125930013.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9588 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 394f7e51838f4f11b1408721525dc4e9609626b3 (main) Commit message: "Merge pull request #204 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" > git config core.sparsecheckout # timeout=10 > git checkout -f 394f7e51838f4f11b1408721525dc4e9609626b3 # timeout=10 > git rev-list --no-walk 07014ed4136a323f76076ad0d7449da681cdeaf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-19T05:02:46.701Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-19T05:02:46.764Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-19T05:02:46.789Z] ========================================================= [2023-10-19T05:02:46.789Z] EdgeX Global Pipelines Version Info [2023-10-19T05:02:46.789Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:02:47.502Z] ------------------- [2023-10-19T05:02:47.502Z] stable info: [2023-10-19T05:02:47.502Z] ------------------- [2023-10-19T05:02:47.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-19T05:02:47.502Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-19T05:02:47.502Z] Message: update stable to v1.0.254 [2023-10-19T05:02:48.072Z] ------------------- [2023-10-19T05:02:48.072Z] experimental info: [2023-10-19T05:02:48.072Z] ------------------- [2023-10-19T05:02:48.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-19T05:02:48.072Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-19T05:02:48.072Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-19T05:02:48.221Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-10-19T05:02:48.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-10-19T05:02:48.238Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-19T05:02:48.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-19T05:02:48.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-19T05:02:48.262Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-19T05:02:48.271Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-19T05:02:48.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-19T05:02:48.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-19T05:02:48.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-19T05:02:48.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-19T05:02:48.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-10-19T05:02:48.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-19T05:02:48.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-19T05:02:48.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-19T05:02:48.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-19T05:02:48.361Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-19T05:02:48.379Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-19T05:02:48.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-19T05:02:48.406Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-19T05:02:48.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-19T05:02:48.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-19T05:02:48.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-19T05:02:48.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-19T05:02:48.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-19T05:02:48.482Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-19T05:02:48.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-19T05:02:48.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-19T05:02:48.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-19T05:02:48.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-19T05:02:48.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] echo [2023-10-19T05:02:48.572Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 394f7e5 [Pipeline] echo [2023-10-19T05:02:48.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:02:48.630Z] provisioning config files... [2023-10-19T05:02:48.643Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10479833127245551281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:02:48.950Z] ---> docker-login.sh [2023-10-19T05:02:48.950Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:02:48.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:02:49.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:02:49.212Z] Configure a credential helper to remove this warning. See [2023-10-19T05:02:49.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:02:49.212Z] [2023-10-19T05:02:49.212Z] Login Succeeded [2023-10-19T05:02:49.212Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:02:49.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:02:49.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:02:49.472Z] Configure a credential helper to remove this warning. See [2023-10-19T05:02:49.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:02:49.472Z] [2023-10-19T05:02:49.472Z] Login Succeeded [2023-10-19T05:02:49.472Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:02:49.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:02:49.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:02:49.472Z] Configure a credential helper to remove this warning. See [2023-10-19T05:02:49.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:02:49.472Z] [2023-10-19T05:02:49.472Z] Login Succeeded [2023-10-19T05:02:49.472Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:02:49.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:02:49.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:02:49.732Z] Configure a credential helper to remove this warning. See [2023-10-19T05:02:49.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:02:49.732Z] [2023-10-19T05:02:49.732Z] Login Succeeded [2023-10-19T05:02:49.732Z] docker.io [2023-10-19T05:02:49.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:02:49.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:02:49.993Z] Configure a credential helper to remove this warning. See [2023-10-19T05:02:49.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:02:49.993Z] [2023-10-19T05:02:49.993Z] Login Succeeded [2023-10-19T05:02:49.993Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:02:50.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-19T05:02:50.395Z] + git rev-list -1 --merges 394f7e51838f4f11b1408721525dc4e9609626b3~1..394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] echo [2023-10-19T05:02:50.441Z] -----------> git rev-list -1 --merges 394f7e51838f4f11b1408721525dc4e9609626b3~1..394f7e51838f4f11b1408721525dc4e9609626b3 394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:02:50.441Z] 394f7e51838f4f11b1408721525dc4e9609626b3 [false] [Pipeline] sh [2023-10-19T05:02:50.727Z] + git log --format=format:%s -1 394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] echo [2023-10-19T05:02:50.741Z] ========================================================= [2023-10-19T05:02:50.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-19T05:02:50.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:02:51.058Z] + git log --format=format:%s -1 394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] echo [2023-10-19T05:02:51.068Z] [semverPrep] GIT_COMMIT: 394f7e51838f4f11b1408721525dc4e9609626b3, Commit Message: Merge pull request #204 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35 [Pipeline] echo [2023-10-19T05:02:51.079Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-19T05:02:51.448Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:02:51.448Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-19T05:02:51.448Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-19T05:02:51.448Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-19T05:02:51.448Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-10-19T05:02:51.448Z] -a /etc/ssh/ssh_known_hosts [2023-10-19T05:02:51.448Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:02:51.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:02:51.879Z] [2023-10-19T05:02:51.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:02:52.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:02:52.178Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-19T05:02:52.178Z] b85a868b505f: Pulling fs layer [2023-10-19T05:02:52.178Z] e2be974225ed: Pulling fs layer [2023-10-19T05:02:52.178Z] 339a4e72a1f5: Pulling fs layer [2023-10-19T05:02:52.178Z] 988bab9f4d93: Pulling fs layer [2023-10-19T05:02:52.178Z] 1469e6f7b9e6: Pulling fs layer [2023-10-19T05:02:52.178Z] eaf3925da568: Pulling fs layer [2023-10-19T05:02:52.178Z] bab4dde63d76: Pulling fs layer [2023-10-19T05:02:52.178Z] eaf3925da568: Waiting [2023-10-19T05:02:52.178Z] 1469e6f7b9e6: Waiting [2023-10-19T05:02:52.178Z] bab4dde63d76: Waiting [2023-10-19T05:02:52.178Z] bde34c3a00c8: Pulling fs layer [2023-10-19T05:02:52.178Z] b352a97aabf1: Pulling fs layer [2023-10-19T05:02:52.178Z] bde34c3a00c8: Waiting [2023-10-19T05:02:52.178Z] 4872d77fe225: Pulling fs layer [2023-10-19T05:02:52.178Z] 5851b861e8e6: Pulling fs layer [2023-10-19T05:02:52.178Z] 4872d77fe225: Waiting [2023-10-19T05:02:52.178Z] 5851b861e8e6: Waiting [2023-10-19T05:02:52.178Z] 988bab9f4d93: Waiting [2023-10-19T05:02:52.178Z] b352a97aabf1: Waiting [2023-10-19T05:02:52.178Z] e2be974225ed: Download complete [2023-10-19T05:02:52.178Z] 988bab9f4d93: Verifying Checksum [2023-10-19T05:02:52.178Z] 988bab9f4d93: Download complete [2023-10-19T05:02:52.438Z] 1469e6f7b9e6: Verifying Checksum [2023-10-19T05:02:52.438Z] 1469e6f7b9e6: Download complete [2023-10-19T05:02:52.438Z] 339a4e72a1f5: Verifying Checksum [2023-10-19T05:02:52.438Z] 339a4e72a1f5: Download complete [2023-10-19T05:02:52.438Z] eaf3925da568: Download complete [2023-10-19T05:02:52.438Z] b352a97aabf1: Download complete [2023-10-19T05:02:52.438Z] 4872d77fe225: Verifying Checksum [2023-10-19T05:02:52.438Z] 4872d77fe225: Download complete [2023-10-19T05:02:52.438Z] 5851b861e8e6: Verifying Checksum [2023-10-19T05:02:52.438Z] 5851b861e8e6: Download complete [2023-10-19T05:02:52.438Z] b85a868b505f: Verifying Checksum [2023-10-19T05:02:52.438Z] b85a868b505f: Download complete [2023-10-19T05:02:52.696Z] bab4dde63d76: Verifying Checksum [2023-10-19T05:02:52.696Z] bab4dde63d76: Download complete [2023-10-19T05:02:54.073Z] b85a868b505f: Pull complete [2023-10-19T05:02:54.073Z] e2be974225ed: Pull complete [2023-10-19T05:02:54.333Z] 339a4e72a1f5: Pull complete [2023-10-19T05:02:54.593Z] 988bab9f4d93: Pull complete [2023-10-19T05:02:54.593Z] 1469e6f7b9e6: Pull complete [2023-10-19T05:02:54.852Z] eaf3925da568: Pull complete [2023-10-19T05:02:56.760Z] bab4dde63d76: Pull complete [2023-10-19T05:02:56.760Z] bde34c3a00c8: Pull complete [2023-10-19T05:02:56.760Z] b352a97aabf1: Pull complete [2023-10-19T05:02:56.760Z] 4872d77fe225: Pull complete [2023-10-19T05:02:57.019Z] 5851b861e8e6: Pull complete [2023-10-19T05:02:57.019Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-19T05:02:57.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:02:57.019Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:02:57.118Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:02:57.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-19T05:03:00.322Z] $ docker top 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 -eo pid,comm [2023-10-19T05:03:00.382Z] 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-10-19T05:03:00.382Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:03:00.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:03:00.420Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:03:00.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:03:00.527Z] $ docker exec 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 ssh-agent [2023-10-19T05:03:00.644Z] SSH_AUTH_SOCK=/tmp/ssh-qG03ezJKSqyC/agent.32 [2023-10-19T05:03:00.644Z] SSH_AGENT_PID=38 [2023-10-19T05:03:00.649Z] Running ssh-add (command line suppressed) [2023-10-19T05:03:00.744Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17569646813516683441.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17569646813516683441.key) [2023-10-19T05:03:00.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:03:01.056Z] + git tag --points-at HEAD [Pipeline] } [2023-10-19T05:03:01.067Z] $ docker exec --env ******** --env ******** 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 ssh-agent -k [2023-10-19T05:03:01.175Z] unset SSH_AUTH_SOCK; [2023-10-19T05:03:01.176Z] unset SSH_AGENT_PID; [2023-10-19T05:03:01.176Z] echo Agent pid 38 killed; [2023-10-19T05:03:01.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-19T05:03:01.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:03:01.225Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:03:01.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:03:01.325Z] $ docker exec 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 ssh-agent [2023-10-19T05:03:01.435Z] SSH_AUTH_SOCK=/tmp/ssh-eT51kY605SWP/agent.70 [2023-10-19T05:03:01.435Z] SSH_AGENT_PID=76 [2023-10-19T05:03:01.440Z] Running ssh-add (command line suppressed) [2023-10-19T05:03:01.537Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4105571254647446953.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4105571254647446953.key) [2023-10-19T05:03:01.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:03:01.852Z] + git semver init [2023-10-19T05:03:02.113Z] 2023-10-19 05:03:02,021 [run_init] DEBUG init version:0.0.0 force:False [2023-10-19T05:03:02.113Z] 2023-10-19 05:03:02,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-19T05:03:02.113Z] 2023-10-19 05:03:02,022 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-19T05:03:02.113Z] 2023-10-19 05:03:02,022 [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-10-19T05:03:03.062Z] 2023-10-19 05:03:03,024 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-10-19T05:03:03.062Z] 2023-10-19 05:03:03,025 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-10-19T05:03:03.062Z] 2023-10-19 05:03:03,025 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:03:03.062Z] 2023-10-19 05:03:03,026 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:03:03.062Z] 3.1.0-dev.17 [Pipeline] } [2023-10-19T05:03:03.068Z] $ docker exec --env ******** --env ******** 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 ssh-agent -k [2023-10-19T05:03:03.169Z] unset SSH_AUTH_SOCK; [2023-10-19T05:03:03.170Z] unset SSH_AGENT_PID; [2023-10-19T05:03:03.170Z] echo Agent pid 76 killed; [2023-10-19T05:03:03.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:03:03.482Z] + git semver [Pipeline] } [2023-10-19T05:03:03.755Z] $ docker stop --time=1 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 [2023-10-19T05:03:05.060Z] $ docker rm -f --volumes 9ff70fd8d9647e147224a6251fae115788e1bd614177abc1c48bd3868b645a26 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:03:05.414Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-19T05:03:05.623Z] Stashed 1 file(s) [Pipeline] echo [2023-10-19T05:03:05.625Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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-10-19T05:03:05.785Z] provisioning config files... [2023-10-19T05:03:05.793Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5857974702488867630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:03:06.089Z] ---> docker-login.sh [2023-10-19T05:03:06.090Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:03:06.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:03:06.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:03:06.090Z] Configure a credential helper to remove this warning. See [2023-10-19T05:03:06.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:03:06.090Z] [2023-10-19T05:03:06.090Z] Login Succeeded [2023-10-19T05:03:06.090Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:03:06.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:03:06.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:03:06.090Z] Configure a credential helper to remove this warning. See [2023-10-19T05:03:06.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:03:06.090Z] [2023-10-19T05:03:06.090Z] Login Succeeded [2023-10-19T05:03:06.090Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:03:06.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:03:06.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:03:06.350Z] Configure a credential helper to remove this warning. See [2023-10-19T05:03:06.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:03:06.350Z] [2023-10-19T05:03:06.350Z] Login Succeeded [2023-10-19T05:03:06.350Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:03:06.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:03:06.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:03:06.350Z] Configure a credential helper to remove this warning. See [2023-10-19T05:03:06.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:03:06.350Z] [2023-10-19T05:03:06.350Z] Login Succeeded [2023-10-19T05:03:06.350Z] docker.io [2023-10-19T05:03:06.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:03:06.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:03:06.869Z] Configure a credential helper to remove this warning. See [2023-10-19T05:03:06.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:03:06.869Z] [2023-10-19T05:03:06.869Z] Login Succeeded [2023-10-19T05:03:06.869Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:03:06.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-19T05:03:06.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:03:06.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:03:06.953Z] ========================================================= [2023-10-19T05:03:06.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-19T05:03:06.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:03:07.262Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-19T05:03:07.262Z] Sending build context to Docker daemon 16.14MB [2023-10-19T05:03:07.262Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:03:07.262Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-19T05:03:07.262Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-19T05:03:07.262Z] 7264a8db6415: Pulling fs layer [2023-10-19T05:03:07.262Z] c4d48a809fc2: Pulling fs layer [2023-10-19T05:03:07.262Z] 4f1c88b9dad5: Pulling fs layer [2023-10-19T05:03:07.262Z] ad3a456e5733: Pulling fs layer [2023-10-19T05:03:07.262Z] 33e27b845d1e: Pulling fs layer [2023-10-19T05:03:07.262Z] c68163c4e522: Pulling fs layer [2023-10-19T05:03:07.262Z] 50da416c3ac9: Pulling fs layer [2023-10-19T05:03:07.262Z] 23d2d4c4bb30: Pulling fs layer [2023-10-19T05:03:07.262Z] ad3a456e5733: Waiting [2023-10-19T05:03:07.262Z] c68163c4e522: Waiting [2023-10-19T05:03:07.262Z] 50da416c3ac9: Waiting [2023-10-19T05:03:07.262Z] 23d2d4c4bb30: Waiting [2023-10-19T05:03:07.522Z] c4d48a809fc2: Verifying Checksum [2023-10-19T05:03:07.522Z] c4d48a809fc2: Download complete [2023-10-19T05:03:07.522Z] ad3a456e5733: Download complete [2023-10-19T05:03:07.522Z] 33e27b845d1e: Download complete [2023-10-19T05:03:07.522Z] 7264a8db6415: Download complete [2023-10-19T05:03:07.522Z] c68163c4e522: Verifying Checksum [2023-10-19T05:03:07.522Z] c68163c4e522: Download complete [2023-10-19T05:03:07.522Z] 7264a8db6415: Pull complete [2023-10-19T05:03:07.781Z] 23d2d4c4bb30: Verifying Checksum [2023-10-19T05:03:07.781Z] 23d2d4c4bb30: Download complete [2023-10-19T05:03:07.781Z] c4d48a809fc2: Pull complete [2023-10-19T05:03:08.041Z] 4f1c88b9dad5: Download complete [2023-10-19T05:03:08.608Z] 50da416c3ac9: Verifying Checksum [2023-10-19T05:03:08.608Z] 50da416c3ac9: Download complete [2023-10-19T05:03:11.138Z] 4f1c88b9dad5: Pull complete [2023-10-19T05:03:11.138Z] ad3a456e5733: Pull complete [2023-10-19T05:03:11.396Z] 33e27b845d1e: Pull complete [2023-10-19T05:03:11.396Z] c68163c4e522: Pull complete [2023-10-19T05:03:13.925Z] 50da416c3ac9: Pull complete [2023-10-19T05:03:14.184Z] 23d2d4c4bb30: Pull complete [2023-10-19T05:03:14.184Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-19T05:03:14.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-19T05:03:14.184Z] ---> 0786185ac409 [2023-10-19T05:03:14.184Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:03:19.533Z] ---> Running in a45437f658fe [2023-10-19T05:03:19.533Z] Removing intermediate container a45437f658fe [2023-10-19T05:03:19.533Z] ---> b75c5b76b601 [2023-10-19T05:03:19.533Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:03:19.533Z] ---> Running in 40b7843bfc2d [2023-10-19T05:03:19.533Z] Removing intermediate container 40b7843bfc2d [2023-10-19T05:03:19.533Z] ---> 380596c8c691 [2023-10-19T05:03:19.533Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-19T05:03:19.533Z] ---> Running in 1dcc46555796 [2023-10-19T05:03:19.533Z] Removing intermediate container 1dcc46555796 [2023-10-19T05:03:19.533Z] ---> d3f77c59da66 [2023-10-19T05:03:19.533Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:03:19.533Z] ---> Running in 36664ea48c90 [2023-10-19T05:03:19.533Z] Removing intermediate container 36664ea48c90 [2023-10-19T05:03:19.533Z] ---> 93f853d33190 [2023-10-19T05:03:19.533Z] Step 7/12 : WORKDIR /device-gpio [2023-10-19T05:03:19.533Z] ---> Running in 961b7beecc37 [2023-10-19T05:03:19.533Z] Removing intermediate container 961b7beecc37 [2023-10-19T05:03:19.533Z] ---> efd6c28d8f1e [2023-10-19T05:03:19.533Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:03:19.533Z] ---> Running in 459e9478df62 [2023-10-19T05:03:19.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:03:20.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:03:20.307Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-19T05:03:20.307Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-19T05:03:20.307Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-19T05:03:20.307Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-19T05:03:20.307Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:03:20.307Z] OK: 268 MiB in 56 packages [2023-10-19T05:03:20.738Z] Still waiting to schedule task [2023-10-19T05:03:20.739Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-19T05:03:20.875Z] Removing intermediate container 459e9478df62 [2023-10-19T05:03:20.875Z] ---> 1bec5447b005 [2023-10-19T05:03:20.875Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-19T05:03:21.134Z] ---> f01109e87712 [2023-10-19T05:03:21.134Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:03:21.134Z] ---> Running in eafaf196a6a7 [2023-10-19T05:04:28.906Z] Removing intermediate container eafaf196a6a7 [2023-10-19T05:04:28.906Z] ---> cb3bd4f4fc9e [2023-10-19T05:04:28.906Z] Step 11/12 : COPY . . [2023-10-19T05:04:28.906Z] ---> b5b626a03beb [2023-10-19T05:04:28.906Z] Step 12/12 : RUN ${MAKE} [2023-10-19T05:04:28.906Z] ---> Running in a32e51a72ee1 [2023-10-19T05:04:28.906Z] noop [2023-10-19T05:04:28.906Z] Removing intermediate container a32e51a72ee1 [2023-10-19T05:04:28.906Z] ---> b9958ca78942 [2023-10-19T05:04:28.906Z] Successfully built b9958ca78942 [2023-10-19T05:04:28.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:04:29.221Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-19T05:04:29.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:04:29.298Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:04:29.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-19T05:04:29.676Z] $ docker top 81bf87375ea768b53fbf1ea1dceffa38d00238e57ca9d268dfaaffc224b92e05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:04:30.013Z] + go version [2023-10-19T05:04:30.013Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-19T05:04:30.030Z] $ docker stop --time=1 81bf87375ea768b53fbf1ea1dceffa38d00238e57ca9d268dfaaffc224b92e05 [2023-10-19T05:04:31.302Z] $ docker rm -f --volumes 81bf87375ea768b53fbf1ea1dceffa38d00238e57ca9d268dfaaffc224b92e05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:04:31.690Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-19T05:04:31.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:04:31.754Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:04:31.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-19T05:04:32.108Z] $ docker top 36b1850b6131ea52dc3117479bd6b3a75b5e1fdc754cf4cb4854e96eef511cf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:04:32.446Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-10-19T05:04:32.738Z] + make test [2023-10-19T05:04:32.738Z] go test ./... -coverprofile=coverage.out ./... [2023-10-19T05:04:34.111Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-19T05:04:44.078Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-19T05:04:44.078Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-19T05:04:50.641Z] go vet ./... [2023-10-19T05:04:53.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-19T05:04:53.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-19T05:04:53.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-19T05:04:53.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-19T05:04:53.205Z] $ docker stop --time=1 36b1850b6131ea52dc3117479bd6b3a75b5e1fdc754cf4cb4854e96eef511cf4 [2023-10-19T05:04:56.703Z] $ docker rm -f --volumes 36b1850b6131ea52dc3117479bd6b3a75b5e1fdc754cf4cb4854e96eef511cf4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:04:57.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-19T05:04:57.180Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-19T05:04:57.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-19T05:04:57.991Z] + ls -al . [2023-10-19T05:04:57.991Z] total 168 [2023-10-19T05:04:57.991Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 05:04 . [2023-10-19T05:04:57.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:02 .. [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 19 05:02 .dockerignore [2023-10-19T05:04:57.991Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:04 .git [2023-10-19T05:04:57.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:02 .github [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 19 05:02 .gitignore [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 05:02 .golangci.yml [2023-10-19T05:04:57.991Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:03 .semver [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 19 05:02 Attribution.txt [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 19 05:02 CHANGELOG.md [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 19 05:02 Dockerfile [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:02 GOVERNANCE.md [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 19 05:02 Jenkinsfile [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 05:02 LICENSE [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 19 05:02 Makefile [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 19 05:02 OWNERS.md [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 12293 Oct 19 05:02 README.md [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:03 VERSION [2023-10-19T05:04:57.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:02 bin [2023-10-19T05:04:57.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:02 cmd [2023-10-19T05:04:57.991Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 19 05:04 coverage.out [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 19 05:02 go.mod [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 19 05:02 go.sum [2023-10-19T05:04:57.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:02 internal [2023-10-19T05:04:57.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:02 snap [2023-10-19T05:04:57.991Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 19 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:04:58.354Z] + 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=394f7e51838f4f11b1408721525dc4e9609626b3 --label arch=amd64 --label version=3.1.0-dev.17 . [2023-10-19T05:04:58.354Z] Sending build context to Docker daemon 16.14MB [2023-10-19T05:04:58.354Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:04:58.354Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-19T05:04:58.354Z] ---> b9958ca78942 [2023-10-19T05:04:58.354Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:04:58.682Z] ---> Running in d563ddf9ecc4 [2023-10-19T05:04:58.682Z] Removing intermediate container d563ddf9ecc4 [2023-10-19T05:04:58.682Z] ---> 41262cbecced [2023-10-19T05:04:58.682Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:04:58.682Z] ---> Running in 42879f339f5e [2023-10-19T05:04:58.682Z] Removing intermediate container 42879f339f5e [2023-10-19T05:04:58.682Z] ---> 9546a3dde0dc [2023-10-19T05:04:58.682Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-19T05:04:58.682Z] ---> Running in e6d35eb55f66 [2023-10-19T05:04:58.969Z] Removing intermediate container e6d35eb55f66 [2023-10-19T05:04:58.969Z] ---> 8286de89cacb [2023-10-19T05:04:58.969Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:04:58.969Z] ---> Running in 84d4b9671c52 [2023-10-19T05:04:58.969Z] Removing intermediate container 84d4b9671c52 [2023-10-19T05:04:58.969Z] ---> 7096942a4477 [2023-10-19T05:04:58.969Z] Step 7/25 : WORKDIR /device-gpio [2023-10-19T05:04:58.969Z] ---> Running in 3cf8a6a4ee85 [2023-10-19T05:04:58.969Z] Removing intermediate container 3cf8a6a4ee85 [2023-10-19T05:04:58.969Z] ---> 4c417054e10f [2023-10-19T05:04:58.969Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:04:58.969Z] ---> Running in a37352d2a67e [2023-10-19T05:04:59.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:04:59.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:04:59.487Z] OK: 268 MiB in 56 packages [2023-10-19T05:04:59.746Z] Removing intermediate container a37352d2a67e [2023-10-19T05:04:59.746Z] ---> de6e832fe14e [2023-10-19T05:04:59.746Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-19T05:05:00.005Z] ---> 9750baeea7f9 [2023-10-19T05:05:00.005Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:05:00.005Z] ---> Running in ed521a73b781 [2023-10-19T05:05:00.572Z] Removing intermediate container ed521a73b781 [2023-10-19T05:05:00.572Z] ---> 2b63a02c54a1 [2023-10-19T05:05:00.572Z] Step 11/25 : COPY . . [2023-10-19T05:05:01.506Z] ---> 05f9c78f7547 [2023-10-19T05:05:01.506Z] Step 12/25 : RUN ${MAKE} [2023-10-19T05:05:01.506Z] ---> Running in fad6f8ab6459 [2023-10-19T05:05:01.765Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-19T05:05:04.016Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9591 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-10-19T05:05:04.030Z] Running in /w/workspace/device-gpio/104 [Pipeline] { [Pipeline] checkout [2023-10-19T05:05:04.060Z] The recommended git tool is: git [2023-10-19T05:05:11.546Z] using credential edgex-jenkins-ssh [2023-10-19T05:05:11.566Z] Cloning the remote Git repository [2023-10-19T05:05:11.619Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-10-19T05:05:11.719Z] > git init /w/workspace/device-gpio/104 # timeout=10 [2023-10-19T05:05:11.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-10-19T05:05:11.878Z] > git --version # timeout=10 [2023-10-19T05:05:11.900Z] > git --version # 'git version 2.25.1' [2023-10-19T05:05:11.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-19T05:05:12.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-19T05:05:14.534Z] Avoid second fetch [2023-10-19T05:05:14.535Z] Checking out Revision 394f7e51838f4f11b1408721525dc4e9609626b3 (main) [2023-10-19T05:05:15.033Z] Commit message: "Merge pull request #204 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" [2023-10-19T05:05:13.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-10-19T05:05:13.744Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-19T05:05:14.552Z] > git config core.sparsecheckout # timeout=10 [2023-10-19T05:05:14.613Z] > git checkout -f 394f7e51838f4f11b1408721525dc4e9609626b3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:05:15.848Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-19T05:05:15.848Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-19T05:05:15.848Z] Dload Upload Total Spent Left Speed [2023-10-19T05:05:15.848Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-10-19T05:05:16.463Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-19T05:05:16.808Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-19T05:05:16.808Z] + sudo tee /etc/docker/daemon.new [2023-10-19T05:05:16.808Z] { [2023-10-19T05:05:16.808Z] "registry-mirrors": [ [2023-10-19T05:05:16.808Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-19T05:05:16.808Z] ], [2023-10-19T05:05:16.808Z] "bip": "10.250.0.254/24", [2023-10-19T05:05:16.808Z] "hosts": [ [2023-10-19T05:05:16.808Z] "tcp://0.0.0.0:5555", [2023-10-19T05:05:16.808Z] "unix:///var/run/docker.sock" [2023-10-19T05:05:16.808Z] ], [2023-10-19T05:05:16.808Z] "mtu": 1458, [2023-10-19T05:05:16.808Z] "selinux-enabled": true, [2023-10-19T05:05:16.808Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-19T05:05:16.808Z] } [Pipeline] sh [2023-10-19T05:05:17.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-19T05:05:17.481Z] + sudo service docker restart [2023-10-19T05:05:24.418Z] Removing intermediate container fad6f8ab6459 [2023-10-19T05:05:24.418Z] ---> 9b2ffd6cac5f [2023-10-19T05:05:24.418Z] Step 13/25 : FROM alpine:3.18 [2023-10-19T05:05:24.418Z] 3.18: Pulling from library/alpine [2023-10-19T05:05:24.418Z] 96526aa774ef: Pulling fs layer [2023-10-19T05:05:24.418Z] 96526aa774ef: Verifying Checksum [2023-10-19T05:05:24.418Z] 96526aa774ef: Download complete [2023-10-19T05:05:24.418Z] 96526aa774ef: Pull complete [2023-10-19T05:05:24.418Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-19T05:05:24.418Z] Status: Downloaded newer image for alpine:3.18 [2023-10-19T05:05:24.418Z] ---> 8ca4688f4f35 [2023-10-19T05:05:24.418Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-19T05:05:24.418Z] ---> Running in 9981727242ca [2023-10-19T05:05:24.418Z] Removing intermediate container 9981727242ca [2023-10-19T05:05:24.418Z] ---> be46da8236be [2023-10-19T05:05:24.418Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-19T05:05:24.418Z] ---> Running in 30dea1c85281 [2023-10-19T05:05:24.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:05:24.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:05:24.418Z] OK: 7 MiB in 15 packages [2023-10-19T05:05:24.418Z] Removing intermediate container 30dea1c85281 [2023-10-19T05:05:24.418Z] ---> 7ba057139a1d [2023-10-19T05:05:24.418Z] Step 16/25 : WORKDIR / [2023-10-19T05:05:24.418Z] ---> Running in 56298b83fb2b [2023-10-19T05:05:24.418Z] Removing intermediate container 56298b83fb2b [2023-10-19T05:05:24.418Z] ---> e053d40b5525 [2023-10-19T05:05:24.418Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-19T05:05:24.418Z] ---> 366a7f0790c0 [2023-10-19T05:05:24.418Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-19T05:05:24.418Z] ---> c89ee171d812 [2023-10-19T05:05:24.418Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-19T05:05:24.677Z] ---> 72e2c3906aa1 [2023-10-19T05:05:24.677Z] Step 20/25 : EXPOSE 59910 [2023-10-19T05:05:24.677Z] ---> Running in 932aa23fd9bd [2023-10-19T05:05:24.677Z] Removing intermediate container 932aa23fd9bd [2023-10-19T05:05:24.677Z] ---> d3bc2a3cf5cc [2023-10-19T05:05:24.677Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-19T05:05:24.677Z] ---> Running in d5b6c77d59db [2023-10-19T05:05:24.677Z] Removing intermediate container d5b6c77d59db [2023-10-19T05:05:24.677Z] ---> 9d6637b47b17 [2023-10-19T05:05:24.677Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-19T05:05:24.677Z] ---> Running in 23960330799e [2023-10-19T05:05:24.937Z] Removing intermediate container 23960330799e [2023-10-19T05:05:24.937Z] ---> 01cc81ec03b3 [2023-10-19T05:05:24.937Z] Step 23/25 : LABEL arch=amd64 [2023-10-19T05:05:24.937Z] ---> Running in 9dc372b81574 [2023-10-19T05:05:24.937Z] Removing intermediate container 9dc372b81574 [2023-10-19T05:05:24.937Z] ---> 2feb61068ff7 [2023-10-19T05:05:24.937Z] Step 24/25 : LABEL git_sha=394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:05:24.937Z] ---> Running in 8b979ad963d7 [2023-10-19T05:05:24.937Z] Removing intermediate container 8b979ad963d7 [2023-10-19T05:05:24.937Z] ---> 5d1caa2422a3 [2023-10-19T05:05:24.937Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-10-19T05:05:24.937Z] ---> Running in 806ad863ecae [2023-10-19T05:05:25.196Z] Removing intermediate container 806ad863ecae [2023-10-19T05:05:25.196Z] ---> 6eceeef96a26 [2023-10-19T05:05:25.196Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-19T05:05:25.196Z] Successfully built 6eceeef96a26 [2023-10-19T05:05:25.196Z] 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-10-19T05:05:25.271Z] provisioning config files... [2023-10-19T05:05:25.277Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16087956121244402634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:05:25.572Z] ---> docker-login.sh [2023-10-19T05:05:25.572Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:05:25.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:25.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:25.572Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:25.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:25.572Z] [2023-10-19T05:05:25.572Z] Login Succeeded [2023-10-19T05:05:25.572Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:05:25.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:25.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:25.572Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:25.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:25.572Z] [2023-10-19T05:05:25.572Z] Login Succeeded [2023-10-19T05:05:25.572Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:05:25.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:25.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:25.832Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:25.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:25.832Z] [2023-10-19T05:05:25.832Z] Login Succeeded [2023-10-19T05:05:25.832Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:05:25.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:25.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:25.832Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:25.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:25.832Z] [2023-10-19T05:05:25.832Z] Login Succeeded [2023-10-19T05:05:25.832Z] docker.io [2023-10-19T05:05:25.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:26.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:26.092Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:26.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:26.092Z] [2023-10-19T05:05:26.092Z] Login Succeeded [2023-10-19T05:05:26.092Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:05:26.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:05:26.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:05:26.141Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-10-19T05:05:26.141Z] 394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:05:26.141Z] latest [2023-10-19T05:05:26.141Z] 3.1.0-dev.17 [2023-10-19T05:05:26.141Z] 394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:05:26.141Z] main [2023-10-19T05:05:26.141Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:26.473Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:26.775Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:05:26.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-19T05:05:26.775Z] b39a1077fc36: Preparing [2023-10-19T05:05:26.775Z] 3187207b8e6a: Preparing [2023-10-19T05:05:26.775Z] 374ecf5050e4: Preparing [2023-10-19T05:05:26.775Z] 7d68331d4d2c: Preparing [2023-10-19T05:05:26.775Z] cc2447e1835a: Preparing [2023-10-19T05:05:26.775Z] cc2447e1835a: Layer already exists [2023-10-19T05:05:26.775Z] 3187207b8e6a: Pushed [2023-10-19T05:05:26.775Z] 374ecf5050e4: Pushed [2023-10-19T05:05:26.775Z] 7d68331d4d2c: Pushed [2023-10-19T05:05:30.057Z] b39a1077fc36: Pushed [2023-10-19T05:05:30.057Z] 394f7e51838f4f11b1408721525dc4e9609626b3: digest: sha256:a4bd46d66189dd829310cf2ade2c93b0ecd065216a24fd42d9ff1bc457c51b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:30.361Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:30.658Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-19T05:05:30.658Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-19T05:05:30.658Z] b39a1077fc36: Preparing [2023-10-19T05:05:30.658Z] 3187207b8e6a: Preparing [2023-10-19T05:05:30.658Z] 374ecf5050e4: Preparing [2023-10-19T05:05:30.658Z] 7d68331d4d2c: Preparing [2023-10-19T05:05:30.658Z] cc2447e1835a: Preparing [2023-10-19T05:05:30.658Z] 3187207b8e6a: Layer already exists [2023-10-19T05:05:30.658Z] 7d68331d4d2c: Layer already exists [2023-10-19T05:05:30.658Z] 374ecf5050e4: Layer already exists [2023-10-19T05:05:30.658Z] b39a1077fc36: Layer already exists [2023-10-19T05:05:30.658Z] cc2447e1835a: Layer already exists [2023-10-19T05:05:30.658Z] latest: digest: sha256:a4bd46d66189dd829310cf2ade2c93b0ecd065216a24fd42d9ff1bc457c51b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:30.962Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:31.271Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.17 [2023-10-19T05:05:31.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-19T05:05:31.271Z] b39a1077fc36: Preparing [2023-10-19T05:05:31.271Z] 3187207b8e6a: Preparing [2023-10-19T05:05:31.271Z] 374ecf5050e4: Preparing [2023-10-19T05:05:31.271Z] 7d68331d4d2c: Preparing [2023-10-19T05:05:31.271Z] cc2447e1835a: Preparing [2023-10-19T05:05:31.271Z] cc2447e1835a: Layer already exists [2023-10-19T05:05:31.271Z] b39a1077fc36: Layer already exists [2023-10-19T05:05:31.271Z] 374ecf5050e4: Layer already exists [2023-10-19T05:05:31.271Z] 7d68331d4d2c: Layer already exists [2023-10-19T05:05:31.271Z] 3187207b8e6a: Layer already exists [2023-10-19T05:05:31.271Z] 3.1.0-dev.17: digest: sha256:a4bd46d66189dd829310cf2ade2c93b0ecd065216a24fd42d9ff1bc457c51b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:31.579Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:31.885Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:05:31.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-19T05:05:31.885Z] b39a1077fc36: Preparing [2023-10-19T05:05:31.885Z] 3187207b8e6a: Preparing [2023-10-19T05:05:31.885Z] 374ecf5050e4: Preparing [2023-10-19T05:05:31.885Z] 7d68331d4d2c: Preparing [2023-10-19T05:05:31.885Z] cc2447e1835a: Preparing [2023-10-19T05:05:31.885Z] 7d68331d4d2c: Layer already exists [2023-10-19T05:05:31.885Z] cc2447e1835a: Layer already exists [2023-10-19T05:05:31.885Z] 3187207b8e6a: Layer already exists [2023-10-19T05:05:31.885Z] b39a1077fc36: Layer already exists [2023-10-19T05:05:31.885Z] 374ecf5050e4: Layer already exists [2023-10-19T05:05:31.885Z] 394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17: digest: sha256:a4bd46d66189dd829310cf2ade2c93b0ecd065216a24fd42d9ff1bc457c51b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:32.196Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:32.498Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-10-19T05:05:32.498Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-19T05:05:32.498Z] b39a1077fc36: Preparing [2023-10-19T05:05:32.498Z] 3187207b8e6a: Preparing [2023-10-19T05:05:32.498Z] 374ecf5050e4: Preparing [2023-10-19T05:05:32.498Z] 7d68331d4d2c: Preparing [2023-10-19T05:05:32.498Z] cc2447e1835a: Preparing [2023-10-19T05:05:32.498Z] 3187207b8e6a: Layer already exists [2023-10-19T05:05:32.498Z] 7d68331d4d2c: Layer already exists [2023-10-19T05:05:32.498Z] b39a1077fc36: Layer already exists [2023-10-19T05:05:32.498Z] cc2447e1835a: Layer already exists [2023-10-19T05:05:32.498Z] 374ecf5050e4: Layer already exists [2023-10-19T05:05:32.498Z] main: digest: sha256:a4bd46d66189dd829310cf2ade2c93b0ecd065216a24fd42d9ff1bc457c51b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:05:32.539Z] ===================================================== [Pipeline] echo [2023-10-19T05:05:32.545Z] taggedImages: [2023-10-19T05:05:32.545Z] - nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:05:32.545Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-19T05:05:32.545Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.17 [2023-10-19T05:05:32.545Z] - nexus3.edgexfoundry.org:10004/device-gpio:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:05:32.545Z] - 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-10-19T05:05:32.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:05:32.904Z] [2023-10-19T05:05:32.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:33.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:05:33.202Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-19T05:05:33.202Z] 5eb5b503b376: Pulling fs layer [2023-10-19T05:05:33.202Z] 5c69ac0246d0: Pulling fs layer [2023-10-19T05:05:33.202Z] ec43610c2a17: Pulling fs layer [2023-10-19T05:05:33.202Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-19T05:05:33.202Z] 33b1e0a273af: Pulling fs layer [2023-10-19T05:05:33.202Z] 5d3b04190fa2: Pulling fs layer [2023-10-19T05:05:33.202Z] 2f39f015ded8: Pulling fs layer [2023-10-19T05:05:33.202Z] 33b1e0a273af: Waiting [2023-10-19T05:05:33.202Z] 2f39f015ded8: Waiting [2023-10-19T05:05:33.202Z] 5d3b04190fa2: Waiting [2023-10-19T05:05:33.202Z] 3a2ae6a8a46f: Waiting [2023-10-19T05:05:33.202Z] 5c69ac0246d0: Verifying Checksum [2023-10-19T05:05:33.202Z] 5c69ac0246d0: Download complete [2023-10-19T05:05:33.202Z] 3a2ae6a8a46f: Download complete [2023-10-19T05:05:33.202Z] 33b1e0a273af: Verifying Checksum [2023-10-19T05:05:33.202Z] 33b1e0a273af: Download complete [2023-10-19T05:05:33.202Z] ec43610c2a17: Verifying Checksum [2023-10-19T05:05:33.202Z] ec43610c2a17: Download complete [2023-10-19T05:05:33.202Z] 5d3b04190fa2: Verifying Checksum [2023-10-19T05:05:33.202Z] 5d3b04190fa2: Download complete [2023-10-19T05:05:33.459Z] 5eb5b503b376: Verifying Checksum [2023-10-19T05:05:33.459Z] 5eb5b503b376: Download complete [2023-10-19T05:05:34.021Z] 2f39f015ded8: Download complete [2023-10-19T05:05:34.587Z] 5eb5b503b376: Pull complete [2023-10-19T05:05:34.587Z] 5c69ac0246d0: Pull complete [2023-10-19T05:05:35.153Z] ec43610c2a17: Pull complete [2023-10-19T05:05:35.153Z] 3a2ae6a8a46f: Pull complete [2023-10-19T05:05:35.411Z] 33b1e0a273af: Pull complete [2023-10-19T05:05:35.411Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:05:35.741Z] provisioning config files... [2023-10-19T05:05:35.766Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/104@tmp/config3526741869240400854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:05:36.115Z] ---> docker-login.sh [2023-10-19T05:05:36.115Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:05:36.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:36.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:36.701Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:36.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:36.701Z] [2023-10-19T05:05:36.701Z] Login Succeeded [2023-10-19T05:05:36.701Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:05:36.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:36.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:36.972Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:36.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:36.972Z] [2023-10-19T05:05:36.972Z] Login Succeeded [2023-10-19T05:05:36.972Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:05:37.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:37.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:37.513Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:37.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:37.513Z] [2023-10-19T05:05:37.513Z] Login Succeeded [2023-10-19T05:05:37.513Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:05:37.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:37.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:37.784Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:37.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:37.784Z] [2023-10-19T05:05:37.784Z] Login Succeeded [2023-10-19T05:05:37.784Z] docker.io [2023-10-19T05:05:38.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:38.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:38.328Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:38.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:38.328Z] [2023-10-19T05:05:38.328Z] Login Succeeded [2023-10-19T05:05:38.328Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:05:38.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-19T05:05:38.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:05:38.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:05:38.615Z] ========================================================= [2023-10-19T05:05:38.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-19T05:05:38.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:38.953Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-19T05:05:39.546Z] Sending build context to Docker daemon 8.135MB [2023-10-19T05:05:39.546Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:05:39.546Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-19T05:05:39.607Z] 2f39f015ded8: Pull complete [2023-10-19T05:05:39.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-19T05:05:39.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:05:39.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:05:39.691Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:05:39.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-19T05:05:39.823Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-19T05:05:39.823Z] 9fda8d8052c6: Pulling fs layer [2023-10-19T05:05:39.823Z] 5d54e960e981: Pulling fs layer [2023-10-19T05:05:39.823Z] c4a7e357bf2a: Pulling fs layer [2023-10-19T05:05:39.823Z] f0e02332f6b5: Pulling fs layer [2023-10-19T05:05:39.823Z] cefa15bbcfad: Pulling fs layer [2023-10-19T05:05:39.823Z] 17808c966233: Pulling fs layer [2023-10-19T05:05:39.823Z] f4c1fc716caa: Pulling fs layer [2023-10-19T05:05:39.823Z] f0e02332f6b5: Waiting [2023-10-19T05:05:39.823Z] cefa15bbcfad: Waiting [2023-10-19T05:05:39.823Z] 17808c966233: Waiting [2023-10-19T05:05:39.823Z] f4c1fc716caa: Waiting [2023-10-19T05:05:39.823Z] 5d54e960e981: Verifying Checksum [2023-10-19T05:05:39.823Z] 5d54e960e981: Download complete [2023-10-19T05:05:39.823Z] f0e02332f6b5: Verifying Checksum [2023-10-19T05:05:39.823Z] f0e02332f6b5: Download complete [2023-10-19T05:05:39.823Z] cefa15bbcfad: Verifying Checksum [2023-10-19T05:05:39.823Z] cefa15bbcfad: Download complete [2023-10-19T05:05:39.823Z] 9fda8d8052c6: Verifying Checksum [2023-10-19T05:05:39.823Z] 9fda8d8052c6: Download complete [2023-10-19T05:05:40.416Z] f4c1fc716caa: Verifying Checksum [2023-10-19T05:05:40.416Z] f4c1fc716caa: Download complete [2023-10-19T05:05:41.007Z] 9fda8d8052c6: Pull complete [2023-10-19T05:05:41.613Z] 5d54e960e981: Pull complete [2023-10-19T05:05:41.882Z] c4a7e357bf2a: Verifying Checksum [2023-10-19T05:05:41.882Z] c4a7e357bf2a: Download complete [2023-10-19T05:05:42.848Z] 17808c966233: Verifying Checksum [2023-10-19T05:05:42.848Z] 17808c966233: Download complete [2023-10-19T05:05:44.260Z] $ docker top b2b8459087cf3a1895fda58af3d5adf498f07a28576af3539cc8f2bd86a55635 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:05:44.652Z] ---> job-cost.sh [2023-10-19T05:05:44.652Z] lf-activate-venv: SKIPPING [2023-10-19T05:05:44.652Z] INFO: No Stack... [2023-10-19T05:05:44.912Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-19T05:05:45.171Z] INFO: Archiving Costs [Pipeline] sh [2023-10-19T05:05:45.460Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-10-19T05:05:45.460Z] + cut -d, -f6 [Pipeline] lock [2023-10-19T05:05:45.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [2023-10-19T05:05:45.480Z] Resource [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] did not exist. Created. [2023-10-19T05:05:45.480Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-19T05:05:45.784Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-19T05:05:45.816Z] Stashed 1 file(s) [Pipeline] } [2023-10-19T05:05:45.821Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-19T05:05:45.844Z] $ docker stop --time=1 b2b8459087cf3a1895fda58af3d5adf498f07a28576af3539cc8f2bd86a55635 [2023-10-19T05:05:46.993Z] $ docker rm -f --volumes b2b8459087cf3a1895fda58af3d5adf498f07a28576af3539cc8f2bd86a55635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-19T05:05:55.195Z] c4a7e357bf2a: Pull complete [2023-10-19T05:05:55.195Z] f0e02332f6b5: Pull complete [2023-10-19T05:05:55.195Z] cefa15bbcfad: Pull complete [2023-10-19T05:06:05.271Z] 17808c966233: Pull complete [2023-10-19T05:06:07.223Z] f4c1fc716caa: Pull complete [2023-10-19T05:06:07.223Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-19T05:06:07.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-19T05:06:07.223Z] ---> ea914061e18c [2023-10-19T05:06:07.223Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:06:09.189Z] ---> Running in baf5bc3434de [2023-10-19T05:06:09.469Z] Removing intermediate container baf5bc3434de [2023-10-19T05:06:09.469Z] ---> 58736a55b441 [2023-10-19T05:06:09.469Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:06:09.469Z] ---> Running in 31cfda4cffe7 [2023-10-19T05:06:10.070Z] Removing intermediate container 31cfda4cffe7 [2023-10-19T05:06:10.070Z] ---> bffee1f93ff2 [2023-10-19T05:06:10.070Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-19T05:06:10.070Z] ---> Running in 969178446f47 [2023-10-19T05:06:10.341Z] Removing intermediate container 969178446f47 [2023-10-19T05:06:10.341Z] ---> 81b1fd38a09e [2023-10-19T05:06:10.341Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:06:10.613Z] ---> Running in 69a4ffb2b8f1 [2023-10-19T05:06:10.885Z] Removing intermediate container 69a4ffb2b8f1 [2023-10-19T05:06:10.885Z] ---> 1a5a5ece760d [2023-10-19T05:06:10.885Z] Step 7/12 : WORKDIR /device-gpio [2023-10-19T05:06:10.885Z] ---> Running in 90097fd80d1f [2023-10-19T05:06:11.534Z] Removing intermediate container 90097fd80d1f [2023-10-19T05:06:11.534Z] ---> 4fe07e0cd376 [2023-10-19T05:06:11.534Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:06:11.534Z] ---> Running in 1d8dc38ce425 [2023-10-19T05:06:12.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:06:13.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:06:14.156Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-19T05:06:14.429Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-19T05:06:14.429Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-19T05:06:14.429Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-19T05:06:14.429Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:06:14.429Z] OK: 270 MiB in 56 packages [2023-10-19T05:06:15.867Z] Removing intermediate container 1d8dc38ce425 [2023-10-19T05:06:15.867Z] ---> e7f2925eb015 [2023-10-19T05:06:15.867Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-19T05:06:16.144Z] ---> 72b652aee2e0 [2023-10-19T05:06:16.144Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:06:16.417Z] ---> Running in 32d543b4d243 [2023-10-19T05:07:53.195Z] Removing intermediate container 32d543b4d243 [2023-10-19T05:07:53.195Z] ---> 3d8db886300d [2023-10-19T05:07:53.195Z] Step 11/12 : COPY . . [2023-10-19T05:07:53.195Z] ---> 218060fc4fff [2023-10-19T05:07:53.195Z] Step 12/12 : RUN ${MAKE} [2023-10-19T05:07:53.195Z] ---> Running in 6d6aa7edb694 [2023-10-19T05:07:54.411Z] noop [2023-10-19T05:07:57.781Z] Removing intermediate container 6d6aa7edb694 [2023-10-19T05:07:57.781Z] ---> 3051a7ce1b3d [2023-10-19T05:07:57.781Z] Successfully built 3051a7ce1b3d [2023-10-19T05:07:57.781Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:58.183Z] + docker inspect -f . ci-base-image-arm64 [2023-10-19T05:07:58.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:07:58.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-9591 does not seem to be running inside a container [2023-10-19T05:07:58.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/104 -v /w/workspace/device-gpio/104:/w/workspace/device-gpio/104:rw,z -v /w/workspace/device-gpio/104@tmp:/w/workspace/device-gpio/104@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-10-19T05:08:00.130Z] $ docker top 87493fb179563748567e3788a08ceb642b17315e14d50a49b1e7f7f212e3e074 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:08:01.011Z] + go version [2023-10-19T05:08:01.011Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-19T05:08:01.040Z] $ docker stop --time=1 87493fb179563748567e3788a08ceb642b17315e14d50a49b1e7f7f212e3e074 [2023-10-19T05:08:02.774Z] $ docker rm -f --volumes 87493fb179563748567e3788a08ceb642b17315e14d50a49b1e7f7f212e3e074 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:08:03.363Z] + docker inspect -f . ci-base-image-arm64 [2023-10-19T05:08:03.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:08:03.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-9591 does not seem to be running inside a container [2023-10-19T05:08:03.683Z] $ 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/104 -v /w/workspace/device-gpio/104:/w/workspace/device-gpio/104:rw,z -v /w/workspace/device-gpio/104@tmp:/w/workspace/device-gpio/104@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-10-19T05:08:05.024Z] $ docker top b0238bb739aafdf5f721dbfc3044d885ec4342990a0574c9997bb82f5a947dd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:08:05.931Z] + git config --global --add safe.directory /w/workspace/device-gpio/104 [Pipeline] fileExists [Pipeline] sh [2023-10-19T05:08:06.600Z] + make test [2023-10-19T05:08:06.600Z] go test ./... -coverprofile=coverage.out ./... [2023-10-19T05:08:11.976Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-19T05:10:03.696Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-19T05:10:03.696Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-19T05:10:03.696Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-19T05:10:03.696Z] go vet ./... [2023-10-19T05:10:30.437Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-19T05:10:30.437Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-19T05:10:30.437Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-19T05:10:30.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-19T05:10:30.473Z] $ docker stop --time=1 b0238bb739aafdf5f721dbfc3044d885ec4342990a0574c9997bb82f5a947dd8 [2023-10-19T05:10:33.046Z] $ docker rm -f --volumes b0238bb739aafdf5f721dbfc3044d885ec4342990a0574c9997bb82f5a947dd8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:10:34.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-19T05:10:34.350Z] Warning: overwriting stash ‘coverage-report’ [2023-10-19T05:10:34.816Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:10:35.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-19T05:10:35.527Z] + ls -al . [2023-10-19T05:10:35.528Z] total 164 [2023-10-19T05:10:35.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:08 . [2023-10-19T05:10:35.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:05 .. [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 19 05:05 .dockerignore [2023-10-19T05:10:35.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:05 .git [2023-10-19T05:10:35.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:05 .github [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 19 05:05 .gitignore [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 05:05 .golangci.yml [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 19 05:05 Attribution.txt [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 19 05:05 CHANGELOG.md [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 19 05:05 Dockerfile [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:05 GOVERNANCE.md [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 19 05:05 Jenkinsfile [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 05:05 LICENSE [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 19 05:05 Makefile [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 19 05:05 OWNERS.md [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 12293 Oct 19 05:05 README.md [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:03 VERSION [2023-10-19T05:10:35.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:05 bin [2023-10-19T05:10:35.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:05 cmd [2023-10-19T05:10:35.528Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 19 05:08 coverage.out [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 19 05:05 go.mod [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 19 05:05 go.sum [2023-10-19T05:10:35.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:05 internal [2023-10-19T05:10:35.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:05 snap [2023-10-19T05:10:35.528Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 19 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:10:35.876Z] + 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=394f7e51838f4f11b1408721525dc4e9609626b3 --label arch=arm64 --label version=3.1.0-dev.17 . [2023-10-19T05:10:36.146Z] Sending build context to Docker daemon 8.136MB [2023-10-19T05:10:36.417Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:10:36.417Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-19T05:10:36.417Z] ---> 3051a7ce1b3d [2023-10-19T05:10:36.417Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:10:36.417Z] ---> Running in d3aad63ca1eb [2023-10-19T05:10:36.689Z] Removing intermediate container d3aad63ca1eb [2023-10-19T05:10:36.689Z] ---> 0a3a7d0b50e8 [2023-10-19T05:10:36.689Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:10:36.956Z] ---> Running in 45f3cd2f8829 [2023-10-19T05:10:37.235Z] Removing intermediate container 45f3cd2f8829 [2023-10-19T05:10:37.235Z] ---> a2bdfd8b0fa3 [2023-10-19T05:10:37.235Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-19T05:10:37.235Z] ---> Running in 7498232c6158 [2023-10-19T05:10:37.514Z] Removing intermediate container 7498232c6158 [2023-10-19T05:10:37.514Z] ---> 925aee34bcf1 [2023-10-19T05:10:37.514Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:10:37.786Z] ---> Running in 67ac33f2084c [2023-10-19T05:10:38.056Z] Removing intermediate container 67ac33f2084c [2023-10-19T05:10:38.056Z] ---> efd25111a33e [2023-10-19T05:10:38.056Z] Step 7/25 : WORKDIR /device-gpio [2023-10-19T05:10:38.056Z] ---> Running in dac4eade1a8f [2023-10-19T05:10:38.324Z] Removing intermediate container dac4eade1a8f [2023-10-19T05:10:38.324Z] ---> fed6fb38fb7d [2023-10-19T05:10:38.324Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:10:38.606Z] ---> Running in 36b094ef8e6c [2023-10-19T05:10:39.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:10:39.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:10:41.256Z] OK: 270 MiB in 56 packages [2023-10-19T05:10:45.504Z] Removing intermediate container 36b094ef8e6c [2023-10-19T05:10:45.504Z] ---> db32bd4ad0ad [2023-10-19T05:10:45.505Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-19T05:10:45.505Z] ---> 2ff56b696ce0 [2023-10-19T05:10:45.505Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:10:45.773Z] ---> Running in 6470702b2177 [2023-10-19T05:10:47.718Z] Removing intermediate container 6470702b2177 [2023-10-19T05:10:47.718Z] ---> e67f13ae63db [2023-10-19T05:10:47.718Z] Step 11/25 : COPY . . [2023-10-19T05:10:48.676Z] ---> b41e28993e92 [2023-10-19T05:10:48.676Z] Step 12/25 : RUN ${MAKE} [2023-10-19T05:10:48.942Z] ---> Running in 77efd4109d9d [2023-10-19T05:10:49.900Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-19T05:12:56.601Z] Removing intermediate container 77efd4109d9d [2023-10-19T05:12:56.601Z] ---> 8d08e5686d90 [2023-10-19T05:12:56.601Z] Step 13/25 : FROM alpine:3.18 [2023-10-19T05:12:56.601Z] 3.18: Pulling from library/alpine [2023-10-19T05:12:56.601Z] 579b34f0a95b: Pulling fs layer [2023-10-19T05:12:56.601Z] 579b34f0a95b: Verifying Checksum [2023-10-19T05:12:56.601Z] 579b34f0a95b: Download complete [2023-10-19T05:12:56.601Z] 579b34f0a95b: Pull complete [2023-10-19T05:12:56.601Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-19T05:12:56.601Z] Status: Downloaded newer image for alpine:3.18 [2023-10-19T05:12:56.601Z] ---> 3cc203321400 [2023-10-19T05:12:56.601Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-19T05:12:56.601Z] ---> Running in 2ff83a2c4714 [2023-10-19T05:12:56.601Z] Removing intermediate container 2ff83a2c4714 [2023-10-19T05:12:56.601Z] ---> d519e9e794a9 [2023-10-19T05:12:56.601Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-19T05:12:56.601Z] ---> Running in 0814fee642ca [2023-10-19T05:12:56.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:12:56.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:12:56.601Z] OK: 8 MiB in 15 packages [2023-10-19T05:12:56.601Z] Removing intermediate container 0814fee642ca [2023-10-19T05:12:56.601Z] ---> 1ae5d4c2d313 [2023-10-19T05:12:56.601Z] Step 16/25 : WORKDIR / [2023-10-19T05:12:56.867Z] ---> Running in 9f44db0595e7 [2023-10-19T05:12:57.135Z] Removing intermediate container 9f44db0595e7 [2023-10-19T05:12:57.135Z] ---> 87bd4eb3899d [2023-10-19T05:12:57.135Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-19T05:12:57.720Z] ---> 9c458b7be3ff [2023-10-19T05:12:57.720Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-19T05:12:58.304Z] ---> a2dea31da197 [2023-10-19T05:12:58.304Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-19T05:12:59.715Z] ---> 9862b269c88f [2023-10-19T05:12:59.715Z] Step 20/25 : EXPOSE 59910 [2023-10-19T05:12:59.981Z] ---> Running in 496ec1d12c7d [2023-10-19T05:13:00.249Z] Removing intermediate container 496ec1d12c7d [2023-10-19T05:13:00.249Z] ---> f83a757350b1 [2023-10-19T05:13:00.249Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-19T05:13:00.249Z] ---> Running in 0ccbc9da3d90 [2023-10-19T05:13:00.837Z] Removing intermediate container 0ccbc9da3d90 [2023-10-19T05:13:00.837Z] ---> 8d85aea29372 [2023-10-19T05:13:00.837Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-19T05:13:00.837Z] ---> Running in c0d110d366ef [2023-10-19T05:13:01.108Z] Removing intermediate container c0d110d366ef [2023-10-19T05:13:01.108Z] ---> c27c7c54df5f [2023-10-19T05:13:01.108Z] Step 23/25 : LABEL arch=arm64 [2023-10-19T05:13:01.108Z] ---> Running in d21d06bd2807 [2023-10-19T05:13:01.691Z] Removing intermediate container d21d06bd2807 [2023-10-19T05:13:01.691Z] ---> 5c4b0d73e845 [2023-10-19T05:13:01.691Z] Step 24/25 : LABEL git_sha=394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:13:01.691Z] ---> Running in 4ac6efc24f0c [2023-10-19T05:13:01.964Z] Removing intermediate container 4ac6efc24f0c [2023-10-19T05:13:01.964Z] ---> cfdb5087b315 [2023-10-19T05:13:01.964Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-10-19T05:13:02.234Z] ---> Running in 6ff25fb0ea90 [2023-10-19T05:13:02.505Z] Removing intermediate container 6ff25fb0ea90 [2023-10-19T05:13:02.505Z] ---> ad64b4895961 [2023-10-19T05:13:02.505Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-19T05:13:02.505Z] Successfully built ad64b4895961 [2023-10-19T05:13:02.505Z] 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-10-19T05:13:02.627Z] provisioning config files... [2023-10-19T05:13:02.643Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/104@tmp/config10664558126750692574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:13:03.006Z] ---> docker-login.sh [2023-10-19T05:13:03.007Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:13:03.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:13:03.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:13:03.278Z] Configure a credential helper to remove this warning. See [2023-10-19T05:13:03.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:13:03.278Z] [2023-10-19T05:13:03.278Z] Login Succeeded [2023-10-19T05:13:03.549Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:13:03.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:13:03.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:13:03.819Z] Configure a credential helper to remove this warning. See [2023-10-19T05:13:03.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:13:03.819Z] [2023-10-19T05:13:03.819Z] Login Succeeded [2023-10-19T05:13:03.819Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:13:04.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:13:04.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:13:04.358Z] Configure a credential helper to remove this warning. See [2023-10-19T05:13:04.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:13:04.358Z] [2023-10-19T05:13:04.358Z] Login Succeeded [2023-10-19T05:13:04.358Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:13:04.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:13:04.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:13:04.625Z] Configure a credential helper to remove this warning. See [2023-10-19T05:13:04.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:13:04.625Z] [2023-10-19T05:13:04.625Z] Login Succeeded [2023-10-19T05:13:04.625Z] docker.io [2023-10-19T05:13:04.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:13:05.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:13:05.160Z] Configure a credential helper to remove this warning. See [2023-10-19T05:13:05.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:13:05.160Z] [2023-10-19T05:13:05.160Z] Login Succeeded [2023-10-19T05:13:05.160Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:13:05.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:13:05.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:13:05.227Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-10-19T05:13:05.228Z] 394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:13:05.228Z] latest [2023-10-19T05:13:05.228Z] 3.1.0-dev.17 [2023-10-19T05:13:05.228Z] 394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:13:05.228Z] main [2023-10-19T05:13:05.228Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:05.566Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:06.140Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:13:06.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-19T05:13:06.141Z] bc063637e5a2: Preparing [2023-10-19T05:13:06.141Z] 3b3b6fcf863b: Preparing [2023-10-19T05:13:06.141Z] f63fddb2ca04: Preparing [2023-10-19T05:13:06.141Z] 61512620386e: Preparing [2023-10-19T05:13:06.141Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:13:06.141Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:13:06.418Z] f63fddb2ca04: Pushed [2023-10-19T05:13:06.418Z] 61512620386e: Pushed [2023-10-19T05:13:06.418Z] 3b3b6fcf863b: Pushed [2023-10-19T05:13:11.839Z] bc063637e5a2: Pushed [2023-10-19T05:13:11.839Z] 394f7e51838f4f11b1408721525dc4e9609626b3: digest: sha256:ce97eede15df286caa650245c973ebf87e4226d6b86534cc9a0251bd58ea26db size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:12.182Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:12.521Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-19T05:13:12.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-19T05:13:12.521Z] bc063637e5a2: Preparing [2023-10-19T05:13:12.521Z] 3b3b6fcf863b: Preparing [2023-10-19T05:13:12.522Z] f63fddb2ca04: Preparing [2023-10-19T05:13:12.522Z] 61512620386e: Preparing [2023-10-19T05:13:12.522Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:13:12.522Z] f63fddb2ca04: Layer already exists [2023-10-19T05:13:12.522Z] 61512620386e: Layer already exists [2023-10-19T05:13:12.522Z] bc063637e5a2: Layer already exists [2023-10-19T05:13:12.522Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:13:12.522Z] 3b3b6fcf863b: Layer already exists [2023-10-19T05:13:12.790Z] latest: digest: sha256:ce97eede15df286caa650245c973ebf87e4226d6b86534cc9a0251bd58ea26db size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:13.138Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:13.489Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.17 [2023-10-19T05:13:13.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-19T05:13:13.489Z] bc063637e5a2: Preparing [2023-10-19T05:13:13.489Z] 3b3b6fcf863b: Preparing [2023-10-19T05:13:13.489Z] f63fddb2ca04: Preparing [2023-10-19T05:13:13.489Z] 61512620386e: Preparing [2023-10-19T05:13:13.489Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:13:13.489Z] 3b3b6fcf863b: Layer already exists [2023-10-19T05:13:13.489Z] 61512620386e: Layer already exists [2023-10-19T05:13:13.489Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:13:13.489Z] bc063637e5a2: Layer already exists [2023-10-19T05:13:13.489Z] f63fddb2ca04: Layer already exists [2023-10-19T05:13:13.489Z] 3.1.0-dev.17: digest: sha256:ce97eede15df286caa650245c973ebf87e4226d6b86534cc9a0251bd58ea26db size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:14.103Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:17.802Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:13:17.802Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-19T05:13:17.802Z] bc063637e5a2: Preparing [2023-10-19T05:13:17.802Z] 3b3b6fcf863b: Preparing [2023-10-19T05:13:17.802Z] f63fddb2ca04: Preparing [2023-10-19T05:13:17.802Z] 61512620386e: Preparing [2023-10-19T05:13:17.802Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:13:17.802Z] f63fddb2ca04: Layer already exists [2023-10-19T05:13:17.802Z] 3b3b6fcf863b: Layer already exists [2023-10-19T05:13:17.802Z] 61512620386e: Layer already exists [2023-10-19T05:13:17.802Z] bc063637e5a2: Layer already exists [2023-10-19T05:13:17.802Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:13:17.802Z] 394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17: digest: sha256:ce97eede15df286caa650245c973ebf87e4226d6b86534cc9a0251bd58ea26db size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:18.418Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:18.766Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-10-19T05:13:18.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-19T05:13:18.766Z] bc063637e5a2: Preparing [2023-10-19T05:13:18.766Z] 3b3b6fcf863b: Preparing [2023-10-19T05:13:18.766Z] f63fddb2ca04: Preparing [2023-10-19T05:13:18.766Z] 61512620386e: Preparing [2023-10-19T05:13:18.766Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:13:18.766Z] bc063637e5a2: Layer already exists [2023-10-19T05:13:18.766Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:13:18.766Z] 61512620386e: Layer already exists [2023-10-19T05:13:18.766Z] f63fddb2ca04: Layer already exists [2023-10-19T05:13:18.766Z] 3b3b6fcf863b: Layer already exists [2023-10-19T05:13:19.036Z] main: digest: sha256:ce97eede15df286caa650245c973ebf87e4226d6b86534cc9a0251bd58ea26db size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:13:19.090Z] ===================================================== [Pipeline] echo [2023-10-19T05:13:19.096Z] taggedImages: [2023-10-19T05:13:19.096Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3 [2023-10-19T05:13:19.096Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-19T05:13:19.096Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.17 [2023-10-19T05:13:19.096Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:394f7e51838f4f11b1408721525dc4e9609626b3-3.1.0-dev.17 [2023-10-19T05:13:19.096Z] - 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-10-19T05:13:19.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:13:19.450Z] [2023-10-19T05:13:19.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:19.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:13:19.780Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-19T05:13:19.780Z] 8998bd30e6a1: Pulling fs layer [2023-10-19T05:13:19.780Z] 04944245beec: Pulling fs layer [2023-10-19T05:13:19.780Z] 699f458cf7ca: Pulling fs layer [2023-10-19T05:13:19.780Z] 765212b225bb: Pulling fs layer [2023-10-19T05:13:19.780Z] f23df028b6ca: Pulling fs layer [2023-10-19T05:13:19.780Z] d65c8cfc05b1: Pulling fs layer [2023-10-19T05:13:19.780Z] 2437ff75d9bd: Pulling fs layer [2023-10-19T05:13:19.780Z] 765212b225bb: Waiting [2023-10-19T05:13:19.780Z] f23df028b6ca: Waiting [2023-10-19T05:13:19.780Z] d65c8cfc05b1: Waiting [2023-10-19T05:13:19.780Z] 2437ff75d9bd: Waiting [2023-10-19T05:13:20.047Z] 04944245beec: Verifying Checksum [2023-10-19T05:13:20.047Z] 04944245beec: Download complete [2023-10-19T05:13:20.047Z] 765212b225bb: Verifying Checksum [2023-10-19T05:13:20.047Z] 765212b225bb: Download complete [2023-10-19T05:13:20.047Z] f23df028b6ca: Verifying Checksum [2023-10-19T05:13:20.047Z] f23df028b6ca: Download complete [2023-10-19T05:13:20.047Z] d65c8cfc05b1: Verifying Checksum [2023-10-19T05:13:20.047Z] d65c8cfc05b1: Download complete [2023-10-19T05:13:20.314Z] 699f458cf7ca: Verifying Checksum [2023-10-19T05:13:20.314Z] 699f458cf7ca: Download complete [2023-10-19T05:13:20.898Z] 8998bd30e6a1: Verifying Checksum [2023-10-19T05:13:20.898Z] 8998bd30e6a1: Download complete [2023-10-19T05:13:23.478Z] 2437ff75d9bd: Verifying Checksum [2023-10-19T05:13:23.478Z] 2437ff75d9bd: Download complete [2023-10-19T05:13:25.430Z] 8998bd30e6a1: Pull complete [2023-10-19T05:13:26.014Z] 04944245beec: Pull complete [2023-10-19T05:13:27.965Z] 699f458cf7ca: Pull complete [2023-10-19T05:13:27.965Z] 765212b225bb: Pull complete [2023-10-19T05:13:28.927Z] f23df028b6ca: Pull complete [2023-10-19T05:13:29.193Z] d65c8cfc05b1: Pull complete [2023-10-19T05:13:47.403Z] 2437ff75d9bd: Pull complete [2023-10-19T05:13:47.403Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-19T05:13:47.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:13:47.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:13:47.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-9591 does not seem to be running inside a container [2023-10-19T05:13:47.659Z] $ 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/104 -v /w/workspace/device-gpio/104:/w/workspace/device-gpio/104:rw,z -v /w/workspace/device-gpio/104@tmp:/w/workspace/device-gpio/104@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-10-19T05:13:50.694Z] $ docker top 02e307af83f4514b8b7c010dde6ba9a9e7c1e9831a79b5f4da0ba495b1ec9b70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:13:51.560Z] ---> job-cost.sh [2023-10-19T05:13:51.560Z] lf-activate-venv: SKIPPING [2023-10-19T05:13:51.560Z] INFO: No Stack... [2023-10-19T05:13:52.151Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-19T05:13:52.739Z] INFO: Archiving Costs [Pipeline] sh [2023-10-19T05:13:53.378Z] + cat /w/workspace/device-gpio/104/archives/cost.csv [2023-10-19T05:13:53.378Z] + cut -d, -f6 [Pipeline] lock [2023-10-19T05:13:53.446Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [2023-10-19T05:13:53.453Z] Resource [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] did not exist. Created. [2023-10-19T05:13:53.453Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-19T05:13:54.106Z] /w/workspace/device-gpio/104@tmp/durable-ad6cf12a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-19T05:13:54.770Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-19T05:13:54.794Z] Warning: overwriting stash ‘stack-cost’ [2023-10-19T05:13:54.865Z] Stashed 1 file(s) [Pipeline] } [2023-10-19T05:13:54.872Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-19T05:13:54.895Z] $ docker stop --time=1 02e307af83f4514b8b7c010dde6ba9a9e7c1e9831a79b5f4da0ba495b1ec9b70 [2023-10-19T05:13:59.572Z] $ docker rm -f --volumes 02e307af83f4514b8b7c010dde6ba9a9e7c1e9831a79b5f4da0ba495b1ec9b70 [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-10-19T05:14:00.040Z] provisioning config files... [2023-10-19T05:14:00.046Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17546835798324520269tmp [Pipeline] { [Pipeline] sh [2023-10-19T05:14:00.339Z] + set +x [2023-10-19T05:14:00.339Z] + curl -s https://codecov.io/bash [2023-10-19T05:14:00.339Z] + bash -s -- [2023-10-19T05:14:00.339Z] [2023-10-19T05:14:00.339Z] _____ _ [2023-10-19T05:14:00.339Z] / ____| | | [2023-10-19T05:14:00.339Z] | | ___ __| | ___ ___ _____ __ [2023-10-19T05:14:00.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-19T05:14:00.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-19T05:14:00.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-19T05:14:00.339Z] Bash-1.0.6 [2023-10-19T05:14:00.339Z] [2023-10-19T05:14:00.339Z] [2023-10-19T05:14:00.339Z] ==> git version 2.25.1 found [2023-10-19T05:14:00.339Z] ==> 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-10-19T05:14:00.339Z] Release-Date: 2020-01-08 [2023-10-19T05:14:00.339Z] 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-10-19T05:14:00.339Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-19T05:14:00.339Z] ==> Jenkins CI detected. [2023-10-19T05:14:00.339Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-10-19T05:14:00.339Z] project root: . [2023-10-19T05:14:00.339Z] --> token set from env [2023-10-19T05:14:00.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-19T05:14:00.339Z] ==> Running gcov in . (disable via -X gcov) [2023-10-19T05:14:00.599Z] ==> Python coveragepy not found [2023-10-19T05:14:00.599Z] ==> Searching for coverage reports in: [2023-10-19T05:14:00.599Z] + . [2023-10-19T05:14:00.599Z] -> Found 1 reports [2023-10-19T05:14:00.599Z] ==> Detecting git/mercurial file structure [2023-10-19T05:14:00.599Z] ==> Reading reports [2023-10-19T05:14:00.599Z] + ./coverage.out bytes=10 [2023-10-19T05:14:00.599Z] ==> Appending adjustments [2023-10-19T05:14:00.599Z] https://docs.codecov.io/docs/fixing-reports [2023-10-19T05:14:00.599Z] + Found adjustments [2023-10-19T05:14:00.599Z] ==> Gzipping contents [2023-10-19T05:14:00.599Z] 4.0K /tmp/codecov.kSkLJM.gz [2023-10-19T05:14:00.599Z] ==> Uploading reports [2023-10-19T05:14:00.599Z] url: https://codecov.io [2023-10-19T05:14:00.599Z] query: branch=main&commit=394f7e51838f4f11b1408721525dc4e9609626b3&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-19T05:14:00.599Z] -> Pinging Codecov [2023-10-19T05:14:00.599Z] 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=394f7e51838f4f11b1408721525dc4e9609626b3&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-19T05:14:00.858Z] -> Uploading to [2023-10-19T05:14:00.858Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/394f7e51838f4f11b1408721525dc4e9609626b3/abf2b36d-7fd0-466a-becb-985a0f3beb22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231019T051400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04ec3e47962ac3da2e65cb1c96d2ea7bcaa2e2f5777ee20537db36a0805750d8 [2023-10-19T05:14:00.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-19T05:14:00.858Z] Dload Upload Total Spent Left Speed [2023-10-19T05:14:01.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 2327 --:--:-- --:--:-- --:--:-- 2327 [2023-10-19T05:14:01.119Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] } [2023-10-19T05:14:01.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-19T05:14:01.386Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-19T05:14:01.400Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:01.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:14:01.695Z] [2023-10-19T05:14:01.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:01.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:14:01.994Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-19T05:14:01.994Z] df9b9388f04a: Pulling fs layer [2023-10-19T05:14:01.994Z] 52dc419b0ee2: Pulling fs layer [2023-10-19T05:14:01.994Z] 25bc292e5bac: Pulling fs layer [2023-10-19T05:14:01.994Z] 114826534d7a: Pulling fs layer [2023-10-19T05:14:01.994Z] 4657fd5d0bcf: Pulling fs layer [2023-10-19T05:14:01.994Z] 6ad1cebc031e: Pulling fs layer [2023-10-19T05:14:01.994Z] 8a3aa393b2d8: Pulling fs layer [2023-10-19T05:14:01.994Z] 114826534d7a: Waiting [2023-10-19T05:14:01.994Z] 4657fd5d0bcf: Waiting [2023-10-19T05:14:01.994Z] 6ad1cebc031e: Waiting [2023-10-19T05:14:01.994Z] 8a3aa393b2d8: Waiting [2023-10-19T05:14:01.994Z] 25bc292e5bac: Verifying Checksum [2023-10-19T05:14:01.994Z] 25bc292e5bac: Download complete [2023-10-19T05:14:01.994Z] 52dc419b0ee2: Verifying Checksum [2023-10-19T05:14:01.994Z] 52dc419b0ee2: Download complete [2023-10-19T05:14:01.994Z] 4657fd5d0bcf: Verifying Checksum [2023-10-19T05:14:01.994Z] 4657fd5d0bcf: Download complete [2023-10-19T05:14:01.994Z] df9b9388f04a: Verifying Checksum [2023-10-19T05:14:01.994Z] df9b9388f04a: Download complete [2023-10-19T05:14:02.256Z] 6ad1cebc031e: Verifying Checksum [2023-10-19T05:14:02.256Z] 6ad1cebc031e: Download complete [2023-10-19T05:14:02.256Z] df9b9388f04a: Pull complete [2023-10-19T05:14:02.256Z] 52dc419b0ee2: Pull complete [2023-10-19T05:14:02.517Z] 25bc292e5bac: Pull complete [2023-10-19T05:14:02.777Z] 114826534d7a: Verifying Checksum [2023-10-19T05:14:02.777Z] 114826534d7a: Download complete [2023-10-19T05:14:03.036Z] 8a3aa393b2d8: Verifying Checksum [2023-10-19T05:14:03.036Z] 8a3aa393b2d8: Download complete [2023-10-19T05:14:06.316Z] 114826534d7a: Pull complete [2023-10-19T05:14:06.316Z] 4657fd5d0bcf: Pull complete [2023-10-19T05:14:06.576Z] 6ad1cebc031e: Pull complete [2023-10-19T05:14:09.965Z] 8a3aa393b2d8: Pull complete [2023-10-19T05:14:09.965Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-19T05:14:09.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:14:09.965Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:14:10.051Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:14:10.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-19T05:14:15.655Z] $ docker top 5ec04b204947917be0c6453c9f0d48cd3512bffdcaf2e218218a3118b4f141b0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-19T05:14:15.712Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-10-19T05:14:15.988Z] + set -o pipefail [2023-10-19T05:14:15.988Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/04d90160-1f46-4ff2-8d90-bb5ac53609ff [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] [2023-10-19T05:14:24.106Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-19T05:14:24.106Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-19T05:14:24.106Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-19T05:14:24.126Z] $ docker stop --time=1 5ec04b204947917be0c6453c9f0d48cd3512bffdcaf2e218218a3118b4f141b0 [2023-10-19T05:14:28.759Z] $ docker rm -f --volumes 5ec04b204947917be0c6453c9f0d48cd3512bffdcaf2e218218a3118b4f141b0 [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-10-19T05:14:29.425Z] + git log --format=format:%s -1 394f7e51838f4f11b1408721525dc4e9609626b3 [Pipeline] sh [2023-10-19T05:14:29.709Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:14:29.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:30.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:14:30.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:14:30.080Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:14:30.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-19T05:14:30.557Z] $ docker top 2716a3a235e78a2ded06ff0e73a6b1efabc5d1e2734d58f0b8979a17f72fb461 -eo pid,comm [2023-10-19T05:14:30.599Z] 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-10-19T05:14:30.599Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:14:30.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:14:30.635Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:14:30.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:14:30.757Z] $ docker exec 2716a3a235e78a2ded06ff0e73a6b1efabc5d1e2734d58f0b8979a17f72fb461 ssh-agent [2023-10-19T05:14:30.856Z] SSH_AUTH_SOCK=/tmp/ssh-gUo0TJETNGCN/agent.33 [2023-10-19T05:14:30.856Z] SSH_AGENT_PID=39 [2023-10-19T05:14:30.860Z] Running ssh-add (command line suppressed) [2023-10-19T05:14:30.958Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11543646543300828260.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11543646543300828260.key) [2023-10-19T05:14:30.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:14:31.250Z] + git semver tag [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,423 [run_tag] DEBUG tag force:False [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,423 [check_head_tag] DEBUG check head tag [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,424 [execute] INFO git cat-file --batch-check [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,428 [execute] INFO git cat-file --batch [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,440 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,440 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:14:31.509Z] 2023-10-19 05:14:31,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:31.509Z] 3.1.0-dev.17 [Pipeline] } [2023-10-19T05:14:31.529Z] $ docker exec --env ******** --env ******** 2716a3a235e78a2ded06ff0e73a6b1efabc5d1e2734d58f0b8979a17f72fb461 ssh-agent -k [2023-10-19T05:14:31.624Z] unset SSH_AUTH_SOCK; [2023-10-19T05:14:31.624Z] unset SSH_AGENT_PID; [2023-10-19T05:14:31.624Z] echo Agent pid 39 killed; [2023-10-19T05:14:31.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:14:31.926Z] + git semver [Pipeline] } [2023-10-19T05:14:32.205Z] $ docker stop --time=1 2716a3a235e78a2ded06ff0e73a6b1efabc5d1e2734d58f0b8979a17f72fb461 [2023-10-19T05:14:33.501Z] $ docker rm -f --volumes 2716a3a235e78a2ded06ff0e73a6b1efabc5d1e2734d58f0b8979a17f72fb461 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:33.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:14:33.877Z] [2023-10-19T05:14:33.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:34.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:14:34.172Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-19T05:14:34.172Z] ab5ef0e58194: Pulling fs layer [2023-10-19T05:14:34.172Z] 9712f1f96733: Pulling fs layer [2023-10-19T05:14:34.172Z] 63f879dbbcfc: Pulling fs layer [2023-10-19T05:14:34.172Z] 0d9ebad4ef96: Pulling fs layer [2023-10-19T05:14:34.172Z] e9a5061849ea: Pulling fs layer [2023-10-19T05:14:34.172Z] d747dcd14b5f: Pulling fs layer [2023-10-19T05:14:34.172Z] 2de7ff778b66: Pulling fs layer [2023-10-19T05:14:34.172Z] 0d9ebad4ef96: Waiting [2023-10-19T05:14:34.172Z] e9a5061849ea: Waiting [2023-10-19T05:14:34.172Z] 2de7ff778b66: Waiting [2023-10-19T05:14:34.172Z] d747dcd14b5f: Waiting [2023-10-19T05:14:34.172Z] 9712f1f96733: Verifying Checksum [2023-10-19T05:14:34.172Z] 9712f1f96733: Download complete [2023-10-19T05:14:34.431Z] 63f879dbbcfc: Verifying Checksum [2023-10-19T05:14:34.431Z] 63f879dbbcfc: Download complete [2023-10-19T05:14:34.688Z] e9a5061849ea: Verifying Checksum [2023-10-19T05:14:34.688Z] e9a5061849ea: Download complete [2023-10-19T05:14:34.688Z] d747dcd14b5f: Verifying Checksum [2023-10-19T05:14:34.688Z] d747dcd14b5f: Download complete [2023-10-19T05:14:34.688Z] 0d9ebad4ef96: Verifying Checksum [2023-10-19T05:14:34.688Z] 0d9ebad4ef96: Download complete [2023-10-19T05:14:34.688Z] ab5ef0e58194: Verifying Checksum [2023-10-19T05:14:34.688Z] ab5ef0e58194: Download complete [2023-10-19T05:14:34.688Z] 2de7ff778b66: Verifying Checksum [2023-10-19T05:14:37.215Z] ab5ef0e58194: Pull complete [2023-10-19T05:14:37.215Z] 9712f1f96733: Pull complete [2023-10-19T05:14:37.781Z] 63f879dbbcfc: Pull complete [2023-10-19T05:14:41.063Z] 0d9ebad4ef96: Pull complete [2023-10-19T05:14:41.630Z] e9a5061849ea: Pull complete [2023-10-19T05:14:41.630Z] d747dcd14b5f: Pull complete [2023-10-19T05:14:42.563Z] 2de7ff778b66: Pull complete [2023-10-19T05:14:42.563Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-19T05:14:42.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:14:42.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:14:42.646Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:14:42.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-19T05:14:48.447Z] $ docker top 38c36682a4ca9fd0fc354164e2698e3625cd2ccdc5eca7d67ebf3229da7fc5b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:14:48.504Z] provisioning config files... [2023-10-19T05:14:48.510Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13520500309152294294tmp [2023-10-19T05:14:48.521Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16457704467651509344tmp [2023-10-19T05:14:48.529Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6939174120210400182tmp [Pipeline] { [Pipeline] echo [2023-10-19T05:14:48.545Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:14:48.827Z] ---> sigul-configuration.sh [2023-10-19T05:14:48.827Z] gpg: directory `/root/.gnupg' created [2023-10-19T05:14:48.827Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-19T05:14:48.827Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-19T05:14:48.827Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-19T05:14:48.827Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-19T05:14:48.827Z] gpg: CAST5 encrypted data [2023-10-19T05:14:48.827Z] gpg: encrypted with 1 passphrase [2023-10-19T05:14:48.827Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-19T05:14:49.110Z] + mkdir /home/jenkins [2023-10-19T05:14:49.110Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-19T05:14:49.394Z] + 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-10-19T05:14:49.401Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:14:49.686Z] ---> sigul-install.sh [2023-10-19T05:14:49.687Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-19T05:14:49.971Z] + git tag --list [2023-10-19T05:14:49.971Z] v1.0.0 [2023-10-19T05:14:49.971Z] v2.1.0 [2023-10-19T05:14:49.971Z] v2.1.1 [2023-10-19T05:14:49.971Z] v2.2.0 [2023-10-19T05:14:49.971Z] v2.3.0 [2023-10-19T05:14:49.971Z] v3.0 [2023-10-19T05:14:49.971Z] v3.0.0 [2023-10-19T05:14:49.971Z] v3.1.0-dev.1 [2023-10-19T05:14:49.971Z] v3.1.0-dev.10 [2023-10-19T05:14:49.971Z] v3.1.0-dev.11 [2023-10-19T05:14:49.971Z] v3.1.0-dev.12 [2023-10-19T05:14:49.971Z] v3.1.0-dev.13 [2023-10-19T05:14:49.971Z] v3.1.0-dev.14 [2023-10-19T05:14:49.971Z] v3.1.0-dev.15 [2023-10-19T05:14:49.971Z] v3.1.0-dev.16 [2023-10-19T05:14:49.971Z] v3.1.0-dev.17 [2023-10-19T05:14:49.971Z] v3.1.0-dev.2 [2023-10-19T05:14:49.971Z] v3.1.0-dev.3 [2023-10-19T05:14:49.971Z] v3.1.0-dev.4 [2023-10-19T05:14:49.971Z] v3.1.0-dev.5 [2023-10-19T05:14:49.971Z] v3.1.0-dev.6 [2023-10-19T05:14:49.971Z] v3.1.0-dev.7 [2023-10-19T05:14:49.971Z] v3.1.0-dev.8 [2023-10-19T05:14:49.971Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-19T05:14:50.256Z] + lftools sign git-tag v3.1.0-dev.17 [2023-10-19T05:14:50.824Z] Signing Git tag with Sigul... [2023-10-19T05:14:50.824Z] Signing v3.1.0-dev.17 [Pipeline] echo [2023-10-19T05:14:51.090Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:14:51.372Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-19T05:14:51.378Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-19T05:14:51.405Z] $ docker stop --time=1 38c36682a4ca9fd0fc354164e2698e3625cd2ccdc5eca7d67ebf3229da7fc5b5 [2023-10-19T05:14:52.675Z] $ docker rm -f --volumes 38c36682a4ca9fd0fc354164e2698e3625cd2ccdc5eca7d67ebf3229da7fc5b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-19T05:14:53.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:14:53.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:53.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:14:53.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:14:53.430Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:14:53.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-19T05:14:53.796Z] $ docker top 27b216a2921aec7ba0469625ab0ff419242951b10a0103ee3f7ee41cd9b3765d -eo pid,comm [2023-10-19T05:14:53.832Z] 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-10-19T05:14:53.832Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:14:53.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:14:53.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:14:53.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:14:53.989Z] $ docker exec 27b216a2921aec7ba0469625ab0ff419242951b10a0103ee3f7ee41cd9b3765d ssh-agent [2023-10-19T05:14:54.085Z] SSH_AUTH_SOCK=/tmp/ssh-OxovO0SlZxNK/agent.31 [2023-10-19T05:14:54.085Z] SSH_AGENT_PID=37 [2023-10-19T05:14:54.090Z] Running ssh-add (command line suppressed) [2023-10-19T05:14:54.199Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13194177835985586462.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13194177835985586462.key) [2023-10-19T05:14:54.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:14:54.483Z] + git semver bump pre [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,677 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,678 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,678 [bump_version] DEBUG bumped version:3.1.0-dev.18 [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,678 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,678 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,682 [execute] INFO git cat-file --batch-check [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,688 [execute] INFO git cat-file --batch [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:14:54.741Z] 2023-10-19 05:14:54,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:14:54.741Z] 3.1.0-dev.18 [Pipeline] } [2023-10-19T05:14:54.760Z] $ docker exec --env ******** --env ******** 27b216a2921aec7ba0469625ab0ff419242951b10a0103ee3f7ee41cd9b3765d ssh-agent -k [2023-10-19T05:14:54.853Z] unset SSH_AUTH_SOCK; [2023-10-19T05:14:54.853Z] unset SSH_AGENT_PID; [2023-10-19T05:14:54.854Z] echo Agent pid 37 killed; [2023-10-19T05:14:54.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:14:55.154Z] + git semver [Pipeline] } [2023-10-19T05:14:55.434Z] $ docker stop --time=1 27b216a2921aec7ba0469625ab0ff419242951b10a0103ee3f7ee41cd9b3765d [2023-10-19T05:14:56.890Z] $ docker rm -f --volumes 27b216a2921aec7ba0469625ab0ff419242951b10a0103ee3f7ee41cd9b3765d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:14:57.220Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:14:57.220Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:14:57.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:14:57.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:14:57.584Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:14:57.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-19T05:14:57.973Z] $ docker top 51b1a78af71b11b962bed424c18bd95c7b78c2fbf81b2b083b651439bca142cc -eo pid,comm [2023-10-19T05:14:58.009Z] 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-10-19T05:14:58.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:14:58.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:14:58.048Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:14:58.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:14:58.172Z] $ docker exec 51b1a78af71b11b962bed424c18bd95c7b78c2fbf81b2b083b651439bca142cc ssh-agent [2023-10-19T05:14:58.259Z] SSH_AUTH_SOCK=/tmp/ssh-HSuSp8c1sZtQ/agent.32 [2023-10-19T05:14:58.259Z] SSH_AGENT_PID=38 [2023-10-19T05:14:58.264Z] Running ssh-add (command line suppressed) [2023-10-19T05:14:58.356Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6489101034381074834.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6489101034381074834.key) [2023-10-19T05:14:58.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:14:58.644Z] + git semver push [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,848 [run_push] DEBUG push [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,849 [execute] INFO git cat-file --batch-check [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,852 [execute] INFO git rev-list 9cda964375c2c9125ec9833b4daa30a95bd41713 -- [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,853 [execute] DEBUG Popen(['git', 'rev-list', '9cda964375c2c9125ec9833b4daa30a95bd41713', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,860 [execute] INFO git fetch -v origin [2023-10-19T05:14:58.903Z] 2023-10-19 05:14:58,860 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-19T05:14:59.471Z] 2023-10-19 05:14:59,383 [run_push] DEBUG no remote changes detected [2023-10-19T05:14:59.471Z] 2023-10-19 05:14:59,383 [execute] INFO git push origin semver [2023-10-19T05:14:59.471Z] 2023-10-19 05:14:59,384 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:15:00.407Z] 2023-10-19 05:15:00,102 [run_push] DEBUG push all version tags [2023-10-19T05:15:00.407Z] 2023-10-19 05:15:00,102 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-19T05:15:00.407Z] 2023-10-19 05:15:00,103 [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-10-19T05:15:00.975Z] 2023-10-19 05:15:00,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-19T05:15:00.975Z] 3.1.0-dev.18 [Pipeline] } [2023-10-19T05:15:00.995Z] $ docker exec --env ******** --env ******** 51b1a78af71b11b962bed424c18bd95c7b78c2fbf81b2b083b651439bca142cc ssh-agent -k [2023-10-19T05:15:01.085Z] unset SSH_AUTH_SOCK; [2023-10-19T05:15:01.085Z] unset SSH_AGENT_PID; [2023-10-19T05:15:01.086Z] echo Agent pid 38 killed; [2023-10-19T05:15:01.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:15:01.398Z] + git semver [Pipeline] } [2023-10-19T05:15:01.689Z] $ docker stop --time=1 51b1a78af71b11b962bed424c18bd95c7b78c2fbf81b2b083b651439bca142cc [2023-10-19T05:15:02.957Z] $ docker rm -f --volumes 51b1a78af71b11b962bed424c18bd95c7b78c2fbf81b2b083b651439bca142cc [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-10-19T05:15:03.517Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-10-19T05:15:03.517Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-19T05:15:03.517Z] total 16 [2023-10-19T05:15:03.517Z] drwxr-xr-x 3 root root 4096 Oct 19 05:05 . [2023-10-19T05:15:03.517Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 05:14 .. [2023-10-19T05:15:03.517Z] drwxr-xr-x 2 root root 4096 Oct 19 05:05 cost [2023-10-19T05:15:03.517Z] -rw-r--r-- 1 root root 83 Oct 19 05:05 cost.csv [2023-10-19T05:15:03.517Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-19T05:15:03.517Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-19T05:15:03.517Z] total 16 [2023-10-19T05:15:03.517Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:05 . [2023-10-19T05:15:03.517Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 05:14 .. [2023-10-19T05:15:03.517Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 05:05 cost [2023-10-19T05:15:03.517Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 19 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:03.805Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:04.660Z] ---> package-listing.sh [2023-10-19T05:15:04.661Z] ++ facter osfamily [2023-10-19T05:15:04.661Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-19T05:15:04.919Z] + OS_FAMILY=debian [2023-10-19T05:15:04.919Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-10-19T05:15:04.919Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-19T05:15:04.919Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-19T05:15:04.919Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-19T05:15:04.919Z] + PACKAGES=/tmp/packages_start.txt [2023-10-19T05:15:04.919Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-19T05:15:04.919Z] + PACKAGES=/tmp/packages_end.txt [2023-10-19T05:15:04.919Z] + case "${OS_FAMILY}" in [2023-10-19T05:15:04.919Z] + dpkg -l [2023-10-19T05:15:04.919Z] + grep '^ii' [2023-10-19T05:15:04.919Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-19T05:15:04.919Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-19T05:15:04.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-19T05:15:04.919Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-19T05:15:04.919Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-10-19T05:15:04.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-10-19T05:15:04.930Z] 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-10-19T05:15:05.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:15:05.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:15:05.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:15:05.828Z] prd-ubuntu20.04-docker-8c-8g-9588 does not seem to be running inside a container [2023-10-19T05:15:05.868Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-19T05:15:06.089Z] $ docker top cd9976c0586e8aa0dbb659866c119cbf409154c393f243bbe36f97ee12dff91f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:15:06.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-19T05:15:06.709Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-19T05:15:07.099Z] + ls /var/log/sa-host [2023-10-19T05:15:07.099Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:15:07.291Z] provisioning config files... [2023-10-19T05:15:07.319Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9173516283897087281tmp [Pipeline] { [Pipeline] echo [2023-10-19T05:15:07.346Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:07.655Z] ---> create-netrc.sh [Pipeline] } [2023-10-19T05:15:07.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:08.005Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-19T05:15:08.013Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:08.296Z] ---> sudo-logs.sh [2023-10-19T05:15:08.296Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-19T05:15:08.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:08.605Z] ---> job-cost.sh [2023-10-19T05:15:08.605Z] lf-activate-venv: SKIPPING [2023-10-19T05:15:08.605Z] DEBUG: total: 0.2199999988079071 [2023-10-19T05:15:08.605Z] INFO: Retrieving Stack Cost... [2023-10-19T05:15:08.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-19T05:15:09.430Z] INFO: Archiving Costs [Pipeline] echo [2023-10-19T05:15:09.439Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:15:09.720Z] ---> logs-deploy.sh [2023-10-19T05:15:09.720Z] lf-activate-venv: SKIPPING [2023-10-19T05:15:09.720Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/104 [2023-10-19T05:15:09.720Z] INFO: archiving workspace using pattern(s): [2023-10-19T05:15:10.656Z] Archives upload complete. [2023-10-19T05:15:10.657Z] INFO: archiving logs to Nexus